CN104243361B - A kind of method and system of Business Processing - Google Patents
A kind of method and system of Business Processing Download PDFInfo
- Publication number
- CN104243361B CN104243361B CN201310253696.4A CN201310253696A CN104243361B CN 104243361 B CN104243361 B CN 104243361B CN 201310253696 A CN201310253696 A CN 201310253696A CN 104243361 B CN104243361 B CN 104243361B
- Authority
- CN
- China
- Prior art keywords
- value
- message
- interface plate
- service interface
- basic service
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of method and system of Business Processing, wherein, methods described is:After basic service interface board receives message, it is first determined whether needs carry out value-added service treatment to the message, if desired, then forwarding the packet to value-added service interface plate carries out value-added service treatment, when value-added service interface plate completes value-added service to be processed, complement mark position is carried in messages, is processed for indicating basic service interface board to proceed basic service.When basic service interface board receives the message that value-added service interface plate sends, judge that the message has completed value-added service treatment according to complement mark position, proceed basic service treatment.In embodiments of the present invention, because value-added service interface plate only carries out value-added service treatment, therefore basic service asic chip need not be installed in value-added service interface plate, reduces cost;When change basic service is needed, value-added service interface plate is unaffected, greatly reduces the coupling of value-added service interface plate software and basic service interface board software so that basic service and value-added service can independent development, improve the flexibility of system.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and system of Business Processing.
Background technology
With the popularization of network, people put forward more next while basic interconnection intercommunication is realized, also to the quality of network
Requirement higher, such as some value-added services in network, the fire wall of security classes, ACG(Application Control
Gateway, Application control gateway)Deng more and more concerned.In order to provide more preferable network service to client, at present
Integrated value-added service plate is also provided in many network equipments(Such as fire wall board), specifically, into the number of the network equipment
According to stream by after firewall filtering, the message not filtered will also can carry out conventional MAC by the network equipment(Media
Access Control, medium access control)Layer, IP layer forward (referred to as basic service), and it is eventually sent to corresponding purpose
Ground.
In existing distributed system, basic service uses distributed treatment, and every piece of interface board all possesses independent base
This traffic handing capacity, therefore support that the board of value-added service also supports basic service simultaneously, i.e. value-added service board is in logic
On be divided into:Value-added service processing module and basic service processing module.In a kind of existing implementation, value-added service interface
The basic service of plate and value-added service all pass through software by multi-core CPU (Central Processing Unit, central processing unit)
To realize.But, basic service is realized with the CPU computing resources of relative scarcity, the ability that CPU will be caused to process value-added service
Cannot be not fully exerted, while basic service and the value-added service software degree of coupling are big, the software of basic service processing module and
The software of value-added service processing module cannot Stand-alone distribution, individually upgrading.
The content of the invention
The present invention provides a kind of method and system of Business Processing, to cause software and the increment of basic service processing module
The software uncoupling of Service Processing Module, realizes Stand-alone distribution, individually upgrading.
In a first aspect, The embodiment provides a kind of method of Business Processing, including:
Value-added service interface plate receives the message that basic service interface board sends, and switching network label is carried in the message
FTag, the FTag include incoming interface plate number, and the content of the incoming interface plate number is the basic service interface board number;
The value-added service interface plate carries out value-added service treatment to the message, after value-added service treatment is completed,
Forwarding abstract factory PTag, the PTag are added in the message includes complement mark position, and the value-added service interface plate will be reported
The content modification of the outgoing interface plate number that the FTag in text is included is the basic service interface board number;
Amended message is sent to network board by the value-added service interface plate, caused the network board according to
The outgoing interface plate number carried in the amended message is by message routing to the basic service interface board;
The basic service interface board determines the increment industry of the message according to the complement mark position included in the PTag
Business has been done, and the basic service interface board carries out basic service treatment to the message.
In the first implementation of first aspect, receive what basic service interface board sent in value-added service interface plate
Before message, methods described also includes:
The first port of basic service interface board receives the message, it is determined that needs are carried out at value-added service to the message
Reason, the basic service interface board adds the FTag in the message, and the FTag also includes outgoing interface plate number, it is described go out
The content of interface board number is the value-added service interface plate number;
The basic service interface board sends the messages to network board, and the message carries the FTag, made
Obtain the network board and the corresponding increasing of the value-added service interface plate number is sent the messages to according to the outgoing interface plate number
Value service interface board.
With reference to the first implementation method of first aspect or first aspect, in second implementation method, the increment industry
Business interface board includes value-added service processing module, and the value-added service processing module is realized by CPU, the value-added service interface plate
It is exclusively used in processing value-added service.
With reference to second implementation method of first aspect, in the third implementation method,
The basic service interface board includes basic service processing module, and the basic service processing module is by asic chip
Realize.
With reference to the first implementation method of first aspect, in the 4th kind of implementation method, the FTag also includes incoming interface
Plate port numbers, the content of the incoming interface plate port numbers is the port numbers of the first port
With reference to second implementation method of first aspect, in the 5th kind of implementation method, the PTag is also included into direction
Process identification and incoming interface plate port numbers, methods described also include:The value-added service interface plate is from entering that the FTag is included
The port numbers of first port are extracted in interface board port numbers as the incoming interface plate port numbers.
With reference to the 5th kind of implementation method of first aspect, in the 6th kind of implementation method, the basic service interface board pair
The message carries out basic service treatment to be included:
The basic service interface board determines that the PTag is included into direction process identification, from the incoming interface plate of the PTag
The port numbers of first port are extracted in port numbers as the source port number for receiving the message.
Second aspect, the embodiment of the present invention additionally provides a kind of system of Business Processing, including:Value-added service interface plate and
Basic service interface board,
The basic service interface board, carries for sending message to the value-added service interface plate, in the message and hands over
Draping label F Tag, the FTag include incoming interface plate number, and the content of the incoming interface plate number is the basic service interface board
Number;
The value-added service interface plate, for receiving the message that the basic service interface board sends, enters to the message
Row value-added service is processed, and after value-added service treatment is completed, forwarding abstract factory PTag, the PTag is added in the message
Including complement mark position, the content modification of the outgoing interface plate number that the FTag in message is included is the basic service interface board
Number;
The value-added service interface plate, is additionally operable to for amended message to be sent to network board, has caused the exchange
Web plate is according to the outgoing interface plate number carried in the amended message by message routing to the basic service interface board;
The basic service interface board, is additionally operable to, according to the complement mark position included in the PTag, determine the message
Value-added service be done, basic service treatment is carried out to the message.
In the first implementation method of second aspect,
The basic service interface board, is additionally operable to when it is determined that needing to carry out the message value-added service treatment, in institute
State and add in message the FTag, the FTag also includes outgoing interface plate number, and the content of the outgoing interface plate number is the increment
Service interface board number;
The basic service interface board, is additionally operable to send the messages to network board, and the message carries described
FTag, such that the network board sends the messages to the value-added service interface plate number according to the outgoing interface plate number
Corresponding value-added service interface plate.
With reference to the first implementation method of second aspect or second aspect, in second implementation method, the increment industry
Business interface board includes value-added service processing module, and the value-added service processing module is realized by CPU, the value-added service interface plate
It is exclusively used in processing value-added service.
With reference to second implementation method of second aspect, in the third implementation method, the basic service interface board bag
Basic service processing module is included, the basic service processing module is realized by asic chip.
With reference to the first implementation method of second aspect, in the 4th kind of implementation method,
The FTag also includes incoming interface plate port numbers, and the content of the incoming interface plate port numbers is the first port
Port numbers;
The PTag is also included into direction process identification and incoming interface plate port numbers;
The value-added service interface plate, is additionally operable to extract first port in the incoming interface plate port numbers included from the FTag
Port numbers as the incoming interface plate port numbers.
With reference to the 4th kind of implementation method of second aspect, in the 5th kind of implementation method, the basic service interface board, also
For determining that the PTag is included into direction process identification, first port is extracted from the incoming interface plate port numbers of the PTag
Port numbers are used as the source port number for receiving the message.
A kind of method and system of Business Processing is the embodiment of the invention provides, basic service interface board is added in messages
Basic service interface board number is sent to value-added service interface plate and carries out value-added service treatment as incoming interface plate number, by message, when
When value-added service interface plate completes value-added service treatment, complement mark position is carried in messages, for indicating basic service interface
Plate value-added service has been completed, and is returned to message by the way that the outgoing interface plate number of message is revised as into the basic service interface board number
Basic service interface board.When basic service interface board receives the message that value-added service interface plate sends, according to complement mark position
Judgement has completed the value-added service treatment of the message, then proceed basic service treatment.Due to value-added service and basic service
Processed in independent interface board, therefore the ASIC cores of basic service needs need not be installed in value-added service interface plate
Piece, so as to reduce cost;When change basic service is needed, value-added service interface plate is unaffected, eliminates value-added service
The coupling of interface board software and basic service interface board software so that basic service and value-added service being capable of independent developments, raising
The flexibility of system.
Brief description of the drawings
Fig. 1 is a kind of method flow schematic diagram of Business Processing provided in an embodiment of the present invention;
Fig. 2 is a kind of message handling system structural representation provided in an embodiment of the present invention;
Fig. 3 is a kind of method for processing business schematic flow sheet provided in an embodiment of the present invention;
Fig. 4 is a kind of system structure diagram of Business Processing provided in an embodiment of the present invention;
Fig. 5 is that the hardware of transaction processing system provided in an embodiment of the present invention constitutes schematic diagram.
Specific embodiment
As shown in figure 1, be a kind of method of Business Processing provided in an embodiment of the present invention, including:
Step 101:Value-added service interface plate receives the message that basic service interface board sends, and is carried in the message and exchanged
Network mark label FTag, the FTag include incoming interface plate number, and the content of the incoming interface plate number is the basic service interface board number;
Step 102:The value-added service interface plate carries out value-added service treatment to the message, completes at value-added service
After reason, forwarding abstract factory PTag, the PTag are added in the message includes complement mark position, the value-added service interface
The content modification of the outgoing interface plate number that plate includes the FTag in message is the basic service interface board number;
Step 103:Amended message is sent to network board by the value-added service interface plate, has caused the exchange
Web plate is according to the outgoing interface plate number carried in the amended message by message routing to the basic service interface board;
Step 104:The basic service interface board determines the message according to the complement mark position included in the PTag
Value-added service be done, the basic service interface board carries out basic service treatment to the message.
A kind of method and system of Business Processing is the embodiment of the invention provides, basic service interface board is added in messages
Basic service interface board number is sent to value-added service interface plate and carries out value-added service treatment as incoming interface plate number, by message, when
When value-added service interface plate completes value-added service treatment, complement mark position is carried in messages, for indicating basic service interface
Plate value-added service has been completed, and is returned to message by the way that the outgoing interface plate number of message is revised as into the basic service interface board number
Basic service interface board.When basic service interface board receives the message that value-added service interface plate sends, according to complement mark position
Judgement has completed the value-added service treatment of the message, then can carry out basic service treatment according to existing mode.Due to increment
Business and basic service are processed in independent interface board, therefore basic service need not be installed in value-added service interface plate
ASIC (Application Specific Integrated Circuit, application specific integrated circuit) chip of needs, so as to reduce
Cost;When need change basic service when, value-added service interface plate is unaffected, eliminate value-added service interface plate software and
The coupling of basic service interface board software so that basic service and value-added service can independent development, improve the flexible of system
Property.
To cause that present invention description becomes apparent from, following embodiments are described with reference to specific application scenarios.
As shown in Fig. 2 be a kind of message handling system structural representation provided in an embodiment of the present invention, with reference to Fig. 2 to this
The entity and related notion being applied in inventive embodiments carry out following explanation:
The message handling system includes basic service interface board, value-added service interface plate and network board.Wherein, basic industry
Basic service processing module at business on reason basic service interface board is completed;Value-added service treatment in value-added service interface plate
Module is completed, and the value-added service processing module is realized by CPU, and the value-added service interface plate is entirely used for treatment increment industry
Business.Because value-added service interface plate does not possess basic service disposal ability in itself, value-added service processing module is completed to message
Treatment after send message back to basic service interface board, base is completed by the basic service processing module on basic service interface board
The treatment of this business.
The port that message enters the network equipment is referred to as system inbound port, and the port referred to as system that message leaves the network equipment goes out
Port, due to there is polylith interface board in distributed apparatus, system inbound port, system exit port typically by interface board number and connect
Oralia port numbers two-stage is constituted, i.e., { interface board number, interface board port numbers }.The forwarding of message according to message characteristic(Such as
The network address informations such as MAC, IP)Search the basic service forwarding-table item of dynamic learning or user's static configuration and go out obtaining system
Port numbers(Outgoing interface plate number, outgoing interface plate port numbers)And message is sent to system exit port(Outgoing interface plate, outgoing interface plate
Port)Process.
In embodiments of the present invention, FTag(Fabric Tag, switching network label)It is mainly used in needed for carrying message forwarding
Interface board number, interface board number of the network board in FTag send to corresponding interface board message(Due to the industry for processing
Business may be basic service or value-added service, and interface board here can be that basic service interface board can also be value-added service
Interface board);
PTag(Forward abstract factory), specifically include Done(Complement mark position, for representing whether value-added service is processed
Complete).Optionally, PTag can also include Ingress(Enter direction flow mark, for source required during control process
Port numbers are taken), Srcport(Incoming interface plate port numbers, if PTag does not carry the parameter, basic service processing module can be with
Source port number is obtained from FTag)Etc. parameter.
In embodiments of the present invention, after value-added service processing module has processed message, the message after treatment is sent back
Source basic service interface board, basic service treatment is carried out by the basic service processing module on the basic service interface board of source, is completed
Follow-up basic process of business disposal, so that the message is correctly forwarded to system exit port.Increase in this implementation
Value service interface board includes value-added service processing module, and the value-added service processing module is realized by CPU, is rised in value dedicated for treatment
Business, not including basic service processing function.Value-added service processing module in scheme provided in an embodiment of the present invention is by CPU realities
It is existing, without extra value-added service plate, so as to reduce cost;Value-added service is born by the value-added service processing module that CPU is realized
Duty treatment, basic service processed by the basic service processing module on basic service interface board, eliminate basic service and
The close coupling of value-added service, so as to improve service flexibility so that at the software of basic service processing module and value-added service
The software for managing module can be with Stand-alone distribution, individually upgrading.
As shown in figure 3, being a kind of method for processing business schematic flow sheet provided in an embodiment of the present invention, implement in the present invention
In example, message handling system includes basic service interface board, network board and value-added service interface plate, wherein, value-added service connects
Value-added service processing module in oralia is specifically used to process value-added service by CPU realizations, does not process basic service.
The most common are two layers of forwarding of Ethernet in basic service, the embodiment of the present invention is said by taking two layers of forwarding of Ethernet as an example
Contract quotation text business processing flow, the business processing flow includes:
Step 301:The port a of basic service interface board 1 receives outstanding message;
Due to being that message carries out message handling system first, the message does not carry PTag.
Step 302:Basic service interface board 1 determines that the message needs to carry out value-added service treatment, basic service interface board 1
Basic service processing module for the message add FTag, the FTag include incoming interface plate number, incoming interface plate port numbers and
Outgoing interface plate number.
Incoming interface plate port numbers are actual source port, in embodiments of the present invention to receive the port a of the message;Institute
State incoming interface plate number and be interface board 1;
Because message does not carry PTag, show also not carry out value-added service treatment to the message, therefore, basic service interface
Plate needs to forward the packet to value-added service interface plate(The embodiment of the present invention represents value-added service interface plate with interface board 2), institute
Outgoing interface plate number is stated for value-added service interface plate number(Interface board 2).
Further, outgoing interface plate port numbers can also be included in the FTag, for indicating that what the message was forwarded to goes out
The port of interface board.In specific application scenarios, the port numbers of outgoing interface plate can not be defined, and the following is of the invention real
Apply the FTag examples that example is provided:
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 the amended message, according to the outgoing interface plate in the FTag carried in message
Number amended message is forwarded to interface board 2(That is value-added service interface plate)Carry out value-added service treatment;
Step 305:Value-added service processing module in value-added service interface plate carries out value-added service treatment to the message.Increase
After the completion of value Business Processing, value-added service processing module is handled as follows before message is sent back to network board:
Outgoing interface plate number in FTag is revised as to carry the incoming interface plate number in the message received in step 303
(Interface board 1), the basic service interface board number of the message is as received first so that message can be sent back to source basic
Service interface board proceeds basic service treatment.
The amended following examples of 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 messages, by the Done of the PTag(Complement mark position)1 is set to, is used
Processed in the value-added service for representing the message and completed.Specifically, PTag can be added after the FTag of message.
Further, for convenience of Business Processing, the PTag can also include Ingress parameters and Srcport parameters, increase
The Ingress parameters are set to 1 by value Service Processing Module, the incoming interface plate port numbers that will be included in FTag(Port a)Replicate
To in the Srcport parameters of Ptag.Wherein, the Ingress parameters are into direction flow mark, during control process
Required source port number is taken, and when the Ingress is 1, can directly take the port numbers in Srcport parameters as source
Port numbers.
Step 306:The message for carrying PTag and new FTag is sent to network board by value-added service interface plate.
Step 307:Outgoing interface plate number in the FTag that network board is carried according to message(Interface board 1), by message again
Send basic service interface board 1 back to.
Step 308:Complement mark position of the basic service interface board 1 in the message determines to have completed value-added service,
The basic service processing module of basic service interface board carries out basic service treatment to message.
When basic service interface board is processed message, can be according in whether carrying PTag and PTag in message
Done information is processed message, specifically, the value that message does not carry PTag or Done represents that value-added service treatment is not complete
Message is sent to value-added service interface plate and carries out value-added service treatment by Cheng Shi, basic service interface board;Increase when Done values are represented
When value business has been completed, then proceed basic service treatment, and without the message is sent into value-added service interface plate, so that
The message processed by value-added service is avoided to be sent to value-added service interface plate shape into endless loop again.
In existing distributed forwarding framework, Message processing flow is divided into Ingress flow processings and Egress flows
Treatment, the message that the basic service processing module of basic service interface board is sent to from network board can only be by Egress engines pair
Message carries out Egress flow processings.On the contrary, in step 305 of the present invention, the increment industry of value-added service interface plate
Business processing module adds Ingress parameters in messages, for represent the message be carried out from network board and needing it is secondary
The message of Ingress flow processings.In step 308, when basic service interface board 1 receives the message, can be according to report
The Ingress parameters carried in text carry out Ingress flow processings to message.
Further, the source port number of message be logic interfacing distribution, safety filtering, the reference factor of policy distribution,
Source port number changes can cause the treatment strategy of message to change, in some instances it may even be possible to cause the message cannot correctly to forward.
In step 305, the content of the Srcport parameters that value-added service interface plate is carried in Ptag parameters is first entered into substantially for message
Port numbers during service interface board(That is port a), so that entering the message and head of the basic service interface board 1 for second
It is secondary to enter fashionable to possess identical source port number(That is incoming interface plate port numbers), it is ensured that place of the basic service interface board 1 to message
Reason strategy keeps constant.In embodiments of the present invention, when the PTag in the message that basic service interface board 1 is received is carried
When Ingress parameters and Srcport parameters, if the Ingress parameter values are 1, basic service processing module will be described
The port numbers that Srcport parameters are carried are used as source port number.In embodiments of the present invention, the basic industry on basic service interface board
Whether Ingress mark of the business processing module in PTag determines use the source port of Ptag as message in processing procedure
Source port, so as to realize making a distinction message treatment.
The basic service processing module of basic service interface board 1 proceeds basic service treatment.Specifically, basic service
Processing module is searched basic service forwarding-table item and obtains system exit port according to message characteristic(The embodiment of the present invention is with basic service
Illustrated as a example by the port b of interface board 2).It should be noted that basic service interface board searches basic industry according to message characteristic
The process that business forwarding-table item obtains system exit port can use mode of the prior art, the present invention not to limit this
It is fixed.
With reference to above-described embodiment, the basic service treatment rule on basic service interface board is as follows:
1. in business procession, taking for incoming interface plate port numbers is regular as follows:
If it is 1, message institute in basic service processing procedure is carried out that 1.a messages carry PTag and Ingress parameter values
Obtained in the Srcport parameters of the PTag that the incoming interface plate port numbers for needing directly are carried from message;
If the Ingress that 1.b messages are not carried in PTag or PTag is masked as 0, message is carrying out basic service treatment
During required incoming interface plate port numbers enter the basic service interface board using actual incoming interface plate port numbers, i.e. message
Incoming interface plate port numbers.
2. basic service interface board carry out message forwarding message forwarding rule it is as follows:
If the Done that 2.a messages are not carried in PTag or PTag is masked as 0, show the message not yet by value-added service
Treatment, basic service interface board will search basic service forward table and obtain system exit port according to message characteristic, and message is forwarded
To the treatment of value-added service interface plate.
If 2.b messages carry PTag and Done is masked as 1, show that the message passes through value-added service treatment, base
This service interface board proceeds basic service treatment, specifically, can search basic service forward table according to message characteristic obtaining
System exit port is taken, message is forwarded into basic service interface board 2 proceeds basic service treatment.
A kind of method that Business Processing is carried out to message is the embodiment of the invention provides, in embodiments of the present invention, substantially
After service interface board receives message, it is first determined whether need to carry out value-added service treatment to the message, if it is desired, then exist
Addition basic service interface board number forwards the packet to value-added service interface plate and is rised in value as incoming interface plate number in messages
Business Processing.When value-added service interface plate completes value-added service to be processed, complement mark position is carried in messages(In PTag
Done parameters), for indicating basic service interface board value-added service to complete, proceed basic service treatment.When basic industry
Business interface board receives the message that value-added service interface plate sends, and is judged to have completed the value-added service of the message according to complement mark position
Treatment, then can proceed basic service and process according to existing mode.In embodiments of the present invention, due to value-added service and
Basic service is processed in independent interface board, and value-added service interface plate only carries out value-added service treatment, therefore in increment
The asic chip of basic service needs need not be installed, so as to reduce cost in service interface board;When need change basic service
When, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software,
Basic service and value-added service independent development are enabled, the flexibility of system is improve.
And in the prior art, the basic service asic chip in existing value-added service interface plate may not support newly developed
Basic service, message will be caused by that cannot realize that the new basic service is processed after value-added service treatment, result is new base
This business cannot simultaneously be used with value-added service.
It is corresponding with above method embodiment, as shown in figure 4, the embodiment of the present invention additionally provide a kind of Business Processing be
System structural representation, including:
Including value-added service interface plate 401 and basic service interface board 402,
The basic service interface board 402, for sending message to the value-added service interface plate 401, in the message
Carrying switching network label F Tag, the FTag includes incoming interface plate number, and the content of the incoming interface plate number is the basic service
Interface board number;
The value-added service interface plate 401, for receiving the message that the basic service interface board 402 sends, to described
Message carries out value-added service treatment, after value-added service treatment is completed, forwarding abstract factory PTag, institute is added in the message
Stating PTag includes complement mark position, and the content modification of the outgoing interface plate number that the FTag in message is included connects for the basic service
Oralia number;
The value-added service interface plate 401, is additionally operable to for amended message to be sent to network board, has caused the friendship
Draping plate is according to the outgoing interface plate number carried in the amended message by message routing to the basic service interface board
402;
The basic service interface board 402, is additionally operable to, according to the complement mark position included in the PTag, determine the report
The value-added service of text has been done, and basic service treatment is carried out to the message.
Further, the basic service interface board 402, is additionally operable to need to carry out value-added service to the message when determination
During treatment, the FTag is added in the message, the FTag also includes outgoing interface plate number, the content of the outgoing interface plate number
It is the value-added service interface plate number;
The basic service interface board 402, is additionally operable to send the messages to network board, and the message carries described
FTag, such that the network board sends the messages to the value-added service interface plate number according to the outgoing interface plate number
Corresponding value-added service interface plate 401.
The value-added service interface plate 401 includes value-added service processing module, and the value-added service processing module is by CPU realities
Existing, the value-added service interface plate is exclusively used in processing value-added service.
The basic service interface board 402 includes basic service processing module, and the basic service processing module is by ASIC
Chip is realized.
The FTag also includes incoming interface plate port numbers, and the content of the incoming interface plate port numbers is the first port
Port numbers;
The PTag is also included into direction process identification and incoming interface plate port numbers;
The value-added service interface plate 401, is additionally operable to extract first in the incoming interface plate port numbers included from the FTag
The port numbers of port are used as the incoming interface plate port numbers.
The basic service interface board 402, is additionally operable to determine that the PTag is included into direction process identification, from the PTag
Incoming interface plate port numbers in extract first port port numbers as the source port number for receiving the message.
A kind of system that Business Processing is carried out to message is the embodiment of the invention provides, in embodiments of the present invention, substantially
After service interface board receives message, it is first determined whether need to carry out value-added service treatment to the message, if it is desired, then exist
Addition basic service interface board number forwards the packet to value-added service interface plate and is rised in value as incoming interface plate number in messages
Business Processing.When value-added service interface plate completes value-added service to be processed, complement mark position is carried in messages(In PTag
Done parameters), for indicating basic service interface board value-added service to complete, proceed basic service treatment.When basic industry
Business interface board receives the message that value-added service interface plate sends, and is judged to have completed the value-added service of the message according to complement mark position
Treatment, then can proceed basic service and process according to existing mode.In embodiments of the present invention, due to value-added service and
Basic service is processed in independent interface board, and value-added service interface plate only carries out value-added service treatment, therefore in increment
The asic chip of basic service needs need not be installed, so as to reduce cost in service interface board;When need change basic service
When, value-added service interface plate is unaffected, eliminates the coupling of value-added service interface plate software and basic service interface board software,
Basic service and value-added service independent development are enabled, the flexibility of system is improve.
Further, as shown in figure 5, for the hardware of transaction processing system provided in an embodiment of the present invention constitutes schematic diagram.
The transaction processing system includes value-added service interface plate and basic service interface board, and the value-added service interface plate is included at least
One value-added service processing module, the value-added service processing module is realized that the basic service interface board is included at least by CPU
One basic service processing module, the basic service processing module is realized by asic chip.The value-added service interface plate and
Basic service interface board may each 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 to perform the executable module stored in memory, example
Such as computer program.Memory may include high-speed random access memory(RAM:Random Access Memory), also may be used
Non-labile memory can also be included(non-volatile memory), for example, at least one magnetic disk storage.By at least
One network interface(Can be wired or wireless)Realize the communication link between the system gateway and at least one other network element
Connect, it is possible to use internet, wide area network, LAN, Metropolitan Area Network (MAN) etc..
In some embodiments, programmed instruction is stored in memory, programmed instruction can be executed by processor, its
In, implementing for programmed instruction can be found in each execution step for providing in the corresponding embodiments of Fig. 3 of the present invention and Fig. 4, here
Repeat no more.
As seen through the above description of the embodiments, those skilled in the art can be understood that above-mentioned implementation
All or part of step in example method can add the mode of required general hardware platform to realize by software.Based on such
Understand, the part that technical scheme substantially contributes to prior art in other words can be in the form of software product
Embody, the computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including it is some
Instruction is used to so that a computer equipment(Can be personal computer, resource management server, or WMG etc.
Network communication equipment, etc.)Perform the method described in some parts of each embodiment of the invention or embodiment.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment it
Between identical similar part mutually referring to what each embodiment was stressed is the difference with other embodiment.
For especially for equipment and system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple,
The relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only schematic
, wherein can be as the unit that separating component is illustrated or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of module therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
It is interior.
Claims (13)
1. a kind of method of Business Processing, it is characterised in that including:
Value-added service interface plate receives the message that basic service interface board sends, and switching network label F Tag is carried in the message,
The FTag includes incoming interface plate number, and the content of the incoming interface plate number is the basic service interface board number;
The value-added service interface plate carries out value-added service treatment to the message, after value-added service treatment is completed, described
Forwarding abstract factory PTag, the PTag are added in message includes complement mark position, and the value-added service interface plate is by message
The content modifications of outgoing interface plate number that include of FTag be the basic service interface board number;
Amended message is sent to network board by the value-added service interface plate, to cause the network board according to
The outgoing interface plate number carried in amended message is by message routing to the basic service interface board;
The basic service interface board has determined the value-added service of the message according to the complement mark position included in the PTag
It is done, the basic service interface board carries out basic service treatment to the message.
2. the method for claim 1, it is characterised in that receive basic service interface board in value-added service interface plate and send
Message before, methods described also includes:
The first port of basic service interface board receives the message, it is determined that needs carry out value-added service treatment to the message,
The basic service interface board adds the FTag in the message, and the FTag also includes outgoing interface plate number, described to go out to connect
The content of oralia number is the value-added service interface plate number;
The basic service interface board sends the messages to network board, and the message carries the FTag, to cause institute
State network board and the corresponding increment industry of the value-added service interface plate number is sent the messages to according to the outgoing interface plate number
Business interface board.
3. method as claimed in claim 1 or 2, it is characterised in that the value-added service interface plate includes value-added service treatment
Module, the value-added service processing module is realized that the value-added service interface plate is exclusively used in treatment increment by central processor CPU
Business.
4. method as claimed in claim 3, it is characterised in that the basic service interface board includes that basic service processes mould
Block, the basic service processing module is realized by application-specific integrated circuit ASIC chip.
5. method as claimed in claim 2, it is characterised in that
The FTag also includes incoming interface plate port numbers, and the content of the incoming interface plate port numbers is the port of the first port
Number.
6. method as claimed in claim 5, it is characterised in that
The PTag also includes incoming interface plate port numbers, and methods described also includes:
The port numbers that first port is extracted in the incoming interface plate port numbers that the value-added service interface plate is included from the FTag are made
It is the incoming interface plate port numbers in the PTag.
7. method as claimed in claim 6, it is characterised in that the PTag also includes into direction process identification,
The basic service interface board carries out basic service treatment to the message to be included:
The basic service interface board determines that the PTag is included into direction process identification, from the incoming interface plate port of the PTag
The port numbers of first port are extracted in number as the source port number for receiving the message.
8. a kind of transaction processing system, it is characterised in that including value-added service interface plate and basic service interface board,
The basic service interface board, for sending message to the value-added service interface plate, switching network is carried in the message
Label F Tag, the FTag include incoming interface plate number, and the content of the incoming interface plate number is the basic service interface board number;
The value-added service interface plate, for receiving the message that the basic service interface board sends, increases to the message
Value Business Processing, after value-added service treatment is completed, the addition forwarding abstract factory PTag in the message, the PTag includes
Complement mark position, the content modification of the outgoing interface plate number that the FTag in message is included is the basic service interface board number;
The value-added service interface plate, is additionally operable to for amended message to be sent to network board, to cause the network board
According to the outgoing interface plate number carried in the amended message by message routing to the basic service interface board;
The basic service interface board, is additionally operable to, according to the complement mark position included in the PTag, determine the increasing of the message
Value business has been done, and basic service treatment is carried out to the message.
9. system as claimed in claim 8, it is characterised in that
The first port of the basic service interface board is used to receive the message;
The basic service interface board is additionally operable to when it is determined that needing to carry out the message value-added service treatment, in the message
Middle the addition FTag, the FTag also include outgoing interface plate number, and the content of the outgoing interface plate number connects for the value-added service
Oralia number;
The basic service interface board, is additionally operable to send the messages to network board, and the message carries the FTag, with
So that the network board to send the messages to the value-added service interface plate number according to the outgoing interface plate number corresponding
Value-added service interface plate.
10. system as claimed in claim 8 or 9, it is characterised in that the value-added service interface plate includes value-added service treatment
Module, the value-added service processing module is realized that the value-added service interface plate is exclusively used in treatment increment by central processor CPU
Business.
11. systems as claimed in claim 10, it is characterised in that
The basic service interface board includes basic service processing module, and the basic service processing module is by application specific integrated circuit
Asic chip is realized.
12. systems as claimed in claim 9, it is characterised in that
The FTag also includes incoming interface plate port numbers, and the content of the incoming interface plate port numbers is the port of the first port
Number;
The PTag is also included into direction process identification and incoming interface plate port numbers;
The value-added service interface plate, extracts the end of first port in being additionally operable to the incoming interface plate port numbers included from the FTag
Slogan is used as the incoming interface plate port numbers.
13. systems as claimed in claim 12, it is characterised in that
The basic service interface board, is additionally operable to determine that the PTag is included into direction process identification, enters to connect from the PTag
The port numbers of first port are extracted in oralia port numbers as the source port number for receiving the message.
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 CN104243361A (en) | 2014-12-24 |
CN104243361B true 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) |
Families Citing this family (1)
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)
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 |
-
2013
- 2013-06-24 CN CN201310253696.4A patent/CN104243361B/en active Active
Patent Citations (2)
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)
Title |
---|
HUAWEI NetEngine20E-X6 高端业务路由器V600R003C00产品描述;华为技术有限公司;《华为产品手册》;20110515;全文 * |
华为单板描述;佚名;《百度文库文档》;20120416;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104243361A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9621463B2 (en) | System and method for context aware network | |
CN102255903B (en) | Safety isolation method for virtual network and physical network of cloud computing | |
CN107819742B (en) | System architecture and method for dynamically deploying network security service | |
WO2018222584A1 (en) | Creating cross-service chains of virtual network functions in a wide area network | |
CN104348677A (en) | Deep packet inspection method and equipment and coprocessor | |
US20200007445A1 (en) | Enhanced service function chain | |
CN106664261A (en) | Method, device, and system for configuring flow entries | |
CN104350467A (en) | Elastic enforcement layer for cloud security using SDN | |
CN108092934A (en) | Safety service system and method | |
CN105429879B (en) | Flow entry querying method, equipment and system | |
CN109361608A (en) | Message processing method, system and storage medium | |
CN108289061B (en) | Service chain topology system based on SDN | |
CN107404512A (en) | Resource subscription method, resource subscription device and resource subscription Xi System | |
CN107547391A (en) | A kind of message transmitting method and device | |
CN108353022A (en) | A kind of processing method of data message, apparatus and system | |
CN107579838A (en) | Data processing method and device | |
CN103200100A (en) | Method and device for packet transmitting | |
CN105791073A (en) | Service deployment method and device in virtual network | |
CN105939267A (en) | Out-of-band management method and device | |
CN108307386A (en) | A kind of smart machine Auto-reconnect method and apparatus | |
EP3096492B1 (en) | Page push method and system | |
CN104363171B (en) | The transmission control method and processing node of a kind of user's message | |
CN105591805A (en) | Method and device for modification of service chain configuration | |
CN104243361B (en) | A kind of method and system of Business Processing | |
CN104363187A (en) | Gateway resource response method and gateway resource response device for internet of things |
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 |