CN109688606A - Data processing method, device, computer equipment and storage medium - Google Patents

Data processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109688606A
CN109688606A CN201811634673.7A CN201811634673A CN109688606A CN 109688606 A CN109688606 A CN 109688606A CN 201811634673 A CN201811634673 A CN 201811634673A CN 109688606 A CN109688606 A CN 109688606A
Authority
CN
China
Prior art keywords
data block
data
descriptor
processor
block
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
CN201811634673.7A
Other languages
Chinese (zh)
Other versions
CN109688606B (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201811634673.7A priority Critical patent/CN109688606B/en
Publication of CN109688606A publication Critical patent/CN109688606A/en
Application granted granted Critical
Publication of CN109688606B publication Critical patent/CN109688606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

For the problem that the process time expense for handling data between processor in the prior art is larger, the invention discloses a kind of data processing method, device, computer equipment and storage mediums.This method comprises: by first processor, according to the first protocol stack function set, the first kind data packet of input is handled as at least one data block, and generate at least one descriptor;At least one described data block is for being spliced into Second Type data packet;Pass through second processor, according to the length at least one described descriptor in each descriptor, initial address from the descriptor, copy the corresponding data block of the descriptor, and splice data block copied in the data block and at least one described data block, form the Second Type data packet;The Second Type data packet is handled according to second protocol stack function set by the second processor.

Description

Data processing method, device, computer equipment and storage medium
Technical field
The present invention relates to wireless communication field more particularly to a kind of data processing method, device, computer equipment and storages Medium.
Background technique
In wireless communication procedure, base station end first converts transmission block, then the data packet after conversion is transmitted, whole A complex disposal process degree is higher.And Radio Access Network has the demand of high-throughput, it means that there is a large amount of data packet It transmits, these data packets will also be converted before being transmitted, and therefore, with the increase of data packet number, treatment process can go out Existing bottleneck.
In the prior art, the method that industry uses multiprocessor to cooperate with is to complete the processing to transmission block, to overcome place Manage bottleneck.However, the method for multiprocessor collaboration only improves the data packet number that base station can be handled, but still need first one A processor converts transmission block, carries out this complicated process, then after waiting transmission block conversion by another processor, The transmission block is handled, time overhead is larger.
Therefore, the process time expense for handling data between processor in the prior art larger be one and urgently to be resolved ask Topic.
Summary of the invention
The embodiment of the present application provides a kind of data processing method, device, computer equipment and storage medium, solves existing The problem for having the process time expense for handling data in technology between processor larger.
The embodiment of the present invention provides a kind of data processing method, this method comprises:
By first processor, according to the first protocol stack function set, by the first kind data packet processing of input for extremely A few data block, and generate at least one descriptor;At least one described data block is for being spliced into Second Type data packet; Each descriptor is corresponding with a data block at least one described data block at least one described descriptor, the description Symbol includes the initial address and length of the data block;
By second processor, according to the length at least one described descriptor in each descriptor, from the descriptor In initial address, copy the corresponding data block of the descriptor, and will copy in the data block and at least one described data block The data block of shellfish is spliced, and the Second Type data packet is formed;
The Second Type data packet is handled according to second protocol stack function set by the second processor.
Optionally, if the second processor uses address align from first processor copy data block process Copy mode, then the descriptor of the first data block further include first data block first address and tail address corresponding to data Byte enable instruction, the byte enable instruction is used to indicate the invalid data in first data block;Institute Stating the first data block is any data block at least one described data block;
The second processor is by after first data block copy, according to the byte enable instruction, institute It states invalid data in the first data block to reject, and first data block is eliminated to the data block after invalid data and institute It states copied data block at least one data block to be spliced, forms the Second Type data packet.
Optionally, the mode for copying the corresponding data block of the descriptor is direct memory access DMA mode.
Optionally, corresponding protocol layer in the first protocol stack function set and the second protocol stack function set It includes at least one of the following: physical PHY layer, multiple access access channel MAC layer, control rlc layer and packet data convergence without link layer Face GTP-U layers of PDCP layers of agreement, SDAP layers of service data adapting protocol and general packet radio service technology Tunneling Protocol-User.
It optionally, will at least one described data according to the precedence of each descriptor at least one described descriptor Block is spliced into one Second Type data packet.
In the embodiment of the present invention, by first processor, according to the first protocol stack function set, by the first kind of input Data packet processing be include the Second Type data packet of at least one data block, and for each data block generate one include the number According to the initial address of block and the descriptor of length.According to the length and initial address in each descriptor, without first at first Reason device forms the Second Type data packet that can directly handle of second processor, Second Type data packet by second processor by pair Each data block copy and the mode that the data block after copy is spliced with copied data block is completed by the way, when reducing Between expense.
The embodiment of the present invention provides a kind of computer equipment, including memory, first processor and second processor, described Memory is stored with computer program, and the first processor and second processor realize this hair when executing the computer program A kind of data processing method and optional method that bright embodiment provides.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, when the meter Calculation machine program is performed, and a kind of data processing method and optional method such as provided in an embodiment of the present invention are performed.
The embodiment of the present invention provides a kind of data processing equipment, which includes:
First processing module, for passing through first processor, according to the first protocol stack function set, by the first kind of input The processing of type data packet is at least one data block, and generates at least one descriptor;At least one described data block is for splicing At Second Type data packet;Each descriptor and one at least one described data block at least one described descriptor Data block is corresponding, which includes the initial address and length of the data block;
Data transmission module, for by second processor, according at least one described descriptor in each descriptor Length, the initial address from the descriptor copies the corresponding data block of the descriptor, and by the data block and it is described at least Copied data block splicing, forms the Second Type data packet in one data block;
Second processing module, for by the second processor, according to second protocol stack function set, processing described the Two type data packets.
Optionally, if the second processor uses address align from first processor copy data block process Copy mode, then the descriptor of the first data block further include first data block first address and tail address corresponding to data Byte enable instruction, the byte enable instruction is used to indicate the invalid data in first data block;Institute Stating the first data block is any data block at least one described data block;
The data transmission module is also used to the second processor by after first data block copy, according to institute Byte enable instruction is stated, the invalid data in first data block is rejected, and first data block is eliminated Data block after invalid data is spliced with copied data block at least one described data block, forms described second Type data packets.
Optionally, the data transmission module, for it is corresponding to copy the descriptor with direct memory access DMA mode Data block.
Optionally, corresponding protocol layer in the first protocol stack function set and the second protocol stack function set It includes at least one of the following: physical PHY layer, multiple access access channel MAC layer, control rlc layer and packet data convergence without link layer Face GTP-U layers of PDCP layers of agreement, SDAP layers of service data adapting protocol and general packet radio service technology Tunneling Protocol-User.
Optionally, the data transmission module, successive time for each descriptor at least one descriptor according to At least one described data block is spliced into one Second Type data packet by sequence.
Detailed description of the invention
Fig. 1 is the corresponding schematic diagram for handling transmission block in the prior art of the embodiment of the present invention;
Fig. 2 is the corresponding flow chart of steps of a kind of data processing method that the embodiment of the present invention proposes;
Fig. 3 is the corresponding multiprocessor interaction schematic diagram of a kind of data processing method that the embodiment of the present invention proposes;
Fig. 4 is that a kind of corresponding first kind data packet processing of data processing method provided in an embodiment of the present invention is at least The schematic diagram of one data block;
Fig. 5 is that a kind of at least one corresponding data block of data processing method provided in an embodiment of the present invention is spliced into second The schematic diagram of type data packets;
Fig. 6 is a kind of schematic diagram of the corresponding removal redundant data of data processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of corresponding structural schematic diagram of data processing equipment provided in an embodiment of the present invention.
Specific embodiment
In order to better understand the above technical scheme, below in conjunction with Figure of description and specific embodiment to above-mentioned Technical solution is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the application skill The detailed description of art scheme, rather than the restriction to technical scheme, in the absence of conflict, the embodiment of the present application And the technical characteristic in embodiment can be combined with each other.
As Internet application flourishes, demand of the people to flow is growing day by day, and wireless communication is accessed as flow The most universal mode has obtained lasting evolution development, the evolution including WiMAX, the evolution of mobile broadband, to prop up Hold efficient flow access.But regardless of being mobile broadband or WiMAX, main function is all that upstream bandwidth is converted to Wireless access bandwidth efficiently to support the access of mobile terminal, and then allows the deployable various Internet applications of terminal.Channel radio During letter, base station end first converts transmission block, then the data packet after conversion is transmitted, entire complex disposal process It spends higher.And Radio Access Network has the demand of high-throughput, it means that there is a large amount of data packet to transmit, these data Packet will also be converted before being transmitted, and therefore, with the increase of data packet number, treatment process will appear bottleneck.
As shown in Figure 1, for the corresponding schematic diagram for handling transmission block in the prior art of the embodiment of the present invention.
It is Internet protocol (Internet Protocol, IP) data packet, side of eating dishes without rice or wine that base station, which returns data format used in side, Data format used is that multiple access accesses channel (Multiple Access Channel, MAC) data packet and protocol Data Unit (Protocol Data Unit, PDU) data packet.Therefore, in base station end, need to do packet conversion, the transition period, which can extract, to be belonged to The data packet of same user equipment (User Equipment, UE) passes through general packet radio service technology tunnel at S1 layers first Road agreement (General Packet Radio Service Tunnelling Protocol, GTP) is the GTP PDUs received Header information GTP Hrd is removed, data packet is converted into Packet Data Convergence Protocol (Packet Data Convergence Protocol, PDCP) service data unit (Service Data Unit, SDU).Then increase the head letter of layer toward IP data packet It ceases PDCP Hrd and forms PDCP PDU, the SDU as radio link layer control protocol (Radio Link Control, RLC) layer; Then according to air-interface scheduling resource size, PDCP data packet is cut, then selects several PDCP data packets, including In the presence of the PDCP data packet cut, be stitched together the head information RLC Hrd added again, forms RLC PDU, connects as multiple access Enter the SDU of channel (Multiple Access Channel, MAC) layer, then increases MAC layer head information MAC toward RLC data packet Hrd and filling content Padding, forms MAC PDU, which is passed to (Physical, PHY) physical layer as transmission block, To complete IP packet and packet format conversion of eating dishes without rice or wine, to send and receive signals in wireless side, entire complex disposal process degree is very It is high.And the high demand of handling up of Radio Access Network means have a large amount of data packet to transmit, this certainly will lead to packet conversion process Load increases, and brings challenges directly to the processing capacity of base station.
In the prior art, the method that industry uses multiprocessor to cooperate with is to complete the processing to transmission block, to overcome place Manage bottleneck.However, the method for multiprocessor collaboration only improves the data packet number that base station can be handled, but still need first one A processor converts transmission block, carries out this complicated process, then after waiting transmission block conversion by another processor, The transmission block is handled, time overhead is larger.
Therefore, the process time expense for handling data between processor in the prior art larger be one and urgently to be resolved ask Topic.
As shown in Fig. 2, the corresponding flow chart of steps of a kind of data processing method proposed for the embodiment of the present invention.
Step 201: by first processor, according to the first protocol stack function set, by the first kind data packet of input Processing is Second Type data packet, and generates at least one descriptor.
Step 202: being retouched according to the length in descriptor each at least one descriptor from this by second processor The initial address in symbol is stated, copies the corresponding data block of the descriptor, and will copy in the data block and at least one data block The data block of shellfish is spliced, and the Second Type data packet is formed.
Step 203: the Second Type number is handled according to second protocol stack function set by the second processor According to.
In step 201~step 203, corresponding association in the first protocol stack function set and second protocol stack function set View layer includes at least one of the following: physical PHY layer, multiple access access channel MAC layer, controls rlc layer and packet data without link layer It is PDCP layers of convergence protocol, service data adapting protocol (SDAP, Service Data Adaptation Protocol) layer, general It is grouped wireless service technology Tunneling Protocol-User face (GTP-U, GRPS Tunnelling Protocol-User Plane) layer. It should be noted that corresponding protocol layer is only with above-mentioned association in the first protocol stack function set and second protocol stack function set Discuss layer citing, however it is not limited to above-mentioned protocol layer.It is the embodiment of the present invention that step 201~203, Fig. 3, which is described in detail, below with reference to Fig. 3 A kind of corresponding multiprocessor interaction schematic diagram of the data processing method proposed.
In step 201, the first kind data packet of input first processor 301 is the untreated initial transmission block in base station, Including one or more data blocks.What first kind data packet and Second Type data packet were stored in first processor first deposits In reservoir 3011, need to obtain first kind data packet from first memory 3011.Specifically by the first protocol stack function Ji Chu Reason module 3012 is handled first kind data packet for Second Type data packet according to the first protocol stack function collection.Second Type Data packet includes at least a data block;Each descriptor and one at least one data block at least one descriptor Data block is corresponding, which includes the initial address and length of the data block, at least one descriptor is distributed across one and retouches It states in symbol list, is specifically executed by descriptor configuration module 3013.A kind of optional embodiment is to be retouched according at least one The initial address for stating each descriptor in symbol, determines the arrangement order in descriptor list between each descriptor.By the first of input Type data packets processing is the concrete mode of Second Type data packet are as follows: (1) if the data block needs of first kind data packet are gone Except information such as heads, the initial address and length for recording the data block are only generated;(2) if the data block of first kind data packet needs Corresponding header information of each protocol layer in the first protocol stack function set etc. is added, directly by the corresponding data of the protocol layer The tail portion for first kind data packet that block is added to that treated, and record the initial address and length of the data block.
It should be noted that although at least one data block contains the corresponding data block of each protocol layer, but can't It is directly handled by second processor 302, the sequence of each data block does not adjust also, therefore is being transferred to second processor 302 Second memory 3021 during, it is also necessary to each data at least one data block of Second Type data packet to be formed Block is spliced.
In step 202, since each descriptor includes the initial address of corresponding data block at least one descriptor And length, second processor 302 are copied and are spliced to data block according to each descriptor.Wherein, the descriptor pair is copied A kind of optional way for the data block answered is direct memory access (Direct Memory Access, DMA) mode.
Specifically, second processor 302 gets descriptor list by descriptor receiving module 3023 first, and according to The sequence of each data block in the Second Type data packet that second processor 302 can be handled directly, by data copy control module 3022 are successively copied and are spliced to each data block.It is already described in step 201, it is respectively retouched according to according at least one descriptor The initial address for stating symbol determines the arrangement order in descriptor list between each descriptor.The directly basis of second processor 302 should Arrangement order at least a data block will be spliced into Second Type data packet.Specifically, second processor 302 is described from one The initial address of symbol starts to copy, and until the length until copying data reaches the data length recorded in descriptor, and will copy This data block of shellfish is directly appended to copied data block by arrangement order.
If the first data block uses alignment of data mode storing data, a kind of optional embodiment of the step is, the The descriptor of one data block further include the first data block first address and tail address corresponding to data the enabled instruction letter of byte Breath, byte enable instruction are used to indicate the invalid data in the first data block;First data block is at least one data block Middle any data block;Second processor is by after the first data block copy, according to byte enable instruction, the first data block In invalid data reject, and the first data block eliminated in data block and at least one data block after invalid data The data block of copy is spliced, and Second Type data packet is formed.
In step 203, second processor 302 will at least data block splicing after, being formed directly to be handled Second Type data packet.Second protocol stack function collection processing module 3024 in second protocol stack function set further according to being related to Each agreement layer function, handles Second Type data packet.
For one of step 201~step 203 data processing method and optional embodiment, the embodiment of the present invention is mentioned For a kind of computer equipment, including memory, first processor and second processor, it is stored with computer program in memory, The first processor and second processor are used to realize step 201~step 203 by executing the computer program.
For one of step 201~step 203 data processing method and optional embodiment, the embodiment of the present invention is mentioned For a kind of computer readable storage medium, it is stored thereon with computer program, which, which is performed, realizes step 201 ~step 203.
A kind of specific embodiment of data processing method is described with specific embodiment below:
As shown in figure 4, being at a kind of corresponding first kind data packet of data processing method provided in an embodiment of the present invention Reason is the schematic diagram of at least one data block.
The memory space that first processor distribution storage size is 64MB is used as the reception caching of IP data packet, base Address is BaseAddrForIPData;And it distributes the memory allocation that storage size is 8MB and is used as the slow of information It deposits, base address is denoted as BaseAddrForHrd.Transmission Time Interval corresponding to the T0 moment, by receive three IP data Packet is buffered in the memory space of BaseAddrForIPData direction.At least one data block is GTP1 Hdr to idle sub-block Transmission block.
This Transmission Time Interval, the resource size that Resource Scheduler is scheduled to user 1 can just load 2.5 IP data Packet, therefore, first processor is first according to data packet transformation processing step, by GTP1 Hdr, GTP2 Hdr, GTP3 Hdr and free time After sub-block removal, PDCP Hrd first is added to the load of three IP data packets, RLC Hrd is then added again, finally adds MAC Hrd and Padding, thereby determines that, current transmission time interval, and Second Type data packet is made of 9 data blocks, i.e., one MAC Hrd, RLC Hrd, three PDCP Hrd, three IP load, a Padding.Therefore, processor 1 needs to form Descriptor list including 9 descriptors, each descriptor respectively correspond the starting point of a data block in above-mentioned 9 data blocks Location and data length, it is contemplated that the forming process of entire transmission block, orderliness arranges between different sub-blocks, therefore, descriptor list The arrangement of middle descriptor need to be consistent with the arrangement order of data block each in transmission block, ultimately forms descriptor list, each description Symbol includes the initial address and length of corresponding data block, i.e. { startAi, Leni } in Fig. 4, i=0, and 1 ..., 8, it is sent to the Two processors.
As shown in figure 5, being spelled for a kind of at least one corresponding data block of data processing method provided in an embodiment of the present invention It is connected in the schematic diagram of Second Type data packet.
After second processor receives descriptor list, each descriptor is taken out one by one, the starting being directed toward according to descriptor Address and data length from the first memory of first processor copy data to the second memory of second processor, complete At the data splicing of a transmission block, spliced storage form is a complete transmission block as shown in Figure 5, i.e. Second Type Data packet.
Second processor then triggers the fortune of second protocol layer function set after the copy for completing Second Type data packet It calculates, is finally completed the processing of a transmission block.It should be noted that being copied if first processor carries out data from second processor The process of shellfish, can only according to certain bit wide be aligned be copied (such as 32 bit aligneds), and the storage of data block data be by It is aligned (such as 8 bit aligneds) stored according to another bit wide, then data block data copy procedure is carried out based on descriptor The head and the tail of each data block can be caused the byte data of some redundancies occur due to being copied according to 32 bit aligneds, that is, schemed Blank lattice in 6, eventually leads to after the data copy of different data block or can not stringent Coutinuous store.
Therefore, it is necessary to increase the operation for rejecting the invalid data being mingled between data block in data copy control module, After guaranteeing data copy with this, stringent Coutinuous store between the data block in second memory.Specifically, Second Type in Fig. 6 Data packet and each data block all store from right to left.For example, 0 first effective byte data of data block are D0B0, therefore data block 0 is stored to Second Type data packet directly since D0B0 and is similarly also skipped in data block 0 Remaining redundant data.After a data block end of transmission, next data block proposes redundant data still according to aforesaid way, Finally obtain the Second Type data packet of a stringent Coutinuous store.
In the prior art, first processor need disperse in first processor memory IP data sub-block, head Information Number It is spliced into one shown in fig. 5 complete Second Type data packet according to sub-block, then this complete transmission block is sent to second Processor, entire treatment process cause at first processor since first processor needs to complete the splicing of mass data packet Reason is time-consuming to be increased, the final process performance for influencing whole system.And the solution of the present invention is used, since first processor is to transmission The treatment process of block only needs to calculate the packet number for constituting a transmission block and corresponding header packet information generates, sub-block data Splicing completed by the way by copy procedure, expense is not introduced, so that first processor is not necessarily to enormous amount and storage address point Scattered sub-block does copy splicing, and the time overhead of first processor is effectively reduced, improves the processing capacity of whole system.This hair It is bright to be spelled by handling sub-block data in sharing data packet format conversion process using data transmission procedure between processor for protocol stack It is connected into the operation of this high complexity of complete transmission block, the processing of significant increase whole system is handled up.
In the embodiment of the present invention, by first processor, according to the first protocol stack function set, by the first kind of input Data packet processing be include the Second Type data packet of at least one data block, and for each data block generate one include the number According to the initial address of block and the descriptor of length.According to the length and initial address in each descriptor, without first at first Reason device forms the Second Type data packet that can directly handle of second processor, Second Type data packet by second processor by pair Each data block copy and the mode that the data block after copy is spliced with copied data block is completed by the way, when reducing Between expense.
As shown in fig. 7, being a kind of corresponding structural schematic diagram of data processing equipment provided in an embodiment of the present invention.
The embodiment of the present invention provides a kind of data processing equipment, which includes:
First processing module 701, for by first processor, according to the first protocol stack function set, by the of input The processing of one type data packets is at least one data block, and generates at least one descriptor;At least one described data block is used for It is spliced into Second Type data packet;In at least one described descriptor each descriptor at least one described data block One data block is corresponding, which includes the initial address and length of the data block;
Data transmission module 702, for passing through second processor, according to each descriptor at least one described descriptor In length, the initial address from the descriptor copies the corresponding data block of the descriptor, and by the data block and it is described extremely Copied data block splicing, forms the Second Type data packet in a few data block;
Second processing module 703, for handling institute according to second protocol stack function set by the second processor State Second Type data packet.
Optionally, if the second processor uses address align from first processor copy data block process Copy mode, then the descriptor of the first data block further include first data block first address and tail address corresponding to data Byte enable instruction, the byte enable instruction is used to indicate the invalid data in first data block;Institute Stating the first data block is any data block at least one described data block;
The data transmission module 702, is also used to the second processor for after first data block copy, according to The byte enable instruction rejects the invalid data in first data block, and first data block is rejected Data block after invalid data is spliced with copied data block at least one described data block, forms described the Two type data packets.
Optionally, the data transmission module 702, it is corresponding for direct memory access DMA mode, copying the descriptor Data block.
Optionally, corresponding protocol layer in the first protocol stack function set and the second protocol stack function set It includes at least one of the following: physical PHY layer, multiple access access channel MAC layer, control rlc layer and packet data convergence without link layer Face GTP-U layers of PDCP layers of agreement, SDAP layers of service data adapting protocol and general packet radio service technology Tunneling Protocol-User.
Optionally, the data transmission module 702, for according at least one described descriptor each descriptor it is successive At least one described data block is spliced into one Second Type data packet by order.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of data processing method characterized by comprising
By first processor, according to the first protocol stack function set, it is at least one that the first kind data packet of input, which is handled, A data block, and generate at least one descriptor;At least one described data block is for being spliced into Second Type data packet;It is described Each descriptor is corresponding with a data block at least one described data block at least one descriptor, the descriptor packet Include the initial address and length of the data block;
Through second processor, according to the length at least one described descriptor in each descriptor, from the descriptor Initial address, copies the corresponding data block of the descriptor, and by the data block with it is copied at least one described data block Data block splicing, forms the Second Type data packet;
The Second Type data packet is handled according to second protocol stack function set by the second processor.
2. the method as described in claim 1 characterized by comprising
If the second processor uses the copy mode of address align from first processor copy data block process, The descriptor of first data block further include first data block first address and tail address corresponding to data byte it is enabled Indicate information, the byte enable instruction is used to indicate the invalid data in first data block;First data Block is any data block at least one described data block;
The second processor is by after first data block copy, according to the byte enable instruction, described Invalid data in one data block is rejected, and first data block eliminated the data block after invalid data and it is described extremely Copied data block is spliced in a few data block, forms the Second Type data packet.
3. the method as described in claim 1, which is characterized in that the mode for copying the corresponding data block of the descriptor is, Direct memory access DMA mode.
4. method a method according to any one of claims 1-3 characterized by comprising
In the first protocol stack function set and the second protocol stack function set corresponding protocol layer include with down toward One item missing: physical PHY layer, multiple access access channel MAC layer, controlled without link layer PDCP layers of rlc layer and Packet Data Convergence Protocol, SDAP layers and face GTP-U layers of general packet radio service technology Tunneling Protocol-User of service data adapting protocol.
5. method a method according to any one of claims 1-3, which is characterized in that further include:
According to the precedence of each descriptor at least one described descriptor, at least one described data block is spliced into described One Second Type data packet.
6. a kind of data processing equipment characterized by comprising
First processing module, for passing through first processor, according to the first protocol stack function set, by the first kind number of input It is at least one data block according to packet processing, and generates at least one descriptor;At least one described data block is for being spliced into the Two type data packets;Each descriptor and a data at least one described data block at least one described descriptor Block is corresponding, which includes the initial address and length of the data block;
Data transmission module, for passing through second processor, according to the length at least one described descriptor in each descriptor Degree, the initial address from the descriptor copy the corresponding data block of the descriptor, and by the data block and it is described at least one Copied data block splicing, forms the Second Type data packet in data block;
Second processing module, for handling second class according to second protocol stack function set by the second processor Type data packet.
7. device as claimed in claim 6 characterized by comprising
If the second processor uses the copy mode of address align from first processor copy data block process, The descriptor of first data block further include first data block first address and tail address corresponding to data byte it is enabled Indicate information, the byte enable instruction is used to indicate the invalid data in first data block;First data Block is any data block at least one described data block;
The data transmission module is also used to the second processor by after first data block copy, according to the word Enable instruction is saved, the invalid data in first data block is rejected, and first data block is eliminated in vain Data block after data is spliced with copied data block at least one described data block, forms the Second Type Data packet.
8. device as claimed in claim 6, which is characterized in that
The data transmission module, for copying the corresponding data block of the descriptor with direct memory access DMA mode.
9. a kind of computer equipment, including memory, first processor and second processor, the memory are stored with computer Program, which is characterized in that the first processor and second processor realize claim 1-5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, which is characterized in that described The step of claim 1 to 5 any one the method is realized when computer program is executed by processor.
CN201811634673.7A 2018-12-29 2018-12-29 Data processing method and device, computer equipment and storage medium Active CN109688606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811634673.7A CN109688606B (en) 2018-12-29 2018-12-29 Data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811634673.7A CN109688606B (en) 2018-12-29 2018-12-29 Data processing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109688606A true CN109688606A (en) 2019-04-26
CN109688606B CN109688606B (en) 2022-03-25

Family

ID=66191097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811634673.7A Active CN109688606B (en) 2018-12-29 2018-12-29 Data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109688606B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474924A (en) * 2019-09-17 2019-11-19 京信通信系统(中国)有限公司 Data transmission method, device, computer equipment and storage medium
CN112445525A (en) * 2019-09-02 2021-03-05 中科寒武纪科技股份有限公司 Data processing method, related device and computer readable medium
CN113360448A (en) * 2021-06-04 2021-09-07 展讯通信(上海)有限公司 Data packet processing method and device
CN118069578A (en) * 2024-04-19 2024-05-24 北京壁仞科技开发有限公司 Data processing method, data transmission system, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038895A1 (en) * 2003-08-14 2005-02-17 Ansari Mohamed Method and apparatus for sending data from one protocol layer to another
CN101163129A (en) * 2006-10-09 2008-04-16 北京航空航天大学 Method of reducing message transmission overhead of parallel multi-digital signal processor
CN106598752A (en) * 2016-11-15 2017-04-26 北京大学深圳研究生院 Remote zero-copy method
CN107332909A (en) * 2017-07-03 2017-11-07 中兴通讯股份有限公司 A kind of method and device for realizing data transfer
CN107889163A (en) * 2016-09-30 2018-04-06 华为技术有限公司 Data processing method, apparatus and system
US20180139650A1 (en) * 2015-01-02 2018-05-17 Lg Electronics Inc Broadcast signal transmission apparatus, broadcast signal receiving apparatus, broadcast signal transmission method, and broadcast signal receiving method
CN108696900A (en) * 2017-04-11 2018-10-23 中国移动通信有限公司研究院 A kind of packaging method of data packet, analytic method, device and equipment
CN108809540A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Data processing method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038895A1 (en) * 2003-08-14 2005-02-17 Ansari Mohamed Method and apparatus for sending data from one protocol layer to another
CN101163129A (en) * 2006-10-09 2008-04-16 北京航空航天大学 Method of reducing message transmission overhead of parallel multi-digital signal processor
US20180139650A1 (en) * 2015-01-02 2018-05-17 Lg Electronics Inc Broadcast signal transmission apparatus, broadcast signal receiving apparatus, broadcast signal transmission method, and broadcast signal receiving method
CN107889163A (en) * 2016-09-30 2018-04-06 华为技术有限公司 Data processing method, apparatus and system
CN106598752A (en) * 2016-11-15 2017-04-26 北京大学深圳研究生院 Remote zero-copy method
CN108696900A (en) * 2017-04-11 2018-10-23 中国移动通信有限公司研究院 A kind of packaging method of data packet, analytic method, device and equipment
CN108809540A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Data processing method and equipment
CN107332909A (en) * 2017-07-03 2017-11-07 中兴通讯股份有限公司 A kind of method and device for realizing data transfer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445525A (en) * 2019-09-02 2021-03-05 中科寒武纪科技股份有限公司 Data processing method, related device and computer readable medium
CN110474924A (en) * 2019-09-17 2019-11-19 京信通信系统(中国)有限公司 Data transmission method, device, computer equipment and storage medium
CN113360448A (en) * 2021-06-04 2021-09-07 展讯通信(上海)有限公司 Data packet processing method and device
CN113360448B (en) * 2021-06-04 2023-04-07 展讯通信(上海)有限公司 Data packet processing method and device
CN118069578A (en) * 2024-04-19 2024-05-24 北京壁仞科技开发有限公司 Data processing method, data transmission system, electronic device and storage medium

Also Published As

Publication number Publication date
CN109688606B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN109688606A (en) Data processing method, device, computer equipment and storage medium
US6246683B1 (en) Receive processing with network protocol bypass
US7561573B2 (en) Network adaptor, communication system and communication method
US7505483B2 (en) Apparatus for transmitting WPAN MAC frames and method thereof
CN107634915A (en) Data transmission method, device and storage medium
CN109768939A (en) A kind of labeling network stack method and system for supporting priority
CN107257329A (en) A kind of data sectional unloads sending method
US20100150174A1 (en) Stateless Fibre Channel Sequence Acceleration for Fibre Channel Traffic Over Ethernet
CN101340574A (en) Method and system realizing zero-copy transmission of stream media data
JP2007266759A (en) Network processing apparatus, multiprocessor system, and network protocol processing method
US20160266925A1 (en) Data forwarding
US8194561B2 (en) Packet relay device and method for transferring packet therein
CN102204183A (en) Message order-preserving processing method, order-preserving coprocessor and network equipment
CN107404396B (en) A kind of data transmission method and device
CN109803016A (en) A kind of method and apparatus using virtual switch forwarding data packet
CN109996261B (en) Data transmission method and device based on MAC layer data packet replication
CN103795655A (en) Data transmission method and data transmission device
Wang et al. A multipath QUIC scheduler for mobile HTTP/2
CN104350488A (en) Systems and methods for selective data redundancy elimination for resource constrained hosts
JP2009218743A (en) Ip protocol processor and its processing method
CN115733832A (en) Computing device, message receiving method, programmable network card and storage medium
CN109614345B (en) Memory management method and device for communication between protocol layers
CN110572850A (en) method, device, equipment and storage medium for caching and processing service data by 5G base station
CN110445580B (en) Data transmission method and device, storage medium, and electronic device
CN114095901A (en) Communication data processing method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant