CN101969404B - Method and equipment for processing messages - Google Patents

Method and equipment for processing messages Download PDF

Info

Publication number
CN101969404B
CN101969404B CN201010517584A CN201010517584A CN101969404B CN 101969404 B CN101969404 B CN 101969404B CN 201010517584 A CN201010517584 A CN 201010517584A CN 201010517584 A CN201010517584 A CN 201010517584A CN 101969404 B CN101969404 B CN 101969404B
Authority
CN
China
Prior art keywords
message
information
service
service message
record
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
Application number
CN201010517584A
Other languages
Chinese (zh)
Other versions
CN101969404A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010517584A priority Critical patent/CN101969404B/en
Publication of CN101969404A publication Critical patent/CN101969404A/en
Application granted granted Critical
Publication of CN101969404B publication Critical patent/CN101969404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for processing messages. The method comprises the following steps of: A. judging whether the received service message is matched with a preset principle or not by the equipment; B. when the service message is matched with the preset principle, recording initial service message information of the service message by the equipment; C. after the service message is processed in the equipment, judging whether the processed service message information is consistent with the unprocessed service message information or not by the equipment; and D. when the processed service message information is inconsistent with the unprocessed service message information, recording the service message information processed by the service message by the equipment. In the invention, the equipment records the initial service message information and the processed service message information of the service message, which are matched with the preset principle, thereby tracking and recording the complete processing flow of the service message on the equipment and further positioning network faults according to the recorded information.

Description

The method and apparatus that message is handled
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus that a kind of message is handled.
Background technology
Along with the continuous increase of network demand, it is complicated and diversified that the business of handling on the network equipments such as router or gateway also becomes gradually.The network equipment is only done IP message forwarding or NAT (network address translation; Network Address Translation) simple Business Processing such as source address conversion can not satisfy actual networking and used; Various VPN (Virtual Private Network; Virtual Private Network) business and MPLS (Multi-Protocol Label Switching; Multiprotocol label switching) transmit business and obtain application more and more widely, for example: GRE (Generic Routing Encapsulation, generic route encapsulation) tunneling technique assurance message can be crossed over the different protocol network and transmit; Ipsec tunnel technology for the data in the insecure network transmission high-quality, interoperable are provided, based on cryptographic safety assurance; VPDN (Virtual Private Dial-up Networks, Virtual Private Dialup Network) tunneling technique is the service that remote subscriber provides a kind of long-range access, and MPLS provides a kind of connection-oriented technology of transmitting according to the length-specific label.
Along with professional complicated and diversified of the network equipment, the relevant configuration on the network equipment also becomes gradually and becomes increasingly complex, and the network failure that the reason of using owing to Device Errors configuration or networking causes is also increasing gradually.
For the fault on the fixer network equipment; Method commonly used at present is to follow the tracks of the handling process of service message in the network equipment; But the business of equipment operation is very complicated in the real network, and simultaneously treated service traffics are also a lot, when network failure occurring, opens the words that message is handled relevant Debugging message; The Debugging message of output is many and random, is unfavorable for failure location and solution.Optimization method commonly used at present is through pre-configured ACL (Access Control List; Access control lists); The primitive character information of matching message; As: information such as source IP address, purpose IP address, agreement, source port, destination interface, when opening message processing debug switch output information is filtered, only output comprises the message of specifying message information.If but after the Business Processing such as message process NAT, VPN; The raw information of message will be modified, and for example the NAT business can be revised the source address of message usually, and GRE is professional can to increase new heading on the basis of original message; IPSec is professional can to carry out encryption with original message; These business all can cause the raw information of message to be modified, and can't follow the tracks of specific transactions message complete handling process on equipment, thus the fault occurrence positions accurately in the fixer network equipment.
Summary of the invention
The invention provides the method and apparatus that a kind of message is handled, the equipment that makes can the processing procedure of recorded message in equipment.
The invention provides the method that a kind of message is handled, comprising:
Steps A, equipment judge whether the service message that receives matees preset rules;
Step B, when said service message mated preset rules, said message was the specific transactions message that needs the tracking processing process, the initial service message information of the said service message of said equipment records;
Step C, after said service message was handled in equipment, whether the type of message in the service message information after the said equipment judgment processing was consistent with type of message and message key message in handling preceding service message information with the message key message;
Step D, when type of message in the service message information before type of message in the service message information after handling and message key message and the processing and message key message are inconsistent, the service message information after the processing of the said service message of said equipment records.
Step C comprises: the type of message of the service message after handling is with the type of message of said record when inequality, judge after the said processing service message information with handle preceding service message information inconsistency; When the type of message of the service message after handling is identical with the type of message of said record; Further whether the message key message of the service message after the judgment processing is identical with the message key message of said record; If it is identical; Then judge after the said processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
The initial service message information of the said service message of said equipment records comprises: write down said initial service message information through start-up portion and message information record field; Comprise the type of message field respectively in said start-up portion and the message information record field; The type of message field record initial service type of message of said start-up portion, said message information record field writes down said initial service message key message;
Message information after the processing of the said service message of said equipment records comprises: said equipment increases the message key message after the message information record field writes down said processing, and in the message information record field that the last time is increased the value of type of message field be updated to said processing after the corresponding value of type of message.
Said start-up portion also comprises the record identification information of said service message;
Step C comprises: after said service message is handled in equipment; Judge whether matched record condition of said service message according to the record identification information of the service message of said record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
Also comprise:
Step e, the initial message information of the said service message of output record and the message information after the processing.
A kind of network equipment comprises:
Receiving element is used to receive service message;
Processing unit is used to handle said service message;
Judging unit; Be connected with processing unit with said receiving element; Be used to judge whether the service message that said receiving element receives matees preset rules, judge type of message in the service message information after the said processing unit processes with the message key message and type of message and message key message in the service message information before handling whether consistent;
Record cell is connected with said judging unit, is used for when said service message matees preset rules, confirming that said message is the specific transactions message that needs the tracking processing process, writes down the initial service message information of said service message; Type of message in the service message information after handling and message key message with handle type of message and message key message in the preceding service message information when inconsistent, write down the service message information after the processing of said service message.
Said judging unit also is used for: the type of message of the service message after handling is with the type of message of said record when inequality, judge after the said processing service message information with handle preceding service message information inconsistency; When the type of message of the service message after handling is identical with the type of message of said record; Further whether the message key message of the service message after the judgment processing is identical with the message key message of said record; If it is identical; Then judge after the said processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
Said record cell also is used for:
Write down said initial service message information through start-up portion and message information record field, comprise the type of message field respectively in said start-up portion and the message information record field, the type of message field record initial service type of message of said start-up portion; When the service message information inconsistency before service message information after the processing and the processing; Increase the message key message after the message information record field writes down said processing, and in the message information record field that the last time is increased the value of type of message field be updated to said processing after the corresponding value of type of message.
Said start-up portion also comprises the record identification information of said service message;
Said judging unit also is used for: after said service message is handled in equipment; Judge whether matched record condition of said service message according to the record identification information of the service message of said record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
Also comprise:
Output unit is connected with said record cell, be used to export said recording unit records said service message initial message information with handle after message information.
Compared with prior art, the present invention has the following advantages at least:
Among the present invention; The initial message information of the service message of equipment records coupling preset rules and processing back message information; Thereby can the complete handling process of track record service message on equipment, and then make can be according to the network failure in the information positioning equipment that records.
Description of drawings
Fig. 1 and Fig. 2 are the schematic flow sheets of the method for message processing provided by the invention;
Fig. 3 is the structural representation of the network equipment provided by the invention.
Embodiment
Among the present invention; During the service message coupling preset rules that receives when equipment; The initial message information of equipment records service message, and when the service message information inconsistency before service message information after the processing and the processing, the message information after the processing of equipment records service message; Thereby the message information after noting the initial message information of service message on the equipment and handling is followed the tracks of the processing procedure of message on equipment.
Among the present invention, equipment is the message information of record traffic message in internal memory specifically.Behind physical layer reception message; Equipment copies message from the buffer memory of interface phy chip; Message is stored in one section region of memory; This section region of memory also comprises some other information except comprising message itself, like the information of non-messages such as message receiving interface, message length, memory size itself.Among the present invention; When service message coupling preset rules; Be that message is when needing the specific transactions message of tracking processing process, equipment is applied for the initial message information of exented memory (region of memory outside the above-mentioned region of memory) recorded message and the service message information after the processing in internal memory.
In order clearly to introduce message processing method provided by the invention, the setting of exented memory is described at first.
The service message information of exented memory storage comprises start-up portion and message information record field, and wherein the start-up portion definition is as shown in table 1:
Table 1
Label Next?Payload Layers Length
In the middle of the table 1, Label: specific transactions message label, length are 1 byte, are used to identify the specific transactions message, and for example each type specific transactions message can be used a different Label value sign;
Next Payload: the message information type of next record is that 0 this record field of expression is last section, and length is 1 byte, and this Next Payload is a start-up portion, and the message information type of its next record is initial type of message;
Layers: the message information number of plies of current internal memory record, length is 1 byte, can identify the number of message information record field;
Length: the length of current internal memory recorded message information, length are 2 bytes.
Message information record field recorded message type and message key message, the classification of message key message are according to the difference of recorded information type and difference is the example explanation with IPv4 information type and MPLS information type below.
The Next Payload field of IPv4 information type is 1.The message information record field of IPv4 information type is specifically as shown in table 2:
Table 2
Figure BSA00000316079700051
Wherein,
Next Payload: the message information type of next record; Length is 1 byte; Next Payload is 0 in the message information record field that writes down at last after message is handled each time; Represent that this record field is last section, the value of Next Payload is then by the 0 corresponding value of message information type that is updated to after last message is handled in the last message information record field;
SIP:IP message source IP, length is 4 bytes;
DIP:IP message purpose IP, length is 4 bytes;
ID:IP message id information, length are 2 bytes;
Frag:IP message fragment information, length are 2 bytes;
Pro:IP message protocol information, length are 1 byte;
SPort:IP message source port information is filled when the IP agreement is TCP or UDP, and length is 2 bytes;
DPort:IP message destination interface information is filled when the IP agreement is TCP or UDP, and length is 2 bytes;
Application: business type field, the type of service of the information of this message of expression change representes that length is 1 byte;
The definition type of service is following:
Initial message: 0
NAT:1
IPSec:2
GRE:3
L2TP:4
IPv4-IPv6?Tunnel:5。
The Next Payload field of MPLS information type is 2, and the message information record field of MPLS information type is specifically as shown in table 3:
Table 3:
Next?Payload MPLS?Label
Wherein, Next Payload: the message information type of next record, length are 1 byte, specifically can reference table 2 in Next Payload;
MPLS Label:MPLS label field, consistent with MPLS message label structure, length is 4 bytes.
Below in conjunction with the setting of above-mentioned exented memory, through two case introduction message processing methods provided by the invention.The initial service message is an example with the IP message, and message is through the MPLS encapsulation process in first instance, and message is handled through IPSec in second instance.
For first instance, message handling process provided by the invention is as shown in Figure 1, may further comprise the steps:
Step 101 is according to preset rules identification specific transactions message.
For example, message identification specific transactions message such as the source IP address through original message, purpose IP address, port numbers.The message of receiving from interface physical layer buffer memory and copy message to memory headroom after, to message and the preset rules received, for example ACL compares, if the coupling preset rules judges that then message is the specific transactions message, execution in step 102; Otherwise handle according to message standard treated flow process.
Step 102, the initial message information of record traffic message.
From internal memory, apply for the initial message information of one section region of memory recorded message, comprise type of message, message key message and the record identification information of recorded message.Above-mentioned three only can be provided with record partial information wherein according to actual needs, for example only recorded message type and message key message, and the present invention does not limit this.
Handling process with record IP message in this instance is an example, and the Label value of supposing initial IP message is 100, and length is 24; Simultaneously, owing to be initially the IP message, so the value of the Next Payload field of the start-up portion of service message information is 1, and then during the initial message information of storing IP message, start-up portion is as shown in table 4:
Table 4
100 1 1 24
Shown in the associative list 1, the Label value is the Label value 100 of IP message, and Next Payload value is 1, because be first record field now, therefore, the Layers value is 1, and expression has only a record field, and Length is the length of recorded message information.
Shown in the associative list 2, this moment, message was initial message, did not handle through other messages as yet, had only initial message information, do not have next message information record field, so the Next Payload field of first message information record field of service message information filled out 0.The message key message comprises that the source IP, purpose IP, protocol number, ID, burst, source/destination interface of original message are (if protocol type is TCP or UDP; Otherwise insert 0); Read above-mentioned key message and insert each field of message information record; The Application field fills out 0, and representative is initially to receive message, and it is as shown in table 5 to obtain the message information record field:
Table 5
0 192.168.1.1 100.1.1.1 8200 0 6 5006 80 0
Step 103, message processing module (MPM) is handled service message, the recorded message process information.
Concrete; Message processing module (MPM) need be judged whether matched record condition of service message according to the record identification information of service message of record; Whether for example, message processing module (MPM) judges according to the Label field value (record identification information) of service message whether this message is the specific transactions message, for example judge in the related exented memory of this message Label field entry value; If have no value then explain that this message is not the service message of need following the tracks of, message press the normal process processing; If Label field entry value in the exented memory is then judged the specific transactions message of this message for needing to follow the tracks of.
Whether the message information in the message information record field that writes down at last in the message information after message processing module (MPM) is further relatively handled through business module and the exented memory is consistent; Concrete comparative approach is: at first relatively whether the current message type is consistent with the type of message of penult Next Payload field representative; In present embodiment, judge whether it all is IPv4 message or MPLS message; If key message consistent then that continue to read current message key message field and last record again compares, if unanimity then the recorded information field is not carried out any processing still; If the key value and the current message of type of message or recorded information field are inconsistent; Then take following processing: last Next Payload field of the type of current message being inserted service message information; In the end a message information record field latter end is filled in a new message information record field; Wherein Next Payload field fills out 0; Fill in information at the back according to the type of current message,, revise the Layers and the Length field of start-up portion at last if the IPv4 message also need be filled in the value of Application field.
In this instance, message processing module (MPM) is handled with MPLS service message and is encapsulated as example.In conjunction with the processing procedure of the message processing module (MPM) of foregoing description, message processing module (MPM) at first reads the label value, because this value is 100, message processing module (MPM) judges that this message is the specific transactions message.The type of message of type of message after further, message processing module (MPM) will be handled and the representative of penult Next Payload field relatively.Current message type (type of message after the processing) is the MPLS message, and penult Next Payload field i.e. Next Payload field in the table 4, and its value is 1; Sign IP message; Therefore, both type of messages are different, and message processing module (MPM) is updated to the corresponding Next Payload value 2 (referring to table 3) of MPLS message with the value of last Next Payload field (i.e. NextPayload field in the table 5); Add the message information after new message information record field record current message is handled; And the layers value of start-up portion is revised as 2, the also corresponding increase of length value is revised as 29.
Start-up portion after remodifying is as shown in table 6:
Table 6
100 1 2 29
First message information record field upgrades as shown in table 7,
Table 7
2 192.168.1.1 100.1.1.1 8200 0 6 5006 80 ?0
Second message information record field is as shown in table 8,
Table 8
0 1033
Step 104, the initial message information of the service message of output record and the message information after the processing.
Can filter according to the condition that is provided with during the output record; For example can filter, can follow the tracks of message like this and when device interior is handled, pass through the processing that encapsulation several times, decapsulation or message are modified raw information according to the corresponding Label value of the particular traffic type that is provided with in advance.
The present invention also provides another instance, is example with initial IP message through the IPSec Business Processing, and is as shown in Figure 2, comprising:
Step 201 is according to preset rules identification IP operation message.
Step 202, the initial message information of record IP operation message.
Concrete refer step 102, initial message information record is shown in table 4 and table 5.
Step 203, message processing module (MPM) is carried out the IPSec Business Processing to the IP operation message, the recorded message process information.
Concrete, during the IPSec Business Processing, message processing module (MPM) reads the label value; Because this value is 100, message processing module (MPM) judges that this message is the IP operation message, further reads penult Next Payload value 1; Identical with the type of service after the IPSec Business Processing, all be the IP message.Further, message processing module (MPM) compares current message key message and the interior message key message of the message information record field of last record.
The initial service message supposes that message source IP becomes 201.1.1 after handling through ipsec encryption, and purpose IP becomes 163.1.1.100; Protocol number becomes 50; Message ID is 7000, and is different with initial message key message shown in the table 5, and message processing module (MPM) is updated to 1 with the value of last Next Payload field by 0; And increase the message information after the new message information record field recording processing; The layers value of start-up portion is revised as 2, the also corresponding increase of length value, amended start-up portion is as shown in table 9:
Table 9
100 1 2 43
First message information record field upgrades as shown in table 10,
Table 10
1 192.168.1.1 100.1.1.1 8200 0 6 5006 80 0
Second message information record field is as shown in table 11,
Table 11
0 201.1.1.1 163.1.1.100 7000 0 50 0 0 2
In the table 10 the Application field value be 0 expression record be the information of initial message, in the table 11 the Application field value be 2 expression records be the information after message is handled through IPSec.
Step 204, the initial message information of the service message of output record and the message information after the processing.
Possibly there are two kinds of situation of special circumstances in message in equipment, i.e. message fragment and message reorganization.For the message fragment situation; At this moment; Message is split as a plurality of minutes messages when message processing module (MPM) is handled, message processing module (MPM) copies the exented memory field of message, is associated with newly-generated fragment message; If amended message satisfies record condition, then revise two exented memory fields behind the burst respectively.For message reorganization situation; Be message when message processing module (MPM) is handled and another message be reassembled as a new message; Because the message normal processing process of recombinating is identical; Therefore message processing module (MPM) only need be associated with the new message after the reorganization, the exented memory field of deleting another message with the exented memory field of a message wherein.
Equipment carries out the process of judgment processing and record in this method to message; Can accomplish separately by each Service Processing Module; Also the process that module is used to accomplish above-mentioned judgment processing and record can be set independently; For example each business module reports the completion incident to judge module after accomplishing Business Processing, is accomplished the operations such as comparison and the modification of internal memory recorded information of message more separately by judge module.
Based on the technical conceive identical with the said method instance, the present invention also provides a kind of network equipment, and is as shown in Figure 3, comprising:
Receiving element 11 is used to receive service message;
Processing unit 12 is used to handle said service message;
Judging unit 13; Be connected with processing unit 12 with said receiving element 11; Be used to judge whether the service message that said receiving element receives matees preset rules, judge after the said processing unit processes service message information with handle before service message information whether consistent;
Record cell 14 is connected with said judging unit 13, is used for when said service message matees preset rules, writing down the initial service message information of said service message; Service message information after handling with handle before the service message information inconsistency time, write down the service message information after the processing of said service message.
Said service message information comprises type of message and message key message; Accordingly, said judging unit 13 also is used for: the type of message of the service message after handling is with the type of message of said record when inequality, judge after the said processing service message information with handle preceding service message information inconsistency; When the type of message of the service message after handling is identical with the type of message of said record; Further whether the message key message of the service message after the judgment processing is identical with the message key message of said record; If it is identical; Then judge after the said processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
Said record cell 14 also is used for: write down said initial service message information through start-up portion and message information record field; Comprise the type of message field respectively in said start-up portion and the message information record field, the type of message field record initial service type of message of said start-up portion; When the service message information inconsistency before service message information after the processing and the processing; Increase the message key message after the message information record field writes down said processing, and in the message information record field that the last time is increased the value of type of message field be updated to said processing after the corresponding value of type of message.
Said start-up portion also comprises the record identification information of said service message; Accordingly; Said judging unit 13 also is used for: after said service message is handled in equipment; Judge whether matched record condition of said service message according to the record identification information of the service message of said record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.Shown in the mode reference table 1 of the start-up portion of said record cell 14 records; Use the initial type of message of Next Payload field record; Can also use Label field identification specific transactions message (just using the record identification of Label field value) as service message; Use the message information number of plies of the current internal memory record of Layers field record, use the length of the current internal memory recorded message of Length field record information.Message information record field recorded message key message can be different according to the message key message of the different recording of type of message, can reference table 2 with shown in the table 3.
This network equipment also comprises:
Output unit 15 is connected with said record cell 14, be used to export said recording unit records said service message initial message information with handle after message information.
In the embodiment of the invention; The initial message information of the service message of network equipment record coupling preset rules and processing back message information; Thereby can the complete handling process of track record service message on equipment, and then make can be according to the network failure in the information positioning equipment that records.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the method that message is handled is characterized in that, comprising:
Steps A, equipment judge whether the service message that receives matees preset rules;
Step B, when said service message mated preset rules, said message was the specific transactions message that needs the tracking processing process, the initial service message information of the said service message of said equipment records;
Step C, after said service message was handled in equipment, whether the type of message in the service message information after the said equipment judgment processing was consistent with type of message and message key message in handling preceding service message information with the message key message;
Step D, when type of message in the service message information before type of message in the service message information after handling and message key message and the processing and message key message are inconsistent, the service message information after the processing of the said service message of said equipment records.
2. the method for claim 1 is characterized in that,
Step C comprises: the type of message of the service message after handling is with the type of message of said record when inequality, judge after the said processing service message information with handle preceding service message information inconsistency; When the type of message of the service message after handling is identical with the type of message of said record; Further whether the message key message of the service message after the judgment processing is identical with the message key message of said record; If it is identical; Then judge after the said processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
3. method as claimed in claim 2; It is characterized in that; The initial service message information of the said service message of said equipment records comprises: write down said initial service message information through start-up portion and message information record field; Comprise the type of message field respectively in said start-up portion and the message information record field, the type of message field record initial service type of message of said start-up portion, said message information record field writes down said initial service message key message;
Message information after the processing of the said service message of said equipment records comprises: said equipment increases the message key message after the message information record field writes down said processing, and in the message information record field that the last time is increased the value of type of message field be updated to said processing after the corresponding value of type of message.
4. method as claimed in claim 3 is characterized in that, said start-up portion also comprises the record identification information of said service message;
Step C comprises: after said service message is handled in equipment; Judge whether matched record condition of said service message according to the record identification information of the service message of said record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
5. like each described method of claim 1-4, it is characterized in that, also comprise:
Step e, the initial message information of the said service message of output record and the message information after the processing.
6. a network equipment is characterized in that, comprising:
Receiving element is used to receive service message;
Processing unit is used to handle said service message;
Judging unit; Be connected with processing unit with said receiving element; Be used to judge whether the service message that said receiving element receives matees preset rules, judge type of message in the service message information after the said processing unit processes with the message key message and type of message and message key message in the service message information before handling whether consistent;
Record cell is connected with said judging unit, is used for when said service message matees preset rules, confirming that said message is the specific transactions message that needs the tracking processing process, writes down the initial service message information of said service message; Type of message in the service message information after handling and message key message with handle type of message and message key message in the preceding service message information when inconsistent, write down the service message information after the processing of said service message.
7. the network equipment as claimed in claim 6 is characterized in that,
Said judging unit also is used for: the type of message of the service message after handling is with the type of message of said record when inequality, judge after the said processing service message information with handle preceding service message information inconsistency; When the type of message of the service message after handling is identical with the type of message of said record; Further whether the message key message of the service message after the judgment processing is identical with the message key message of said record; If it is identical; Then judge after the said processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
8. the network equipment as claimed in claim 7 is characterized in that, said record cell also is used for:
Write down said initial service message information through start-up portion and message information record field, comprise the type of message field respectively in said start-up portion and the message information record field, the type of message field record initial service type of message of said start-up portion; When the service message information inconsistency before service message information after the processing and the processing; Increase the message key message after the message information record field writes down said processing, and in the message information record field that the last time is increased the value of type of message field be updated to said processing after the corresponding value of type of message.
9. the network equipment as claimed in claim 8 is characterized in that, said start-up portion also comprises the record identification information of said service message;
Said judging unit also is used for: after said service message is handled in equipment; Judge whether matched record condition of said service message according to the record identification information of the service message of said record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
10. like each described network equipment of claim 6-9, it is characterized in that, also comprise:
Output unit is connected with said record cell, be used to export said recording unit records said service message initial message information with handle after message information.
CN201010517584A 2010-10-25 2010-10-25 Method and equipment for processing messages Active CN101969404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010517584A CN101969404B (en) 2010-10-25 2010-10-25 Method and equipment for processing messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010517584A CN101969404B (en) 2010-10-25 2010-10-25 Method and equipment for processing messages

Publications (2)

Publication Number Publication Date
CN101969404A CN101969404A (en) 2011-02-09
CN101969404B true CN101969404B (en) 2012-09-26

Family

ID=43548509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010517584A Active CN101969404B (en) 2010-10-25 2010-10-25 Method and equipment for processing messages

Country Status (1)

Country Link
CN (1) CN101969404B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506463A (en) * 2015-01-04 2015-04-08 盛科网络(苏州)有限公司 Method and device for providing online process debugging information of message chip of exchanger
CN106789695B (en) * 2016-11-24 2020-04-03 杭州迪普科技股份有限公司 Message processing method and device
CN107995086A (en) * 2017-12-26 2018-05-04 南京航空航天大学 A kind of method of business datum encrypted transmission in intelligence manufacture Internet of Things based on VPDN and IPSEC
CN109547318B (en) * 2019-01-18 2021-03-23 杭州迪普科技股份有限公司 VPN data message processing method and device and electronic equipment
CN114697160B (en) * 2020-12-28 2023-05-26 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114760166B (en) * 2020-12-28 2023-05-26 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114531721A (en) * 2022-01-28 2022-05-24 新华三技术有限公司 Method for establishing tunnel and processing message and AC

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474570A (en) * 2002-08-10 2004-02-11 华为技术有限公司 Method for recording access of address changeover users in data transmission process
US7395483B1 (en) * 2004-10-15 2008-07-01 Sun Microsystems, Inc. Method and apparatus for performing error-detection and error-correction
CN101488921A (en) * 2009-02-24 2009-07-22 华为技术有限公司 Packet track recording method and packet track recording apparatus
CN101741617A (en) * 2009-12-17 2010-06-16 中兴通讯股份有限公司 Method and device for positioning fault

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474570A (en) * 2002-08-10 2004-02-11 华为技术有限公司 Method for recording access of address changeover users in data transmission process
US7395483B1 (en) * 2004-10-15 2008-07-01 Sun Microsystems, Inc. Method and apparatus for performing error-detection and error-correction
CN101488921A (en) * 2009-02-24 2009-07-22 华为技术有限公司 Packet track recording method and packet track recording apparatus
CN101741617A (en) * 2009-12-17 2010-06-16 中兴通讯股份有限公司 Method and device for positioning fault

Also Published As

Publication number Publication date
CN101969404A (en) 2011-02-09

Similar Documents

Publication Publication Date Title
CN101969404B (en) Method and equipment for processing messages
US20200106719A1 (en) Proxy ports for network device functionality
US7899048B1 (en) Method and apparatus for remotely monitoring network traffic through a generic network
CN102301663B (en) Message processing method and associated devices
EP2100406B1 (en) Method and apparatus for implementing multicast routing
CN107682370B (en) Method and system for creating protocol headers for embedded layer two packets
US9769116B2 (en) Encapsulating traffic while preserving packet characteristics
CN111385259B (en) Data transmission method, device, related equipment and storage medium
US11418434B2 (en) Securing MPLS network traffic
US20170288998A1 (en) Apparatus for processing network packet using service function chaining and method for controlling the same
CN108551425A (en) Data transmission system, method based on Industrial Ethernet and communication equipment
CN113852552B (en) Network communication method, system and storage medium
KR100734736B1 (en) Method and apparatus for translating data packets from one network protocol to another
CN105471827A (en) Message transmission method and device
EP3920512A1 (en) Transmission method and device for message
CN111614538B (en) Message forwarding method based on IPsec encapsulation protocol
WO2022142390A1 (en) Packet encapsulation and de-encapsulation method and device, storage medium, and electronic device
CN105939216B (en) The method and device of message transmissions
CN102655476B (en) Internet protocol flow transmitting method and device
CN109218176B (en) Message processing method and device
CN108471374B (en) Data message forwarding method and device
CN109756498B (en) NAT ALG conversion method and system of TCP protocol on communication equipment
CN104219160A (en) Method and device for generating input parameter
JP4040045B2 (en) Data transfer device
US10917502B2 (en) Method for using metadata in internet protocol packets

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address