CN112770344B - Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane - Google Patents

Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane Download PDF

Info

Publication number
CN112770344B
CN112770344B CN202110110167.3A CN202110110167A CN112770344B CN 112770344 B CN112770344 B CN 112770344B CN 202110110167 A CN202110110167 A CN 202110110167A CN 112770344 B CN112770344 B CN 112770344B
Authority
CN
China
Prior art keywords
forwarding
data
forwarding plane
kernel
efficiency control
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
Application number
CN202110110167.3A
Other languages
Chinese (zh)
Other versions
CN112770344A (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.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202110110167.3A priority Critical patent/CN112770344B/en
Publication of CN112770344A publication Critical patent/CN112770344A/en
Application granted granted Critical
Publication of CN112770344B publication Critical patent/CN112770344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a forwarding efficiency control method, a forwarding efficiency control system and a forwarding efficiency control terminal of a 5G data forwarding plane, wherein the forwarding efficiency control system of the 5G data forwarding plane comprises the 5G data forwarding plane, and the 5G data forwarding plane comprises a fast forwarding plane and a slow forwarding plane; the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data; an initial kernel CPU of a fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through a write lock; the fast forwarding plane forwards user data according to forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process, wherein one read lock is needed to be added to lock the forwarding rule information when one kernel is added to the forwarding kernel of the fast forwarding plane, and the situation that only one kernel is added to the forwarding kernel of the fast forwarding plane and the initial kernel of the fast forwarding plane are interlocked and other forwarding planes cannot store interlocking exists when one kernel is added to the forwarding kernel of the fast forwarding plane. The invention can achieve the aim of linearly increasing the UPF forwarding data performance along with the increase of the number of cores.

Description

Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane
Technical Field
The present invention relates to the field of 5G application technologies, and in particular, to a method, a system, and a terminal for controlling forwarding efficiency of a 5G data forwarding plane.
Background
5G (5th Generation mobile networks or 5th Generation with less systems, 5th-Generation, 5G or 5G technology for short) represents the fifth Generation mobile communication technology, which is the latest Generation cellular mobile communication technology, and is also an extension following 4G (LTE-A, WiMax), 3G (UMTS, LTE) and 2G (GSM) systems. The performance goals of 5G are high data rates, reduced latency, energy savings, reduced cost, increased system capacity, and large-scale device connectivity. The first phase of the 5G specification in Release-15 was to accommodate early commercial deployments. The second phase of Release-16 will be completed in month 4 of 2020 and is submitted to the International Telecommunications Union (ITU) as a candidate for IMT-2020 technology. The ITU IMT-2020 specification requires speeds up to 20Gbit/s, and can implement wide channel bandwidth and large capacity MIMO.
The 5G data forwarding plane is a general name of hardware resources and software resources used for forwarding a user's data packet in a 5G network (the 5G network is a fifth generation mobile communication network, the peak theoretical transmission speed of which can reach 1GB per 8 seconds, which is more than 10 times faster than the transmission speed of a 4G network, and for the 5G network, it shows more obvious advantages and more powerful functions in the actual application process).
The 5G data forwarding Plane (UPF) is used for forwarding a User's data packet in a 5G network, a forwarding program implementing the 5G data forwarding Plane is run on a server, and a traffic operation of the UFP is divided into two parts, namely a Fast Forwarding Plane (FPU) and a Slow forwarding Plane (SPU), as shown in fig. 1. The SPU and FPU are respectively operated in different Virtual machines (Virtual Machine, which refers to a complete computer system with complete hardware system function simulated by software and operated in a completely isolated environment, the work which can be completed in a physical computer can be realized in the Virtual Machine, when the Virtual Machine is created in the computer, partial hard disk and memory capacity of the physical Machine are required to be used as the hard disk and memory capacity of the Virtual Machine, each Virtual Machine is provided with an independent CMOS, hard disk and operating system, and the Virtual Machine can be operated like the physical Machine).
The FPU fast forwarding plane needs to carry out fast forwarding of data packets and needs to use a multi-core CPU to meet the performance requirement, the forwarding rule of user data is sent to the FPU through the SPU, in a multi-core system, once data sharing exists, a lock (when the shared data is synchronously accessed, in order to ensure atomicity of data operation, the lock is used for access control; the lock is essentially a mark of access authority; when one program accesses a program memory, the other program cannot access) is used for controlling (all cores of a forwarding rule need to use), otherwise, data disorder is caused, often, unreasonable lock usage (such as interlocking between programs) causes a sharp performance reduction, and the performance of increasing cores (which is needed to increase forwarding performance, and increase processing capacity of a CPU) and linearly increasing UPF forwarding data cannot be achieved.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a forwarding efficiency control method, a forwarding efficiency control system and a forwarding efficiency control terminal of a 5G data forwarding plane, and aims to solve the problems that in the prior art, due to unreasonable use of locks, the performance is rapidly reduced, cores cannot be increased, and the performance of UPF forwarding data cannot be linearly increased.
In order to achieve the above object, the present invention provides a forwarding efficiency control method for a 5G data forwarding plane, where the forwarding efficiency control method for the 5G data forwarding plane is applied to a forwarding efficiency control system for the 5G data forwarding plane, the forwarding efficiency control system for the 5G data forwarding plane includes the 5G data forwarding plane, and the 5G data forwarding plane includes a fast forwarding plane and a slow forwarding plane;
the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data;
the forwarding efficiency control method of the 5G data forwarding plane comprises the following steps:
the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through write locking;
and the fast forwarding plane forwards user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process.
Optionally, in the method for controlling forwarding efficiency of a 5G data forwarding plane, the forwarding rule information includes an add operation, a modify operation, and a delete operation.
Optionally, the forwarding efficiency control method of the 5G data forwarding plane, where the forwarding efficiency control method of the 5G data forwarding plane further includes:
and processing the target data which needs to be added, modified and deleted only through the initial kernel CPU, and defining a lock to lock the target data when the initial kernel CPU processes the target data.
Optionally, the forwarding efficiency control method of the 5G data forwarding plane, where the forwarding efficiency control method of the 5G data forwarding plane further includes:
when other core CPUs except the initial core CPU use the target data, the target data is locked through a read lock, the read lock is a shared lock, and the target data cannot be locked among other core CPUs in forwarding.
Optionally, in the method for controlling forwarding efficiency of a 5G data forwarding plane, read locks used by core CPUs other than the initial core CPU are different.
Optionally, the forwarding efficiency control method of the 5G data forwarding plane, where the forwarding efficiency control method of the 5G data forwarding plane further includes:
before each core CPU except the initial core CPU is locked by using a read lock, judging whether the write lock of the initial core CPU is in a locked state;
if the write lock of the initial kernel CPU is in a locked state, each other kernel CPU needs to wait;
and if the write lock of the initial core CPU is not in a locked state, each other core CPU uses the respective read lock for locking.
Optionally, the forwarding efficiency control method of the 5G data forwarding plane, where the forwarding efficiency control method of the 5G data forwarding plane further includes:
the initial kernel CPU uses a write lock to lock before modifying target data, and judges whether other kernel CPUs use the target data according to read locks of other kernel CPUs except the initial kernel CPU before the write lock locks the target data;
if yes, the initial kernel CPU waits;
and if not, unlocking the initial kernel CPU after the operation user is finished.
In addition, to achieve the above object, the present invention further provides a forwarding efficiency control system of a 5G data forwarding plane, wherein the forwarding efficiency control system of the 5G data forwarding plane includes:
the 5G data forwarding plane comprises a fast forwarding plane and a slow forwarding plane;
the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data;
the initial kernel CPU of the fast forwarding plane is used for acquiring forwarding rule information of user data and locking the forwarding rule information through write locking;
and the fast forwarding plane is used for forwarding user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locking the forwarding rule information through a read lock in the forwarding process.
In addition, to achieve the above object, the present invention further provides a terminal, wherein the terminal includes: the forwarding efficiency control program of the 5G data forwarding plane is stored on the memory and can run on the processor, and when being executed by the processor, the forwarding efficiency control program of the 5G data forwarding plane realizes the steps of the forwarding efficiency control method of the 5G data forwarding plane.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a forwarding efficiency control program of a 5G data forwarding plane, and the forwarding efficiency control program of the 5G data forwarding plane, when executed by a processor, implements the steps of the forwarding efficiency control method of the 5G data forwarding plane as described above.
In the invention, the forwarding efficiency control method of the 5G data forwarding plane is applied to a forwarding efficiency control system of the 5G data forwarding plane, the forwarding efficiency control system of the 5G data forwarding plane comprises the 5G data forwarding plane, and the 5G data forwarding plane comprises a fast forwarding plane and a slow forwarding plane; the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data; the method comprises the following steps: the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through write locking; the fast forwarding plane forwards user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process; and when the forwarding core of the fast forwarding plane is added with one core, a read lock is needed to be added to lock the forwarding rule information, and when the forwarding core of the fast forwarding plane is added with one core, the core is only interlocked with the initial core of the fast forwarding plane, and other forwarding planes cannot store the interlocking condition. The invention distributes the shared data to different cores through read-write operation to distinguish read-write lock operation, and different read cores need to use different read locks to avoid the situation of low efficiency caused by simultaneously operating one memory, thereby achieving the purpose of linearly increasing the UPF forwarding data performance along with the increase of the number of cores.
Drawings
FIG. 1 is a schematic diagram illustrating the isolation of a slow processing SPU and a fast processing FPU from each other, respectively, running on different virtual machines in a UPF according to the prior art;
FIG. 2 is a schematic diagram of a forwarding efficiency control system of the 5G data forwarding plane according to a preferred embodiment of the present invention;
FIG. 3 is a flow chart of a preferred embodiment of a forwarding efficiency control method of the 5G data forwarding plane of the present invention;
fig. 4 is a schematic operating environment of a terminal according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The forwarding efficiency control method of a 5G data forwarding plane according to a preferred embodiment of the present invention is applied to a forwarding efficiency control system of a 5G data forwarding plane, as shown in fig. 2, the forwarding efficiency control system of the 5G data forwarding plane includes the 5G data forwarding plane, and the 5G data forwarding plane includes a fast forwarding plane (i.e., FPU in fig. 2) and a slow forwarding plane (i.e., SPU in fig. 2); the fast Forwarding Plane (FPU) includes a plurality of core CPUs, one initial core CPU (e.g., core 0 in fig. 2, where the initial core CPU of the fast forwarding plane uses a write lock and the initial core CPU of the data forwarding core uses a read lock) is selected from the plurality of core CPUs to perform data interaction with the slow forwarding plane, and the other core CPUs (e.g., core 1, core 2, and core N in fig. 2, where N is a positive integer greater than 1) are used to forward user data (different data forwarding cores use different read locks).
As shown in fig. 3, the method for controlling forwarding efficiency of the 5G data forwarding plane includes the following steps:
step S10, the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data, and locks the forwarding rule information by write locking.
Specifically, the forwarding rule information includes an add operation, a modify operation, and a delete operation. The fast Forwarding Plane (FPU) uses a single core to perform data interaction with the slow forwarding plane (SPU) for obtaining forwarding rule information of user data, and the forwarding rule information has operations of adding, modifying, deleting, etc., so that a write lock is required to be used for locking, and the slow forwarding plane (SPU) is prevented from operating on the data (target data) to cause an exception in the process of using the data (target data) by other cores.
And step S20, the fast forwarding plane forwards the user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process.
Specifically, the fast Forwarding Plane (FPU) is used for forwarding user data through 1 core, 2 cores, …, to N cores (N size depends on the number of cores available to the server) in addition to the initial core CPU (i.e. 0 core), and since these cores (i.e. 1 core, 2 cores, N cores in fig. 2) all use these forwarding rule information, a read lock is also required to lock these information during use, so as to prevent these data from being modified during use, and the like, resulting in abnormal operation.
Further, for target data which needs to be added, modified and deleted, the target data is processed only by the initial kernel CPU (0 core), and when the target data is processed by the initial kernel CPU (0 core), a lock is defined to lock the target data.
Further, when other core CPUs (1 core, 2 core, N core) than the original core CPU (0 core) use the target data, the target data is locked by a read lock, which is a shared lock and does not lock each other between the other core CPUs (1 core, 2 core, N core) forwarding.
Because the same reading lock is used among the forwarding cores (1 core, 2 cores, and N cores), the operation of the reading lock adds 1 to the statistics of the lock when the lock is added, and subtracts one from the statistics of the lock when the lock is removed, and each core uses the same reading lock to simultaneously operate the same memory data, so that the memory is interlocked when the lock is operated, and the interlocking becomes more and more serious along with the increase of the number of the cores. Thus, the read locks used by the core CPUs other than the original core CPU are different. I.e., each forwarding core (1 core, 2 cores, N core) uses a different read lock to lock in-memory data.
Further, in the present invention, before each core CPU (1 core, 2 cores, N core) except the initial core CPU (0 core) is locked by using a read lock, it is determined whether a write lock of the initial core CPU (0 core) is in a locked state; if the write lock of the initial core CPU (0 core) is in a locked state, each other core CPU (1 core, 2 cores, N core) needs to wait; if the write lock of the initial core CPU (core 0) is not in a locked state, each of the other core CPUs (core 1, core 2, core N) is locked by using a respective read lock.
Further, in the present invention, the initial kernel CPU (0 core) uses a write lock to lock before modifying target data, and before the write lock locks the target data, determines whether other kernel CPUs (1 core, 2 core.., N core) use the target data according to a read lock of each of the other kernel CPUs (1 core, 2 core.., N core) except the initial kernel CPU (0 core); if yes, the initial kernel CPU (0 kernel) waits; and if not, unlocking the initial kernel CPU (0 kernel) after the operation user is finished.
The invention distributes the shared data to different cores through the read-write operation to distinguish the read-write lock operation, and different read cores need to use different read locks to avoid the situation of low efficiency caused by simultaneously operating one memory, thereby achieving the purpose of linearly increasing the UPF data forwarding performance along with the increase of the number of cores, improving the working efficiency of a 5G data forwarding plane through a frame without interlocking, and leading the forwarding plane to be linearly increased along with the increase of the number of cores.
Further, as shown in fig. 4, based on the forwarding efficiency control method of the 5G data forwarding plane, the present invention also provides a terminal, where the terminal includes a processor 10, a memory 20, and a display 30. Fig. 4 shows only some of the components of the terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 is used for storing application software installed in the terminal and various data, such as program codes of the installed terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a forwarding efficiency control program 40 of the 5G data forwarding plane, and the forwarding efficiency control program 40 of the 5G data forwarding plane can be executed by the processor 10, so as to implement the forwarding efficiency control method of the 5G data forwarding plane in the present application.
The processor 10 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is configured to run program codes stored in the memory 20 or process data, for example, execute a forwarding efficiency control method of the 5G data forwarding plane.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the terminal and for displaying a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
In one embodiment, when processor 10 executes forwarding efficiency control program 40 for the 5G data forwarding plane in memory 20, the following steps are implemented:
the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through write locking;
and the fast forwarding plane forwards user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process.
Wherein the forwarding rule information includes an add operation, a modify operation, and a delete operation.
The forwarding efficiency control method of the 5G data forwarding plane further includes:
and processing the target data which needs to be added, modified and deleted only through the initial kernel CPU, and defining a lock to lock the target data when the initial kernel CPU processes the target data.
The method for controlling the forwarding efficiency of the 5G data forwarding plane further comprises the following steps:
when other core CPUs except the initial core CPU use the target data, the target data is locked through a read lock, the read lock is a shared lock, and the target data cannot be locked among other core CPUs in forwarding.
Wherein the read locks used by the core CPUs other than the initial core CPU are different.
The forwarding efficiency control method of the 5G data forwarding plane further includes:
before each core CPU except the initial core CPU is locked by using a read lock, judging whether the write lock of the initial core CPU is in a locked state;
if the write lock of the initial kernel CPU is in a locked state, each other kernel CPU needs to wait;
and if the write lock of the initial core CPU is not in a locked state, each other core CPU uses the respective read lock for locking.
The forwarding efficiency control method of the 5G data forwarding plane further includes:
the initial kernel CPU uses a write lock to lock before modifying target data, and judges whether other kernel CPUs use the target data according to read locks of other kernel CPUs except the initial kernel CPU before the write lock locks the target data;
if yes, the initial kernel CPU waits;
and if not, unlocking the initial kernel CPU after the operation user is finished.
The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a forwarding efficiency control program of a 5G data forwarding plane, and when the forwarding efficiency control program of the 5G data forwarding plane is executed by a processor, the steps of the forwarding efficiency control method of the 5G data forwarding plane are implemented.
In summary, the present invention provides a forwarding efficiency control method, a forwarding efficiency control system, and a terminal for a 5G data forwarding plane, where the forwarding efficiency control method for the 5G data forwarding plane is applied to a forwarding efficiency control system for the 5G data forwarding plane, the forwarding efficiency control system for the 5G data forwarding plane includes the 5G data forwarding plane, and the 5G data forwarding plane includes a fast forwarding plane and a slow forwarding plane; the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU in the plurality of kernel CPUs is selected to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data; the method comprises the following steps: the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through write locking; the fast forwarding plane forwards user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process; and when the forwarding core of the fast forwarding plane is added with one core, a read lock is needed to be added to lock the forwarding rule information, and when the forwarding core of the fast forwarding plane is added with one core, the core is only interlocked with the initial core of the fast forwarding plane, and other forwarding planes cannot store the interlocking condition. The invention distributes the shared data to different cores through read-write operation to distinguish read-write lock operation, and different read cores need to use different read locks to avoid the situation of low efficiency caused by simultaneously operating one memory, thereby achieving the purpose of linearly increasing the UPF forwarding data performance along with the increase of the number of cores.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A forwarding efficiency control method of a 5G data forwarding plane is characterized in that the forwarding efficiency control method of the 5G data forwarding plane is applied to a forwarding efficiency control system of the 5G data forwarding plane, the forwarding efficiency control system of the 5G data forwarding plane comprises the 5G data forwarding plane, and the 5G data forwarding plane comprises a fast forwarding plane and a slow forwarding plane;
the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data;
the forwarding efficiency control method of the 5G data forwarding plane comprises the following steps:
the initial kernel CPU of the fast forwarding plane acquires forwarding rule information of user data and locks the forwarding rule information through write locking;
and the fast forwarding plane forwards user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locks the forwarding rule information through a read lock in the forwarding process.
2. The forwarding efficiency control method of 5G data forwarding plane according to claim 1, wherein the forwarding rule information comprises an adding operation, a modifying operation and a deleting operation.
3. The forwarding efficiency control method of the 5G data forwarding plane according to claim 1, wherein the forwarding efficiency control method of the 5G data forwarding plane further comprises:
and for target data needing to be added, modified and deleted, processing the target data only through the initial kernel CPU, and defining a lock to lock the target data when the initial kernel CPU processes the target data.
4. The forwarding efficiency control method of the 5G data forwarding plane according to claim 3, wherein the forwarding efficiency control method of the 5G data forwarding plane further comprises:
when other core CPUs except the initial core CPU use the target data, the target data is locked through a read lock, the read lock is a shared lock, and the target data cannot be locked among other core CPUs in forwarding.
5. The forwarding efficiency control method for 5G data forwarding plane according to claim 4, wherein the read locks used by the core CPUs other than the initial core CPU are different.
6. The forwarding efficiency control method of the 5G data forwarding plane according to claim 5, wherein the forwarding efficiency control method of the 5G data forwarding plane further comprises:
before each core CPU except the initial core CPU is locked by using a read lock, judging whether the write lock of the initial core CPU is in a locked state;
if the write lock of the initial kernel CPU is in a locked state, each other kernel CPU needs to wait;
and if the write lock of the initial core CPU is not in a locked state, each other core CPU uses the respective read lock for locking.
7. The forwarding efficiency control method of the 5G data forwarding plane according to claim 1, wherein the forwarding efficiency control method of the 5G data forwarding plane further comprises:
the initial kernel CPU uses a write lock to lock before modifying target data, and judges whether other kernel CPUs use the target data according to the read locks of other kernel CPUs except the initial kernel CPU before the write lock locks the target data;
if yes, the initial kernel CPU waits;
and if not, unlocking the initial kernel CPU after the operation user is finished.
8. A forwarding efficiency control system of a 5G data forwarding plane, wherein the forwarding efficiency control system of the 5G data forwarding plane comprises:
the 5G data forwarding plane comprises a fast forwarding plane and a slow forwarding plane;
the fast forwarding plane comprises a plurality of kernel CPUs (central processing units), one initial kernel CPU is selected from the plurality of kernel CPUs to perform data interaction with the slow forwarding plane, and other kernel CPUs are used for forwarding user data;
the initial kernel CPU of the fast forwarding plane is used for acquiring forwarding rule information of user data and locking the forwarding rule information through write locking;
and the fast forwarding plane is used for forwarding user data according to the forwarding rule information through other kernel CPUs except the initial kernel CPU, and locking the forwarding rule information through a read lock in the forwarding process.
9. A terminal, characterized in that the terminal comprises: a memory, a processor and a forwarding efficiency control program of a 5G data forwarding plane stored on the memory and operable on the processor, the forwarding efficiency control program of the 5G data forwarding plane implementing the steps of the forwarding efficiency control method of the 5G data forwarding plane according to any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a forwarding efficiency control program of a 5G data forwarding plane, and the forwarding efficiency control program of the 5G data forwarding plane, when executed by a processor, implements the steps of the forwarding efficiency control method of the 5G data forwarding plane according to any one of claims 1 to 8.
CN202110110167.3A 2021-01-26 2021-01-26 Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane Active CN112770344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110110167.3A CN112770344B (en) 2021-01-26 2021-01-26 Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110110167.3A CN112770344B (en) 2021-01-26 2021-01-26 Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane

Publications (2)

Publication Number Publication Date
CN112770344A CN112770344A (en) 2021-05-07
CN112770344B true CN112770344B (en) 2022-06-14

Family

ID=75706055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110110167.3A Active CN112770344B (en) 2021-01-26 2021-01-26 Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane

Country Status (1)

Country Link
CN (1) CN112770344B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411778A (en) * 2016-10-27 2017-02-15 东软集团股份有限公司 Data forwarding method and device
CN110677340A (en) * 2019-10-16 2020-01-10 杭州迪普科技股份有限公司 Message forwarding method and device
CN111010344A (en) * 2019-12-31 2020-04-14 杭州迪普科技股份有限公司 Message forwarding method and device, electronic equipment and machine-readable storage medium
CN111736982A (en) * 2020-05-12 2020-10-02 深圳震有科技股份有限公司 Data forwarding processing method and server of 5G data forwarding plane
CN111782419A (en) * 2020-06-23 2020-10-16 北京青云科技股份有限公司 Cache updating method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587065B (en) * 2017-09-28 2021-02-23 北京金山云网络技术有限公司 Method, device, switch, equipment and storage medium for forwarding message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411778A (en) * 2016-10-27 2017-02-15 东软集团股份有限公司 Data forwarding method and device
CN110677340A (en) * 2019-10-16 2020-01-10 杭州迪普科技股份有限公司 Message forwarding method and device
CN111010344A (en) * 2019-12-31 2020-04-14 杭州迪普科技股份有限公司 Message forwarding method and device, electronic equipment and machine-readable storage medium
CN111736982A (en) * 2020-05-12 2020-10-02 深圳震有科技股份有限公司 Data forwarding processing method and server of 5G data forwarding plane
CN111782419A (en) * 2020-06-23 2020-10-16 北京青云科技股份有限公司 Cache updating method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112770344A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN107423619B (en) Method for constructing WEB operation of intelligent terminal based on virtualization technology
CN114020482A (en) Method and apparatus for data writing
CN102541468B (en) Dirty data write-back system in virtual environment
US10331499B2 (en) Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads
CN110928935B (en) Data access command processing method, device and system
CN102591964A (en) Implementation method and device for data reading-writing splitting system
CN110109626B (en) NVMe SSD command processing method based on FPGA
US20220121362A1 (en) Method, electronic device, and computer program product for storage management
US11132145B2 (en) Techniques for reducing write amplification on solid state storage devices (SSDs)
US20220253252A1 (en) Data processing method and apparatus
CN114640716A (en) Cloud network cache acceleration system and method based on fast network path
CN110059024B (en) Memory space data caching method and device
CN111736982A (en) Data forwarding processing method and server of 5G data forwarding plane
CN112770344B (en) Method, system and terminal for controlling forwarding efficiency of 5G data forwarding plane
CN112437125B (en) Information concurrent processing method and device, electronic equipment and storage medium
US20230081889A1 (en) Method, apparatus, and computing device for operating data object, and storage medium
CN111221642B (en) Data processing method, device, storage medium and terminal
EP3082050A1 (en) Mass data fusion storage method and system
CN110543351A (en) Data processing method and computer device
CN113296899A (en) Transaction master machine, transaction slave machine and transaction processing method based on distributed system
CN110019113B (en) Database service processing method and database server
CN107193908B (en) The update method and device of visual field list
CN112835716B (en) CPU buffer allocation method and terminal of 5G communication virtualization network element
CN113141633A (en) 5G communication data packet forwarding method and terminal
WO2024174877A1 (en) Virtual machine migration acceleration method and system, migration device, and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant