CN106851667A - A kind of data processing method and device for air protocol data surface - Google Patents

A kind of data processing method and device for air protocol data surface Download PDF

Info

Publication number
CN106851667A
CN106851667A CN201710044159.7A CN201710044159A CN106851667A CN 106851667 A CN106851667 A CN 106851667A CN 201710044159 A CN201710044159 A CN 201710044159A CN 106851667 A CN106851667 A CN 106851667A
Authority
CN
China
Prior art keywords
user data
hardware
cell
threads
hardware core
Prior art date
Application number
CN201710044159.7A
Other languages
Chinese (zh)
Other versions
CN106851667B (en
Inventor
黄勇
吴治鸣
Original Assignee
京信通信系统(广州)有限公司
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 京信通信系统(广州)有限公司 filed Critical 京信通信系统(广州)有限公司
Priority to CN201710044159.7A priority Critical patent/CN106851667B/en
Publication of CN106851667A publication Critical patent/CN106851667A/en
Application granted granted Critical
Publication of CN106851667B publication Critical patent/CN106851667B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline, look ahead using a plurality of independent parallel functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic or resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management, e.g. wireless traffic scheduling or selection or allocation of wireless resources
    • H04W72/12Dynamic Wireless traffic scheduling ; Dynamically scheduled allocation on shared channel
    • H04W72/1205Schedule definition, set-up or creation
    • H04W72/1252Schedule definition, set-up or creation based on load

Abstract

The invention discloses a kind of data processing method and device for air protocol data surface, the hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;The relation of the hardware core total number Y of the number of cells N and base station supported is needed according to the base station, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer;Hardware core total number Y and the hardware check figure M1 for processing the scheduling of cell media access control MAC layer according to the base station, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.Reasonable distribution is carried out by by hardware core sum, the hardware core for the treatment of cell MAC layer scheduling is specifically divided into, quantity is M1;And the hardware core of processes user data, quantity is M2.Using polycaryon processor classification parallel processing reach meet LTE air protocol stack data surfaces it is high handle up, multiple cell, multi-user purpose.

Description

A kind of data processing method and device for air protocol data surface

Technical field

It is directed to the present invention relates to LTE (Long Term Evolution, Long Term Evolution) technical field, more particularly to one kind The data processing method and device of air protocol data surface.

Background technology

LTE as forth generation mobile communication one of standard technique, be a kind of to be designed exclusively for movement broadband application high Wireless communication standard.Wave point can be divided into three protocol layers:Physical layer L1, data link layer L2 and Internet L3, such as Fig. 1 It is shown.

The data surface L2 of LTE radio communication air protocols includes PDCP (Packet Data Convergence Protocol, PDCP) layer, RLC (Radio Link Control, radio link control) layers and MAC (Media Access Control, media access control protocol) layer.It is PDCP layers of responsible data header compression/de-compression, complete Property protection, encryption/decryption, PDCP SN (Serial Number, sequence number) are safeguarded, sequentially submitted, switch data is switched and determined When abandon etc. function;Rlc protocol layer is responsible for TM (Transparent Mode, transparent transmission mode), UM (Unacknowledged Mode, Unacknowledged Mode) and AM (Acknowledged Mode, affirmation mode) Three models data transmission, data point Section, cascade, again restructuring, the function such as segmentation and ARQ (Automatic Repeat Request, HARQ);MAC protocol The responsible logic channel of layer and transmission channel mapping, logic channel multiplexing and demultiplexing, HARQ (Hybrid Automatic Repeat Request, hybrid automatic repeat-request), dynamic dispatching, semi-persistent scheduling and transformat selection etc. function.

In the data surface flow chart of data processing of existing LTE air protocols, for downlink data transmission, PDCP is to coming from The packet on upper strata increases PDCP header informations, enter wardrobe compresses and is sent to RLC after encrypting;RLC is to from the wireless of PDCP Link control layers service data unit is segmented according to the scheduling designated length of MAC layer, cascaded, fill and process and increase corresponding PDU portion information, formed protocol data unit of wireless links control layer;Then MAC layer is by from Different Logic channel , to transmission channel, multiplexing process is based on one group of set TB (Transport Block, transmission block) size and transmission for data-reusing Form, is related to concatenate, fills, increases corresponding MAC header information and MAC control information formation MAC PDU (Protocol Data Unit, protocol Data Unit) operation;Bottom is sent to by the TB formed after MAC treatment, by wireless hair of eating dishes without rice or wine It is sent to terminal.

In the data surface flow chart of data processing of existing LTE air protocols, for transmitting uplink data, MAC layer will be upper The data that row is received carry out MAC header, demultiplex, by the data is activation after demultiplexing to RLC, while by after demultiplexing MAC control information is sent to MAC scheduling;RLC carries out PDU portion to the data for receiving, and PDCP is sent to after restructuring;PDCP Data to receiving are decrypted, solve head compression and remove PDCP heads, and packet is sequentially then delivered into upper strata.

Under single carrier case, LTE message transmission rates are up up to 50Mbps, descending up to 100Mbps, poly- in carrier wave In the case of conjunction, speed is even more and forms multiple increase according to the variable number of polymerization, while as intelligent terminal is sharply increased, It is required that the number of users that base station is supported is improved in the order of magnitude.However, the data plane architecture base of the 2G and 3G air protocols of prior art In the design architecture of deployment software single thread or multithreading on monokaryon or multinuclear hardware processor, it is difficult to meet LTE two-forties The requirement of performance.

In sum, the data plane architecture of existing air protocol cannot meet it is high handle up, multiple cell, the LTE of multi-user The requirement of base station equipment data surface.

The content of the invention

The present invention provides a kind of data processing method and device for air protocol data surface, is used to solve prior art The data plane architecture of middle air protocol cannot meet it is high handle up, multiple cell, the LTE base station device data face of multi-user require asks Topic.

The embodiment of the present invention provides a kind of data processing method for air protocol data surface, including:

The hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;

The relation of the hardware core total number Y of the number of cells N and base station supported is needed according to the base station, it is determined that being used for The hardware check figure M1 for the treatment of cell MAC layer scheduling;

Hardware core total number Y according to the base station and described for processing the hard of cell media access control MAC layer scheduling Part check figure M1, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.

It is preferred that the relation of the hardware core total number Y of the number of cells N and base station supported is needed according to the base station, It is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer, including:

Taking a hardware core according to each cell carries out cell MAC layer scheduling, and each cell is taken at a hardware core The principle of user data is managed, determines Y whether more than or equal to 2N;

In Y >=2N, it is determined that be N for processing the hardware check figure M1 of cell MAC layer scheduling, it is determined that for processing number of users According to hardware check figure M2=Y-N.

It is preferred that methods described also includes:

It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched in Y < 2N, it is determined that Hardware check figure M1, M1 for processing the scheduling of cell MAC layer are the integer not less than N/2;And determine for processes user data Hardware check figure M2=Y-M1.

It is preferred that after the hardware check figure M2 determined for processes user data, also including:

Determine the cell scheduling sets of threads and user data sets of threads of cell in the base station;

Cell scheduling sets of threads is deployed on M1 hardware core for the treatment of cell MAC layer scheduling, by user data thread Group is deployed on M2 hardware core of processes user data;

The load adjustment of the hardware core according to processes user data accesses the deployment of the user of the user data sets of threads.

It is preferred that the load adjustment of the hardware core according to processes user data accesses the user data sets of threads The deployment of user, including:

The number of users for accessing is recorded according to each user data sets of threads, the minimum user data of the number of users that will have been accessed Sets of threads as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is put down The user data sets of threads disposed on the minimum hardware core of equal load as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, if maximum The difference of CPU average loads and minimum CPU average loads exceedes given threshold, then by the hardware core of the maximum CPU average loads The user of the user data sets of threads of upper deployment adjusts to the hardware core of the minimum CPU average loads user data of deployment Sets of threads.

The embodiment of the present invention also provides a kind of data processing equipment for air protocol data surface, including:

Acquiring unit:Hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;

First determining unit:For being needed the hardware core of the number of cells N and base station supported total according to the base station The relation of number Y, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer;

Second determining unit:For the hardware core total number Y according to the base station and described for processing cell media interviews The hardware check figure M1 of mac layer scheduling, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.

It is preferred that the first determining unit, specifically for:

Taking a hardware core according to each cell carries out cell MAC layer scheduling, and each cell is taken at a hardware core The principle of user data is managed, determines Y whether more than or equal to 2N;

In Y >=2N, it is determined that being N for processing the hardware check figure M1 of cell MAC layer scheduling;Second determining unit determines to use In the hardware check figure M2=Y-N of processes user data.

It is preferred that first determining unit is additionally operable to:

It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched in Y < 2N, it is determined that Hardware check figure M1, M1 for processing the scheduling of cell MAC layer are the integer not less than N/2;Second determining unit is determined for locating Manage the hardware check figure M2=Y-M1 of user data.

It is preferred that described device also includes adjustment unit, it is used for:

Determine the cell scheduling sets of threads and user data sets of threads of cell in the base station;

Cell scheduling sets of threads is deployed on M1 hardware core for the treatment of cell MAC layer scheduling, by user data thread Group is deployed on M2 hardware core of processes user data;

The load adjustment of the hardware core according to processes user data accesses the deployment of the user of the user data sets of threads.

It is preferred that the adjustment unit, is additionally operable to:

The number of users for accessing is recorded according to each user data sets of threads, the minimum user data of the number of users that will have been accessed Sets of threads as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is put down The user data sets of threads disposed on the minimum hardware core of equal load as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, if maximum The difference of CPU average loads and minimum CPU average loads exceedes given threshold, then by the hardware core of the maximum CPU average loads The user of the user data sets of threads of upper deployment adjusts to the hardware core of the minimum CPU average loads user data of deployment Sets of threads.

The embodiment of the present invention provides a kind of data processing method and device for air protocol data surface, obtains base station Hardware core total number Y and the base station need the number of cells N for supporting;According to number of cells N and institute that the base station needs to support The relation of the hardware core total number Y of base station is stated, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer;According to the base station Hardware core total number Y and the hardware check figure M1 for processing the scheduling of cell media access control MAC layer, it is determined that for processing The hardware check figure M2 of user data, wherein, M1+M2≤Y.Reasonable distribution is carried out by by hardware core sum, treatment is specifically divided into The hardware core of cell MAC layer scheduling, quantity is M1;And the hardware core of processes user data, quantity is M2.Processed using multinuclear Device classification parallel processing reach meet LTE air protocol stack data surfaces it is high handle up, multiple cell, the purpose of multi-user.

Brief description of the drawings

Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.

Fig. 1 is the data surface of LTE radio communications air protocol provided in an embodiment of the present invention;

Fig. 2 is a kind of data surface software architecture schematic diagram of LTE air protocols provided in an embodiment of the present invention;

Fig. 3 is that a kind of data processing method flow for air protocol data surface provided in an embodiment of the present invention is illustrated Figure;

Fig. 4 is a kind of data processing method flow chart for air protocol data surface provided in an embodiment of the present invention;

Fig. 5 is a kind of data processing equipment structural representation for air protocol data surface provided in an embodiment of the present invention Figure.

Specific embodiment

In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step ground is described in detail, it is clear that described embodiment is only some embodiments of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.

Embodiment of the present invention meaning base station is public mobile communication base station, is a kind of form of radio station, is referred to one In fixed area of radio coverage, by carrying out the wireless of information transmission between mobile switching center, with mobile telephone terminal Electricity transmitting-receiving letter radio station.

The relational language in the embodiment of the present invention is explained below.

PDCP_UL THD (the up treatment threads of PDCP Up Link Thread, PDCP):Be responsible for decryption, solution head compression, Remove PDCP header informations, to upper strata (Internet) function such as data delivery bag in order.

PDCP_DL THD (PDCP Down Link Thread, PDCP downlink processings thread):Be responsible for encryption, head compression, Increase PDCP header informations, timing abandon, to functions such as lower floor (RLC) data delivery bags.

RLC_UL THD (the up treatment threads of RLC Up Link Thread, RLC):Be responsible for cascade, recombinate, reordering, Up ARQ, go the functions such as PDU portion information.

RLC_DL THD (RLC Down Link Thread, RLC downlink processings thread):It is responsible for segmentation, filling, divides again The functions such as section, descending ARQ, increase PDU portion information.

MAC_UL THD (the up treatment threads of MAC Up Link Thread, MAC):It is responsible for the data solution of transmission channel It is multiplexed into logic channel, goes the functions such as MAC header information.

MAC_DL THD (MAC Down Link Thread, MAC downlink processings thread):It is responsible for the data of logic channel It is multiplexed into the functions such as transmission channel, filling, increase MAC header information.

MAC_SCH_UL THD (MAC Schedule Up Link Thread, MAC dispatching uplink process thread):It is responsible for The functions such as up MAC scheduling, uplink authorization.

MAC_SCH_DL THD (MAC Schedule Down Link Thread, MAC dispatching downlink process thread):It is negative Blame the functions such as descending MAC scheduling features, downstream grants.

User data sets of threads includes that up treatment thread PDCP_UL THD, the PDCP of PDCP is descending in the embodiment of the present invention On up treatment thread RLC_UL THD, RLC downlink processing thread RLC_DL THD, the MAC for the treatment of thread PDCP_DL THD, RLC Row treatment thread MAC_UL THD, MAC downlink processing thread MAC_DL THD, cell scheduling sets of threads is dispatched including up MAC Thread MAC_SCH_UL THD and descending MAC scheduling threads MAC_SCH_DL THD.

It is thin-skinned that data processing method and device for air protocol data surface provided in an embodiment of the present invention is based on data Part framework, is illustrated in figure 2 the data surface software architecture schematic diagram the invention provides a kind of LTE air protocols, processor Available core sum is S1+S2, and one sets of threads of a kernel processes, S1 kernel is used to process S1 user data thread Group, S2 kernel is used to process S2 cell scheduling sets of threads.By by cell scheduling sets of threads and user data thread component From being reached using the polycaryon processor reasonable distribution parallel processing two classes sets of threads and meet that LTE air protocol stack data surfaces are high to be gulped down Tell, multiple cell, the purpose of multi-user.

The embodiment of the present invention provides a kind of data processing method for air protocol data surface.As shown in figure 3, being this hair A kind of data processing method schematic flow sheet for air protocol data surface that bright embodiment is provided, including:

Step 301:The hardware core total number Y and base station for obtaining base station need the number of cells N for supporting.

Specifically, the quantity of the processor cores of inquiry base station, obtains hardware core total number Y.The cell that inquiry base station is supported Number, obtains number of cells N.

Step 302:The relation of the hardware core total number Y of the number of cells N and base station supported is needed according to base station, it is determined that being used for The hardware check figure M1 for the treatment of cell MAC layer scheduling;

Step 303:Hardware core total number Y according to base station and the hardware check figure M1 for processing the scheduling of cell MAC layer, it is determined that For the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.

Specifically, in step 302, taking a hardware core according to each cell carries out cell MAC layer scheduling, and each Whether cell takes a principle for hardware core processes user data, determine Y more than or equal to 2N.Now, for each hardware core Load balancing, considers each cell scheduling sets of threads individually one user scheduling of cell for the treatment of, a cell configuration one first Individual user data sets of threads carrys out processes user data.

In Y >=2N, it is determined that be N for processing the hardware check figure M1 of cell MAC layer scheduling, it is determined that for processing number of users According to hardware check figure M2=Y-N.

Now, cell scheduling sets of threads needs to take N number of hardware core, and remaining hardware core can be used for processes user data, Due to Y-N >=N, i.e., remaining hardware check figure can completely or partially be used to dispose more than or equal to cell number, thus remaining hardware core User data sets of threads, can meet a cell and at least configure a user data sets of threads to process user in the case Data.

For example, hardware core total number Y=8 of base station, the number of cells N=3 of base station, due to Y > 2N, then for processing cell The hardware check figure M1=3 of MAC layer scheduling, for the hardware check figure M2=5 of processes user data.I.e. cell scheduling sets of threads needs 3 hardware cores are taken, remaining 5 hardware cores are used for processes user data.Wherein, 5 hardware cores are not limited to all or part of place Reason user data sets of threads, the number of users that can be supported as needed is disposed accordingly.Preferably, a cell is at least matched somebody with somebody Put a hardware core processes user data sets of threads.

It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched in Y < 2N, it is determined that Hardware check figure M1, M1 for processing the scheduling of cell MAC layer are the integer not less than N/2;And determine for processes user data Hardware check figure M2=Y-M1.

Now, a cell scheduling sets of threads processes two user schedulings of cell, at least needs N/2 hardware core to come portion Administration's cell scheduling sets of threads, remaining hardware core is used to dispose user data sets of threads.

Specifically, when N/2 is not integer, it is necessary to be rounded up.For example, cell number N=3, then N/2=1.5, this When M1 need to round up, i.e. M1=2.

It should be noted that in the case where hardware core total number Y is less, a hardware core for treatment cell MAC layer scheduling Can also be two or more cell serves, i.e., the use of more than two cells can also be processed by a cell scheduling sets of threads Family is dispatched, and is not limited herein.

As N≤Y-M1, i.e., remaining hardware check figure is more than or equal to cell number, and now remaining hardware core can be all or part of For disposing user data sets of threads, a cell can be met in the case and at least configures a user data sets of threads Processes user data.

For example, hardware core total number Y=7 of base station, the number of cells N=4 of base station, due to Y < 2N, then using a treatment The hardware core of cell MAC layer scheduling is two cell serves, i.e., one cell scheduling sets of threads processes two users of cell and adjusts Degree, now for processing the hardware check figure M1=2 that cell MAC layer is dispatched, for the hardware check figure M2=5 of processes user data. Due to N < M2, remaining 5 hardware cores are used to process 4 user data of cell.

For another example, hardware core total number Y=9 of base station, the number of cells N=5 of base station, due to Y < 2N, then using a treatment The hardware core of cell MAC layer scheduling is two cell serves, i.e., one cell scheduling sets of threads processes two users of cell and adjusts Degree, is now 3 for processing the hardware check figure M1 of cell MAC layer scheduling and rounding up, for the hardware core of processes user data Number M2=6.Due to N < M2, remaining 6 hardware cores are used to process 5 user data of cell.

As N > Y-M1, i.e., remaining hardware check figure is less than cell number, and now remaining hardware core can completely or partially be used for portion User data sets of threads is affixed one's name to, now a user data for user data sets of threads at least one cell for the treatment of.

For example, hardware core total number Y=5 of base station, the number of cells N=4 of base station, due to Y < 2N, then using a treatment The hardware core of cell MAC layer scheduling is two cell serves, i.e., one cell scheduling sets of threads processes two users of cell and adjusts Degree, now for processing the hardware check figure M1=2 that cell MAC layer is dispatched, for the hardware check figure M2=3 of processes user data. Due to N > M2, remaining 3 hardware cores are used to process 4 user data of cell.

It should be noted that when N > Y-M1, and N/2 are not integer, M1 can also be rounded downwards, not done herein Limitation.For example, hardware core total number Y=6 of base station, number of cells N=5, may also set up for processing the hard of cell MAC layer scheduling It is 2 that part check figure M1 is rounded downwards, then for the hardware check figure M2=4 of processes user data.Due to N > M2, remaining 4 hardware cores For processing 5 user data of cell.

It should be noted that in LTE system, it is up to a hundred or thousands of orders of magnitude that base station needs the number of users supported, therefore Reasonable distribution user to each user data sets of threads is needed, each hardware core load balancing is just can guarantee that.Therefore, after step 303, Also need to the deployment of the user of the load adjustment access user data sets of threads of hardware core according to processes user data.Based on pin To the data processing method of air protocol data surface, the embodiment of the present invention is additionally provided and ensured respectively in the case where number of users is big Three kinds of methods of hardware core load balancing.

Method one:According to the number of users that each user data sets of threads record is accessed, the number of users that will have been accessed is minimum User data sets of threads as new access user user data sets of threads.

Specifically, the number of users S that each user data sets of threads record has been accessed, each user data sets of threads accesses one S adds one during individual new user, and S subtracts one during one user of release.When accessing new user every time, selected in M2 user data sets of threads The minimum user data sets of threads of accessed user's number S of record is selected as the user data thread of new access user.The method It is relatively easy, easily to realize, the number of users of each user data sets of threads treatment is essentially identical, but because each customer service is different, Data volume size is also just different, and the load of each hardware core there may be certain lack of uniformity.

Method two:

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is put down The user data sets of threads disposed on the minimum hardware core of equal load as new access user user data sets of threads.

Specifically, each user data sets of threads records the CPU average treatment loads of the affiliated hardware core in T seconds duration. When new user accesses, the user data sets of threads disposed on the minimum hardware core of selection CPU average treatments load is used as newly connecing The user data sets of threads of access customer, the method relative manner one realizes complexity, but can make each hardware core load balancing substantially.

Method three:

According to the CPU average treatment loads of the affiliated hardware core in each user data sets of threads record setting duration, if The difference of maximum CPU average loads and minimum CPU average loads exceedes given threshold, then by the hardware core of maximum CPU average loads The user of the user data sets of threads of upper deployment adjusts to the hardware core of the minimum CPU average loads user data of deployment Sets of threads.

The above method one and method two are all that affiliated user data sets of threads is determined when new user accesses, but user Business datum amount size is dynamic change, although user's each hardware core load when accessing is in a balanced way, but with each user The change of business datum amount size, hardware core load is also dynamic change.Therefore the user belonging to dynamic adjustment user is needed Data thread group.

Specifically, the real-time CPU average treatments of the affiliated hardware core in T seconds duration of each user data sets of threads record are born Lotus.If the difference of maximum cpu load and minimum cpu load exceedes given threshold H, by the hardware core of maximum CPU average loads The user of the user data sets of threads of deployment adjusts to the hardware core of the minimum CPU average loads user data line of deployment Journey group, then repeats as above dynamic adjustment process, so that the real-time CPU treatment of the affiliated hardware core of each user data sets of threads The difference of load is no more than given threshold.The method is complex, but can make the load real time equaliser of each hardware core.

The embodiment of the present invention provides a kind of data processing method for air protocol data surface, by the way that hardware core is total Reasonable distribution is carried out, the hardware core for the treatment of cell MAC layer scheduling is specifically divided into, quantity is M1;And processes user data is hard Part core, quantity is M2.Reached using the class sets of threads of polycaryon processor reasonable distribution parallel processing two and meet LTE air protocol stack numbers According to face it is high handle up, multiple cell, multi-user purpose, while make each hardware core load balancing, improve hardware resource utilization and be System stability.

The embodiment of the present invention also provides a kind of data processing method for air protocol data surface, as shown in figure 4, It is a kind of data processing method flow chart for air protocol data surface provided in an embodiment of the present invention, including:

Step 401:Obtain the hardware core total number Y of base station and the number of cells N of base station.

Step 402:Judge whether Y >=2N sets up, if so, then performing step 403, no person performs step 404.

Step 403:It is determined that the hardware check figure M1=N for processing the scheduling of cell MAC layer, it is determined that being used for processes user data Hardware check figure M2=Y-N.

For example, hardware core total number Y=8 of base station, the number of cells N=3 of base station, due to Y > 2N, then for processing cell The hardware check figure M1=3 of MAC layer scheduling, for the hardware check figure M2=5 of processes user data.I.e. cell scheduling sets of threads needs 3 hardware cores are taken, remaining 5 hardware cores are used for processes user data.

Step 404:It is determined that be M1 for processing the hardware check figure of cell MAC layer scheduling, M1 is the integer not less than N/2, Continue executing with step 405.

Step 405:Judge whether N > Y-M1 set up, if so, then performing step 406, no person performs step 407.

Step 406:One user data sets of threads of configuration processes the user data of at least one cell.

For example, hardware core total number Y=5 of base station, the number of cells N=4 of base station, due to Y < 2N, then using a treatment The hardware core of cell MAC layer scheduling is two cell serves, i.e., one cell scheduling sets of threads processes two users of cell and adjusts Degree, now for processing the hardware check figure M1=2 that cell MAC layer is dispatched, for the hardware check figure M2=3 of processes user data. Due to N > M2, remaining 3 hardware cores are used to process 4 user data of cell, then configure a user data sets of threads treatment The user data of at least one cell

Step 407:Configure at least one user data sets of threads and process a user data for cell.

For example, hardware core total number Y=7 of base station, the number of cells N=4 of base station, due to Y < 2N, then using a treatment The hardware core of cell MAC layer scheduling is two cell serves, i.e., one cell scheduling sets of threads processes two users of cell and adjusts Degree, now for processing the hardware check figure M1=2 that cell MAC layer is dispatched, for the hardware check figure M2=5 of processes user data. Due to N > M2, remaining 5 hardware cores are used to process 4 user data of cell, then configure at least one user data sets of threads One user data of cell for the treatment of.

Based on same inventive concept, the embodiment of the present invention also provides the data processing dress for air protocol data surface Put, as shown in figure 5, be the data processing equipment structural representation for air protocol data surface provided in an embodiment of the present invention, Including:

Acquiring unit 501:Hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;

First determining unit 502:Hardware core for needing the number of cells N and base station supported according to the base station The relation of total number Y, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer;

Second determining unit 503:For the hardware core total number Y according to the base station and it is described for process cell media visit The hardware check figure M1 of mac layer scheduling is asked, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.

It is preferred that the first determining unit 502, specifically for:

Taking a hardware core according to each cell carries out cell MAC layer scheduling, and each cell is taken at a hardware core The principle of user data is managed, determines Y whether more than or equal to 2N;

In Y >=2N, it is determined that being N for processing the hardware check figure M1 of cell MAC layer scheduling;Second determining unit determines to use In the hardware check figure M2=Y-N of processes user data.

It is preferred that first determining unit 502 is additionally operable to:

It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched in Y < 2N, it is determined that Hardware check figure M1, M1 for processing the scheduling of cell MAC layer are the integer not less than N/2;Second determining unit is determined for locating Manage the hardware check figure M2=Y-M1 of user data.

It is preferred that described device also includes adjustment unit 504, it is used for:

Determine the cell scheduling sets of threads and user data sets of threads of cell in the base station;

Cell scheduling sets of threads is deployed on M1 hardware core for the treatment of cell MAC layer scheduling, by user data thread Group is deployed on M2 hardware core of processes user data;

The load adjustment of the hardware core according to processes user data accesses the deployment of the user of the user data sets of threads.

It is preferred that the adjustment unit 504, is additionally operable to:

The number of users for accessing is recorded according to each user data sets of threads, the minimum user data of the number of users that will have been accessed Sets of threads as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is put down The user data sets of threads disposed on the minimum hardware core of equal load as new access user user data sets of threads;

Or,

According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, if maximum The difference of CPU average loads and minimum CPU average loads exceedes given threshold, then by the hardware core of the maximum CPU average loads The user of the user data sets of threads of upper deployment adjusts to the hardware core of the minimum CPU average loads user data of deployment Sets of threads.

The embodiment of the present invention provides a kind of data processing equipment for air protocol data surface, obtains the hardware core of base station Total number Y and the base station need the number of cells N for supporting;The number of cells N of support and the base station are needed according to the base station Hardware core total number Y relation, it is determined that for process cell MAC layer scheduling hardware check figure M1;According to the hardware of the base station Core total number Y and the hardware check figure M1 for processing the scheduling of cell media access control MAC layer, it is determined that for processing number of users According to hardware check figure M2, wherein, M1+M2≤Y.Reasonable distribution is carried out by by hardware core sum, treatment cell MAC is specifically divided into The hardware core of layer scheduling, quantity is M1;And the hardware core of processes user data, quantity is M2.It is reasonable using polycaryon processor Distribution the class sets of threads of parallel processing two reach meet LTE air protocol stack data surfaces it is high handle up, multiple cell, the purpose of multi-user, Make each hardware core load balancing simultaneously, improve hardware resource utilization and the stability of a system.

The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The system of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.

These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of system, the instruction system realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.

These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.

, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.

Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of data processing method for air protocol data surface, it is characterised in that including:
The hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;
The relation of the hardware core total number Y of the number of cells N and base station supported is needed according to the base station, it is determined that for processing The hardware check figure M1 of cell MAC layer scheduling;
Hardware core total number Y and the hardware core for processing the scheduling of cell media access control MAC layer according to the base station Number M1, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.
2. the method for claim 1, it is characterised in that the number of cells N that supports and described is needed according to the base station The relation of the hardware core total number Y of base station, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer, including:
Taking a hardware core according to each cell carries out cell MAC layer scheduling, and each cell takes a hardware core treatment and uses Whether the principle of user data, determine Y more than or equal to 2N;
In Y >=2N, it is determined that be N for processing the hardware check figure M1 of cell MAC layer scheduling, it is determined that for processes user data Hardware check figure M2=Y-N.
3. method as claimed in claim 2, it is characterised in that also include:
It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched, it is determined that being used in Y < 2N Hardware the check figure M1, M1 for the treatment of cell MAC layer scheduling are the integer not less than N/2;And determine for the hard of processes user data Part check figure M2=Y-M1.
4. the method as described in any one of claims 1 to 3, it is characterised in that the determination is used for the hard of processes user data After part check figure M2, also include:
Determine the cell scheduling sets of threads and user data sets of threads of cell in the base station;
Cell scheduling sets of threads is deployed on M1 hardware core for the treatment of cell MAC layer scheduling, by user data sets of threads portion Administration is on M2 hardware core of processes user data;
The load adjustment of the hardware core according to processes user data accesses the deployment of the user of the user data sets of threads.
5. method as claimed in claim 4, it is characterised in that the load adjustment of the hardware core according to processes user data The deployment of the user of the user data sets of threads is accessed, including:
The number of users for accessing is recorded according to each user data sets of threads, the minimum user data thread of the number of users that will have been accessed Group as new access user user data sets of threads;
Or,
According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is averagely born The user data sets of threads disposed on the minimum hardware core of lotus as new access user user data sets of threads;
Or,
According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, if maximum CPU is flat The difference of equal load and minimum CPU average loads exceedes given threshold, then will be disposed on the hardware core of the maximum CPU average loads User data sets of threads user adjust to the hardware core of the minimum CPU average loads deployment user data thread Group.
6. a kind of data processing equipment for air protocol data surface, it is characterised in that including:
Acquiring unit:Hardware core total number Y and the base station for obtaining base station need the number of cells N for supporting;
First determining unit:Hardware core total number Y for needing the number of cells N and base station supported according to the base station Relation, it is determined that the hardware check figure M1 for processing the scheduling of cell MAC layer;
Second determining unit:For the hardware core total number Y according to the base station and described for processing cell media access control The hardware check figure M1 of MAC layer scheduling, it is determined that for the hardware check figure M2 of processes user data, wherein, M1+M2≤Y.
7. device as claimed in claim 6, it is characterised in that the first determining unit, specifically for:
Taking a hardware core according to each cell carries out cell MAC layer scheduling, and each cell takes a hardware core treatment and uses Whether the principle of user data, determine Y more than or equal to 2N;
In Y >=2N, it is determined that being N for processing the hardware check figure M1 of cell MAC layer scheduling;Second determining unit is determined for locating Manage the hardware check figure M2=Y-N of user data.
8. device as claimed in claim 7, it is characterised in that first determining unit is additionally operable to:
It is two principles of cell serves according to the hardware core that a treatment cell MAC layer is dispatched, it is determined that being used in Y < 2N Hardware the check figure M1, M1 for the treatment of cell MAC layer scheduling are the integer not less than N/2;Second determining unit is determined for processing use The hardware check figure M2=Y-M1 of user data.
9. the device as described in any one of claim 6 to 8, it is characterised in that also including adjustment unit, be used for:
Determine the cell scheduling sets of threads and user data sets of threads of cell in the base station;
Cell scheduling sets of threads is deployed on M1 hardware core for the treatment of cell MAC layer scheduling, by user data sets of threads portion Administration is on M2 hardware core of processes user data;
The load adjustment of the hardware core according to processes user data accesses the deployment of the user of the user data sets of threads.
10. device as claimed in claim 9, it is characterised in that the adjustment unit, is additionally operable to:
The number of users for accessing is recorded according to each user data sets of threads, the minimum user data thread of the number of users that will have been accessed Group as new access user user data sets of threads;
Or,
According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, CPU is averagely born The user data sets of threads disposed on the minimum hardware core of lotus as new access user user data sets of threads;
Or,
According to the CPU average loads of the affiliated hardware core in each user data sets of threads record setting duration, if maximum CPU is flat The difference of equal load and minimum CPU average loads exceedes given threshold, then will be disposed on the hardware core of the maximum CPU average loads User data sets of threads user adjust to the hardware core of the minimum CPU average loads deployment user data thread Group.
CN201710044159.7A 2017-01-19 2017-01-19 A kind of data processing method and device for air protocol data surface CN106851667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710044159.7A CN106851667B (en) 2017-01-19 2017-01-19 A kind of data processing method and device for air protocol data surface

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710044159.7A CN106851667B (en) 2017-01-19 2017-01-19 A kind of data processing method and device for air protocol data surface
PCT/CN2017/118081 WO2018133625A1 (en) 2017-01-19 2017-12-22 Data processing method and apparatus for air interface protocol data plane

Publications (2)

Publication Number Publication Date
CN106851667A true CN106851667A (en) 2017-06-13
CN106851667B CN106851667B (en) 2019-07-02

Family

ID=59119247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710044159.7A CN106851667B (en) 2017-01-19 2017-01-19 A kind of data processing method and device for air protocol data surface

Country Status (2)

Country Link
CN (1) CN106851667B (en)
WO (1) WO2018133625A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937591A (en) * 2006-11-02 2007-03-28 杭州华为三康技术有限公司 Multi-core processor for realizing adaptive dispatching and multi-core processing method
WO2009109693A1 (en) * 2008-03-07 2009-09-11 Nokia Corporation A data processing arrangement
CN102868643A (en) * 2012-08-31 2013-01-09 苏州简约纳电子有限公司 Long-term evolution (LTE) data surface software architecture
CN103154897A (en) * 2010-10-14 2013-06-12 阿尔卡特朗讯公司 Core abstraction layer for telecommunication network applications
CN103838552A (en) * 2014-03-18 2014-06-04 北京邮电大学 System and method for processing multi-core parallel assembly line signals of 4G broadband communication system
CN105827654A (en) * 2016-05-26 2016-08-03 西安电子科技大学 Multi-core parallel protocol stack structure design method based on GMR-1 3G system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620753B1 (en) * 2005-03-17 2009-11-17 Apple Inc. Lockless access to a ring buffer
CN103906257B (en) * 2014-04-18 2017-09-08 北京邮电大学 LTE wide-band communication system computing resource schedulers and its dispatching method based on GPP

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937591A (en) * 2006-11-02 2007-03-28 杭州华为三康技术有限公司 Multi-core processor for realizing adaptive dispatching and multi-core processing method
WO2009109693A1 (en) * 2008-03-07 2009-09-11 Nokia Corporation A data processing arrangement
CN103154897A (en) * 2010-10-14 2013-06-12 阿尔卡特朗讯公司 Core abstraction layer for telecommunication network applications
CN102868643A (en) * 2012-08-31 2013-01-09 苏州简约纳电子有限公司 Long-term evolution (LTE) data surface software architecture
CN103838552A (en) * 2014-03-18 2014-06-04 北京邮电大学 System and method for processing multi-core parallel assembly line signals of 4G broadband communication system
CN105827654A (en) * 2016-05-26 2016-08-03 西安电子科技大学 Multi-core parallel protocol stack structure design method based on GMR-1 3G system

Also Published As

Publication number Publication date
CN106851667B (en) 2019-07-02
WO2018133625A1 (en) 2018-07-26

Similar Documents

Publication Publication Date Title
CN104968055B (en) The method and WTRU of random access are executed by wireless transmitter/receiver unit (WTRU)
CN102948205B (en) For method, system and equipment at wireless network initiating communication
CN105612801B (en) In the downlink control management method and device without approval or in shared frequency spectrum
CN104782223B (en) Method, more RAT wireless communication systems, more RAT base stations and terminal for uplink communication
KR20080078659A (en) A channel for multicarrier high speed downlink packet access and a method for allocating the carrier resource
JP2000078651A (en) Method for dynamically allocating carrier in radio packet network accompanied by reuse of the carrier
MXPA06000344A (en) Method and system for managing radio resources in a time-slotted communication system.
CN105659685B (en) Method and apparatus for carrying out channel access in asynchronous unlicensed radio-frequency spectrum band deployment
Cohen et al. Computational analysis and efficient algorithms for micro and macro OFDMA downlink scheduling
CN106416394A (en) Techniques for managing transmissions of uplink data over an unlicensed radio frequency spectrum band
TW201025972A (en) Method and apparatus for initializing, preserving and reconfiguring token buckets
CN101895988B (en) Control channel resource allocation method and device
TW200803326A (en) Method and apparatus for data framing in a wireless communications system
CN103947273B (en) Communication terminal, network components, base station and the method for communication
RU2612397C2 (en) Method and device for mapping pucch resources
TW201108774A (en) Apparatus and method for measurement gap configuration
CN103517276B (en) D2D communication method, user equipment and base station
CN105940749A (en) Techniques for prioritizing the reporting of uplink control information for cells utilizing contention based radio frequency spectrum
Van De Belt et al. A dynamic embedding algorithm for wireless network virtualization
CN1933363A (en) Method for dispatching group data transmission
CN101931600A (en) Device and method for dynamically confirming CFI (Control Format Indication)
KR20130072174A (en) Wireless service access method and apparatus
CN103916913B (en) A kind of resource regulating method and device
CN102271334B (en) Method of handling semi-persistent scheduling cell radio network temporary identifier and related communication device
CN103458526B (en) A kind of method of buffer region state reporting, system and equipment

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: 20180223

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

Applicant after: Comba Telecom System (China) Co., Ltd.

Applicant after: Comba Telecom Systems (Guangzhou) Co., Ltd.

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

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

Address before: 510663 Guangdong city of Guangzhou Province Economic and Technological Development Zone Jinbi Road No. 6

Applicant before: Comba Telecom Systems (Guangzhou) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant