CN101969404A - Method and equipment for processing messages - Google Patents

Method and equipment for processing messages Download PDF

Info

Publication number
CN101969404A
CN101969404A CN2010105175841A CN201010517584A CN101969404A CN 101969404 A CN101969404 A CN 101969404A CN 2010105175841 A CN2010105175841 A CN 2010105175841A CN 201010517584 A CN201010517584 A CN 201010517584A CN 101969404 A CN101969404 A CN 101969404A
Authority
CN
China
Prior art keywords
message
service message
information
record
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.)
Granted
Application number
CN2010105175841A
Other languages
Chinese (zh)
Other versions
CN101969404B (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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) transmits the professional application that obtains more and more widely, for example: GRE (Generic Routing Encapsulation, generic route encapsulation) tunneling technique guarantees that message can cross over different protocol networks and transmit, the ipsec tunnel technology provides high-quality for the data in the insecure network transmission, interoperable, based on cryptographic safety assurance, VPDN (Virtual Private Dial-up Networks, Virtual Private Dialup Network) tunneling technique provides a kind of service of long-range access for remote subscriber, and MPLS provides a kind of connection-oriented technology of transmitting according to the length-specific label.
Complicated and diversified along with network equipment business, 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, simultaneously treated service traffics are also a lot, when network failure occurring, open message and handle the words of 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 by 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; for example the NAT business can be revised the source address of message usually; 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 mates preset rules;
Step B, when described service message mates preset rules, the initial service message information of the described service message of described equipment records;
Step C, after described service message is handled in equipment, the service message information after the described equipment judgment processing with handle before service message information whether consistent;
Step D, when the service message information inconsistency before service message information after the processing and the processing, the service message information after the processing of the described service message of described equipment records.
Described service message information comprises: type of message and message key message;
Step C comprises: the type of message of the service message after handling is with the type of message of described record when inequality, judge after the described 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 described record, further whether the message key message of the service message after the judgment processing is identical with the message key message of described record, if it is identical, then judge after the described processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
The initial service message information of the described service message of described equipment records comprises: write down described initial service message information by start-up portion and message information record field, comprise the type of message field respectively in described start-up portion and the message information record field, the type of message field record initial service type of message of described start-up portion, described message information record field writes down described initial service message key message;
Message information after the processing of the described service message of described equipment records comprises: described equipment increases the message key message after the message information record field writes down described processing, and in the message information record field that the last time is increased the value of type of message field be updated to described processing after the corresponding value of type of message.
Described start-up portion also comprises the record identification information of described service message;
Step C comprises: after described service message is handled in equipment, judge whether matched record condition of described service message according to the record identification information of the service message of described 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 described 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 described service message;
Judging unit is connected with processing unit with described receiving element, is used to judge whether the service message that described receiving element receives mates preset rules, judge after the described processing unit processes service message information with handle before service message information whether consistent;
Record cell is connected with described judging unit, is used for writing down the initial service message information of described service message when described service message mates preset rules; Service message information after handling with handle before the service message information inconsistency time, write down the service message information after the processing of described service message.
Described service message information comprises: type of message and message key message; Described judging unit also is used for: the type of message of the service message after handling is with the type of message of described record when inequality, judge after the described 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 described record, further whether the message key message of the service message after the judgment processing is identical with the message key message of described record, if it is identical, then judge after the described processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
Described record cell also is used for:
Write down described initial service message information by start-up portion and message information record field, comprise the type of message field respectively in described start-up portion and the message information record field, the type of message field record initial service type of message of described 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 described processing, and in the message information record field that the last time is increased the value of type of message field be updated to described processing after the corresponding value of type of message.
Described start-up portion also comprises the record identification information of described service message;
Described judging unit also is used for: after described service message is handled in equipment, judge whether matched record condition of described service message according to the record identification information of the service message of described 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 described record cell, be used to export described recording unit records described service message initial message information and 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, 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, as 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 procedure, 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 identify with a different Label value;
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 0 value that is updated to the message information type correspondence 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 represents that length is 1 byte;
The definition type of service is as follows:
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, by 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 example, and message is handled through IPSec in second example.
For first example, message handling process provided by the invention may further comprise the steps as shown in Figure 1:
Step 101 is according to preset rules identification specific transactions message.
For example, message identification specific transactions message such as the source IP address by 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 handling 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 example 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 source IP, purpose IP, protocol number, ID, burst, the source/destination interface of original message are (if protocol type is TCP or UDP, otherwise insert 0), read above-mentioned key message and insert message information and write down each field, the Application field fills out 0, 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, 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 exented memory of this message association whether entry value of Label field, if without any value then illustrate 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: whether at first more current type of message 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 of type of message or recorded information field and current message 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 the information of back according to the type of current message, if the IPv4 message also needs to fill in the value of Application field, revise the Layers and the Length field of start-up portion at last.
In this example, 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 type of message (type of message after the processing) is the MPLS message, penult Next Payload field i.e. Next Payload field in the table 4, its value is 1, sign IP message, therefore, both type of message differences, message processing module (MPM) is updated to the value of last Next Payload field (i.e. NextPayload field in the table 5) the Next Payload value 2 (referring to table 3) of MPLS message correspondence, add the message information after new message information record field writes down current message processing, 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 Label value of the particular traffic type correspondence that sets in advance.
The present invention also provides another example, is example with initial IP message through the IPSec Business Processing, 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, more current message key message of message processing module (MPM) and the interior message key message of the message information record field of last record.
After the initial service message is handled through ipsec encryption, suppose that message source IP becomes 201.1.1, purpose IP becomes 163.1.1.100, protocol number becomes 50, message ID is 7000, different with initial message key message shown in the table 5, message processing module (MPM) is updated to 1 with the value of last Next Payload field by 0, and increase 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 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.
May there be two kinds of situations 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, be 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 common processing procedure of message of recombinating is identical, therefore message processing module (MPM) only need be associated with the exented memory field of a message wherein the new message after the reorganization, the exented memory field of deleting another message.
Equipment carries out the process of judgment processing and record in this method to message, can finish separately by each Service Processing Module, also the process that module is used to finish above-mentioned judgment processing and record can be set independently, for example each business module reports the incident of finishing to judge module after finishing Business Processing, finishes operations such as the comparison of message and the modification of internal memory recorded information separately by judge module again.
Based on the technical conceive identical with the said method example, the present invention also provides a kind of network equipment, as shown in Figure 3, comprising:
Receiving element 11 is used to receive service message;
Processing unit 12 is used to handle described service message;
Judging unit 13, be connected with processing unit 12 with described receiving element 11, be used to judge whether the service message that described receiving element receives mates preset rules, judge after the described processing unit processes service message information with handle before service message information whether consistent;
Record cell 14 is connected with described judging unit 13, is used for writing down the initial service message information of described service message when described service message mates preset rules; Service message information after handling with handle before the service message information inconsistency time, write down the service message information after the processing of described service message.
Described service message information comprises type of message and message key message; Accordingly, described judging unit 13 also is used for: the type of message of the service message after handling is with the type of message of described record when inequality, judge after the described 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 described record, further whether the message key message of the service message after the judgment processing is identical with the message key message of described record, if it is identical, then judge after the described processing service message information with handle before service message information consistent, otherwise result of determination is inconsistent.
Described record cell 14 also is used for: write down described initial service message information by start-up portion and message information record field, comprise the type of message field respectively in described start-up portion and the message information record field, the type of message field record initial service type of message of described 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 described processing, and in the message information record field that the last time is increased the value of type of message field be updated to described processing after the corresponding value of type of message.
Described start-up portion also comprises the record identification information of described service message; Accordingly, described judging unit 13 also is used for: after described service message is handled in equipment, judge whether matched record condition of described service message according to the record identification information of the service message of described 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 described 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 and table 3 shown in.
This network equipment also comprises:
Output unit 15 is connected with described record cell 14, be used to export described recording unit records described service message initial message information and 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 above description of the embodiments, 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 embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a 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 schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement 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 disclosed only be 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 mates preset rules;
Step B, when described service message mates preset rules, the initial service message information of the described service message of described equipment records;
Step C, after described service message is handled in equipment, the service message information after the described equipment judgment processing with handle before service message information whether consistent;
Step D, when the service message information inconsistency before service message information after the processing and the processing, the service message information after the processing of the described service message of described equipment records.
2. the method for claim 1 is characterized in that, described service message information comprises: type of message and message key message;
Step C comprises: the type of message of the service message after handling is with the type of message of described record when inequality, judge after the described 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 described record, further whether the message key message of the service message after the judgment processing is identical with the message key message of described record, if it is identical, then judge after the described 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 described service message of described equipment records comprises: write down described initial service message information by start-up portion and message information record field, comprise the type of message field respectively in described start-up portion and the message information record field, the type of message field record initial service type of message of described start-up portion, described message information record field writes down described initial service message key message;
Message information after the processing of the described service message of described equipment records comprises: described equipment increases the message key message after the message information record field writes down described processing, and in the message information record field that the last time is increased the value of type of message field be updated to described processing after the corresponding value of type of message.
4. method as claimed in claim 3 is characterized in that, described start-up portion also comprises the record identification information of described service message;
Step C comprises: after described service message is handled in equipment, judge whether matched record condition of described service message according to the record identification information of the service message of described record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
5. as each described method of claim 1-4, it is characterized in that, also comprise:
Step e, the initial message information of the described 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 described service message;
Judging unit is connected with processing unit with described receiving element, is used to judge whether the service message that described receiving element receives mates preset rules, judge after the described processing unit processes service message information with handle before service message information whether consistent;
Record cell is connected with described judging unit, is used for writing down the initial service message information of described service message when described service message mates preset rules; Service message information after handling with handle before the service message information inconsistency time, write down the service message information after the processing of described service message.
7. the network equipment as claimed in claim 6 is characterized in that, described service message information comprises: type of message and message key message;
Described judging unit also is used for: the type of message of the service message after handling is with the type of message of described record when inequality, judge after the described 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 described record, further whether the message key message of the service message after the judgment processing is identical with the message key message of described record, if it is identical, then judge after the described 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, described record cell also is used for:
Write down described initial service message information by start-up portion and message information record field, comprise the type of message field respectively in described start-up portion and the message information record field, the type of message field record initial service type of message of described 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 described processing, and in the message information record field that the last time is increased the value of type of message field be updated to described processing after the corresponding value of type of message.
9. the network equipment as claimed in claim 8 is characterized in that, described start-up portion also comprises the record identification information of described service message;
Described judging unit also is used for: after described service message is handled in equipment, judge whether matched record condition of described service message according to the record identification information of the service message of described record, and when coupling the service message information after the judgment processing with whether handle preceding service message information consistent.
10. as each described network equipment of claim 6-9, it is characterized in that, also comprise:
Output unit is connected with described record cell, be used to export described recording unit records described service message initial message information and 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 true CN101969404A (en) 2011-02-09
CN101969404B 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)

Cited By (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
CN106789695A (en) * 2016-11-24 2017-05-31 杭州迪普科技股份有限公司 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
CN109547318A (en) * 2019-01-18 2019-03-29 杭州迪普科技股份有限公司 The processing method of VPN data message, device, electronic equipment
CN114531721A (en) * 2022-01-28 2022-05-24 新华三技术有限公司 Method for establishing tunnel and processing message and AC
CN114697160A (en) * 2020-12-28 2022-07-01 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114760166A (en) * 2020-12-28 2022-07-15 国家计算机网络与信息安全管理中心 Tunnel message processing method and device

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

Cited By (11)

* 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
CN106789695A (en) * 2016-11-24 2017-05-31 杭州迪普科技股份有限公司 Message processing method and device
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
CN109547318A (en) * 2019-01-18 2019-03-29 杭州迪普科技股份有限公司 The processing method of VPN data message, device, electronic equipment
CN109547318B (en) * 2019-01-18 2021-03-23 杭州迪普科技股份有限公司 VPN data message processing method and device and electronic equipment
CN114697160A (en) * 2020-12-28 2022-07-01 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114760166A (en) * 2020-12-28 2022-07-15 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114760166B (en) * 2020-12-28 2023-05-26 国家计算机网络与信息安全管理中心 Tunnel message processing method and device
CN114697160B (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

Also Published As

Publication number Publication date
CN101969404B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN101969404B (en) Method and equipment for processing messages
US11283733B2 (en) Proxy ports for network device functionality
EP2206052B1 (en) Methods and apparatus for managing addresses related to virtual partitions of a session exchange device
CN102301663B (en) Message processing method and associated devices
US7899048B1 (en) Method and apparatus for remotely monitoring network traffic through a generic network
EP2100406B1 (en) Method and apparatus for implementing multicast routing
CN107682370B (en) Method and system for creating protocol headers for embedded layer two packets
US11418434B2 (en) Securing MPLS network traffic
US20170288998A1 (en) Apparatus for processing network packet using service function chaining and method for controlling the same
US9769116B2 (en) Encapsulating traffic while preserving packet characteristics
WO2013148048A1 (en) Systems and methods for modifying network packets to use unrecognized headers/fields for packet classification and forwarding
EP3920512A1 (en) Transmission method and device for message
CN106850568A (en) The conversation aging method and device of multichannel agreement
US20080186969A1 (en) Internet Protocol Based Encryptor/Decryptor Two Stage Bypass Device
CN105939216B (en) The method and device of message transmissions
CN102655476B (en) Internet protocol flow transmitting method and device
CN110431885B (en) Method and device for processing message
JP4040045B2 (en) Data transfer device
CN109218176A (en) A kind of method and device of Message processing
CN104219160A (en) Method and device for generating input parameter
CN108471374B (en) Data message forwarding method and device
CN107547449A (en) Mirror image message retransmission method, device and system
EP3913865B1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium
US10917502B2 (en) Method for using metadata in internet protocol packets
CN106302258A (en) A kind of message forwarding method and device

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
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.