CN104243361A - Service processing method and system - Google Patents

Service processing method and system Download PDF

Info

Publication number
CN104243361A
CN104243361A CN201310253696.4A CN201310253696A CN104243361A CN 104243361 A CN104243361 A CN 104243361A CN 201310253696 A CN201310253696 A CN 201310253696A CN 104243361 A CN104243361 A CN 104243361A
Authority
CN
China
Prior art keywords
message
value
added service
service interface
interface plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310253696.4A
Other languages
Chinese (zh)
Other versions
CN104243361B (en
Inventor
徐霆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310253696.4A priority Critical patent/CN104243361B/en
Publication of CN104243361A publication Critical patent/CN104243361A/en
Application granted granted Critical
Publication of CN104243361B publication Critical patent/CN104243361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a service processing method and system. The method includes the steps that after a basic service interface board receives a message, the basic service interface board firstly judges whether value added service processing needs to be performed on the message or not, if value added service processing needs to be performed on the message, the message is forwarded to a value added service interface board to be subjected to value added service processing, and when the value added service interface board completes value added service processing, a completion zone bit is carried in the message and used for instructing the basic service interface board to continue performing basic service processing. When the basic service interface board receives the message sent by the value added service interface board, the basic service interface board judges that the value added service processing has been completed according to the completion zone bit and continues performing basic service processing. According to the service processing method and system, because the value added service interface board only performs value added service processing, no basic service ASIC chip needs to be installed in the value added service interface board, and cost is reduced; when basic service needs to be changed, the value added service interface board is not affected, coupling between value added service interface board software and basic service interface board software is greatly reduced, the basic service and the value added service can independently develop, and the flexibility of the system is improved.

Description

A kind of method and system of Business Processing
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and system of Business Processing.
Background technology
Along with popularizing of network, people are while realizing basic interconnection intercommunication, also more and more higher requirement is put forward to the quality of network, some value-added services in network, as fire compartment wall, the ACG(Application Control Gateway of security classes, Application control gateway) etc., more and more by people are paid close attention to.In order to provide better network service to client, integrated value-added service plate (as fire compartment wall board) is also provided at present in a lot of network equipment, concrete, enter the data flow of the network equipment after firewall filtering, the message be not filtered also is wanted to be carried out conventional MAC(Media Access Control by the network equipment, medium access control) layer, IP layer forward (being called basic service), and is finally sent to corresponding destination.
In existing distributed system, basic service adopts distributed treatment, every block interface board all possesses independently basic service disposal ability, therefore support that the board of value-added service also supports basic service simultaneously, namely value-added service board is logically divided into: value-added service processing module and basic service processing module.In the existing implementation of one, the basic service of value-added service interface plate and value-added service are all realized by software by multi-core CPU (Central Processing Unit, central processing unit).But, basic service is realized with the CPU computational resource of relative scarcity, cannot be not fully exerted causing the ability of CPU process value-added service, simultaneously basic service and the value-added service software degree of coupling large, the software of basic service processing module and the software of value-added service processing module cannot Stand-alone distribution, upgrade separately.
Summary of the invention
The invention provides a kind of method and system of Business Processing, with the software uncoupling of the software and value-added service processing module that make basic service processing module, realize Stand-alone distribution, upgrade separately.
First aspect, The embodiment provides a kind of method of Business Processing, comprising:
Value-added service interface plate receives the message that basic service interface board sends, and carry switching network label F Tag in described message, described FTag includes interface board number, and the content of described incoming interface plate number is described basic service interface board number;
Described value-added service interface plate carries out value-added service process to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of outgoing interface plate that the FTag in message comprises by described value-added service interface plate number is described basic service interface board number;
Amended message is sent to network board by described value-added service interface plate, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board;
Described basic service interface board, according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, and described basic service interface board carries out basic service process to described message.
In the first implementation of first aspect, receive the message of basic service interface board transmission at value-added service interface plate before, described method also comprises:
Message described in first port accepts of basic service interface board, determine to need to carry out value-added service process to described message, described basic service interface board adds described FTag in described message, described FTag also comprises outgoing interface plate number, and the content of described outgoing interface plate number is described value-added service interface plate number;
Described message is sent to network board by described basic service interface board, and described message carries described FTag, has made described network board described message is sent to described value-added service interface plate number corresponding value-added service interface plate according to described outgoing interface plate number.
In conjunction with the first execution mode of first aspect or first aspect, in the second execution mode, described value-added service interface plate comprises value-added service processing module, and described value-added service processing module is realized by CPU, and described value-added service interface plate is exclusively used in process value-added service.
In conjunction with the second execution mode of first aspect, in the third execution mode,
Described basic service interface board comprises basic service processing module, and described basic service processing module is realized by asic chip.
In conjunction with the first execution mode of first aspect, in the 4th kind of execution mode, described FTag also includes interface board port numbers, and the content of described incoming interface plate port numbers is the port numbers of described first port
In conjunction with the second execution mode of first aspect, in the 5th kind of execution mode, described PTag also includes direction process identification and incoming interface plate port numbers, and described method also comprises: described value-added service interface plate extracts the port numbers of the first port as described incoming interface plate port numbers from the incoming interface plate port numbers that described FTag comprises.
In conjunction with the 5th kind of execution mode of first aspect, in the 6th kind of execution mode, described basic service interface board carries out basic service process to described message and comprises:
Described basic service interface board determines that described PTag includes direction process identification, extracts the port numbers of the first port as the source port number receiving described message from the incoming interface plate port numbers of described PTag.
Second aspect, the embodiment of the present invention additionally provides a kind of system of Business Processing, comprising: value-added service interface plate and basic service interface board,
Described basic service interface board, for sending message to described value-added service interface plate, carry switching network label F Tag in described message, described FTag includes interface board number, and the content of described incoming interface plate number is described basic service interface board number;
Described value-added service interface plate, for receiving the message that described basic service interface board sends, value-added service process is carried out to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of the outgoing interface plate that comprised by the FTag in message number is described basic service interface board number;
Described value-added service interface plate, also for amended message is sent to network board, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board;
Described basic service interface board, also for according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, carries out basic service process to described message.
In the first execution mode of second aspect,
Described basic service interface board, also for when determining to need to carry out value-added service process to described message, in described message, add described FTag, described FTag also comprises outgoing interface plate number, and the content of described outgoing interface plate number is described value-added service interface plate number;
Described basic service interface board, also for described message is sent to network board, described message carries described FTag, has made described network board described message is sent to described value-added service interface plate number corresponding value-added service interface plate according to described outgoing interface plate number.
In conjunction with the first execution mode of second aspect or second aspect, in the second execution mode, described value-added service interface plate comprises value-added service processing module, and described value-added service processing module is realized by CPU, and described value-added service interface plate is exclusively used in process value-added service.
In conjunction with the second execution mode of second aspect, in the third execution mode, described basic service interface board comprises basic service processing module, and described basic service processing module is realized by asic chip.
In conjunction with the first execution mode of second aspect, in the 4th kind of execution mode,
Described FTag also includes interface board port numbers, and the content of described incoming interface plate port numbers is the port numbers of described first port;
Described PTag also includes direction process identification and incoming interface plate port numbers;
Described value-added service interface plate, also extracts the port numbers of the first port as described incoming interface plate port numbers in the incoming interface plate port numbers that comprises from described FTag.
In conjunction with the 4th kind of execution mode of second aspect, in the 5th kind of execution mode, described basic service interface board, also for determining that described PTag includes direction process identification, from the incoming interface plate port numbers of described PTag, extract the port numbers of the first port as the source port number receiving described message.
Embodiments provide a kind of method and system of Business Processing, basic service interface board adds basic service interface board number as incoming interface plate number in message, message is sent to value-added service interface plate and carries out value-added service process, when value-added service interface plate completes value-added service process, complement mark position is carried in message, be used to indicate the value-added service of basic service interface board to complete, by the outgoing interface plate number of message is revised as described basic service interface board number, message returned to basic service interface board.When basic service interface board receives the message of value-added service interface plate transmission, judge according to complement mark position the value-added service process having completed this message, then proceed basic service process.Because value-added service and basic service process in independently interface board, therefore in value-added service interface plate without the need to installing the asic chip that basic service needs, thus reduce cost; When needs change basic service, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software, makes basic service and value-added service can independent development, improves the flexibility of system.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of a kind of Business Processing that the embodiment of the present invention provides;
Fig. 2 is a kind of message handling system structural representation that the embodiment of the present invention provides;
Fig. 3 is a kind of method for processing business schematic flow sheet that the embodiment of the present invention provides;
Fig. 4 is the system configuration schematic diagram of a kind of Business Processing that the embodiment of the present invention provides;
Fig. 5 is that the hardware of the transaction processing system that the embodiment of the present invention provides forms schematic diagram.
Embodiment
As shown in Figure 1, be the method for a kind of Business Processing that the embodiment of the present invention provides, comprise:
Step 101: value-added service interface plate receives the message that basic service interface board sends, and carry switching network label F Tag in described message, described FTag includes interface board number, the content of described incoming interface plate number is described basic service interface board number;
Step 102: described value-added service interface plate carries out value-added service process to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of outgoing interface plate that the FTag in message comprises by described value-added service interface plate number is described basic service interface board number;
Step 103: amended message is sent to network board by described value-added service interface plate, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board;
Step 104: described basic service interface board, according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, and described basic service interface board carries out basic service process to described message.
Embodiments provide a kind of method and system of Business Processing, basic service interface board adds basic service interface board number as incoming interface plate number in message, message is sent to value-added service interface plate and carries out value-added service process, when value-added service interface plate completes value-added service process, complement mark position is carried in message, be used to indicate the value-added service of basic service interface board to complete, by the outgoing interface plate number of message is revised as described basic service interface board number, message returned to basic service interface board.When basic service interface board receives the message of value-added service interface plate transmission, judge according to complement mark position the value-added service process having completed this message, then can carry out basic service process according to existing mode.Because value-added service and basic service process in independently interface board, therefore in value-added service interface plate without the need to install basic service need ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) chip, thus reduce cost; When needs change basic service, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software, makes basic service and value-added service can independent development, improves the flexibility of system.
Clearer for making the present invention describe, following embodiment is described in conjunction with concrete application scenarios.
As shown in Figure 2, be a kind of message handling system structural representation that the embodiment of the present invention provides, the entity be applied in composition graphs 2 pairs of embodiment of the present invention and related notion carry out following explanation:
This message handling system comprises basic service interface board, value-added service interface plate and network board.Wherein, basic service process is completed by the basic service processing module on basic service interface board; Value-added service processing module in value-added service interface plate completes, and described value-added service processing module is realized by CPU, and this value-added service interface plate is completely for the treatment of value-added service.Because value-added service interface plate itself does not possess basic service disposal ability, value-added service processing module sends message back to basic service interface board after completing the process to message, is completed the process of basic service by the basic service processing module on basic service interface board.
The port that message enters the network equipment is called system inbound port, the port that message leaves the network equipment is called system outbound port, owing to there is polylith interface board in distributed apparatus, system inbound port, system outbound port are generally made up of interface board number and interface board port numbers two-stage, i.e. { interface board number, interface board port numbers }.The forwarding of message search dynamic learning or user's static configuration according to message characteristic (as network address information such as MAC, IP) basic service forwarding-table item obtain system outbound port number (outgoing interface plate number, outgoing interface plate port numbers) and message is sent to the process of system outbound port (outgoing interface plate, outgoing interface plate port).
In embodiments of the present invention, FTag(Fabric Tag, switching network label) be mainly used in the interface board number that carries needed for message repeating, message is sent to corresponding interface board (because the business of process may be basic service or value-added service, interface board here can be basic service interface board also can be value-added service interface plate) according to the interface board in FTag number by network board;
Namely PTag(forwards abstract factory), specifically comprise Done(complement mark position, for representing whether value-added service has processed).Optionally, PTag can also comprise Ingress(and enter direction flow process mark, takes for source port number required in control treatment process), Srcport(incoming interface plate port numbers, if PTag does not carry this parameter, basic service processing module can obtain source port number from FTag) etc. parameter.
In embodiments of the present invention, after value-added service processing module processes message, message after process is sent it back source basic service interface board, basic service process is carried out by the basic service processing module on the basic service interface board of source, complete follow-up basic process of business disposal, thus make this message be correctly forwarded to system outbound port.In this implementation, value-added service interface plate comprises value-added service processing module, and this value-added service processing module is realized by CPU, is specifically designed to process value-added service, does not comprise basic service processing capacity.Value-added service processing module in the scheme that the embodiment of the present invention provides is realized by CPU, without the need to extra value-added service plate, thus reduces cost; The value-added service processing module that value-added service is realized by CPU is responsible for process, basic service is processed by the basic service processing module on basic service interface board, eliminate the close coupling of basic service and value-added service, thus improve service flexibility, make the software of the software of basic service processing module and value-added service processing module can Stand-alone distribution, upgrade separately.
As shown in Figure 3, for a kind of method for processing business schematic flow sheet that the embodiment of the present invention provides, in embodiments of the present invention, message handling system comprises basic service interface board, network board and value-added service interface plate, wherein, value-added service processing module in value-added service interface plate is realized by CPU, is used for specially processing value-added service, does not process basic service.
Modal in basic service is Ethernet two layers forwarding, and the embodiment of the present invention forwards for Ethernet two layers and message traffic handling process is described, described business processing flow comprises:
Step 301: the port a of basic service interface board 1 receives outstanding message;
Owing to being that message carries out message handling system first, this message does not carry PTag.
Step 302: basic service interface board 1 determines that this message needs to carry out value-added service process, the basic service processing module of basic service interface board 1 is that described message adds FTag, described FTag and includes interface board number, incoming interface plate port numbers and outgoing interface plate number.
Incoming interface plate port numbers is actual source port, in embodiments of the present invention for receiving the port a of this message; Described incoming interface plate number is interface board 1;
Because message does not carry PTag, show also not carry out value-added service process to this message, therefore, basic service interface board needs to forward the packet to value-added service interface plate (embodiment of the present invention represents value-added service interface plate with interface board 2), and described outgoing interface plate number is value-added service interface plate number (interface board 2).
Further, outgoing interface plate port numbers in described FTag, can also be comprised, for indicating the port of the outgoing interface plate that this message repeating arrives.In concrete application scenarios, the port numbers of outgoing interface plate can not limit, and the following is the FTag example that the embodiment of the present invention provides:
Incoming interface plate number Incoming interface plate port numbers Outgoing interface plate number Outgoing interface plate port numbers
Interface board 1 a Interface board 2 Any
Step 303: amended message is sent to network board by basic service interface board 1;
Step 304: network board receives described amended message, according to the outgoing interface plate in the FTag carried in message number by amended message repeating to interface board 2(and value-added service interface plate) carry out value-added service process;
Step 305: the value-added service processing module in value-added service interface plate carries out value-added service process to this message.After value-added service process completes, value-added service processing module is handled as follows before sending message back to network board:
Outgoing interface plate number in FTag is revised as in the message received in step 303 and carries described incoming interface plate number (interface board 1), be the basic service interface board number receiving this message first, thus make message can be sent back to source basic service interface board to proceed basic service process.
The following example of amended FTag:
Incoming interface plate Incoming interface plate port Outgoing interface plate Outgoing interface plate port
Interface board 1 a Interface board 1 Any
Value-added service processing module adds PTag in message, the Done(complement mark position by described PTag) be set to 1, for for representing that the value-added service process of this message completes.Concrete, PTag can be added after the FTag of message.
Further, for convenience of Business Processing, described PTag can also comprise Ingress parameter and Srcport parameter, and described Ingress parameter is set to 1 by value-added service processing module, and by the incoming interface plate port numbers that comprises in FTag, (port a) copies in the Srcport parameter of Ptag.Wherein, described Ingress parameter, for entering direction flow process mark, is taken for source port number required in control treatment process, when described Ingress is 1, directly can take port numbers in Srcport parameter as source port number.
Step 306: the message carrying PTag and new FTag is sent to network board by value-added service interface plate.
Step 307: the outgoing interface plate number (interface board 1) in the FTag that network board carries according to message, sends message back to basic service interface board 1 again.
Step 308: basic service interface board 1 is determined to complete value-added service according to the complement mark position in described message, the basic service processing module of basic service interface board carries out basic service process to message.
When basic service interface board processes message, can process message according to the Done information of whether carrying in message in PTag and PTag, concrete, when the value that message does not carry PTag or Done represents that value-added service process does not complete, message is sent to value-added service interface plate and carries out value-added service process by basic service interface board; When Done value represents that value-added service completes, then proceed basic service process, and without the need to this message being sent to value-added service interface plate, thus avoid the message through value-added service process to be sent to again value-added service interface plate formation endless loop.
In existing distributed forwarding framework, Message processing flow process is divided into Ingress flow processing and Egress flow processing, and the message being sent to the basic service processing module of basic service interface board from network board can only carry out Egress flow processing by Egress engine to message.On the contrary, in step 305 of the present invention, the value-added service processing module of value-added service interface plate adds Ingress parameter in message, is used for representing that this message is from network board and needs to carry out the message of secondary Ingress flow processing.In step 308, when basic service interface board 1 receives this message, Ingress flow processing can be carried out according to the Ingress parameter of carrying in message to message.
Further, the source port number of message is the reference factor of logic interfacing distribution, safety filtering, policy distribution, and source port number changes and the processing policy of message can be caused to change, and message even may be caused correctly to forward.In step 305, the content of the Srcport parameter that value-added service interface plate carries in Ptag parameter be the port numbers of message when entering basic service interface board first (port a), thus the message making second time enter described basic service interface board 1 with possess identical source port number (incoming interface plate port numbers) when entering first, ensure that the processing policy of basic service interface board 1 pair of message remains unchanged.In embodiments of the present invention, when the PTag in the message that basic service interface board 1 receives carries Ingress parameter and Srcport parameter, if described Ingress parameter value is 1, the port numbers that described Srcport parameter is carried by basic service processing module is as source port number.In embodiments of the present invention, the basic service processing module on basic service interface board determines according to the Ingress mark in PTag the source port of source port as message whether using Ptag in processing procedure, thus realizes carrying out differentiating and processing to message.
The basic service processing module of basic service interface board 1 proceeds basic service process.Concrete, basic service processing module is searched basic service forwarding-table item according to message characteristic and is obtained system outbound port (embodiment of the present invention is described for the port b of basic service interface board 2).It should be noted that, the process that basic service interface board searches basic service forwarding-table item acquisition system outbound port according to message characteristic can adopt mode of the prior art, and the present invention is not limited this.
In conjunction with above-described embodiment, the basic service processing rule on basic service interface board is as follows:
1., in business procession, taking of incoming interface plate port numbers is regular as follows:
If 1.a message carries PTag and Ingress parameter value is 1, message obtains the Srcport parameter of carrying out the PTag that incoming interface plate port numbers required in basic service processing procedure is directly carried from message;
If the Ingress that 1.b message does not carry in PTag or PTag is masked as 0, message uses the incoming interface plate port numbers of reality carrying out incoming interface plate port numbers required in basic service processing procedure, namely message enters the incoming interface plate port numbers of this basic service interface board.
2. basic service interface board carry out message repeating message repeating rule as follows:
If the Done that 2.a message does not carry in PTag or PTag is masked as 0, show this message not yet through value-added service process, basic service interface board will be searched basic service according to message characteristic and transmit acquisition system outbound port, and message is forwarded to the process of value-added service interface plate.
If 2.b message carries PTag and Done is masked as 1, then show this message through value-added service process, basic service interface board proceeds basic service process, concrete, basic service can be searched according to message characteristic and transmit acquisition system outbound port, message is forwarded to basic service interface board 2 and proceed basic service process.
Embodiments provide a kind of method of message being carried out to Business Processing, in embodiments of the present invention, after basic service interface board receives message, first determine whether to need to carry out value-added service process to this message, if needed, then adding basic service interface board number as incoming interface plate number in message, forwarding the packet to value-added service interface plate and carrying out value-added service process.When value-added service interface plate completes value-added service process, in message, carry complement mark position (the Done parameter in PTag), be used to indicate the value-added service of basic service interface board and complete, proceed basic service process.When basic service interface board receives the message of value-added service interface plate transmission, judge according to complement mark position the value-added service process having completed this message, then can proceed basic service process according to existing mode.In embodiments of the present invention, because value-added service and basic service process in independently interface board, value-added service interface plate only carries out value-added service process, therefore in value-added service interface plate without the need to installing the asic chip that basic service needs, thus reduce cost; When needs change basic service, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software, makes basic service and value-added service can independent development, improves the flexibility of system.
And in prior art, basic service asic chip in existing value-added service interface plate may not support basic service newly developed, message will be caused after value-added service process cannot to realize this new basic service process, and result is that new basic service cannot use with value-added service simultaneously.
Corresponding with said method embodiment, as shown in Figure 4, the embodiment of the present invention additionally provides a kind of system configuration schematic diagram of Business Processing, comprising:
Comprise value-added service interface plate 401 and basic service interface board 402,
Described basic service interface board 402, for sending message to described value-added service interface plate 401, carry switching network label F Tag in described message, described FTag includes interface board number, and the content of described incoming interface plate number is described basic service interface board number;
Described value-added service interface plate 401, for receiving the message that described basic service interface board 402 sends, value-added service process is carried out to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of the outgoing interface plate that comprised by the FTag in message number is described basic service interface board number;
Described value-added service interface plate 401, also for amended message is sent to network board, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board 402;
Described basic service interface board 402, also for according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, carries out basic service process to described message.
Further, described basic service interface board 402, also for when determining to need to carry out value-added service process to described message, adds described FTag in described message, described FTag also comprises outgoing interface plate number, and the content of described outgoing interface plate number is described value-added service interface plate number;
Described basic service interface board 402, also for described message is sent to network board, described message carries described FTag, has made described network board described message is sent to described value-added service interface plate number corresponding value-added service interface plate 401 according to described outgoing interface plate number.
Described value-added service interface plate 401 comprises value-added service processing module, and described value-added service processing module is realized by CPU, and described value-added service interface plate is exclusively used in process value-added service.
Described basic service interface board 402 comprises basic service processing module, and described basic service processing module is realized by asic chip.
Described FTag also includes interface board port numbers, and the content of described incoming interface plate port numbers is the port numbers of described first port;
Described PTag also includes direction process identification and incoming interface plate port numbers;
Described value-added service interface plate 401, also extracts the port numbers of the first port as described incoming interface plate port numbers in the incoming interface plate port numbers that comprises from described FTag.
Described basic service interface board 402, also for determining that described PTag includes direction process identification, extracts the port numbers of the first port as the source port number receiving described message from the incoming interface plate port numbers of described PTag.
Embodiments provide a kind of system of message being carried out to Business Processing, in embodiments of the present invention, after basic service interface board receives message, first determine whether to need to carry out value-added service process to this message, if needed, then adding basic service interface board number as incoming interface plate number in message, forwarding the packet to value-added service interface plate and carrying out value-added service process.When value-added service interface plate completes value-added service process, in message, carry complement mark position (the Done parameter in PTag), be used to indicate the value-added service of basic service interface board and complete, proceed basic service process.When basic service interface board receives the message of value-added service interface plate transmission, judge according to complement mark position the value-added service process having completed this message, then can proceed basic service process according to existing mode.In embodiments of the present invention, because value-added service and basic service process in independently interface board, value-added service interface plate only carries out value-added service process, therefore in value-added service interface plate without the need to installing the asic chip that basic service needs, thus reduce cost; When needs change basic service, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software, makes basic service and value-added service can independent development, improves the flexibility of system.
Further, as shown in Figure 5, the hardware of the transaction processing system provided for the embodiment of the present invention forms schematic diagram.Described transaction processing system comprises value-added service interface plate and basic service interface board, described value-added service interface plate comprises at least one value-added service processing module, described value-added service processing module is realized by CPU, described basic service interface board comprises at least one basic service processing module, and described basic service processing module is realized by asic chip.Described value-added service interface plate and basic service interface board all can comprise at least one network interface or other communication interfaces, memory, and at least one communication bus, for realizing the connection communication between these devices.Processor is used for the executable module stored in execute store, such as computer program.Memory may comprise high-speed random access memory (RAM:Random Access Memory), still may comprise non-labile memory (non-volatile memory), such as at least one magnetic disc store.Realize the communication connection between this system gateway and at least one other network element by least one network interface (can be wired or wireless), can the Internet be used, wide area network, local network, metropolitan area network etc.
In some embodiments, store program command in memory, program command can be executed by processor, and wherein, the specific implementation of program command see each execution step provided in embodiment corresponding to Fig. 3 and Fig. 4 of the present invention, can repeat no more here.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that all or part of step in above-described embodiment method can add required general hardware platform by software and realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, resource management server, or the network communication equipments such as such as media gateway, etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for equipment and system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Equipment and system embodiment described above is only schematic, the unit wherein illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (13)

1. a method for Business Processing, is characterized in that, comprising:
Value-added service interface plate receives the message that basic service interface board sends, and carry switching network label F Tag in described message, described FTag includes interface board number, and the content of described incoming interface plate number is described basic service interface board number;
Described value-added service interface plate carries out value-added service process to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of outgoing interface plate that the FTag in message comprises by described value-added service interface plate number is described basic service interface board number;
Amended message is sent to network board by described value-added service interface plate, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board;
Described basic service interface board, according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, and described basic service interface board carries out basic service process to described message.
2. the method for claim 1, is characterized in that, receive the message of basic service interface board transmission at value-added service interface plate before, described method also comprises:
Message described in first port accepts of basic service interface board, determine to need to carry out value-added service process to described message, described basic service interface board adds described FTag in described message, described FTag also comprises outgoing interface plate number, and the content of described outgoing interface plate number is described value-added service interface plate number;
Described message is sent to network board by described basic service interface board, and described message carries described FTag, has made described network board described message is sent to described value-added service interface plate number corresponding value-added service interface plate according to described outgoing interface plate number.
3. method as claimed in claim 1 or 2, it is characterized in that, described value-added service interface plate comprises value-added service processing module, and described value-added service processing module is realized by central processor CPU, and described value-added service interface plate is exclusively used in process value-added service.
4. the method as described in as arbitrary in claim 3, it is characterized in that, described basic service interface board comprises basic service processing module, and described basic service processing module is realized by application-specific integrated circuit ASIC chip.
5. method as claimed in claim 2, is characterized in that,
Described FTag also includes interface board port numbers, and the content of described incoming interface plate port numbers is the port numbers of described first port.
6. method as claimed in claim 5, is characterized in that,
Described PTag also includes interface board port numbers, and described method also comprises:
Described value-added service interface plate extracts the port numbers of the first port as the incoming interface plate port numbers in described PTag from the incoming interface plate port numbers that described FTag comprises.
7. method as claimed in claim 6, it is characterized in that, described PTag also includes direction process identification,
Described basic service interface board carries out basic service process to described message and comprises:
Described basic service interface board determines that described PTag includes direction process identification, extracts the port numbers of the first port as the source port number receiving described message from the incoming interface plate port numbers of described PTag.
8. a transaction processing system, is characterized in that, comprises value-added service interface plate and basic service interface board,
Described basic service interface board, for sending message to described value-added service interface plate, carry switching network label F Tag in described message, described FTag includes interface board number, and the content of described incoming interface plate number is described basic service interface board number;
Described value-added service interface plate, for receiving the message that described basic service interface board sends, value-added service process is carried out to described message, after completing value-added service process, add in described message and forward abstract factory PTag, described PTag comprises complement mark position, and the content modification of the outgoing interface plate that comprised by the FTag in message number is described basic service interface board number;
Described value-added service interface plate, also for amended message is sent to network board, made described network board according to the outgoing interface plate carried in described amended message number by message routing to described basic service interface board;
Described basic service interface board, also for according to the complement mark position comprised in described PTag, determines that the value-added service of described message is done, carries out basic service process to described message.
9. system as claimed in claim 8, is characterized in that,
Described basic service interface board, also for when determining to need to carry out value-added service process to described message, in described message, add described FTag, described FTag also comprises outgoing interface plate number, and the content of described outgoing interface plate number is described value-added service interface plate number;
Described basic service interface board, also for described message is sent to network board, described message carries described FTag, has made described network board described message is sent to described value-added service interface plate number corresponding value-added service interface plate according to described outgoing interface plate number.
10. system as claimed in claim 8 or 9, it is characterized in that, described value-added service interface plate comprises value-added service processing module, and described value-added service processing module is realized by central processor CPU, and described value-added service interface plate is exclusively used in process value-added service.
11. systems as claimed in claim 10, is characterized in that,
Described basic service interface board comprises basic service processing module, and described basic service processing module is realized by application-specific integrated circuit ASIC chip.
12. systems as claimed in claim 9, is characterized in that,
Described FTag also includes interface board port numbers, and the content of described incoming interface plate port numbers is the port numbers of described first port;
Described PTag also includes direction process identification and incoming interface plate port numbers;
Described value-added service interface plate, also extracts the port numbers of the first port as described incoming interface plate port numbers in the incoming interface plate port numbers that comprises from described FTag.
13. systems as claimed in claim 12, is characterized in that,
Described basic service interface board, also for determining that described PTag includes direction process identification, extracts the port numbers of the first port as the source port number receiving described message from the incoming interface plate port numbers of described PTag.
CN201310253696.4A 2013-06-24 2013-06-24 A kind of method and system of Business Processing Active CN104243361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310253696.4A CN104243361B (en) 2013-06-24 2013-06-24 A kind of method and system of Business Processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310253696.4A CN104243361B (en) 2013-06-24 2013-06-24 A kind of method and system of Business Processing

Publications (2)

Publication Number Publication Date
CN104243361A true CN104243361A (en) 2014-12-24
CN104243361B CN104243361B (en) 2017-06-27

Family

ID=52230735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310253696.4A Active CN104243361B (en) 2013-06-24 2013-06-24 A kind of method and system of Business Processing

Country Status (1)

Country Link
CN (1) CN104243361B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766070A (en) * 2017-10-16 2018-03-06 北京锐安科技有限公司 A kind of service card upgrade method, device, equipment and computer-readable recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729592A (en) * 2008-10-29 2010-06-09 ***通信集团公司 Distributed communication network and equipment and communication network separation method
CN102291455A (en) * 2011-08-10 2011-12-21 华为技术有限公司 Distributed cluster processing system and message processing method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729592A (en) * 2008-10-29 2010-06-09 ***通信集团公司 Distributed communication network and equipment and communication network separation method
CN102291455A (en) * 2011-08-10 2011-12-21 华为技术有限公司 Distributed cluster processing system and message processing method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "华为单板描述", 《百度文库文档》 *
华为技术有限公司: "HUAWEI NetEngine20E-X6 高端业务路由器V600R003C00产品描述", 《华为产品手册》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766070A (en) * 2017-10-16 2018-03-06 北京锐安科技有限公司 A kind of service card upgrade method, device, equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN104243361B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US10084685B2 (en) Route reflector as a service
WO2016029821A1 (en) Method and device for creating virtual network instance
CN104142856B (en) Service routine call method, system and its smart machine
CN103095521B (en) The control method of flow detection, system, device, controller and checkout equipment
CN106576074A (en) Routing rule acquisition method, device and system
CN103780467B (en) communication connection method, communication device and communication system
CN111382115B (en) Path creating method and device for network on chip and electronic equipment
CN107547391A (en) A kind of message transmitting method and device
CN104811922A (en) Adjacent node registration method and the device and cross-node registration method and system
CN107005435A (en) A kind of network service descriptor restocking method and device
CN105939267A (en) Out-of-band management method and device
CN103931144A (en) Method, equipment and system for communication in virtual domain
CN105791073A (en) Service deployment method and device in virtual network
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN102484611A (en) Link state identifier collision handling
CN104301449A (en) Method and device for modifying IP address
EP3096492B1 (en) Page push method and system
WO2022160864A1 (en) Network access method and apparatus for intelligent device, and intelligent device
CN107483341A (en) A kind of across fire wall packet fast forwarding method and device
CN105468684B (en) Filtering sensitive words system and its communication means
CN104639557A (en) Method and system for establishing PCEP (Path Computation Element Communication Protocol) session and equipment
CN116010130B (en) Cross-card link aggregation method, device, equipment and medium for DPU virtual port
CN104243361A (en) Service processing method and system
US10992635B2 (en) Establishing connection between different overlay networks using edge application gateway
CN105099802A (en) Traffic identification method, terminal, and network element equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant