CN103580805B - The processing method and processing device of message - Google Patents

The processing method and processing device of message Download PDF

Info

Publication number
CN103580805B
CN103580805B CN201310530094.9A CN201310530094A CN103580805B CN 103580805 B CN103580805 B CN 103580805B CN 201310530094 A CN201310530094 A CN 201310530094A CN 103580805 B CN103580805 B CN 103580805B
Authority
CN
China
Prior art keywords
frame
frame head
data frame
head
analysis result
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
CN201310530094.9A
Other languages
Chinese (zh)
Other versions
CN103580805A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310530094.9A priority Critical patent/CN103580805B/en
Publication of CN103580805A publication Critical patent/CN103580805A/en
Priority to HK15107334.3A priority patent/HK1206850A1/en
Application granted granted Critical
Publication of CN103580805B publication Critical patent/CN103580805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention discloses a kind of processing method and processing device of message, it is related to field of wireless communications, the processing delay of data frame can be reduced.Methods described includes:The frame head of segmented data frame of the frame head resolver to receiving first is parsed, and frame head and the corresponding analysis result of frame head are sent into PE;Then PE is processed the corresponding analysis result of frame head and frame head for receiving;Last frame header parsing device is judged with the presence or absence of the segmented data frame for being parsed in data frame, if not existing, frame head resolver terminates parsing operation, while PE releases process the frame head and the resource shared by the corresponding analysis result of the frame head.The embodiment of the present invention is applied to the data frame that programmable switch treatment is received.

Description

The processing method and processing device of message
Technical field
The present invention relates to field of wireless communications, more particularly to a kind of method and device of the treatment of message.
Background technology
With the lifting of the network bandwidth, many applications can be transmitted based on Ethernet.Apply and enter based on Ethernet During row transmission, conventional switch passes through TCP/IP(Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol)Protocol stack is processed the data frame for receiving.It is this by pure The mode of Software Protocol Stack processing data frame, generates time delay end to end higher.
At present, in order to reduce this time delay end to end produced by way of protocol stack processing data frame, by agreement The Frame processes function of stack is unloaded to the chip internal of programmable switch, and by the frame head resolver in programmable switch After the frame head of whole segmented data frames that data frame is included has been parsed, analysis result and frame head are sent to PE (Processing element, processing element)Processed.
However, at present this frame head that whole segmented data frames that data frame includes have been parsed by frame head resolver it Afterwards, analysis result and frame head are sent to the mode that PE is processed, because frame head resolver is carried out to each segmented data frame During parsing, PE is constantly in wait state, so as to cause the processing delay of data frame more long, and then causes using based on Ethernet Propagation delay time it is higher.
The content of the invention
The embodiment of the present invention provides a kind of processing method and processing device of message, can reduce the processing delay of data frame, from And reduce propagation delay time of the application based on Ethernet.
The technical scheme that the embodiment of the present invention is used for:
In a first aspect, the embodiment of the present invention provides a kind of method of the treatment of message, including:
The frame head of segmented data frame of the frame head resolver to receiving is parsed;
The frame head and the corresponding analysis result of the frame head are sent to processing element PE by the frame head resolver, so that The PE is obtained to process the frame head and the corresponding analysis result of the frame head;
The frame head resolver judges to whether there is the segmented data frame for being parsed in data frame, in the data frame Including multiple segmented data frames;
If in the absence of the segmented data frame for being parsed, the frame head resolver terminates parsing operation.
In the first implementation of first aspect, the frame head resolver is corresponding by the frame head and the frame head Before the step of analysis result is sent to processing element PE, also include:
The frame head resolver obtains physics bit wide;
The frame head and the corresponding analysis result of the frame head are sent to the frame head resolver step of processing element PE Suddenly include:
The frame head resolver generates the message with the physics bit wide equal length, and the message carries the frame head And the corresponding analysis result of the frame head;
The frame head resolver sends the message to the PE.
Second aspect, the embodiment of the present invention provides a kind of processing unit of message, including:
Resolution unit, the frame head for the segmented data frame to receiving is parsed;
Transmitting element, the corresponding analysis result of the frame head for the frame head and the resolution unit to be parsed sends Processing element PE is given, to cause that the PE is processed the frame head and the corresponding analysis result of the frame head;
Judging unit, for judging to whether there is the segmented data frame for being parsed in data frame, in the data frame Including multiple segmented data frames;
Terminate unit, for when in the absence of the segmented data frame for being parsed, the frame head resolver to terminate parsing Operation.
In the first implementation of second aspect, described device also includes:Acquiring unit, generation unit.
Acquiring unit, for obtaining physics bit wide;
Generation unit, for generating the message with the physics bit wide equal length, the message carries the frame head And the corresponding analysis result of the frame head;
The transmitting element, is additionally operable to send the message to the PE.
The third aspect, the embodiment of the present invention provides a kind of processing method of message, including:
The corresponding parsing knot of frame head and the frame head of the segmented data frame that processing element PE receiving frame header parsings device sends Really;
The PE is processed the frame head and the corresponding analysis result of the frame head;
The PE judges to include multiple with the presence or absence of the segmented data frame for being parsed, the data frame in data frame Segmented data frame;
If in the absence of the segmented data frame for being parsed, the PE releases process the frame head and frame head correspondence Analysis result shared by resource.
In the first implementation of the third aspect, the PE judge in data frame with the presence or absence of parsed point The step of segment data frame, includes:
The PE according to the call number of the frame head carried in the corresponding analysis result of the frame head, in judging data frame With the presence or absence of the segmented data frame for being parsed.
With reference to the first implementation of the third aspect or the third aspect, in second implementation of the third aspect In, the PE according to the call number of the frame head carried in the corresponding analysis result of the frame head, judge in data frame whether After the step of in the presence of the segmented data frame for being parsed, also include:
If there is the segmented data frame that is parsed in the data frame, the PE judge in Preset Time whether Receive the frame head and the corresponding analysis result of the frame head of segmented data frame that not the carrying out of frame head resolver transmission parses;
If not receiving frame head and the frame head correspondence of the segmented data frame for being parsed in the Preset Time Analysis result, then PE release processes the frame head and the resource shared by the corresponding analysis result of the frame head.
Fourth aspect, the embodiment of the present invention provides a kind of processing unit of message, including:
Receiving unit, the frame head of the segmented data frame sent for receiving frame header parsing device and the corresponding parsing of the frame head As a result;
Processing unit, the frame head and the corresponding analysis result of the frame head for being received to the receiving unit are carried out Treatment;
Judging unit, for judging to whether there is the segmented data frame for being parsed in data frame, in the data frame Including multiple segmented data frames;
Releasing unit, for judging data frame when the judging unit in the absence of the segmented data frame that is parsed When, the resource shared by the release treatment frame head and the corresponding analysis result of the frame head.
In the first implementation of fourth aspect,
The judging unit, is additionally operable to the index according to the frame head carried in the corresponding analysis result of the frame head Number, judge to whether there is the segmented data frame for being parsed in data frame.
With reference to the first implementation of fourth aspect or fourth aspect, in second implementation of fourth aspect In,
The judging unit, is additionally operable to, when there is the segmented data frame for being parsed in the data frame, judge Whether the frame head and the frame head pair of segmented data frame that the frame head resolver that is parsed send is received in Preset Time The analysis result answered;
The releasing unit, is additionally operable to when not receiving the segmented data frame that is parsed in the Preset Time When frame head and the corresponding analysis result of the frame head, release is processed shared by the frame head and the corresponding analysis result of the frame head Resource.
The processing method and processing device of message provided in an embodiment of the present invention, first frame head resolver are to the segments that receives Parsed according to the frame head of frame, and frame head and the corresponding analysis result of frame head are sent to PE;Then PE is to the frame head that receives And the corresponding analysis result of frame head is processed;Last frame header parsing device judge in data frame with the presence or absence of parsed point Segment data frame, if not existing, frame head resolver terminates parsing operation, while PE release the treatment frame head and the frame head pair The resource shared by analysis result answered.After the whole frame heads in data frame have been parsed by frame head resolver at present, general Whole analysis results and frame head are sent to the mode that PE processed and compare, and the embodiment of the present invention has been parsed by frame head resolver After the frame head of certain segmented data frame, the frame head and corresponding analysis result are sent to PE treatment immediately, reduced During frame head resolver is parsed to frame head, the time that PE is waited for, so as to reduce the place of data frame Reason time delay.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is a kind of process flow figure of message that the embodiment of the present invention one is provided;
Fig. 2 is a kind of processing structure schematic diagram of message that the embodiment of the present invention one is provided;
Fig. 3 is a kind of programmable switch structural representation that the embodiment of the present invention one is provided;
Fig. 4 is the data frame structure schematic diagram that the embodiment of the present invention one is provided;
Fig. 5 is a kind of process flow figure of message that the embodiment of the present invention two is provided;
Fig. 6 is a kind of processing structure schematic diagram of message that the embodiment of the present invention two is provided;
Fig. 7 is a kind of programmable switch structural representation that the embodiment of the present invention two is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
To make the advantage of technical solution of the present invention clearer, the present invention is made specifically with reference to the accompanying drawings and examples It is bright.
Embodiment one
The embodiment of the present invention provides a kind of processing method of message, as shown in figure 1, methods described includes:
101st, the frame head of segmented data frame of the frame head resolver to receiving is parsed.
Wherein, as shown in figure 4, segmented data frame is the part in data frame, carried in each segmented data frame Corresponding frame head.Specifically, after programmable switch receives a data frame from network, using cut-through(Directly Logical retransmission technique)Mode, segmented data frame is sent to frame head resolver according to certain data length every time.
For the embodiment of the present invention, frame head resolver is parsed to the frame head in the segmented data frame that receives, the frame Corresponding analysis result includes:Frame head type, the corresponding segmented data frame of frame head original position in a data frame etc..
102nd, frame head resolver obtains physics bit wide.
Specifically, frame head resolver obtains the corresponding physics bit wide of programmable switch.
103rd, the message of the generation of frame head resolver and physics bit wide equal length.
Wherein, message carries frame head and the corresponding analysis result of frame head.
Specifically, step 103 can be, frame head resolver by frame head and the corresponding analysis result arranged in sequence of frame head, and By way of piecing together or intercepting, the message of generation and physics bit wide equal length.For example, the corresponding thing of programmable switch Reason bit wide is 32 bytes, if the frame head and corresponding analysis result of certain data sectional frame of frame head resolver parsing are 16 words Section, the frame head and corresponding analysis result of next data sectional frame of frame head resolver parsing are also 16 bytes, then frame head solution Parser is by way of piecing together, so that generate a message for 32 bytes, i.e., with the message of physics bit wide equal length;If frame head The frame head and corresponding analysis result of certain data sectional frame of resolver parsing are 48 bytes, then frame head resolver is by interception Mode, so as to generate a message for 32 bytes, i.e., with the message of physics bit wide equal length.
Alternatively, when the frame head of frame head resolver parsing is the corresponding frame head of last segmented data frame in data frame When, if the frame head and the corresponding analysis result length of the frame head, generation one and the message of physics bit wide equal length are not enough to, Then frame head resolver is by by the payload data in data frame(Payload data)It is supplemented to the frame head and the frame head pair After the analysis result answered, so as to the message gathered together enough with physics bit wide equal length.
104th, frame head resolver transmits the message to PE.
For the embodiment of the present invention, will be generated by frame head and the corresponding analysis result of frame head in real time by frame head resolver The message with physics bit wide equal length, be sent to PE(Processing element, processing element)Processed, reduced During frame head resolver is parsed to frame head, time that PE is waited for, so as to reduce data frame Processing delay, and then reduce using the propagation delay time based on Ethernet.
105th, frame head resolver judges to whether there is the segmented data frame for being parsed in data frame.
Wherein, data frame includes multiple segmented data frames.
For the embodiment of the present invention, frame head resolver whether there is the segments for being parsed by judging in data frame According to frame, so that it is determined that whether the segmented data frame of current parsing is last segmented data frame in the data frame, to ensure Frame head resolver is parsed each segmented data frame in data frame.
If the 106th, in the absence of the segmented data frame for being parsed, frame head resolver terminates parsing operation.
Specifically, after frame head resolver has parsed the frame head of the whole segmented data frames in data frame, the data are terminated The parsing operation of frame, meanwhile, the segment data of next data frame that the programmable switch to be subjected such as frame head resolver sends Frame.
Further, implementing as method shown in Fig. 1, the embodiment of the invention provides a kind for the treatment of dress of message Put, as shown in Fig. 2 the entity of described device can be frame head resolver, described device includes:Resolution unit 21, transmitting element 22nd, judging unit 23, termination unit 24.
Resolution unit 21, the frame head for the segmented data frame to receiving is parsed.
Transmitting element 22, the corresponding analysis result of frame head for frame head and resolution unit 21 to be parsed is sent to processing elements Plain PE, to cause that PE is processed frame head and the corresponding analysis result of frame head.
Judging unit 23, for judging to whether there is the segmented data frame for being parsed in data frame.
Wherein, data frame includes multiple segmented data frames.
Terminate unit 24, for when in the absence of the segmented data frame for being parsed, frame head resolver to terminate parsing behaviour Make.
Alternatively, described device also includes:Acquiring unit 25, generation unit 26.
Acquiring unit 25, for obtaining physics bit wide.
Generation unit 26, for generating the message with physics bit wide equal length.
Wherein, message carries frame head and the corresponding analysis result of frame head.
Transmitting element 22, is additionally operable to transmit the message to PE.
Yet further, the entity of the processing unit of the message can be frame head resolver, as shown in figure 3, the frame Header parsing device can include:Processor 31, transmitter 32, receiver 33, modem 34, receiver 33 and modem 34 are connected.
Processor 31, the frame head for the segmented data frame to receiving is parsed.
Transmitter 32, for frame head and the corresponding analysis result of frame head to be sent into processing element PE, to cause PE to frame Head and the corresponding analysis result of frame head are processed.
Processor 31, is additionally operable to judge whether there is the segmented data frame for being parsed in data frame.
Wherein, data frame includes multiple segmented data frames.
Processor 31, is additionally operable to when in the absence of the segmented data frame for being parsed, and frame head resolver terminates parsing behaviour Make.
Processor 31, is additionally operable to obtain physics bit wide.
Processor 31, is additionally operable to the message of generation and physics bit wide equal length.
Wherein, message carries frame head and the corresponding analysis result of frame head.
Transmitter 32, is additionally operable to transmit the message to PE.
Receiver 33, for receiving data-signal or feedback signal.
Modem 34, the data-signal or feedback signal for being additionally operable to receive receiver 33 is reduced to digital baseband Signal.
It should be noted that its in the processing unit of the message provided in the embodiment of the present invention corresponding to each functional unit He accordingly describes, and may be referred to the correspondence description in Fig. 1, will not be repeated here.
The processing method and processing device of message provided in an embodiment of the present invention, first frame head resolver are to the segments that receives Parsed according to the frame head of frame, and frame head and the corresponding analysis result of frame head are sent to PE;Then PE is to the frame head that receives And the corresponding analysis result of frame head is processed;Last frame header parsing device judge in data frame with the presence or absence of parsed point Segment data frame, if not existing, frame head resolver terminates parsing operation, while PE release the treatment frame head and the frame head pair The resource shared by analysis result answered.After the whole frame heads in data frame have been parsed by frame head resolver at present, general Whole analysis results and frame head are sent to the mode that PE processed and compare, and the embodiment of the present invention has been parsed by frame head resolver After the frame head of certain segmented data frame, the frame head and corresponding analysis result are sent to PE treatment immediately, reduced During frame head resolver is parsed to frame head, the time that PE is waited for, so as to reduce the place of data frame Reason time delay.
Embodiment two
The embodiment of the present invention provides a kind of processing method of message, as shown in figure 5, methods described includes:
501st, the corresponding parsing knot of the frame head and frame head of the segmented data frame that processing element PE receiving frames header parsing device sends Really.
Wherein, segmented data frame is the part in data frame, and corresponding frame head is carried in each segmented data frame. Specifically, after programmable switch receives a data frame from network, using cut-through(Straight-through retransmission technique) Mode, segmented data frame is sent to frame head resolver according to certain data length every time.
For the embodiment of the present invention, because the microcode for the treatment of frame head and the analysis result of frame head is operated on PE, therefore PE Data interaction can be carried out with frame head resolver.In embodiments of the present invention, step 501 is specifically as follows, processing element PE roots The frame head and the corresponding analysis result of frame head of the segmented data frame sent according to preset microcode receiving frame header parsing device.
502nd, PE is processed frame head and the corresponding analysis result of frame head.
503rd, PE judges to whether there is in data frame according to the call number of the frame head carried in the corresponding analysis result of frame head The segmented data frame for being parsed.
Wherein, data frame includes multiple segmented data frames.Specifically, frame head resolver enters to the frame head of segmented data frame After row parsing, the analysis result of the frame head includes frame head type, and the call number of frame head is carried in the frame head type.
For the embodiment of the present invention, segmentation of the call number of the frame head of carrying by system in data frame in analysis result The frame head number of data frame is automatically configured, and PE judges to receive according to the call number of the frame head carried in the analysis result for receiving To the frame head and the corresponding analysis result of frame head whether be last segmented data frame in data frame, determine whether The frame head and the corresponding analysis result of frame head of the data frame that release is received.For example, programmable switch is obtained from network To data frame in segmented data frame frame head number be 16, and for 16 frame heads configure successively corresponding call number for 1 to 16, if the call number of the frame head carried in the analysis results that receive of PE is any one value in 1 to 15, PE judges to receive To the frame head and the corresponding analysis result of frame head be not last segmented data frame in data frame;If the solution that PE is received The call number of the frame head carried in analysis result is 16, then PE judges that the frame head for receiving and the corresponding analysis result of frame head are several According to last segmented data frame in frame.
If in the absence of the segmented data frame for being parsed in 504a, data frame, PE release treatment frame head and frame head pair The resource shared by analysis result answered.
For the embodiment of the present invention, step 504a is specifically as follows, and does not exist in PE judges data frame and is parsed Segmented data frame, that is, when determining the segmented data frame for last segmented data frame in data frame, PE release treatment frames Head and the corresponding analysis result of frame head shared by resource, meanwhile, wait it is to be received and process the frame head in next data frame and The corresponding analysis result of frame head.
If there is the segmented data frame for being parsed in step 504b, the data frame arranged side by side with step 504a, PE sentences Break and whether the frame head and frame head pair of segmented data frame that not the carrying out of frame head resolver transmission parses are received in Preset Time The analysis result answered.
Wherein, Preset Time can in advance be configured by PE.For example, Preset Time can be 1 second, 2 seconds, 5 seconds Clock.
If the 505b of the step of after step 504b, not receiving in Preset Time the segmented data frame that is parsed Frame head and the corresponding analysis result of frame head, then PE release treatment frame head and the corresponding analysis result of frame head shared by resource.
For the embodiment of the present invention, PE does not receive frame head and the corresponding parsing knot of frame head by judging in Preset Time After fruit, the resource shared by release treatment frame head and the corresponding analysis result of frame head, so as to avoid due to long-term etc. waiting Frame head and the corresponding analysis result of frame head are received, causes the data frame to take resource for a long time;Simultaneously, it is to avoid due to long-term etc. waiting Frame head and the corresponding analysis result of frame head are received, causes the time delay of PE treatment frame heads and the corresponding analysis result of frame head more long.
Preferably, after step 505b, the information of Frame processes failure can be sent to frame head resolver by PE, So that frame head resolver obtains the information of Frame processes failure, while the data frame is parsed again, to ensure data The successful parsing and treatment of frame.
Further, implementing as method shown in Fig. 5, the embodiment of the invention provides a kind for the treatment of dress of message Put, as shown in fig. 6, the entity of described device can be processing element, described device includes:Receiving unit 61, processing unit 62, Judging unit 63, releasing unit 64.
Receiving unit 61, the corresponding parsing knot of frame head and frame head of the segmented data frame sent for receiving frame header parsing device Really.
Processing unit 62, frame head and the corresponding analysis result of frame head for being received to receiving unit 61 are processed.
Judging unit 63, for judging to whether there is the segmented data frame for being parsed in data frame.
Wherein, data frame includes multiple segmented data frames.
Releasing unit 64, for judging data frame when judging unit 63 in the absence of the segmented data frame that is parsed When, the resource shared by release treatment frame head and the corresponding analysis result of frame head.
Judging unit 63, is additionally operable to the call number according to the frame head carried in the corresponding analysis result of frame head, judges data With the presence or absence of the segmented data frame for being parsed in frame.
Judging unit 63, is additionally operable to, when there is the segmented data frame for being parsed in data frame, judge when default Whether the interior corresponding parsing of frame head and frame head for receiving the segmented data frame that the frame head resolver for being parsed sends is tied Really.
Releasing unit 64, be additionally operable to when not received in Preset Time the segmented data frame for being parsed frame head and During the corresponding analysis result of frame head, the resource shared by release treatment frame head and the corresponding analysis result of frame head.
Yet further, the entity of the processing unit of the message can be processing element, as shown in fig. 7, the treatment Element can include:Receiver 71, processor 72, transmitter 73, modem 74, transmitter 73 and the phase of modem 74 Connection.
Receiver 71, the corresponding parsing knot of frame head and frame head of the segmented data frame sent for receiving frame header parsing device Really.
Processor 72, frame head and the corresponding analysis result of frame head for being received to receiver 71 are processed.
Processor 72, is additionally operable to judge whether there is the segmented data frame for being parsed in data frame.
Wherein, data frame includes multiple segmented data frames.
Processor 72, is additionally operable to when in data frame in the absence of the segmented data frame for being parsed, release treatment frame head And the resource shared by the corresponding analysis result of frame head.
Processor 72, is additionally operable to the call number according to the frame head carried in the corresponding analysis result of frame head, judges data frame In with the presence or absence of the segmented data frame that is parsed.
Processor 72, is additionally operable to, when there is the segmented data frame for being parsed in data frame, judge in Preset Time Inside whether receive the frame head and the corresponding analysis result of frame head of the segmented data frame that the frame head resolver for being parsed sends.
Processor 72, is additionally operable to when frame head and frame that the segmented data frame for being parsed is not received in Preset Time During corresponding analysis result, the resource shared by release treatment frame head and the corresponding analysis result of frame head.
Transmitter 73, for sending control signal or data-signal.
Modem 74, control signal or data-signal for will need to be sent by transmitter 73 are converted into fitting In the digital modulation signals of transmission.
It should be noted that its in the processing unit of the message provided in the embodiment of the present invention corresponding to each functional unit He accordingly describes, and may be referred to the correspondence description in Fig. 5, will not be repeated here.
The processing method and processing device of message provided in an embodiment of the present invention, first frame head resolver are to the segments that receives Parsed according to the frame head of frame, and frame head and the corresponding analysis result of frame head are sent to PE;Then PE is to the frame head that receives And the corresponding analysis result of frame head is processed;Last frame header parsing device judge in data frame with the presence or absence of parsed point Segment data frame, if not existing, frame head resolver terminates parsing operation, while PE release the treatment frame head and the frame head pair The resource shared by analysis result answered.After the whole frame heads in data frame have been parsed by frame head resolver at present, general Whole analysis results and frame head are sent to the mode that PE processed and compare, and the embodiment of the present invention has been parsed by frame head resolver After the frame head of certain segmented data frame, the frame head and corresponding analysis result are sent to PE treatment immediately, reduced During frame head resolver is parsed to frame head, the time that PE is waited for, so as to reduce the place of data frame Reason time delay.
The processing unit of message provided in an embodiment of the present invention can realize the embodiment of the method for above-mentioned offer, concrete function Realization refers to the explanation in embodiment of the method, will not be repeated here.The processing method of message provided in an embodiment of the present invention and Device goes for the data frame that programmable switch treatment is received, but is not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of processing method of message, it is characterised in that including:
The frame head of segmented data frame of the frame head resolver to receiving is parsed;
The frame head and the corresponding analysis result of the frame head are sent to processing element PE by the frame head resolver in real time, with So that the PE is processed the frame head and the corresponding analysis result of the frame head;
The frame head resolver judges to include with the presence or absence of the segmented data frame for being parsed, the data frame in data frame Multiple segmented data frames;
If in the absence of the segmented data frame for being parsed, the frame head resolver terminates parsing operation.
2. the processing method of message according to claim 1, it is characterised in that the frame head resolver by the frame head and Before the step of corresponding analysis result of the frame head is sent to processing element PE, also include:
The frame head resolver obtains physics bit wide;
The step of frame head and the corresponding analysis result of the frame head are sent to processing element PE by the frame head resolver is wrapped Include:
The frame head resolver generates the message with the physics bit wide equal length, and the message carries the frame head and institute State the corresponding analysis result of frame head;
The frame head resolver sends the message to the PE.
3. a kind of processing method of message, it is characterised in that including:
The frame head of the segmented data frame that processing element PE receiving frame header parsings in real time device sends and the corresponding parsing of the frame head As a result;
The PE is processed the frame head and the corresponding analysis result of the frame head;
The PE judges to whether there is the segmented data frame for being parsed in data frame, and the data frame includes multiple segmentations Data frame;
If in the absence of the segmented data frame for being parsed in data frame, PE releases the treatment frame head and the frame head Resource shared by corresponding analysis result.
4. the processing method of message according to claim 3, it is characterised in that the PE judges to whether there is in data frame The step of segmented data frame for being parsed, includes:
The PE according to the call number of the frame head carried in the corresponding analysis result of the frame head, judge in data frame whether In the presence of the segmented data frame for being parsed.
5. the processing method of message according to claim 4, it is characterised in that the PE is according to the corresponding solution of the frame head The call number of the frame head carried in analysis result, judges to whether there is the step of the segmented data frame for being parsed in data frame After rapid, also include:
If there is the segmented data frame for being parsed in the data frame, whether the PE judges received in Preset Time The frame head and the corresponding analysis result of the frame head of the segmented data frame that not the carrying out sent to frame head resolver parses;
If not receiving the frame head and the corresponding solution of the frame head of the segmented data frame for being parsed in the Preset Time Analysis result, then PE release processes the frame head and the resource shared by the corresponding analysis result of the frame head.
6. a kind of processing unit of message, it is characterised in that including:
Resolution unit, the frame head for the segmented data frame to receiving is parsed;
Transmitting element, the corresponding analysis result hair of the frame head in real time parsing the frame head and the resolution unit Processing element PE is given, to cause that the PE is processed the frame head and the corresponding analysis result of the frame head;
Judging unit, for judging to include with the presence or absence of the segmented data frame for being parsed, the data frame in data frame Multiple segmented data frames;
Terminate unit, for when in the absence of the segmented data frame for being parsed, the frame head resolver to terminate parsing operation.
7. the processing unit of message according to claim 6, it is characterised in that described device also includes:Acquiring unit, uses In acquisition physics bit wide;
Generation unit, for generating the message with the physics bit wide equal length, the message carries the frame head and institute State the corresponding analysis result of frame head;
The transmitting element, is additionally operable to send the message to the PE.
8. a kind of processing unit of message, it is characterised in that including:
Receiving unit, the frame head and the corresponding solution of the frame head of the segmented data frame sent for the device of receiving frame header parsing in real time Analysis result;
Processing unit, at the frame head and the corresponding analysis result of the frame head that are received to the receiving unit Reason;
Judging unit, for judging to include with the presence or absence of the segmented data frame for being parsed, the data frame in data frame Multiple segmented data frames;
Releasing unit, for judging the data frame when the judging unit in the absence of the segmented data frame that is parsed When, the resource shared by the release treatment frame head and the corresponding analysis result of the frame head.
9. the processing unit of message according to claim 8, it is characterised in that
The judging unit, is additionally operable to the call number according to the frame head carried in the corresponding analysis result of the frame head, sentences With the presence or absence of the segmented data frame for being parsed in disconnected data frame.
10. the processing unit of message according to claim 9, it is characterised in that
The judging unit, is additionally operable to, when there is the segmented data frame for being parsed in the data frame, judge default The frame head and the frame head that whether the segmented data frame that the frame head resolver for being parsed sends is received in time are corresponding Analysis result;
The releasing unit, is additionally operable to when the frame head that the segmented data frame for being parsed is not received in the Preset Time And during the corresponding analysis result of the frame head, release processes the frame head and the money shared by the corresponding analysis result of the frame head Source.
CN201310530094.9A 2013-10-30 2013-10-30 The processing method and processing device of message Active CN103580805B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310530094.9A CN103580805B (en) 2013-10-30 2013-10-30 The processing method and processing device of message
HK15107334.3A HK1206850A1 (en) 2013-10-30 2015-07-31 Method, associated apparatus and system for secure payment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530094.9A CN103580805B (en) 2013-10-30 2013-10-30 The processing method and processing device of message

Publications (2)

Publication Number Publication Date
CN103580805A CN103580805A (en) 2014-02-12
CN103580805B true CN103580805B (en) 2017-06-27

Family

ID=50051820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530094.9A Active CN103580805B (en) 2013-10-30 2013-10-30 The processing method and processing device of message

Country Status (2)

Country Link
CN (1) CN103580805B (en)
HK (1) HK1206850A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061812B (en) * 2019-03-28 2021-11-02 东南大学 Fractional time delay method based on dynamic length frame processing
CN110381054B (en) * 2019-07-16 2022-02-22 广东省新一代通信与网络创新研究院 Message analysis method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859037A (en) * 2005-11-30 2006-11-08 华为技术有限公司 Transmitting and receiving method for high speed medium cut-in control grouping data unit
CN201243314Y (en) * 2008-05-28 2009-05-20 成都卫士通信息产业股份有限公司 Coprocessor for IP containing slice
CN102595495A (en) * 2012-02-07 2012-07-18 北京新岸线无线技术有限公司 Data transmitting method, data transmitting device, data receiving method and data transmitting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859037A (en) * 2005-11-30 2006-11-08 华为技术有限公司 Transmitting and receiving method for high speed medium cut-in control grouping data unit
CN201243314Y (en) * 2008-05-28 2009-05-20 成都卫士通信息产业股份有限公司 Coprocessor for IP containing slice
CN102595495A (en) * 2012-02-07 2012-07-18 北京新岸线无线技术有限公司 Data transmitting method, data transmitting device, data receiving method and data transmitting device

Also Published As

Publication number Publication date
HK1206850A1 (en) 2016-01-15
CN103580805A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN112436994B (en) Data transmission method and electronic equipment
CN110999257B (en) Delivery method selection for delivery of server notifications
EP3331205B1 (en) Data packet transmission method utilized in ipv6 network and device utilizing same
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
EP3291493A1 (en) Control of network nodes in computer network systems
JP2014509483A (en) Mechanisms to improve the performance of transmission control protocols in wireless networks
JP7050094B2 (en) Packet transmission method, proxy server, and computer readable storage medium
CN104717041A (en) Method and device for transmitting data
US20160080842A1 (en) Data transmission method, apparatus, and system
CN109067796A (en) A kind of data transmission method and device
US10171634B2 (en) State transition method and apparatus based on ROHC, and storage medium
CN105791219B (en) Anti-replay method and device
CN103580805B (en) The processing method and processing device of message
CN111385263B (en) Method for maintaining data packet header compression information and communication equipment
US11522979B2 (en) Transmission control protocol (TCP) acknowledgement (ACK) packet suppression
US20140074912A1 (en) Communication apparatus, relay apparatus and communication method
US20180131609A1 (en) Protocol frame transmission method, apparatus, and system, and node device
JP2016174268A (en) Network system, network system control method, communication device and program
CN104580171B (en) The transmission method of Transmission Control Protocol, device and system
CN109067922A (en) A kind of data transmission method and device
CN112994848B (en) MCS (modulation and coding scheme) adjusting method and device, storage medium and wireless node
EP3294006B1 (en) Multilink-based data transmission method and device
WO2014131334A1 (en) Method and device for multi-link fusion
US8542701B2 (en) Method and device for determining timeslot configuration in TDM transmission
CN114679265A (en) Flow obtaining method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211223

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right