CN109714326A - A kind of application layer data sequence group packet method, apparatus, equipment and storage medium - Google Patents
A kind of application layer data sequence group packet method, apparatus, equipment and storage medium Download PDFInfo
- Publication number
- CN109714326A CN109714326A CN201811567997.3A CN201811567997A CN109714326A CN 109714326 A CN109714326 A CN 109714326A CN 201811567997 A CN201811567997 A CN 201811567997A CN 109714326 A CN109714326 A CN 109714326A
- Authority
- CN
- China
- Prior art keywords
- data packet
- data
- packet
- application layer
- sequence group
- 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.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of application layer data sequence group packet method, apparatus, computer equipment and readable storage medium storing program for executing.Application layer data sequence group packet method includes: to receive the data packet of application layer;Parse the data packet;Judge whether data packet format is legal;If the data packet format is legal, judge whether the data packet meets return condition;If the data packet is unsatisfactory for return condition, current data packet is cached.Sequence group packet method proposed by the present invention, it packages in application layer to the out-of-order data received, according to required data packet serial number in the serial number for receiving data packet and current sequence, the data packet is returned or cached, further still judge buffer zone with the presence or absence of the data packet adjacent with received data packet before return, if there is then merging received data packet and adjacent data packet, the present invention is effectively simplified the process and processing step of application layer data packet sequencing, efficiency is improved, the success rate and system stability of data sequence group packet are improved.
Description
Technical field
The present invention relates to technical field of the computer network, and in particular to a kind of application layer data sequence group packet method, apparatus,
Computer equipment and readable storage medium storing program for executing.
Background technique
OSI (Open System Interconnect), i.e. open system interconnection.It is all generally OSI Reference Model, is
ISO (International Organization for standardization) group is woven in the internetworking model of research in 1985.It is mutual that the architecture standard defines network
Seven layers of frame (physical layer, data link layer, network layer, transport layer, session layer, expression layer and application layer) of connection, i.e. OSI are open
Systems Interconnection Reference model.
Application layer (Application layer) is the layer 7 of seven layers of osi model.Application layer directly connects with application program
Mouth simultaneously provides common network english teaching.Application layer is also issued to expression layer and is requested.Application layer is the top of open system,
It is directly to provide service for application process.It, which is acted on, is completed while realizing that multiple system application processes are in communication with each other
A series of service needed for business processings.Its service element is divided into two classes: common application service element CASE and specific application clothes
Be engaged in element S ASE.CASE provides most basic service, it becomes the user of any user and any service element in application layer, main
It to be communicated for application process, compartment system, which is realized, provides basic controlling mechanism;Special services SASE will then meet some specific
Service, if file transmits, access management, job transfer, banking business, order input etc..These are involved in virtual terminal, make
Industry transmission and operation, file transmission and access management, remote database access, graphic kernel system, open system interconnection management
Etc..
Data packet disorder (packetreordering) problem be usually may by the propagation delay time difference on different paths,
Data packet reach receiving end sequence and transmission sequence it is not identical, the data packet sent afterwards may be than the data that send before
Packet more reaches receiving end.However, provided in Stream Control Transmission Protocol, the data packet only sequentially reached could up submit application layer into
Row processing.When data packet disorder phenomenon than it is more serious when, this, which allows for out-of-order data packet, can be trapped in the caching of receiving end, nothing
Method is submitted upper layer application in time and is handled, and the propagation delay time of grouping is increased, and reduces effectively gulping down for multipath parallel transmission
Spit performance.
The prior art is complex to the settling mode of application layer data packet random ordering problem, and data packet sequencing success rate is not
Height is unable to satisfy the demand that application layer data is quickly handled.Therefore, how a kind of simple, efficient application layer data packet is provided
The method of sequence group packet, have become provided in computer network data transmission process it is urgently to be resolved in the transmission of reliable and stable data
One of the problem of.
Summary of the invention
The present invention provides one kind and is related to a kind of application layer data sequence group packet method, apparatus, computer equipment and readable deposits
Storage media,
On the one hand the embodiment of the present invention provides a kind of application layer data sequence group packet method, including
Receive the data packet of application layer;
Parse the data packet;
Judge whether the data packet format is legal;
If the data packet format is legal, judge whether the data packet meets return condition;
If the data packet is unsatisfactory for return condition, current data packet is cached.
With reference to first aspect, in the first possible implementation of the first aspect, the method also includes: if described
Data packet meets return condition, judges whether there is data cached.
With reference to first aspect, in the second possible implementation of the first aspect, the method also includes: if caching
Region does not have data cached, return current data packet;If buffer zone have it is data cached, judge in data cached with the presence or absence of with
The adjacent data packet of the data packet.
With reference to first aspect, in a third possible implementation of the first aspect, the method also includes if caching
There is the data packet adjacent with the data packet in data, then by the adjacent data packet and the packet combining, and returns
Bout and after data packet.
With reference to first aspect, in a fourth possible implementation of the first aspect, the parsing data packet packet
It includes: parsing the serial number of the data packet and the partition number of data packet.
With reference to first aspect, in the fifth possible implementation of the first aspect, the return condition is the number
According to the packet serial number adjacent data packet serial number of returned data packet.
Two aspects of the embodiment of the present invention provide a kind of application layer data sequence group bag apparatus, including receive single
Member, for receiving the data packet of application layer;
Resolution unit, for parsing the data packet;
First judging unit, for judging whether data packet format is legal;
Second judgment unit, if the data packet format is legal, for judging whether the data packet meets return condition;
Cache unit, for caching current data packet.
In conjunction with second aspect, in the first possible implementation of the second aspect, described device further includes that third is sentenced
It is data cached to judge whether that buffer zone has if the data packet meets return condition for disconnected unit.
In conjunction with second aspect, in a second possible implementation of the second aspect, described device further includes returning to list
Member, if not having data cached, return current data packet for buffer zone;
4th judging unit judges in data cached if having data cached with the presence or absence of the number adjacent with the data packet
According to packet.
In conjunction with second aspect, in the third possible implementation of the second aspect, described device further include: merge single
Member, if caching is data cached middle in the presence of the data packet adjacent with the data packet, by the adjacent data packet and the number
Simultaneously according to inclusion;Return unit is also used to, and returns to the data packet after merging.
In conjunction with second aspect, in the fourth possible implementation of the second aspect, the parsing data packet packet
It includes: parsing the serial number of the data packet and the partition number of data packet.
In conjunction with second aspect, in a fifth possible implementation of the second aspect, the return condition is the number
According to the packet serial number adjacent data packet serial number of returned data packet.
Another embodiment of the present invention provides a kind of computer equipment, the computer equipment includes processor, the processing
It is realized when device is for executing the computer program stored in memory such as a kind of application layer data sequence group packet of above-mentioned any one
The step of method.
Another embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program and (refer to
Enable), it is characterised in that: a kind of such as application layer of above-mentioned any one is realized when the computer program (instruction) is executed by processor
The step of data sequence group packet method.
The invention discloses a kind of application layer data sequence group packet method, apparatus, computer equipment and readable storage medium storing program for executing.
Application layer data sequence group packet method includes: to receive the data packet of application layer;Parse the data packet;Judging data packet format is
It is no legal;If the data packet format is legal, judge whether the data packet meets return condition;If the data packet is unsatisfactory for
Return condition, then cache current data packet.Sequence group packet method proposed by the present invention, the group packet function realized are based on application
Layer, it packages in application layer to the out-of-order data received, according to institute in the serial number for receiving data packet and current sequence
Data packet serial number is needed, which is returned or cached, further still judges whether buffer zone deposits before return
In the data packet adjacent with received data packet, has as crossed, merge received data packet and adjacent data packet application layer data of the present invention
The method of sequence group packet is effectively simplified the process of application layer data packet sequencing, improves efficiency, simplifies processing step, provides
The success rate and system stability of data sequence group packet.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
Fig. 1 is that the present invention is based on one embodiment flow diagrams of application layer data sequence group packet method;
Fig. 2 is application layer data sequence group another embodiment flow diagram of packet method of the present invention;
Fig. 3 is three application layer data of embodiment of the present invention sequence group bag apparatus schematic diagram;
Fig. 4 is computer equipment embodiment of the present invention;
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that
Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit
In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce
The other step or units of product or equipment inherently.
Application layer (Application layer) is the layer 7 of seven layers of osi model, and application layer directly connects with application program
Mouth simultaneously provides common network english teaching, and application layer is also issued to expression layer and requested.Application layer is the top of open system,
It is directly to provide service for application process, effect is completed while realizing that multiple system application processes are in communication with each other
A series of service needed for business processings.Its service element is divided into two classes: common application service element CASE and specific application clothes
Be engaged in element S ASE.CASE provides most basic service, it becomes the user of any user and any service element in application layer, main
It to be communicated for application process, compartment system, which is realized, provides basic controlling mechanism;Special services SASE will then meet some specific
Service, if file transmits, access management, job transfer, banking business, order input etc..These are involved in virtual terminal, make
Industry transmission and operation, file transmission and access management, remote database access, graphic kernel system, open system interconnection management
Etc..
Data packet disorder (packetreordering) problem be usually may by the propagation delay time difference on different paths,
Data packet reach receiving end sequence and transmission sequence it is not identical, the data packet sent afterwards may be than the data that send before
Packet reaches receiving end earlier.When the data packet that application layer receives is random ordering, in order to normally handle the number received
According to packet, need first to carry out sequential processes to the packet sequence that receives of random ordering, allow processing data packet place when case sequence into
Capable.
A kind of application layer data sequence group packet method in the embodiment of the present invention one, comprising:
Receive the data packet of application layer;
Parse the data packet;
Judge whether the data packet format is legal;
If the data packet format is legal, judge whether the data packet meets return condition;
If the data packet is unsatisfactory for return condition, current data packet is cached.
It may include initialization order group pack assembly before application layer sequence group is wrapped in the embodiment of the present invention, i.e., using sequence group packet
Before function, the component of initialization order group packet is needed, initialization refers to be that data object or variable are assigned just in computer field
The way of value, or control is set as default conditions, it is carried out for subsequent normal operation and is set as preparation state.
Application layer sequence group pack assembly receives the data of application layer in embodiment one, parses the application layer data;It needs
Application layer data after the parsing to be illustrated includes the serial number and partition number of data itself and data packet, the data packet sequence
Number and partition number for the processing of follow-up data packet provide foundation.
It should be noted that data packet, refers to data frame set required for the signal processing algorithm of computer mould group.
Data packet after parsed judge whether it being data packet to be processed needed for current application layer, that is, judges
Whether data packet format legal, it should be noted that the whether legal judgement of data packet herein according to current application layer handle into
Processing type of data packet required for row is associated, such as audio/video information or system access information, system control information;Symbol
Closing processing type of data packet required for current current application layer processing carries out can determine whether that data packet format is legal, otherwise then thinks
Type of data packet is illegal.
If the data packet format is legal, judge whether the data packet meets return condition, if the data packet is discontented
Foot returns to condition, then caches current data packet.It should be noted that the return condition is, the data packet serial number has been returned
Return the adjacent data packet serial number of data packet, i.e., the serial number of the data packet currently judged and the upper data packet returned whether phase
Neighbour, the upper data packet that the current data packet is thought if adjacent and has been returned is sequence, i.e., current data packet can
To return and normally be placed on behind a upper data packet, it is integrally formed alphabetic data packet, if current data packet and upper one is
The data packet of return is not connected, then the data packet that current data packet has been returned with upper one is simultaneously non-sequential, and current data packet is simultaneously
It should not be returned.
Application layer data sequence group packet method of the embodiment of the present invention, comprising: receive the data packet of application layer;Parse the number
According to packet;Judge whether the data packet format is legal;If the data packet format is legal, judges whether the data packet meets and return
Receipt part;If the data packet is unsatisfactory for return condition, current data packet is cached.By the area code and sequence that parse data packet
Number, judge whether to meet return condition by data packet one by one, and the data packet for being unsatisfactory for return condition is placed on buffer area
Domain, successively secondary carry out sequence judgement, can be improved the efficiency of application layer hash packet sequencing, and reduce calculation amount, improves
Speed.
In the embodiment of the present invention two, a kind of application layer data sequence group packet method includes: as shown in Figure 2
Step 201: receiving the data of application layer;
Step 203: parsing the data packet;
Application layer data after the parsing for needing to illustrate includes the serial number and partition number of data itself and data packet,
The data packet serial number and partition number provide foundation for the processing of follow-up data packet.
Step 205: judging whether data packet format is legal;
It should be noted that the whether legal judgement of data packet herein handles processing required for carrying out according to current application layer
Type of data packet is associated, such as audio/video information or system access information, system control information;Meet current application layer
Processing type of data packet required for processing carries out can determine whether that data packet format is legal, otherwise then think that type of data packet is illegal.
Step 207: if data packet format is legal, judging whether the data packet meets return condition;
It should be noted that in the present embodiment, the return condition is, data packet serial number returned data packet phase
Adjacent data packet serial number, i.e., whether the data packet currently judged is adjacent with the serial number of the upper data packet returned, if phase
Adjacent then think that the current data packet with the upper data packet that has returned is sequence, i.e. current data packet can return and just
It is often placed on behind a data packet, is integrally formed alphabetic data packet, if current data packet and upper one data returned
Packet is not connected, then the data packet that current data packet has been returned with upper one is simultaneously non-sequential, and current data packet should not be returned
It returns.
Step 209: if the data packet is unsatisfactory for return condition, caching presently described data packet;
Step 211: if the data packet meets return condition, judging whether buffer zone has data cached packet;
Step 213: if buffer zone returns to presently described data packet without data cached packet;
Step 215: if there is data packet in buffer zone, judging to whether there is and the data packet phase in the data packet of buffer zone
Adjacent data packet;
Step 217: if returning to current data packet without the data packet adjacent with the data packet in the data packet of buffer zone;
Step 219: if there is the data packet adjacent with the data packet in the data packet of buffer zone, i.e., by the buffer zone
Adjacent data packet and presently described packet combining, and return to the data packet after merging.
In the present embodiment when data packet meets return condition, it is creative joined further judge be in buffer zone
It is no to there is the data packet adjacent with presently described data packet, and then when returning to presently described data packet, it screens one time again
The data packet of buffer zone can directly screen the data packet adjacent with current data packet in buffer zone from buffer zone
Out, to further improve the efficiency of returned data packet, the effect of buffer zone is more taken full advantage of, is increased substantially
The efficiency of packet sequence sequence, reduces the resource consumption of whole process.
Many deficiencies based on the prior art, the invention discloses a kind of application layer data sequence group packet method, it is realized
Group packet function is packaged in application layer to the out-of-order data received based on application layer, according to receiving data packet
Required data packet serial number in serial number and current sequence, is returned or is cached to the data packet, further before return still
Judge that buffer zone with the presence or absence of the data packet adjacent with received data packet, has as crossed, merges received data packet and adjacent data
The method for wrapping application layer data sequence group packet of the present invention is effectively simplified the process of application layer data packet sequencing, improves efficiency,
Processing step is simplified, the success rate and system stability of data sequence group packet are provided.
The embodiment of the present invention three provides a kind of application layer data sequence group bag apparatus 300, comprising:
Receiving unit 301: for receiving the data packet of application layer;
Resolution unit 303: for parsing the data packet;
First judging unit 305: for judging whether data packet format is legal;
Second judgment unit 307: if the data packet format is legal, for judging whether the data packet meets return item
Part;
It should be noted that in the present embodiment, the return condition is, data packet serial number returned data packet phase
Adjacent data packet serial number, i.e., whether the data packet currently judged is adjacent with the serial number of the upper data packet returned, if phase
Adjacent then think that the current data packet with the upper data packet that has returned is sequence, i.e. current data packet can return and just
It is often placed on behind a data packet, is integrally formed alphabetic data packet, if current data packet and upper one data returned
Packet is not connected, then the data packet that current data packet has been returned with upper one is simultaneously non-sequential, and current data packet should not be returned
It returns.
Cache unit 311: for caching current data packet.
Third judging unit 309: if the data packet meets return condition, it is data cached to judge whether that buffer zone has.
Return unit 313: if not having data cached, return current data packet for buffer zone;
4th judging unit 317: if having data cached, judge in data cached with the presence or absence of adjacent with the data packet
Data packet.
Combining unit 315: if data cached middle in the presence of the data packet adjacent with the data packet, by the adjacent number
According to packet and the packet combining.
In the present embodiment when data packet meets return condition, creative joined the 4th judging unit 317 and conjunction
And unit 315, further judge to whether there is the data packet adjacent with presently described data packet in buffer zone, and then return
When returning presently described data packet, the data packet of a buffer zone is screened again, it can will be with current data in buffer zone
It wraps adjacent data packet directly to screen from buffer zone, to further improve the efficiency of returned data packet, more
The effect for taking full advantage of buffer zone is greatly improved the efficiency of packet sequence sequence, reduces the money of whole process
Source consumption.
Return unit 313 described in the present embodiment is also used to, and returns to the data packet after merging.
A kind of application layer data sequence group bag apparatus provided in an embodiment of the present invention, the group packet function realized is to be based on answering
It with layer, packages in application layer to the out-of-order data received, according in the serial number for receiving data packet and current sequence
Required data packet serial number is returned or is cached to the data packet, further still whether judges buffer zone before return
In the presence of the data packet adjacent with received data packet, has as crossed, merge received data packet and the adjacent data packet present invention application number of plies
It is effectively simplified the process of application layer data packet sequencing according to the method for sequence group packet, improves efficiency, simplifies processing step, mention
The success rate and system stability of data sequence group packet are supplied.
Fig. 4 is the schematic diagram for the computer equipment that an embodiment of the present invention provides.As shown in figure 4, computer equipment 1 to
It less include: processor 20, memory 30, the computer that is stored in the memory 30 and can be run on the processor 20
Program 40 (such as control program of data processing method).
Wherein, the computer equipment 1 can be smart phone, tablet computer, laptop, desktop computer, service
Device computer, personal digital assistant etc. have the computer equipment of shooting function.It will be understood by those skilled in the art that the signal
Fig. 3 is only the example of computer equipment 1, does not constitute the restriction to computer equipment 1, may include more or more than illustrating
Few component perhaps combines certain components or different components, such as the computer equipment 1 can also include that input is defeated
Equipment, network access equipment, bus etc. out.
The processor 20 realizes a kind of above-mentioned application layer data sequence group packet method when executing the computer program 40
Step in embodiment, such as a kind of application layer data sequence group packet method, a kind of application layer shown in Fig. 2 shown in FIG. 1
Data sequence group packet method.The processor 20 is realized each in above-mentioned each device embodiments when executing the computer program 40
The function of each unit in module/unit, such as attached drawing 3.
Illustratively, the computer program 40 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 30, and are executed by the processor 20, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, and described instruction section is used
In implementation procedure of the description computer program 40 in the terminal 1.The concrete function of each unit refers to the tool of front
Body introduction, for the sake of saving space and avoiding repetition, details are not described herein again.
Alleged processor 20 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor 20 is also possible to any conventional processing
Device etc., the processor 20 are in the control of computer equipment described in a kind of application layer data sequence group bag apparatus 300/
The heart, using various interfaces and connection, entirely a kind of application layer data sequence organizes each of 300/ computer equipment 1 of bag apparatus
Part.
For the memory 30 for storing the computer program 40 and/or module/unit, the processor 20 passes through fortune
Row executes the computer program and/or module/unit being stored in the memory 30, and calls and be stored in the storage
Data in device 30 realize that a kind of application layer data sequence organizes the various functions of 300/ computer equipment 1 of bag apparatus.It is described
Memory 30 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one
Application program needed for a function (such as sound-playing function, image player function etc.) etc.;Storage data area can store basis
Computer equipment 1 uses created data etc..In addition, the memory 30 may include high-speed random access memory,
It can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media
Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic disk storage
Part, flush memory device or other volatile solid-state parts.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the meter
A kind of step of application layer data sequence group packet method described in above embodiment is realized when calculation machine program is executed by processor
Suddenly.
If a kind of module/unit that application layer data sequence group 300//computer equipment of bag apparatus is integrated is with soft
The form of part functional unit realizes and when sold or used as an independent product, can store and computer-readable deposits at one
In storage media.Based on this understanding, the present invention realizes all or part of the process in above embodiment method, can also lead to
Computer program is crossed to instruct relevant hardware and complete, the computer program can be stored in a computer-readable storage medium
In matter, the computer program is when being executed by processor, it can be achieved that the step of above-mentioned each method implementation.Wherein, institute
Stating computer program includes computer program code, and the computer program code can be source code form, object identification code shape
Formula, executable file or certain intermediate forms etc..The computer readable storage medium may include: that can carry the calculating
It is any entity or device of machine program code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier wave
Signal, telecommunication signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be with
According to making laws in jurisdiction and the requirement of patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to
Legislation and patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
In several specific embodiments provided by the present invention, it should be understood that disclosed terminal and method, it can be with
It realizes by another way.For example, termini embodiment described above is only schematical, for example, the module
Division, only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in same treatment module
It is that modules physically exist alone, can also be integrated in equal modules with two or more modules.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned exemplary embodiment,
And without departing substantially from the spirit or essential attributes of the embodiment of the present invention, this hair can be realized in other specific forms
Bright embodiment.Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this
The range of inventive embodiments is indicated by the appended claims rather than the foregoing description, it is intended that being equal for claim will be fallen in
All changes in the meaning and scope of important document are included in the embodiment of the present invention.It should not be by any attached drawing mark in claim
Note is construed as limiting the claims involved.Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for
Plural number.Multiple units, module or the device stated in system, device or terminal claim can also be by the same units, mould
Block or device are implemented through software or hardware.The first, the second equal words are used to indicate names, and are not offered as any specific
Sequence.
Finally it should be noted that embodiment of above is only to illustrate the technical solution of the embodiment of the present invention rather than limits,
Although the embodiment of the present invention is described in detail referring to the above better embodiment, those skilled in the art should
Understand, can modify to the technical solution of the embodiment of the present invention or equivalent replacement should not all be detached from the skill of the embodiment of the present invention
The spirit and scope of art scheme.
Claims (10)
1. a kind of method of application layer data sequence group packet characterized by comprising
Receive the data packet of application layer;
Parse the data packet;
Judge whether the data packet format is legal;
If the data packet format is legal, judge whether the data packet meets return condition;
If the data packet is unsatisfactory for return condition, the data packet is cached.
2. the method for application layer data sequence group packet as described in claim 1, which is characterized in that the method also includes: if
The data packet meets return condition, judges whether there is data cached.
3. the method for application layer data sequence group packet as claimed in claim 2, which is characterized in that the method also includes: if
Buffer zone does not have data cached, return current data packet;
If buffer zone has data cached, judge in data cached with the presence or absence of the data packet adjacent with the data packet.
4. the method for application layer data sequence group packet as claimed in claim 3, which is characterized in that further include, if data cached
It is middle to there is the data packet adjacent with the data packet, then by the adjacent data packet and the packet combining, and return to conjunction
Data packet after and.
5. a kind of device of application layer data sequence group packet characterized by comprising
Receiving unit, for receiving the data packet of application layer;
Resolution unit, for parsing the data packet;
First judging unit, for judging whether data packet format is legal;
Second judgment unit, if the data packet format is legal, for judging whether the data packet meets return condition;
Cache unit, for caching the data packet.
6. the device of application layer data sequence group packet as claimed in claim 5, which is characterized in that further include that third judgement is single
It is data cached to judge whether that buffer zone has if the data packet meets return condition for member.
7. the device of application layer data sequence group packet as claimed in claim 6, which is characterized in that further include return unit, use
If there is no data cached, return current data packet in buffer zone;
4th judging unit judges in data cached if having data cached with the presence or absence of the data packet adjacent with the data packet.
8. answering the device of layer data sequence group packet as claimed in claim 7, which is characterized in that further include: combining unit, if slow
The data cached middle presence data packet adjacent with the data packet is deposited, then is included the adjacent data packet and the data
And;
Return unit is also used to, and returns to the data packet after merging.
9. a kind of computer equipment, which is characterized in that the computer equipment includes processor, and the processor is deposited for executing
It is realized when the computer program stored in reservoir such as the method for any one of claim 1-4 application layer data sequence group packet
Step.
10. a kind of computer readable storage medium is stored thereon with computer program (instruction), it is characterised in that: the calculating
The method such as any one of claim 1-4 application layer data sequence group packet is realized when machine program (instruction) is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567997.3A CN109714326A (en) | 2018-12-21 | 2018-12-21 | A kind of application layer data sequence group packet method, apparatus, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567997.3A CN109714326A (en) | 2018-12-21 | 2018-12-21 | A kind of application layer data sequence group packet method, apparatus, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109714326A true CN109714326A (en) | 2019-05-03 |
Family
ID=66257204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811567997.3A Pending CN109714326A (en) | 2018-12-21 | 2018-12-21 | A kind of application layer data sequence group packet method, apparatus, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109714326A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740045A (en) * | 2019-10-28 | 2020-01-31 | 支付宝(杭州)信息技术有限公司 | Instruction multicast method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146024A (en) * | 2006-09-11 | 2008-03-19 | 中兴通讯股份有限公司 | Determination and processing method of sequential data SN in service-specific connection protocol |
CN102625417A (en) * | 2011-01-26 | 2012-08-01 | 中兴通讯股份有限公司 | System and method for realizing multi-system wireless terminal binding |
CN103746974A (en) * | 2013-12-27 | 2014-04-23 | 柳州职业技术学院 | Secure communication system and method based on instant messaging software |
CN105101327A (en) * | 2014-05-09 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Switching method and switching device |
CN105101309A (en) * | 2014-05-09 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Switching method and switching device |
CN105743815A (en) * | 2016-04-06 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Method and device for processing jitter buffer data |
CN108243211A (en) * | 2016-12-24 | 2018-07-03 | 华为技术有限公司 | A kind of data transmission method and device |
-
2018
- 2018-12-21 CN CN201811567997.3A patent/CN109714326A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146024A (en) * | 2006-09-11 | 2008-03-19 | 中兴通讯股份有限公司 | Determination and processing method of sequential data SN in service-specific connection protocol |
CN102625417A (en) * | 2011-01-26 | 2012-08-01 | 中兴通讯股份有限公司 | System and method for realizing multi-system wireless terminal binding |
CN103746974A (en) * | 2013-12-27 | 2014-04-23 | 柳州职业技术学院 | Secure communication system and method based on instant messaging software |
CN105101327A (en) * | 2014-05-09 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Switching method and switching device |
CN105101309A (en) * | 2014-05-09 | 2015-11-25 | 宇龙计算机通信科技(深圳)有限公司 | Switching method and switching device |
CN105743815A (en) * | 2016-04-06 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Method and device for processing jitter buffer data |
CN108243211A (en) * | 2016-12-24 | 2018-07-03 | 华为技术有限公司 | A kind of data transmission method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740045A (en) * | 2019-10-28 | 2020-01-31 | 支付宝(杭州)信息技术有限公司 | Instruction multicast method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101015187B (en) | Apparatus and method for supporting connection establishment in an offload of network protocol processing | |
CN100468377C (en) | Apparatus and method for supporting memory management in an offload of network protocol processing | |
US20160132541A1 (en) | Efficient implementations for mapreduce systems | |
CN106537858B (en) | A kind of method and apparatus of queue management | |
CN104521198A (en) | System and method for virtual ethernet interface binding | |
CN107483521A (en) | A kind of information displaying method, apparatus and system | |
CN110519711A (en) | A kind of information push method, device, storage medium and server | |
CN109992542A (en) | A kind of data method for carrying, Related product and computer storage medium | |
CN109857580A (en) | Across the chain contract call method of block chain, device and storage medium | |
CN108985599A (en) | A kind of order allocation method and device | |
CN108650295A (en) | Protocol massages cross-layer communication method device and electronic equipment | |
CN109918203A (en) | Access server memory management optimization method, access server and communication system | |
CN106997351A (en) | A kind of caching resource management method and system and device | |
CN103577469B (en) | Database connection multiplexing method and apparatus | |
CN109600324A (en) | Video communication method, device, computer equipment and storage medium | |
CN106686148A (en) | Method and system for increasing uploading speed of objects in object storage system | |
CN109714326A (en) | A kind of application layer data sequence group packet method, apparatus, equipment and storage medium | |
CN108551485A (en) | A kind of streaming medium content caching method, device and computer storage media | |
CN110324204A (en) | A kind of high speed regular expression matching engine realized in FPGA and method | |
CN109859048A (en) | A kind of technical solution improved with subchain and extend main chain function | |
CN111431921B (en) | Configuration synchronization method | |
CN105727556B (en) | A kind of method of Image Rendering, relevant device and system | |
CN109951532B (en) | DPDK-based automatic flow model conversion device | |
CN105337888B (en) | Load-balancing method, device and virtual switch based on multicore forwarding | |
WO2020119636A1 (en) | Method and device for responding to data access request, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190503 |