CN113630812B - Method for processing RLC data packet in multi-core mode - Google Patents
Method for processing RLC data packet in multi-core mode Download PDFInfo
- Publication number
- CN113630812B CN113630812B CN202110891594.XA CN202110891594A CN113630812B CN 113630812 B CN113630812 B CN 113630812B CN 202110891594 A CN202110891594 A CN 202110891594A CN 113630812 B CN113630812 B CN 113630812B
- Authority
- CN
- China
- Prior art keywords
- cpu
- rlc
- pdu
- priority
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 title claims abstract description 13
- 238000012163 sequencing technique Methods 0.000 claims abstract description 11
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 4
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/505—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/6215—Individual queue per QOS, rate or priority
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention creates CPU priority queue and receives RLC SN PDU; CPU is allocated corresponding to the RLC SN; when the corresponding RLC SN distributes the CPU as Y, the corresponding CPU processes data, and then whether the corresponding PLC PDU slicing is accepted to be completed or not is carried out; returning to the received RLC SN PDU when the PLC PDU slicing result is y, and carrying out corresponding CPU priority +N when the corresponding PLC PDU slicing result is N, sequencing the CPU priorities, and normalizing to 0-N-1; when the CPU is assigned as N corresponding to the RLC SN, data is assigned to the CPU with the priority of 0, whether the corresponding RLC PDU is fragmented or not is judged, and the step (3) is returned to when N is judged; when the corresponding RLC PDU is Y, the corresponding CPU priority +N is carried out, the CPU priority is ordered and normalized to 0-N-1, and the RLC PDU data processing route is optimized; optimizing a CPU scheduling algorithm; equalizing the CPU load; and communication overhead among CPUs is reduced.
Description
Technical Field
The invention relates to the technical field of wireless communication, in particular to a method for processing RLC data packets in a multi-core mode.
Background
In the fifth generation 5G network, the radio link control protocol RLC layer is located above the MAC layer, and provides segmentation and retransmission services for users and control data; each RLC entity is configured by RRC and there are three modes depending on the type of service: transparent Mode (TM), unacknowledged Mode (UM), acknowledged Mode (AM), but how multi-core mode processing is not a good approach.
Disclosure of Invention
The invention aims to solve the problems in the prior art by providing a method for processing RLC data packets in a multi-core mode, which reduces communication overhead between CPUs and optimizes the processing of the RLC data.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a method for processing RLC data packets in a multi-core mode, comprising the steps of,
(1) Firstly, creating CPU priority queue numbers 0-N-1;
(2) Receiving RLC SN PDU;
(3) CPU is allocated corresponding to RLC SN;
(4) When the step (3) is Y, the corresponding CPU processes data, and then whether the corresponding PLC PDU slicing is accepted to be completed or not is carried out;
(5) Returning to the step (2) when the result of the step (4) is y, and carrying out corresponding CPU priority +N and CPU priority sequencing when the result of the step (4) is N, wherein the CPU priority sequencing is normalized to 0-N-1;
(6) When the step (3) is N, data is distributed to a CPU with the priority of 0, whether the corresponding RLC PDU is fragmented or not is judged, and when the step (2) is returned to;
(7) And (3) when the corresponding RLC PDU in the step (6) is Y, carrying out corresponding CPU priority +N, sequencing the CPU priorities, and normalizing the CPU priorities to 0-N-1.
In step (1), the numbers 0 to N-1,0 are the highest priority, and N is the CPU core number.
Further, in step (2), a plurality of state variables for the RLC entity are set to initial values, wherein the initial values are RLC sequence numbers SN for a first RLC PDU of the RLC entity.
Further, the RLC SN is configured by radio resource control and operates in three modes of TM, UM, and AM in step (3).
Further, the PLC PDU includes sequence number information, which supports sequential or out-of-order delivery of data to higher layers.
Compared with the prior art, the invention has the following beneficial effects: the invention creates CPU priority queue and receives RLC SN PDU; CPU is allocated corresponding to the RLC SN; when the corresponding RLC SN distributes the CPU as Y, the corresponding CPU processes data, and then whether the corresponding PLC PDU slicing is accepted to be completed or not is carried out; returning to the received RLC SN PDU when the PLC PDU slicing result is y, and carrying out corresponding CPU priority +N when the corresponding PLC PDU slicing result is N, sequencing the CPU priorities, and normalizing to 0-N-1; when the CPU is assigned as N corresponding to the RLC SN, data is assigned to the CPU with the priority of 0, whether the corresponding RLC PDU is fragmented or not is judged, and the step (3) is returned to when N is judged; when the corresponding RLC PDU is Y, the corresponding CPU priority +N is carried out, the CPU priority is ordered and normalized to 0-N-1, and the RLC PDU data processing route is optimized; optimizing a CPU scheduling algorithm; equalizing the CPU load; and communication overhead among CPUs is reduced.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
Fig. 1 is a flowchart of a method for processing RLC data packets in a multi-core mode according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement of the purpose and the effect of the present invention more clear and easy to understand, the present invention is further described below with reference to the accompanying drawings and the detailed description:
the invention provides a method for processing RLC data packets in a multi-core mode, which comprises the following steps,
(1) Firstly, creating CPU priority queue numbers 0-N-1; firstly, searching a key of a corresponding type through the key type on a port to obtain an index of associated data, obtaining corresponding associated data according to the index of the associated data, and setting a corresponding marking action to point to a CPU in the associated data; the numbers 0 to N-1,0 are the highest priority, N is the CPU core number, and the CPU numbers start from CPU 0;
(2) Receiving RLC SN PDU; the RLC PDU is RLC UMD (Un unacknowledged mode data) PDU;
(3) CPU is allocated corresponding to RLC SN;
(4) When the step (3) is Y, the corresponding CPU processes data, and then whether the corresponding PLC PDU slicing is accepted to be completed or not is carried out; the PLC PDU contains sequence number information, which supports the sequential or disordered delivery of data to the higher layer; the AM mode carries out packet data transmission on the PLC PDU; in AM mode, RLC SN transmits and can be guaranteed to be delivered to peer entities;
(5) Returning to the step (2) when the result of the step (4) is y, and carrying out corresponding CPU priority +N and CPU priority sequencing when the result of the step (4) is N, wherein the CPU priority sequencing is normalized to 0-N-1;
(6) When the step (3) is N, data is distributed to a CPU with the priority of 0, whether the corresponding RLC PDU is fragmented or not is judged, and when the step (3) is N, the step (3) is returned; namely, informing the PLC entity of the opposite terminal to retransmit the PDU;
(7) And (3) when the corresponding RLC PDU in the step (6) is Y, carrying out corresponding CPU priority +N, sequencing the CPU priorities, and normalizing the CPU priorities to 0-N-1.
In step (2), receiving a first RLC PDU for the RLC entity from the peer UE; establishing an RLC entity to process the first RLC PDU; setting a plurality of state variables for the RLC entity to an initial value, wherein the initial value is an RLC sequence number SN for a first RLC PDU of the RLC entity; and processing the first RLC PDU using a plurality of state variables for the RLC entity set as RLC SN for the first RLC PDU of the RLC entity.
The RLC entity is controlled by the radio link and RLC PDUs are transmitted as protocol data sheets.
The RLC SN is configured by the radio resource control and operates in three modes of TM, UM and AM in step (3).
Finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered by the scope of the claims of the present invention.
Claims (1)
1. A method for processing RLC data packets in a multi-core mode, wherein: comprises the steps of,
(1) Firstly, creating CPU priority queue numbers 0-N-1; firstly, searching a key of a corresponding type through the key type on a port to obtain an index of associated data, obtaining corresponding associated data according to the index of the associated data, and setting a corresponding marking action to point to a CPU in the associated data; the numbers 0-N-1, 0 are the highest priority, N is the CPU core number, and the CPU numbers start from CPU 0;
(2) Receiving RLC SN PDU; receiving a first RLC PDU for an RLC entity from a peer UE; establishing an RLC entity to process the first RLC PDU; setting a plurality of state variables for the RLC entity to an initial value, wherein the initial value is an RLC sequence number SN for a first RLC PDU of the RLC entity;
(3) CPU is allocated corresponding to RLC SN; the RLC SN is configured by radio resource control and operates in three modes of TM, UM and AM;
(4) When the step (3) is Y, the corresponding CPU processes data, and then whether the corresponding PLC PDU slicing is accepted to be completed or not is carried out; the PLC PDU contains sequence number information, which supports the sequential or disordered delivery of data to the higher layer; the AM mode carries out packet data transmission on the PLC PDU; in AM mode, RLC SN transmits and can be guaranteed to be delivered to peer entities;
(5) Returning to the step (2) when the result of the step (4) is y, and carrying out corresponding CPU priority +N and CPU priority sequencing when the result of the step (4) is N, wherein the CPU priority sequencing is normalized to 0-N-1;
(6) When the step (3) is N, data is distributed to a CPU with the priority of 0, whether the corresponding RLC PDU is fragmented or not is judged, and when the step (2) is returned to;
(7) And (6) when the corresponding RLC PDU is Y, carrying out corresponding CPU priority +N, sequencing the CPU priorities, and normalizing the CPU priorities to 0-N-1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110891594.XA CN113630812B (en) | 2021-08-04 | 2021-08-04 | Method for processing RLC data packet in multi-core mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110891594.XA CN113630812B (en) | 2021-08-04 | 2021-08-04 | Method for processing RLC data packet in multi-core mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113630812A CN113630812A (en) | 2021-11-09 |
CN113630812B true CN113630812B (en) | 2024-05-31 |
Family
ID=78382750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110891594.XA Active CN113630812B (en) | 2021-08-04 | 2021-08-04 | Method for processing RLC data packet in multi-core mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113630812B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101389144A (en) * | 2008-10-20 | 2009-03-18 | 深圳华为通信技术有限公司 | Routing region updating method and communication terminal |
CN101517539A (en) * | 2006-09-29 | 2009-08-26 | 高通股份有限公司 | Method and apparatus for managing resources at a wireless device |
CN105163397A (en) * | 2015-08-06 | 2015-12-16 | 大唐移动通信设备有限公司 | Message sending method and device |
CN108667573A (en) * | 2017-04-01 | 2018-10-16 | 华为技术有限公司 | A kind of data processing method, device and relevant device |
CN110326357A (en) * | 2017-04-01 | 2019-10-11 | 华为技术有限公司 | Data processing method and equipment |
CN112566256A (en) * | 2020-12-01 | 2021-03-26 | 重庆重邮汇测电子技术研究院有限公司 | Method for sending protocol data unit based on RLC UM mode |
-
2021
- 2021-08-04 CN CN202110891594.XA patent/CN113630812B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101517539A (en) * | 2006-09-29 | 2009-08-26 | 高通股份有限公司 | Method and apparatus for managing resources at a wireless device |
CN101389144A (en) * | 2008-10-20 | 2009-03-18 | 深圳华为通信技术有限公司 | Routing region updating method and communication terminal |
CN105163397A (en) * | 2015-08-06 | 2015-12-16 | 大唐移动通信设备有限公司 | Message sending method and device |
CN108667573A (en) * | 2017-04-01 | 2018-10-16 | 华为技术有限公司 | A kind of data processing method, device and relevant device |
CN110326357A (en) * | 2017-04-01 | 2019-10-11 | 华为技术有限公司 | Data processing method and equipment |
CN112566256A (en) * | 2020-12-01 | 2021-03-26 | 重庆重邮汇测电子技术研究院有限公司 | Method for sending protocol data unit based on RLC UM mode |
Also Published As
Publication number | Publication date |
---|---|
CN113630812A (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104469853B (en) | The method for transmitting RLC data block | |
CN101099325B (en) | Methods and media access controller for broadband wireless communications with variable data unit size and delayed data unit construction | |
CN101939936B (en) | Method and arrangement in a telecommunication system | |
WO2017000840A1 (en) | Data transmission method and apparatus | |
EP1774691A1 (en) | System and method for increasing data throughput using a block acknowledgement | |
US20220201606A1 (en) | Apparatus and method for traffic delay information request and traffic offset alignment | |
CN110199541B (en) | Method and apparatus for processing data in a wireless communication system | |
RU2701523C1 (en) | System and method of providing synchronization in transmissions in a mode without connection | |
JP4060181B2 (en) | Data transmission protocol | |
WO2018082595A1 (en) | Data transmission method and device, and base station | |
EP1453338A1 (en) | Packet data resending control method and apparatus therefor | |
KR100972166B1 (en) | Method and terminal for PDU reordering in wireless communication system | |
CN103281167A (en) | Mixed automatic retransmission method based on LTE downlink system | |
CN102271364A (en) | Data packet transmission method, device and system | |
WO2006070484A1 (en) | Communication control method, wireless communication system, and wireless communication device | |
CN112566256B (en) | Method for sending protocol data unit based on RLC UM mode | |
CN113630812B (en) | Method for processing RLC data packet in multi-core mode | |
CN107592975A (en) | Multi-user's multiple-input and multiple-output is dispatched | |
JP7502691B2 (en) | Wireless communication device, wireless communication method, and wireless communication system | |
CN102612060B (en) | Evaluation method based on entropy value calculation and used for compatibility of cross-layer design | |
JP6338694B2 (en) | RLC layer data packet processing method and RLC entity | |
CN110858794B (en) | Multi-frequency band transmission method and device | |
CN107612871A (en) | A kind of data transmission processing method, user terminal, the network equipment and system | |
CN113141631B (en) | Dual-connection data distribution method, device, equipment and storage medium | |
EP4319433A1 (en) | Trigger frame for uplink resource allocation |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |