CN103580805A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN103580805A
CN103580805A CN201310530094.9A CN201310530094A CN103580805A CN 103580805 A CN103580805 A CN 103580805A CN 201310530094 A CN201310530094 A CN 201310530094A CN 103580805 A CN103580805 A CN 103580805A
Authority
CN
China
Prior art keywords
frame
frame head
analysis result
head
segmented data
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
CN201310530094.9A
Other languages
Chinese (zh)
Other versions
CN103580805B (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

Images

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication systems and discloses a message processing method and device which can reduce processing time delay of data frames. The message processing method comprises the steps that firstly a frame header analyzer can analyze frame headers of received segment data frames and send the frame heads and the analyzing results corresponding to the frame headers to a PE, then the PE can process the received frame headers and the analyzing results corresponding to the frame headers, and finally the frame header analyzer judges whether segment data frames which are not analyzed exist in the data frames. If no segment data frames which are not analyzed exist in the data frames, the frame header analyzer stops analyzing operation, and meanwhile the PE releases resources occupied by the processed frame headers and the analyzing results corresponding to the frame headers. The embodiment of the message processing method is suitable for a programmable interchanger to process received data frames.

Description

The processing method of message and device
Technical field
The present invention relates to field of wireless communications, particularly a kind of method of processing of message and device.
Background technology
Along with the lifting of the network bandwidth, a lot of application can be transmitted based on Ethernet.Be applied in the process of transmitting based on Ethernet, conventional switch is by TCP/IP(Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Interconnection agreement) protocol stack processes the Frame receiving.This by the mode of pure software protocol stack process frames of data, produced higher time delay end to end.
At present, the time delay end to end producing in order to reduce this mode by protocol stack process frames of data, the Frame processing capacity of protocol stack is unloaded to the chip internal of programmable switch, and after the frame head of the whole segmented data frame that Frame is comprised of the frame head resolver in programmable switch resolved, analysis result and frame head are sent to PE(processing element, processing element) process.
Yet, at present after the frame head of this whole segmented data frame that comprise by the complete Frame of frame head resolver resolves, the mode that sends to PE to process analysis result and frame head, when each segmented data frame is resolved due to frame head resolver, PE is always in wait state, thereby cause the processing delay of Frame longer, and then cause the propagation delay time of application based on Ethernet higher.
Summary of the invention
The embodiment of the present invention provides a kind of processing method and device of message, can reduce the processing delay of Frame, thereby reduces the propagation delay time of application based on Ethernet.
The technical scheme that the embodiment of the present invention adopts is:
First aspect, the embodiment of the present invention provides a kind of method of processing of message, comprising:
Frame head resolver is resolved the frame head of the segmented data frame receiving;
Described frame head resolver sends to processing element PE by described frame head and analysis result corresponding to described frame head, so that described PE processes described frame head and analysis result corresponding to described frame head;
Described frame head resolver judges in Frame whether have the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
If there is not the segmented data frame of resolving, described frame head resolver stops parse operation.
In the first implementation of first aspect, described frame head resolver also comprises before described frame head and analysis result corresponding to described frame head are sent to the step of processing element PE:
Described frame head resolver obtains physics bit wide;
Described frame head resolver sends to the step of processing element PE to comprise described frame head and analysis result corresponding to described frame head:
Described frame head resolver generates the message equal in length with described physics bit wide, and described message carries described frame head and analysis result corresponding to described frame head;
Described frame head resolver sends to described PE by described message.
Second aspect, the embodiment of the present invention provides a kind of processing unit of message, comprising:
Resolution unit, for resolving the frame head of the segmented data frame receiving;
Transmitting element, for the analysis result corresponding to described frame head of described frame head and the parsing of described resolution unit sent to processing element PE, so that described PE processes described frame head and analysis result corresponding to described frame head;
Judging unit, for judging whether Frame exists the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
Stop unit, for when not there is not the segmented data frame of resolving, described frame head resolver stops parse operation.
In the first implementation of second aspect, described device also comprises: acquiring unit, generation unit.
Acquiring unit, for obtaining physics bit wide;
Generation unit, for generating the message equal in length with described physics bit wide, described message carries described frame head and analysis result corresponding to described frame head;
Described transmitting element, also for sending to described PE by described message.
The third aspect, the embodiment of the present invention provides a kind of processing method of message, comprising:
Frame head and the analysis result corresponding to described frame head of the segmented data frame that processing element PE received frame header parsing device sends;
Described PE processes described frame head and analysis result corresponding to described frame head;
Described PE judges in Frame whether have the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
If there is not the segmented data frame of resolving, described PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
In the first implementation of the third aspect, described PE judges in Frame whether exist the step of the segmented data frame of resolving to comprise:
Described PE is according to the call number of the described frame head carrying in analysis result corresponding to described frame head, judges in Frame, whether there is the segmented data frame of resolving.
The first implementation in conjunction with the third aspect or the third aspect, in the second implementation of the third aspect, described PE is according to the call number of the described frame head carrying in analysis result corresponding to described frame head, after judging the step that whether has the segmented data frame of resolving in Frame, also comprise:
If there is the segmented data frame of resolving in described Frame, whether described PE judgement receives frame head and the analysis result corresponding to described frame head of the segmented data frame of resolving of frame head resolver transmission in Preset Time;
If do not receive frame head and the analysis result corresponding to described frame head of the segmented data frame of resolving in described Preset Time, described PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
Fourth aspect, the embodiment of the present invention provides a kind of processing unit of message, comprising:
Receiving element, frame head and the analysis result corresponding to described frame head of the segmented data frame sending for received frame header parsing device;
Processing unit, processes for described frame head and analysis result corresponding to described frame head that described receiving element is received;
Judging unit, for judging whether Frame exists the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
Releasing unit, for when described judging unit judgement Frame does not exist the segmented data frame of resolving, discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
In the first implementation of fourth aspect,
Described judging unit, also for the call number of the described frame head that carries according to analysis result corresponding to described frame head, judges in Frame, whether there is the segmented data frame of resolving.
In conjunction with the first implementation of fourth aspect or fourth aspect, in the second implementation of fourth aspect,
Described judging unit, also for when described Frame exists the segmented data frame of resolving, whether judgement receives frame head and the analysis result corresponding to described frame head of the segmented data frame of the frame head resolver transmission of resolving in Preset Time;
Described releasing unit, also, for when not receiving analysis result corresponding to the frame head of the segmented data frame of resolving and described frame head in described Preset Time, discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
The processing method of the message that the embodiment of the present invention provides and device, first frame head resolver is resolved the frame head of the segmented data frame receiving, and frame head and analysis result corresponding to frame head are sent to PE; Then PE processes the frame head receiving and analysis result corresponding to frame head; Last frame head resolver judges in Frame whether have the segmented data frame of resolving, if do not exist, frame head resolver stops parse operation, and PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head simultaneously.After passing through the whole frame heads in the complete Frame of frame head resolver resolves at present, send to the mode that PE processes to compare whole analysis results and frame head, the embodiment of the present invention is by after the frame head of complete certain segmented data frame of frame head resolver resolves, send to PE to process this frame head and corresponding analysis result immediately, reduced in the process of frame head being resolved at frame head resolver, the time of PE in wait state, thus the processing delay of Frame reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow figure of a kind of message that Fig. 1 provides for the embodiment of the present invention one;
The processing structural representation of a kind of message that Fig. 2 provides for the embodiment of the present invention one;
A kind of programmable switch structural representation that Fig. 3 provides for the embodiment of the present invention one;
The data frame structure schematic diagram that Fig. 4 provides for the embodiment of the present invention one;
The process flow figure of a kind of message that Fig. 5 provides for the embodiment of the present invention two;
The processing structural representation of a kind of message that Fig. 6 provides for the embodiment of the present invention two;
A kind of programmable switch structural representation that Fig. 7 provides for the embodiment of the present invention two.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
For making the advantage of technical solution of the present invention clearer, below in conjunction with drawings and Examples, the present invention is elaborated.
Embodiment mono-
The embodiment of the present invention provides a kind of processing method of message, and as shown in Figure 1, described method comprises:
101, frame head resolver is resolved the frame head of the segmented data frame receiving.
Wherein, as shown in Figure 4, segmented data frame is the part in Frame, all carries corresponding frame head in each segmented data frame.Particularly, after programmable switch receives a Frame from network, adopt the straight-through retransmission technique of cut-through() mode, according to certain data length, segmented data frame is sent to frame head resolver at every turn.
For the embodiment of the present invention, frame head resolver is resolved the frame head in the segmented data frame receiving, and the analysis result that this frame head is corresponding comprises: segmented data frame corresponding to frame head type, this frame head original position in Frame etc.
102, frame head resolver obtains physics bit wide.
Particularly, frame head resolver obtains the physics bit wide that programmable switch is corresponding.
103, frame head resolver generates the message equal in length with physics bit wide.
Wherein, message carries frame head and analysis result corresponding to frame head.
Particularly, step 103 can be, frame head resolver is frame head and analysis result arranged in sequence corresponding to frame head, and by the mode of piecing together or intercepting, generates the message equal in length with physics bit wide.For example, the physics bit wide that programmable switch is corresponding is 32 bytes, if the frame head of certain data sectional frame of frame head resolver resolves and corresponding analysis result are 16 bytes, the frame head of the next data sectional frame of frame head resolver resolves and corresponding analysis result are also 16 bytes, frame head resolver is by the mode of piecing together, thereby generate the message of 32 bytes, i.e. the message equal in length with physics bit wide; If the frame head of certain data sectional frame of frame head resolver resolves and corresponding analysis result are 48 bytes, frame head resolver passes through the mode of intercepting, thereby generates the message of 32 bytes, the i.e. message equal in length with physics bit wide.
Alternatively, when the frame head of frame head resolver resolves is in Frame during frame head corresponding to last segmented data frame, if the analysis result length that this frame head and this frame head are corresponding, be not enough to generate a message equal in length with physics bit wide, frame head resolver is by by the payload data(payload data in Frame) be supplemented to this frame head and analysis result corresponding to this frame head after, thereby gather together enough the message equal in length with physics bit wide.
104, frame head resolver sends to PE by message.
For the embodiment of the present invention, by frame head resolver in real time by the message equal in length with physics bit wide being generated by frame head and analysis result corresponding to frame head, send to PE(Processing element, processing element) process, reduced in the process of frame head being resolved at frame head resolver, the time of PE in wait state, thus the processing delay of Frame reduced, and then reduced the propagation delay time of application based on Ethernet.
105, frame head resolver judges in Frame, whether there is the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.
For the embodiment of the present invention, frame head resolver is by judging whether there is the segmented data frame of resolving in Frame, thereby whether the segmented data frame of determining current parsing is last segmented data frame in this Frame, to guarantee that frame head resolver resolves each segmented data frame in Frame.
If 106 do not exist the segmented data frame of resolving, frame head resolver stops parse operation.
Particularly, after the frame head of the whole segmented data frame in the complete Frame of frame head resolver resolves, stop the parse operation of this Frame, meanwhile, frame head resolver is waited for the segmented data frame of the next Frame of accepting programmable switch transmission.
Further, as the specific implementation of method shown in Fig. 1, the embodiment of the present invention provides a kind of processing unit of message, as shown in Figure 2, the entity of described device can be frame head resolver, and described device comprises: resolution unit 21, transmitting element 22, judging unit 23, termination unit 24.
Resolution unit 21, for resolving the frame head of the segmented data frame receiving.
Transmitting element 22, for the analysis result corresponding to frame head of frame head and resolution unit 21 parsings sent to processing element PE, so that PE processes frame head and analysis result corresponding to frame head.
Judging unit 23, for judging whether Frame exists the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.
Stop unit 24, for when not there is not the segmented data frame of resolving, frame head resolver stops parse operation.
Alternatively, described device also comprises: acquiring unit 25, generation unit 26.
Acquiring unit 25, for obtaining physics bit wide.
Generation unit 26, for generating the message equal in length with physics bit wide.
Wherein, message carries frame head and analysis result corresponding to frame head.
Transmitting element 22, also for sending to PE by message.
Again further, the entity of the processing unit of described message can be frame head resolver, and as shown in Figure 3, described frame head resolver can comprise: processor 31, transmitter 32, receiver 33, modulator-demodulator 34, receiver 33 is connected with modulator-demodulator 34.
Processor 31, for resolving the frame head of the segmented data frame receiving.
Transmitter 32, for frame head and analysis result corresponding to frame head are sent to processing element PE, so that PE processes frame head and analysis result corresponding to frame head.
Processor 31, also for judging whether Frame exists the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.
Processor 31, also for when not there is not the segmented data frame of resolving, frame head resolver stops parse operation.
Processor 31, also for obtaining physics bit wide.
Processor 31, also for generating the message equal in length with physics bit wide.
Wherein, message carries frame head and analysis result corresponding to frame head.
Transmitter 32, also for sending to PE by message.
Receiver 33, for receiving data-signal or feedback signal.
Modulator-demodulator 34, is also reduced to digital baseband signal for data-signal or the feedback signal that receiver 33 is received.
It should be noted that, corresponding other corresponding descriptions of each functional unit in the processing unit of the message providing in the embodiment of the present invention, can describe with reference to the correspondence in figure 1, do not repeat them here.
The processing method of the message that the embodiment of the present invention provides and device, first frame head resolver is resolved the frame head of the segmented data frame receiving, and frame head and analysis result corresponding to frame head are sent to PE; Then PE processes the frame head receiving and analysis result corresponding to frame head; Last frame head resolver judges in Frame whether have the segmented data frame of resolving, if do not exist, frame head resolver stops parse operation, and PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head simultaneously.After passing through the whole frame heads in the complete Frame of frame head resolver resolves at present, send to the mode that PE processes to compare whole analysis results and frame head, the embodiment of the present invention is by after the frame head of complete certain segmented data frame of frame head resolver resolves, send to PE to process this frame head and corresponding analysis result immediately, reduced in the process of frame head being resolved at frame head resolver, the time of PE in wait state, thus the processing delay of Frame reduced.
Embodiment bis-
The embodiment of the present invention provides a kind of processing method of message, and as shown in Figure 5, described method comprises:
Frame head and the analysis result corresponding to frame head of the segmented data frame that 501, processing element PE received frame header parsing device sends.
Wherein, segmented data frame is the part in Frame, all carries corresponding frame head in each segmented data frame.Particularly, after programmable switch receives a Frame from network, adopt the straight-through retransmission technique of cut-through() mode, according to certain data length, segmented data frame is sent to frame head resolver at every turn.
For the embodiment of the present invention, owing to processing the microcode of the analysis result of frame head and frame head, operate in PE above, so PE can carry out data interaction with frame head resolver.In embodiments of the present invention, step 501 is specifically as follows, frame head and the analysis result corresponding to frame head of the segmented data frame that processing element PE sends according to preset microcode received frame header parsing device.
502, PE processes frame head and analysis result corresponding to frame head.
503, PE is according to the call number of the frame head carrying in analysis result corresponding to frame head, judges in Frame, whether there is the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.Particularly, after frame head resolver is resolved the frame head of segmented data frame, the analysis result of this frame head comprises frame head type, carries the call number of frame head in this frame head type.
For the embodiment of the present invention, the call number of the frame head carrying in analysis result is configured according to the frame head number of the segmented data frame in Frame automatically by system, PE is according to the call number of the frame head carrying in the analysis result receiving, whether this frame head and analysis result corresponding to frame head that judgement receives are last segmented data frame in Frame, thereby determine whether to discharge frame head and the analysis result corresponding to frame head of this Frame receiving.For example, the frame head number of the segmented data frame in the Frame that programmable switch gets from network is 16, and be that to configure successively corresponding call number be 1 to 16 to 16 frame heads, if the call number of the frame head carrying in the analysis result that PE receives is any one value in 1 to 15, this frame head and analysis result corresponding to frame head that PE judgement receives are not last segmented data frame in Frame; If the call number of the frame head carrying in the analysis result that PE receives is 16, this frame head and analysis result corresponding to frame head that PE judgement receives are last segmented data frame in Frame.
If there is not the segmented data frame of resolving in 504a Frame, PE discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
For the embodiment of the present invention, step 504a is specifically as follows, in PE judgement Frame, there is not the segmented data frame of resolving, determine when this segmented data frame is last segmented data frame in Frame, PE discharges and processes frame head and the shared resource of analysis result corresponding to frame head, meanwhile, wait for and receive and process frame head and analysis result corresponding to frame head in next Frame.
If with the segmented data frame that existence in step 504a step 504b Frame arranged side by side is resolved, whether PE judgement receives frame head and the analysis result corresponding to frame head of the segmented data frame of resolving of frame head resolver transmission in Preset Time.
Wherein, Preset Time can be configured in advance by PE.For example, Preset Time can be 1 second, 2 seconds, 5 seconds.
If the step 505b after step 504b does not receive frame head and the analysis result corresponding to frame head of the segmented data frame of resolving in Preset Time, PE discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
For the embodiment of the present invention, after PE does not receive frame head and analysis result corresponding to frame head by judgement in Preset Time, discharge and process frame head and the shared resource of analysis result corresponding to frame head, thereby avoided, because long wait receives frame head and analysis result corresponding to frame head, causing this Frame to take for a long time resource; , avoided because long wait receives frame head and analysis result corresponding to frame head meanwhile, caused the time delay of the analysis result that PE processing frame head and frame head are corresponding longer.
Preferably, after step 505b, PE can process this Frame failed information and send to frame head resolver, thereby make frame head resolver obtain this Frame, processes failed information, again resolve this Frame, to guarantee the successful parsing of Frame and to process simultaneously.
Further, as the specific implementation of method shown in Fig. 5, the embodiment of the present invention provides a kind of processing unit of message, as shown in Figure 6, the entity of described device can be processing element, and described device comprises: receiving element 61, processing unit 62, judging unit 63, releasing unit 64.
Receiving element 61, frame head and the analysis result corresponding to frame head of the segmented data frame sending for received frame header parsing device.
Processing unit 62, processes for frame head and analysis result corresponding to frame head that receiving element 61 is received.
Judging unit 63, for judging whether Frame exists the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.
Releasing unit 64, for when judging unit 63 judgement Frames do not exist the segmented data frame of resolving, discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
Judging unit 63, also for the call number of the frame head that carries according to analysis result corresponding to frame head, judges in Frame, whether there is the segmented data frame of resolving.
Judging unit 63, also for when Frame exists the segmented data frame of resolving, whether judgement receives frame head and the analysis result corresponding to frame head of the segmented data frame of the frame head resolver transmission of resolving in Preset Time.
Releasing unit 64, also, for when not receiving analysis result corresponding to the frame head of the segmented data frame of resolving and frame head in Preset Time, discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
Again further, the entity of the processing unit of described message can be processing element, and as shown in Figure 7, described processing element can comprise: receiver 71, processor 72, reflector 73, modulator-demodulator 74, reflector 73 is connected with modulator-demodulator 74.
Receiver 71, frame head and the analysis result corresponding to frame head of the segmented data frame sending for received frame header parsing device.
Processor 72, processes for frame head and analysis result corresponding to frame head that receiver 71 is received.
Processor 72, also for judging whether Frame exists the segmented data frame of resolving.
Wherein, Frame comprises a plurality of segmented data frame.
Processor 72, also for when Frame does not exist the segmented data frame of resolving, discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
Processor 72, also for the call number of the frame head that carries according to analysis result corresponding to frame head, judges in Frame, whether there is the segmented data frame of resolving.
Processor 72, also for when Frame exists the segmented data frame of resolving, whether judgement receives frame head and the analysis result corresponding to frame head of the segmented data frame of the frame head resolver transmission of resolving in Preset Time.
Processor 72, also, for when not receiving analysis result corresponding to the frame head of the segmented data frame of resolving and frame head in Preset Time, discharges and processes frame head and the shared resource of analysis result corresponding to frame head.
Reflector 73, for transmitting control signal or data-signal.
Modulator-demodulator 74, converts for control signal or the data-signal that need to send by reflector 73 digital modulation signals that is suitable for transmission to.
It should be noted that, corresponding other corresponding descriptions of each functional unit in the processing unit of the message providing in the embodiment of the present invention, can describe with reference to the correspondence in figure 5, do not repeat them here.
The processing method of the message that the embodiment of the present invention provides and device, first frame head resolver is resolved the frame head of the segmented data frame receiving, and frame head and analysis result corresponding to frame head are sent to PE; Then PE processes the frame head receiving and analysis result corresponding to frame head; Last frame head resolver judges in Frame whether have the segmented data frame of resolving, if do not exist, frame head resolver stops parse operation, and PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head simultaneously.After passing through the whole frame heads in the complete Frame of frame head resolver resolves at present, send to the mode that PE processes to compare whole analysis results and frame head, the embodiment of the present invention is by after the frame head of complete certain segmented data frame of frame head resolver resolves, send to PE to process this frame head and corresponding analysis result immediately, reduced in the process of frame head being resolved at frame head resolver, the time of PE in wait state, thus the processing delay of Frame reduced.
The above-mentioned embodiment of the method providing can be provided the processing unit of the message that the embodiment of the present invention provides, and concrete function is realized and referred to the explanation in embodiment of the method, does not repeat them here.The processing method of the message that the embodiment of the present invention provides and device go for programmable switch and process the Frame receiving, but are not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. a processing method for message, is characterized in that, comprising:
Frame head resolver is resolved the frame head of the segmented data frame receiving;
Described frame head resolver sends to processing element PE by described frame head and analysis result corresponding to described frame head, so that described PE processes described frame head and analysis result corresponding to described frame head;
Described frame head resolver judges in Frame whether have the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
If there is not the segmented data frame of resolving, described frame head resolver stops parse operation.
2. the processing method of message according to claim 1, is characterized in that, described frame head resolver also comprises before described frame head and analysis result corresponding to described frame head are sent to the step of processing element PE:
Described frame head resolver obtains physics bit wide;
Described frame head resolver sends to the step of processing element PE to comprise described frame head and analysis result corresponding to described frame head:
Described frame head resolver generates the message equal in length with described physics bit wide, and described message carries described frame head and analysis result corresponding to described frame head;
Described frame head resolver sends to described PE by described message.
3. a processing method for message, is characterized in that, comprising:
Frame head and the analysis result corresponding to described frame head of the segmented data frame that processing element PE received frame header parsing device sends;
Described PE processes described frame head and analysis result corresponding to described frame head;
Described PE judges in Frame whether have the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
If there is not the segmented data frame of resolving in Frame, described PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
4. the processing method of message according to claim 3, is characterized in that, described PE judges in Frame whether exist the step of the segmented data frame of resolving to comprise:
Described PE is according to the call number of the described frame head carrying in analysis result corresponding to described frame head, judges in Frame, whether there is the segmented data frame of resolving.
5. the processing method of message according to claim 4, it is characterized in that, described PE, according to the call number of the described frame head carrying in analysis result corresponding to described frame head, after judging the step that whether has the segmented data frame of resolving in Frame, also comprises:
If there is the segmented data frame of resolving in described Frame, whether described PE judgement receives frame head and the analysis result corresponding to described frame head of the segmented data frame of resolving of frame head resolver transmission in Preset Time;
If do not receive frame head and the analysis result corresponding to described frame head of the segmented data frame of resolving in described Preset Time, described PE discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
6. a processing unit for message, is characterized in that, comprising:
Resolution unit, for resolving the frame head of the segmented data frame receiving;
Transmitting element, for the analysis result corresponding to described frame head of described frame head and the parsing of described resolution unit sent to processing element PE, so that described PE processes described frame head and analysis result corresponding to described frame head;
Judging unit, for judging whether Frame exists the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
Stop unit, for when not there is not the segmented data frame of resolving, described frame head resolver stops parse operation.
7. the processing unit of message according to claim 6, is characterized in that, described device also comprises:
Acquiring unit, for obtaining physics bit wide;
Generation unit, for generating the message equal in length with described physics bit wide, described message carries described frame head and analysis result corresponding to described frame head;
Described transmitting element, also for sending to described PE by described message.
8. a processing unit for message, is characterized in that, comprising:
Receiving element, frame head and the analysis result corresponding to described frame head of the segmented data frame sending for received frame header parsing device;
Processing unit, processes for described frame head and analysis result corresponding to described frame head that described receiving element is received;
Judging unit, for judging whether Frame exists the segmented data frame of resolving, and described Frame comprises a plurality of segmented data frame;
Releasing unit, for when described judging unit judges that described Frame does not exist the segmented data frame of resolving, discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
9. the processing unit of message according to claim 8, is characterized in that,
Described judging unit, also for the call number of the described frame head that carries according to analysis result corresponding to described frame head, judges in Frame, whether there is the segmented data frame of resolving.
10. the processing unit of message according to claim 9, is characterized in that,
Described judging unit, also for when described Frame exists the segmented data frame of resolving, whether judgement receives frame head and the analysis result corresponding to described frame head of the segmented data frame of the frame head resolver transmission of resolving in Preset Time;
Described releasing unit, also, for when not receiving analysis result corresponding to the frame head of the segmented data frame of resolving and described frame head in described Preset Time, discharges and processes described frame head and the shared resource of analysis result corresponding to described frame head.
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 true CN103580805A (en) 2014-02-12
CN103580805B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110061812A (en) * 2019-03-28 2019-07-26 东南大学 A kind of fractional delay method based on the processing of distance to go frame
CN110381054A (en) * 2019-07-16 2019-10-25 广东省新一代通信与网络创新研究院 Message parsing 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

Cited By (4)

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

Also Published As

Publication number Publication date
CN103580805B (en) 2017-06-27
HK1206850A1 (en) 2016-01-15

Similar Documents

Publication Publication Date Title
US10965546B2 (en) Control of network nodes in computer network systems
JP7050094B2 (en) Packet transmission method, proxy server, and computer readable storage medium
CN114679407A (en) Link aggregation method, device, equipment and storage medium
US20160277246A1 (en) Method and device for media multiplexing negotiation
CN110545230B (en) Method and device for forwarding VXLAN message
CN112822646B (en) Message processing method and device, electronic equipment and computer readable storage medium
CN103580805A (en) Message processing method and device
CN107689945B (en) Media conversion equipment control method and device and media gateway
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN112969202A (en) Network parameter adjusting method and device, electronic equipment and storage medium
US11070665B2 (en) Voice over internet protocol processing method and related network device
CN109873763B (en) Communication method and device
WO2016154831A1 (en) Method and device for realizing transmission control protocol (tcp) transmission
CN113891393B (en) Link self-adaptive transmission method, device, equipment and storage medium
CN112994848B (en) MCS (modulation and coding scheme) adjusting method and device, storage medium and wireless node
CN115277806A (en) Cloud desktop connection method, device and equipment
CN114666846A (en) Communication method and gateway equipment
EP3294006B1 (en) Multilink-based data transmission method and device
CN114489730A (en) Remote upgrading method, terminal equipment and computer readable storage medium
CN112583829A (en) Method and device for self-adaptive multi-level end-to-end transmission of market information stream
CN113973134A (en) Data transmission method and device, electronic equipment and computer storage medium
CN112055083B (en) Request processing method and device, electronic equipment and medium
CN116566955B (en) Digital voice call method, device and application based on mqtt
CN115967935B (en) Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway
CN113965894B (en) Method for realizing packet data in subway LTE system

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