CN116414568B - Memory adjustment method, device and system for virtual wireless access network - Google Patents

Memory adjustment method, device and system for virtual wireless access network Download PDF

Info

Publication number
CN116414568B
CN116414568B CN202310684264.2A CN202310684264A CN116414568B CN 116414568 B CN116414568 B CN 116414568B CN 202310684264 A CN202310684264 A CN 202310684264A CN 116414568 B CN116414568 B CN 116414568B
Authority
CN
China
Prior art keywords
memory
dpdk
access network
wireless access
initialization
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
CN202310684264.2A
Other languages
Chinese (zh)
Other versions
CN116414568A (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202310684264.2A priority Critical patent/CN116414568B/en
Publication of CN116414568A publication Critical patent/CN116414568A/en
Application granted granted Critical
Publication of CN116414568B publication Critical patent/CN116414568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a memory adjusting method, equipment and a system for a virtual wireless access network, wherein the virtual wireless access network comprises a data plane acceleration tool DPDK, and the method comprises the following steps: acquiring a mapping relation between memory use information related to a single cell and a DPDK; and adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation. In the embodiment, the mapping relation between the memory use information related to the single cell and the DPDK is obtained; and then, the initialized memory related to the DPDK in the virtual wireless access network is adjusted based on the mapping relation, so that flexible expansion and contraction operation can be performed on the memory related to the DPDK without modifying manufacturer codes, the problem of excessive memory resource allocation is solved, the utilization rate of memory resources can be improved, and the waste degree of the memory resources is reduced.

Description

Memory adjustment method, device and system for virtual wireless access network
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, and a system for adjusting a memory of a virtual wireless access network.
Background
In recent years, with the continuous development of the performance of general processors and the gradual maturity of Open source Open RAN (O-RAN) standards, more and more Radio Access Networks (RANs) are deployed in a general server in the form of Network Function Virtualization (NFV), and virtual radio access network vRAN products based on the combination of the general server and Open source software and hardware are generated.
Currently, the vRAN has the problems of low utilization rate of memory resources and serious memory waste.
Disclosure of Invention
The embodiment of the application provides a memory adjusting method, equipment and a system for a virtual wireless access network, which can improve the utilization rate of memory resources and solve the problem of serious memory waste.
In a first aspect, an embodiment of the present application provides a memory adjustment method for a virtual radio access network, where the virtual radio access network includes a data plane acceleration tool DPDK; the method comprises the following steps:
obtaining a mapping relation between a single cell and the memory use information related to the DPDK;
and adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
In a second aspect, an embodiment of the present application provides a memory adjustment device for a virtual radio access network, where the virtual radio access network includes a data plane acceleration tool DPDK; the device comprises:
a first obtaining module, configured to obtain a mapping relationship between a single cell and memory usage information related to the DPDK;
and the first processing module is used for adjusting the initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor; the memory is configured to store one or more computer instructions, where the one or more computer instructions, when executed by the processor, implement the method for adjusting a memory for a virtual wireless access network according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, configured to store a computer program, where the computer program when executed implements the method for adjusting a memory for a virtual wireless access network according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform the steps of the memory adjustment method for a virtual wireless access network as described in the first aspect above.
In a sixth aspect, an embodiment of the present application provides a method for processing memory usage information, where the method is applied to a virtual radio access network, where the virtual radio access network includes a data plane acceleration tool DPDK; the method comprises the following steps:
acquiring memory use information related to the DPDK;
determining the number information of cells covered by the virtual wireless access network;
and determining a mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
In a seventh aspect, an embodiment of the present application provides a processing apparatus for memory usage information, which is applied to a virtual radio access network, where the virtual radio access network includes a data plane acceleration tool DPDK; the device comprises:
a second obtaining module, configured to obtain memory usage information related to the DPDK;
a second determining module, configured to determine number information of cells covered by the virtual wireless access network;
and the second processing module is used for determining the mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
In an eighth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor; the memory is configured to store one or more computer instructions, where the one or more computer instructions when executed by the processor implement the method for processing memory usage information shown in the sixth aspect.
In a ninth aspect, an embodiment of the present invention provides a computer storage medium storing a computer program, where the computer program causes a computer to execute a method for processing memory usage information as described in the sixth aspect.
In a tenth aspect, embodiments of the present invention provide a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to execute the steps in the memory usage information processing method described in the sixth aspect.
In an eleventh aspect, an embodiment of the present invention provides a virtual radio access network base station, including:
a data plane acceleration tool DPDK;
the performance analysis module is in communication connection with the DPDK and is used for acquiring a mapping relation between a single cell and memory use information related to the DPDK;
and the detection module is in communication connection with the DPDK and the performance analysis module and is used for adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
In a twelfth aspect, an embodiment of the present invention provides a memory adjustment system for a virtual wireless access network, including:
A virtual radio access network base station according to the eleventh aspect;
the core network is in communication connection with the virtual wireless access network base station;
and the at least one user terminal is in communication connection with the virtual wireless access network base station and is used for acquiring the data to be processed sent by the user terminal and sending the data to be processed to the core network for processing.
According to the technical scheme provided by the embodiment of the application, the mapping relation between the single cell and the memory use information related to the DPDK is obtained; and then, based on the mapping relation, the initialized memory related to the DPDK in the virtual wireless access network is adjusted, so that flexible expansion and contraction operation can be effectively realized on the memory related to the DPDK without modifying manufacturer codes, the problem of excessive allocation of memory resources is solved, the utilization rate of the memory resources can be improved, the waste degree of the memory resources is reduced, the practicability of the method is further improved, and the popularization and application of the market are facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram illustrating a large memory page according to the related art;
FIG. 2 is a schematic diagram I of dividing a large memory page according to the related art;
FIG. 3 is a second schematic diagram of dividing a large memory page according to the related art;
FIG. 4 is a third schematic diagram of dividing a large memory page according to the related art;
FIG. 5 is a diagram showing the division of large memory pages according to the related art;
fig. 6 is a schematic diagram of a memory adjustment method for a virtual wireless access network according to an embodiment of the present application;
fig. 7 is a flowchart of a memory adjustment method for a virtual wireless access network according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a process of obtaining a mapping relationship between a single cell and the DPDK related memory usage information according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a distributed unit DU according to an embodiment of the present application;
fig. 10 is a flowchart illustrating adjustment of an initialization memory related to the DPDK in the virtual radio access network based on the mapping relationship according to an embodiment of the present application;
fig. 11 is a schematic diagram one of an elastic expansion method for a vRAN memory resource provided by an application embodiment of the present application;
Fig. 12 is a schematic diagram two of an elastic expansion method for a vRAN memory resource provided by an application embodiment of the present application;
fig. 13 is a flowchart of a method for processing memory usage information according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a private network base station of a virtual radio access network according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a memory adjustment system for a virtual wireless access network according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a memory adjusting device for a virtual wireless access network according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of an electronic device corresponding to the memory adjustment device for a virtual wireless access network provided in the embodiment shown in fig. 16;
FIG. 18 is a schematic diagram of a memory usage information processing device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of an electronic device corresponding to the processing apparatus for memory usage information provided in the embodiment shown in fig. 18.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two, but does not exclude the case of at least one.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude that an additional identical element is present in a commodity or system comprising the element.
In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
Definition of terms:
RAN: radio access network, radio access network.
O-RAN: an open radio access network, initiated by multiple operators, a federation of equipment vendors, addresses open, intelligent and interoperable RAN specifications, and issues O-RAN labels.
gNB: is an abbreviation of gNodeB, full name the nextGenerationNode B, next generation base station, i.e. 5G base station.
vRAN: virtual Radio AccessNetworks, virtual radio access network, RAN baseband functions operating in software.
BBU: baseband Unit, baseband processing Unit.
RRU: remote Radio Unit, remote radio units.
CU: centralized Unit, responsible for handling non-real time wireless higher layer protocol functions.
DU: distributed units are responsible for processing functions with high requirements on real-time performance, namely, a part of physical layer (PHY), a Media Access Control (MAC), radio Link Control (RLC) and the like.
RU: radio Unit, the Radio Unit responsible for Radio frequency transmission.
DPDK: dataplan development kit, data plane acceleration tool.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present application by those skilled in the art, the following briefly describes related technologies:
conventional base stations typically include: the base station integrated BBU and RRU are deployed at the same position. With the development of scientific technology, RRU is gradually pulled away and bound with antenna. In the 5G RAN, the access network is reconfigured into a centralized unit CU, a distributed unit DU, and a radio unit RU, and information from a User Equipment (UE) is transmitted to the RU through radio waves, and after digital-to-analog conversion, the information is transmitted to the DU. The DU performs continuous multi-level processing on the received data, including wireless communication functions such as encoding and decoding, multiplexing, segmentation, reassembly, compression, encryption, and the like.
From the above, the conventional base station RAN is often implemented based on dedicated hardware of a device manufacturer, which is difficult to develop and has a long technology iteration period. In recent years, with the continuous development of the performance of general processors and the gradual maturing of Open-source Open RAN (O-RAN) standards, more and more RANs are deployed in a general server in the form of network function virtualization (Network Functions Virtualization, abbreviated as NFV), and a vRAN product based on the combination of the general server and Open-source software and hardware is generated.
In order to improve the processing performance of the data packet on the general server, the vRAN manufacturer introduces a data plane acceleration DPDK technology, and the DPDK can utilize the data plane provided by itself to carry out packet receiving and transmitting processing, thereby bypassing the kernel mode protocol stack to improve the processing efficiency of the message. In addition, from the aspect of performance, the DPDK can enable the large memory page HugePage to perform memory allocation, which can make the program monopolize the memory as much as possible to prevent the memory from being discharged, and enlarge the page table to improve the hit rate of the Hash.
As shown in fig. 1, a basic use case of a large memory page is provided, the large memory page may be formed by a plurality of memory areas memzone, each memzone marks a continuous physical space, specifically, the large memory page may include a ring zone, a memory pool zone, a free zone, a Heap zone, and a Heap zone, where the ring zone is used to store structural body information associated in the information transceiving process, and the structural body information may include data pointer information, metadata mate, related attribute information of metadata, and so on; the memory pool area is used for storing data; the heap area is used to store the memory usage information of the hugepage, for example, by querying the heap area for a free address in the large memory page for storing data, and after the free address is obtained, determining the free area in the large memory page.
For the memory pool area, the memory pool area may include a plurality of memory block areas, which may include a memory structure block freeibufs where no data is stored, and a memory structure block mbuf where data is stored, and a private area for storing a data pointer between consecutive data packets and attribute information of the data packets, for example, length information of the data packets, header information, and the like.
Currently, the vRAN has the problems of low utilization rate of memory resources and serious memory waste, and the main reasons for the problems are as follows: on the one hand, in the process of starting the DU, in order to ensure the stability of data processing operation, a fixed number of hugepages need to be initialized and mounted, and the number of the initialized and mounted large memory pages is often the maximum number of the DU capable of being mounted, namely, in the process of starting the DU, all the large memory pages can be directly pulled to be full. However, the existing environment lacks a set of hugepage observation and analysis tools, which causes that the vRAN manufacturer cannot effectively evaluate the memory usage situation of the base station.
On the other hand, most manufacturers do not reasonably divide the usage of the hugepages, in order to cope with various application scenarios, manufacturers usually pull the number of bound hugepages full, but only use a part of memory in the actual operation process, as shown in fig. 2, a light gray area is used for identifying large memory pages, a dark gray area is used for identifying the actual memory usage situation of the internal DU, when the number of cells covered by the virtual wireless access network is 4, the number of initialized hugepages is 10, and at this time, when the DU is started, 10 large memory pages can be initialized, and when the virtual wireless access network is actually used, the occupied large memory pages are 1. As shown in fig. 3, when the number of cells covered by the virtual radio access network is 6, the number of initialized hugepages is 10, and at this time, when the DU is started, 10 large memory pages may be initialized, and when the DU is actually used, the number of occupied large memory pages is 2. As shown in fig. 4, when the number of cells covered by the virtual radio access network is 10, the number of initialized hugepages is 10, and at this time, when the DU is started, 10 large memory pages may be initialized, and when the DU is actually used, the number of occupied large memory pages is 2. As shown in fig. 5, when the number of cells covered by the virtual radio access network is 16, the number of initialized hugepages is 10, and at this time, when the DU is started, 10 large memory pages can be initialized, and when the virtual radio access network is actually used, the occupied large memory pages are 6; as can be seen from the above, compared with all the initialized hugepages, the used memory only occupies a small part of the initialized hugepages, and the unused hugepages cannot be used by other applications because they are already mounted by the DU, so that the memory resources of the hugepages are seriously wasted.
In order to solve the problems of low memory resource utilization rate and serious memory waste faced by the vRAN, the present embodiment provides a memory adjustment method, device and system for a virtual radio access network, where an execution body of the memory adjustment method for the virtual radio access network is a memory adjustment device for the virtual radio access network, and in some examples, the memory adjustment device may be deployed in the virtual radio access network to form a virtual radio access network base station; specifically, referring to fig. 6, the memory adjusting device of the virtual wireless access network is communicatively connected with a user terminal (which may be implemented as a handheld terminal, a tablet computer, an intelligent terminal, a vehicle-mounted display screen, etc.) of one or more cells and a core network, so as to provide corresponding wireless access services for the one or more cells.
In the above embodiment, the memory adjusting device performs network connection with the user terminal, and the network connection may be a wireless or wired network connection. If the memory adjusting device is in communication connection with the user terminal, the network system of the mobile network may be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4g+ (lte+), wiMax, 5G, 6G, and the like.
Specifically, the virtual radio access network may include a data plane acceleration tool DPDK for implementing a data acceleration processing operation, where the memory adjusting device of the virtual radio access network may be configured to: obtaining a mapping relationship between memory usage information related to a single cell and a DPDK, and it should be noted that different cells are often configured with different cell attribute features, for example, different cells often correspond to different cell ranges, cell sizes and other features, so that the mapping relationship corresponding to different cells is often different; the mapping relation between the single cell and the memory usage information related to the DPDK can be pre-calculated or calculated in real time, after the mapping relation between the single cell and the memory usage information related to the DPDK is obtained, the initialized memory related to the DPDK in the virtual wireless access network can be adjusted based on the mapping relation, and the adjusted memory is obtained, so that flexible expansion and contraction operation on the memory related to the DPDK can be effectively realized without modifying manufacturer codes, the utilization rate of memory resources can be improved, and the practicability of the method is further improved.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and features in the embodiments may be combined with each other. In addition, the sequence of steps in the method embodiments described below is only an example and is not strictly limited.
Fig. 7 is a flowchart of a memory adjustment method for a virtual wireless access network according to an embodiment of the present application; referring to fig. 7, the present embodiment provides a memory adjusting method for a virtual wireless access network, where the main implementation body of the method is a memory adjusting device for the virtual wireless access network, and it can be understood that the memory adjusting device for the virtual wireless access network may be implemented as software, or a combination of software and hardware, and specifically, when the memory adjusting device for the virtual wireless access network is implemented as hardware, it may be specifically various electronic devices with memory adjusting capability for the virtual wireless access network. When the memory adjusting device for the virtual wireless access network is implemented as software, it may be installed in the above electronic device, where, in order to ensure the data processing rate, the virtual wireless access network may include a data plane acceleration tool DPDK, and when implemented specifically, the virtual wireless access network may be implemented as a private network or a communication network, and the memory adjusting method may include:
Step S701: and obtaining the mapping relation between the memory use information related to the DPDK and the single cell.
Step S702: and adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
The specific implementation process and implementation effect of each step are described in detail below:
step S701: and obtaining the mapping relation between the memory use information related to the DPDK and the single cell.
For the virtual wireless access network, because the number of cells and the scale of the cells are in direct relation with the memory usage condition of the virtual wireless access network, and the number of different cells and the memory information required to be occupied by the cell scale are different, in order to ensure the stability of data processing and improve the utilization rate of memory resources, the mapping relation between the memory usage information related to DPDK and the single cell can be obtained, namely, the memory usage information related to DPDK required to be occupied in the process of ensuring the stable processing of the data in the single cell.
In some examples, the mapping relationship between the memory usage information related to the DPDK and the single cell may be obtained by performing data detection on a preset network, where the preset network is the same as or different from the virtual radio access network in this embodiment; at this time, the obtaining the mapping relationship between the memory usage information related to the DPDK and the single cell includes: acquiring the number of cells covered by a preset network; determining an actual use memory related to the DPDK in a preset network; based on the number of cells covered by a preset network and actual use memory related to DPDK, the mapping relation between the single cell and the memory use information related to DPDK is determined, so that the accuracy and reliability of the mapping relation determination are effectively ensured.
After the mapping relationship between the memory usage information related to the DPDK and the single cell is obtained, the mapping relationship may be stored in a preset area in the virtual wireless access network, for example: the mapping relation can be stored in a distributed unit in the virtual wireless access network, at this time, the DPDK can also be deployed in the distributed unit, and then the mapping relation between the single cell and the memory usage information related to the DPDK can be obtained by accessing the distributed unit.
Further, since the number of different cells and the memory information that needs to be occupied by the cell size are different, the number of mapping relationships between the memory usage information related to the DPDK and the single cell is multiple, and features of the single cell corresponding to the different mapping relationships, that is, the mapping relationships corresponding to the cells of different sizes are different, at this time, the mapping relationships may be determined based on the features of the cells, and specifically, the obtaining of the mapping relationships between the memory usage information related to the DPDK and the single cell includes: obtaining a plurality of different standby mapping relations between memory usage information related to different preset single cells and DPDK, wherein the cell characteristics corresponding to the different single cells are different; determining the cell attribute of a cell covered by the virtual wireless access network; determining target cell characteristics corresponding to the cell attributes in the cell characteristics corresponding to the single cell, and determining target mapping relations corresponding to the target cell characteristics in a plurality of different standby mapping relations; and determining the target mapping relation as the mapping relation between the memory usage information related to the single cell and the DPDK, and ensuring the accuracy and reliability of the mapping relation determination.
In yet other examples, different types of vrans may reserve different amounts of memory for cells, as different virtual radio access networks may correspond to different network attributes. Therefore, not only the mapping relationship between the single cell and the DPDK related memory usage information may be determined based on the different cell numbers and cell rules, but also the obtaining the mapping relationship between the single cell and the DPDK related memory usage information may include: acquiring network attribute information of a virtual wireless access network; determining a standby mapping relation matched with network attribute information, wherein the standby mapping relation is used for the relation between single cells applicable to different virtual wireless access networks and memory use information related to DPDK; determining a cell attribute of a cell covered by the virtual wireless access network, determining a target mapping relationship based on the cell attribute in a standby mapping relationship, and determining a mapping relationship between a single cell defined by the target mapping relationship and memory usage information related to the DPDK and a mapping relationship between the single cell to be acquired and the memory usage information related to the DPDK.
Step S702: and adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
For the virtual radio access network, an initialization memory related to the DPDK for enabling the data processing operation is preconfigured, and the initialization memories corresponding to different application scenarios may be different, for example: the initialization memory associated with the DPDK in the virtual radio access network may be 10 large memory pages, or 15 large memory pages, or 5 large memory pages, etc.
In the process of using the virtual wireless access network to process data, the initialized memory related to the DPDK is usually all memory pages which can be started by the DPDK, and the used memory is usually only a small part of the initialized memory, so that in order to improve the utilization rate of memory resources, after the mapping relation between the single cell and the memory use information related to the DPDK is obtained, the initialized memory related to the DPDK in the virtual wireless access network can be adjusted based on the mapping relation.
In some examples, the memory adjustment operation may be implemented by presetting a trained machine learning model, and at this time, adjusting the initialized memory related to the DPDK in the virtual radio access network based on the mapping relationship may include: acquiring a pre-trained machine learning model, and determining initialization parameters corresponding to an initialization memory; the mapping relation and the initialization parameters are input into the machine learning model, the adjusted parameters output by the machine learning model are obtained, and the initialization memory related to the DPDK is adjusted based on the adjusted parameters, so that the memory adjustment operation is effectively realized.
It should be noted that, the memory adjustment method in this embodiment may be applied to a private network scenario, where the memory adjustment method in this embodiment may include: acquiring a mapping relation between memory use information related to a single private network cell and a DPDK; adjusting an initialization memory related to the DPDK in the virtual private network wireless access network based on the mapping relation; the specific implementation principle and implementation effect of the above steps are similar to those of each step in the above embodiment, and specific reference may be made to the above statement, which is not repeated herein.
According to the memory adjustment method provided by the embodiment, the mapping relation between the memory use information related to the DPDK and the single cell is obtained; and then, the initialized memory related to the DPDK in the virtual wireless access network is adjusted based on the mapping relation, so that flexible expansion and contraction operation can be performed on the memory related to the DPDK without modifying manufacturer codes, the problem of excessive memory resource allocation is solved, the utilization rate of the memory resource can be improved, the waste degree of the memory resource is reduced, the practicability of the method is further improved, and the popularization and application of the market are facilitated.
Fig. 8 is a flowchart illustrating a process of obtaining a mapping relationship between memory usage information related to DPDK and a single cell according to an embodiment of the present application; on the basis of the above embodiment, referring to fig. 8, the mapping relationship between the memory usage information related to the DPDK and the single cell may be obtained not only by performing data detection on a preset network, but also by performing analysis processing on a virtual radio access network by using a performance analysis module, where the virtual radio access network may further include a performance analysis module communicatively connected to the DPDK; specifically, the obtaining the mapping relationship between the memory usage information related to the DPDK and the single cell may include:
step S801: and acquiring memory use information related to the DPDK through a performance analysis module.
Referring to fig. 9, the virtual radio access network may include a distributed unit DU, where the distributed unit DU may include a DPDK for implementing a data plane acceleration processing operation and a performance analysis module communicatively connected to the DPDK, and specifically, the performance analysis module may be communicatively connected to the DPDK through a preset interface, so that in a process of running the DPDK, memory usage information related to the DPDK may be obtained through the performance analysis module. In some examples, the obtaining, by the performance analysis module, the memory usage information associated with the DPDK may include: acquiring an initialized large memory page corresponding to the DPDK through a preset interface of the performance analysis module; and traversing all initialized large memory pages to obtain the memory usage size related to the DPDK.
Specifically, in order to improve the hit rate of the page, the DPDK may start the large memory page to perform the memory allocation operation, that is, the memory page corresponding to the DPDK may be a large memory page, in the process of performing data processing on the DPDK, the initialized large memory page corresponding to the DPDK may be obtained through a preset interface, and then all the initialized large memory pages may be traversed through the performance analysis module, that is, the use condition corresponding to each initialized large memory page is checked, so that the memory usage size related to the DPDK may be obtained, where the memory usage size is the actual use memory.
In addition, the large memory page may include a memory area for storing data, where the memory area may include a ring area, a memory pool area, a heap area, and so on, and since the cell covered by the virtual radio access network has a direct relationship with the memory pool area, in this case, in order to accurately obtain the memory usage size related to the DPDK, traversing all the initialized large memory pages to obtain the memory usage size related to the DPDK may include: traversing all the initialized large memory pages to obtain first use information of memory areas in all the initialized large memory pages; determining second use information of a memory pool area in each memory area based on the first use information of the memory area in each initialized large memory page; and determining the memory usage size related to the DPDK based on the first usage information corresponding to all the memory areas and the second usage information of all the memory pool areas.
Specifically, all the initialized large memory pages can be traversed through the performance analysis module to obtain the first usage information of the memory area in each initialized large memory page, and since the memory area can include the memory pool area, that is, the memory pool area is a part of the memory area, after the first usage information of the memory area in each initialized large memory page is obtained, the first usage information of the memory area in each initialized large memory page can be analyzed, so that the second usage information of the memory pool area in each memory area can be determined, and the second usage information is often smaller than the first usage information.
After the first usage information corresponding to all the memory areas and the second usage information of all the memory pool areas are obtained, the first usage information corresponding to all the memory areas and the second usage information of all the memory pool areas can be analyzed and processed, so that the memory usage size related to the DPDK can be determined. In some examples, determining the memory usage size associated with the DPDK based on the first usage information corresponding to all memory regions and the second usage information of all memory pool regions may include: acquiring the sum of the first use information corresponding to all the memory areas and the sum of the second use information of all the memory pool areas; and determining the memory usage size related to the DPDK based on the sum of the first usage information and the sum of the second usage information, thereby effectively ensuring the accuracy and reliability of determining the memory usage size.
It should be noted that, for a large memory page, since the memory area includes a ring area, a memory pool area, and a heap area, the first usage information includes second usage information, which is often smaller than the first usage information; the first usage information further includes first sub-usage information corresponding to the annulus region and second sub-usage information corresponding to the stack region, and the usage states of the annulus region and the stack region are always fixed, so that the first sub-usage information and the second sub-usage information are always fixed; thus, the memory usage size associated with the DPDK has a direct relationship with the memory pool area, and in other examples, the sum of the second usage information may be determined as the memory usage size associated with the DPDK.
Step S802: and determining the number information of the cells covered by the virtual wireless access network.
Since it is known from the test of the performance of network data processing and the covered cells that the DPDK memory size initialized by the vRAN manufacturer is mainly related to the number of cells connected to the DU, and the virtual radio access network can cover one or more cells, in order to be able to stably determine the mapping relationship between the single cell and the memory usage information, the number of cells covered by the virtual radio access network may be determined, in some examples, the number of cells covered by the virtual radio access network may be preconfigured, at this time, the number of cells covered by the preconfigured virtual radio access network may be stored in a preset area, and determining the number of cells covered by the virtual radio access network may include: and acquiring the quantity information of the cells covered by the pre-configured virtual wireless access network by accessing a preset area.
In other examples, the information about the number of cells covered by the virtual radio access network may be not only preconfigured but also obtained through man-machine interaction, and in this case, determining the information about the number of cells covered by the virtual radio access network may include: displaying an interactive interface for configuring the number information of cells covered by the virtual wireless access network; acquiring quantity configuration operations input by a user in an interactive interface; the number information of the cells covered by the virtual wireless access network is determined based on the number configuration operation, so that the accuracy and reliability of determining the number information of the cells covered by the virtual wireless access network are effectively ensured.
Step S803: and determining the mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
After the quantity information and the memory use information are acquired, the quantity information and the memory use information can be analyzed and processed, so that the mapping relation between the single cell and the memory use information can be determined; in some examples, the mapping relationship may be determined by a ratio between the memory usage information and the quantity information, so that the mapping relationship between the single cell and the memory usage information may be stably determined.
In this embodiment, the performance analysis module obtains the memory usage information related to the DPDK, determines the number information of the cells covered by the virtual radio access network, and then determines the mapping relationship between the single cell and the memory usage information based on the number information and the memory usage information, thereby effectively ensuring the accuracy and reliability of determining the mapping relationship, and facilitating the memory adjustment operation based on the mapping relationship, and further improving the practicality of the method.
Fig. 10 is a flowchart illustrating adjustment of an initialization memory related to DPDK in a virtual radio access network based on a mapping relationship according to an embodiment of the present application; on the basis of any one of the above embodiments, referring to fig. 10, the present embodiment provides a technical solution for implementing a memory adjustment operation by using a detection module, where the virtual wireless access network further includes a detection module communicatively connected to the DPDK; at this time, adjusting the initialization memory related to the DPDK in the virtual radio access network based on the mapping relationship may include:
step S1001: and acquiring the initialization number of the cells covered by the virtual wireless access network through a detection module.
In the process of initializing the DPDK, the number of the cells covered by the virtual radio access network may be obtained through a detection module, and in some examples, the detection module may implement a data hijacking operation, where, by the detection module, obtaining the number of the cells covered by the virtual radio access network may include: in the process of initializing the DPDK, acquiring an environment initialization function corresponding to the DPDK through a detection module; based on the environment initialization function, the initialization number of the cells covered by the virtual wireless access network is obtained.
For the DPDK, the environment initialization function may acquire environment information related to the DPDK, where the environment information may include an initialization number of cells covered by the virtual radio access network, so, in order to stably acquire the initialization number of cells covered by the virtual radio access network, the environment initialization function corresponding to the DPDK may be acquired through the detection module, where the environment initialization function may be a preset rte _ eal _init function for acquiring the environment information corresponding to the DPDK, and after the environment initialization function is acquired, the initialization number of cells covered by the virtual radio access network may be acquired based on the environment initialization function, thereby effectively ensuring accuracy and reliability of determining the initialization number of cells covered by the virtual radio access network.
Step S1002: based on the mapping relation and the initialization number, determining an actual memory parameter corresponding to the virtual wireless access network.
Because the mapping relation is used for identifying the relation between the single cell and the memory usage information related to the DPDK, and the number of the cells covered by the virtual wireless access network can be one or more, after the mapping relation and the number of the cells are obtained, the mapping relation and the number of the cells can be analyzed and processed, so that the actual memory parameters corresponding to the virtual wireless access network can be determined, and the large memory page limited by the actual memory parameters can not only ensure the stability and the reliability of data processing, but also effectively improve the utilization rate of the memory.
In some examples, the actual memory parameter may be an actual memory size corresponding to the virtual radio access network, for example, when the mapping relationship is that 1 cell corresponds to 256MB and the number of initialized cells covered by the virtual radio access network is 6, the actual memory parameter may be determined based on the mapping relationship and the number of initialized cells, and the actual memory parameter may be determined by a product value between the mapping relationship and the number of initialized cells, that is, the actual memory parameter may be 6×256=1536 MB.
In other examples, the actual memory parameter may be not only the actual memory size corresponding to the virtual radio access network, but also the actual number of memory pages corresponding to the virtual radio access network, for example, when the obtained actual memory size may be 6×256=1536 MB; the single page memory size corresponding to the large memory page can be determined, the actual starting number of the large memory page can be obtained through the actual memory size and the single page memory size, the number can be determined through the ratio of the actual memory size to the single page memory size, for example, when the single page memory size is 500, the ratio between the actual memory size and the single page memory size can be obtained, namely 1536/500=3.072, the number of the actual memory page can be determined based on the ratio, the number of the actual memory page can be a minimum integer value larger than or equal to the ratio, and when the ratio is 3.072, the number of the actual memory page can be determined to be 4, so that the accuracy and the reliability of determining the number of the actual memory page are effectively ensured.
Step S1003: and adjusting the initialized memory related to the DPDK based on the actual memory parameters.
After the actual memory parameter is obtained, the initialized memory related to the DPDK can be adjusted based on the actual memory parameter, so that the memory adjustment operation is effectively realized; in some examples, the memory adjustment operation may be implemented by a pre-trained machine learning model, where adjusting the initialized memory associated with the DPDK based on the actual memory parameters may include: the method comprises the steps of obtaining a machine learning model for adjusting an initialized memory, inputting actual memory parameters and the initialized memory related to DPDK into the machine learning model, and obtaining an adjusted memory output by the machine learning model, so that memory adjustment operation is realized.
In still other examples, adjusting the initialization memory associated with the DPDK based on the actual memory parameters may include: acquiring an initialization memory parameter corresponding to the initialization memory, wherein the actual memory parameter is smaller than or equal to the initialization memory parameter; and adjusting the initialized memory parameters related to the DPDK into actual memory parameters.
Specifically, in order to enable the memory adjustment operation, an initialized memory parameter corresponding to the initialized memory may be obtained, where the initialized memory parameter may be an initialized number of initialized memory pages, and the initialized memory parameter is often the number of all initialized memory pages that can be mounted by the virtual radio access network, so that the obtained actual memory parameter is often less than or equal to the initialized memory parameter, and in this case, in order to improve the utilization rate of the memory, the initialized memory parameter related to the DPDK may be adjusted to the actual memory parameter, thereby effectively implementing the capacity-shrinking operation on the memory.
It should be noted that the obtained actual memory parameter may not only be smaller than or equal to the initialized memory parameter, but also may be larger than the initialized memory parameter, and when the actual memory parameter is larger than the initialized memory parameter, it is indicated that the memory required by the virtual radio access network is larger than the initialized memory at this time, so that the initialized memory parameter corresponding to the DPDK may be adjusted to the actual memory parameter, thereby effectively implementing the capacity expansion operation on the memory.
For example, for the virtual radio access network, the number of configured initialized memories may be 10, in the process of initializing the DPDK, the actual memory parameters corresponding to the virtual radio access network may be determined based on the mapping relation and the number of initialized memories, and when the actual memory parameters are 5, the actual memory parameters at this time are smaller than the number of initialized memories, and then the initialized memory parameters related to the DPDK may be adjusted to the actual memory parameters, that is, the number of initialized memories of the virtual radio access network is reduced from 10 to 5, so as to effectively implement the capacity reduction operation of the memory; when the actual memory parameters are 13, the actual memory parameters are larger than the initialization number, and then the initialization memory parameters related to the DPDK can be adjusted to the actual memory parameters, namely, the number of the initialization memories of the virtual wireless access network is up-regulated from 10 to 13, so that the capacity expansion operation of the memory is effectively realized.
In this embodiment, the number of the initialized cells covered by the virtual wireless access network is obtained through the detection module, the actual memory parameter corresponding to the virtual wireless access network is determined based on the mapping relation and the number of the initialized cells, and then the initialized memory related to the DPDK is adjusted based on the actual memory parameter, so that flexible adjustment operation on the initialized memory related to the DPDK based on the actual use information of the virtual wireless access network is effectively realized, and the practicability of the method is further improved.
In particular, in order to solve the problems of excessive allocation and low utilization rate of memory resources in the existing virtual wireless access network, referring to fig. 11-12, taking a 5G private network base station as a virtual wireless access network base station vRAN and taking a large memory page hugepage as a division granularity of a DPDK memory as an example, the application embodiment provides a memory adjustment method, which can implement elastic expansion operation on the memory in the vRAN with the hugepage granularity in the process of initializing and deploying the 5G private network, thereby effectively improving the utilization rate of the memory resources. In order to facilitate understanding of the specific implementation principle of the memory adjustment method, the following briefly describes the structure of the vRAN, and referring to fig. 11, the virtual radio access network base station vRAN may include:
the number of radio units RU may be one or more, for example: one vRAN may include three RUs for connecting to one or more private network devices (handheld terminals, personal computers, tablet computers, private network vehicles, etc.), respectively, to transmit data to be processed to DUs (otherwise referred to as DU servers) for processing through a forwarding switch.
A distributed unit DU comprising: after the DU acquires the data to be processed, the DPDK can be used for carrying out data plane acceleration processing operation, and after the data to be processed is processed by the DU, the data to be processed can be accelerated by the DPDK to be transferred to a CU (or called a CU server) for processing through a post-transmission interface; the performance analysis module is used for detecting a large memory page of the DPDK; the detection module is used for flexibly adjusting the memory related to the DPDK. The performance analysis module and the detection module can share a local form, the local form comprises a mapping relation between memory use conditions of a single cell and a base station, and an evaluation basis for memory adjustment can be provided for manufacturers through the local form.
The centralized unit CU is in communication connection with the DPDK through a post-transmission interface and is used for acquiring processed data sent by the DPDK and carrying out corresponding processing operation on the processed data.
Specifically, referring to fig. 12, the memory adjustment method may include: the memory usage information detection process and the hijacking process of the memory adjustment operation, wherein the memory usage information detection process may include the following steps:
step 1: and performing association binding on the memory detection process and the DPDK process, wherein in the running process of the DU, the DPDK provides an API interface rte _memzone_dump- > rte _memzone_walk (), and the process of the task to be processed can acquire the memory use information related to the DPDK by calling an API server of the DPDK.
Step 2: traversing and monitoring the size of a DPDK related memory usage area in the DU, the size of the memory usage area may include: the usage of the memory area memzone is greater than that of the memory pool area mempool, wherein the usage of mempool has a direct relation with the number of cells.
The DPDK procedure component in the vRAN may include a memory-related data structure such as memzone, mempool, and the size of the memory usage area may be obtained through a memory detection process.
Step 3: and generating a memory information file according to the traversing result.
The memory information file may include the use of the actual memory.
Step 4: and analyzing the information in the memory information file, generating a corresponding local form, and storing the calculated mapping relation between the single cell and the actual use condition of the large memory page in the local form.
In this embodiment, the mapping relationship between the single cell and the large memory page can be stably obtained through the performance analysis module, so that the vRAN manufacturer can easily understand the actual use condition of the memory in the hugepage, and meanwhile, the local form is finally generated, so that a theoretical recommendation support can be provided for the number of the large memory page hugepage allocated based on the local form in the initialization process of the DU.
In addition, in order to discard the resource waste caused by the specified number of the hugepages in the process of initializing the DU, the scheme provides that the number of the hugepages is switched without perception through the detection module, so that the elastic telescoping operation of the hugepages is realized, and at the moment, the hijacking process of the memory adjustment operation can comprise the following steps:
step 11: and the task process reads the local form and stores mapping information included in the local form into a local cell_huge data structure.
Step 12: in the initialization process of the DPDK, a detection module hijack is called, and an initialization memory information of the DPDK is hijacked by using the detection module and an environment call function rte _ eal _init for acquiring the environment information of the DPDK so as to perform initialization modification on the initialization memory information.
Step 13: after hijacking the rte _ eal _init function, the detection module reads the number of cells to be initialized by the DU, searches for the corresponding number of hugepages matched with the cell_huge, and retransmits the parameters to socket-mem associated with the DPDK to replace the original initialized memory information (default value), thereby realizing the operation of the elastic non-perception modification of hugapge in the DPDK.
According to the technical scheme provided by the application embodiment, the performance analysis module is used for detecting and generating the local form comprising the mapping relation between the single cell and the large memory page, then in the vRAN starting process, the DPDK initialization function is hijacked and updated based on the local form, and then the initialization configuration parameters of the large memory page are replaced without perception, so that the flexible memory expansion and contraction operation is effectively realized in a code non-invasive mode without modifying manufacturer codes (vRAN codes), the problem of serious memory waste is solved, the utilization rate of memory resources is improved, the requirements and urgency of using the memory and improving the efficiency are guaranteed, the high standard requirements of private network equipment on the real-time processing performance are also guaranteed, the practicability of the method is effectively improved, and the popularization and the application of markets are facilitated.
Fig. 13 is a flowchart of a method for processing memory usage information according to an embodiment of the present application; referring to fig. 13, the present embodiment provides a method for processing memory usage information, where the execution body of the method is a memory usage information processing device, and it is to be understood that the memory usage information processing device may be implemented as software, or a combination of software and hardware, and specifically, when the memory usage information processing device is implemented as hardware, it may be specifically various electronic devices having processing capabilities of the memory usage information. When the processing device of the memory usage information is implemented as software, it may be installed in the above electronic device, in some examples, the processing device of the memory usage information may be implemented as a virtual wireless access network, that is, the processing method of the memory usage information may be applied to the virtual wireless access network, in order to be able to guarantee the rate of data processing, the virtual wireless access network may include a data plane acceleration tool DPDK, and in specific implementation, the virtual wireless access network may be implemented as a private network or a communication network, and the processing method of the memory usage information may include:
Step S1301: memory usage information associated with the DPDK is obtained.
Step S1302: and determining the number information of the cells covered by the virtual wireless access network.
Step S1303: and determining the mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
The specific implementation manner, implementation principle and implementation effect of the steps in this embodiment are similar to those in the embodiment shown in fig. 8, and specific reference may be made to the above description, which is not repeated here.
It should be noted that the method in this embodiment may also include the method in the embodiment shown in fig. 7 to 12, and for the part of this embodiment that is not described in detail, reference is made to the description related to the embodiment shown in fig. 7 to 12. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 7 to 12, and are not described herein.
Fig. 14 is a schematic structural diagram of a virtual radio access network base station according to an embodiment of the present application; referring to fig. 14, the present embodiment provides a virtual radio access network base station for executing the memory adjustment method for a virtual radio access network shown in fig. 7; the virtual radio access network base station may include:
A data plane acceleration tool DPDK11;
the performance analysis module 12 is in communication connection with the DPDK and is used for acquiring a mapping relation between the single cell and the memory usage information related to the DPDK;
and the detection module 13 is in communication connection with the DPDK and the performance analysis module and is used for adjusting the initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
In some examples, DPDK11, performance analysis module 12, and detection module 13 are deployed in a distributed unit that is communicatively connected to the wireless unit through a switch and to the centralized unit through a preset interface.
It should be noted that the specific implementation manner, implementation principle and implementation effect of the virtual radio access network base station in this embodiment are similar to those of the method in the embodiments shown in fig. 7 to 12, and reference may be made to the related description of the embodiments shown in fig. 7 to 12 for the part of this embodiment that is not described in detail. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 7 to 12, and are not described herein.
Fig. 15 is a schematic structural diagram of a memory adjustment system for a virtual wireless access network according to an embodiment of the present application; referring to fig. 15, the present embodiment provides a memory adjustment system for a virtual wireless access network, where the memory adjustment system may include:
The virtual radio access network base station 21 in the embodiment shown in fig. 14 described above;
a core network 22 communicatively connected to the virtual radio access network base station 21;
at least one user terminal 23 is communicatively connected to the virtual radio access network base station 21, and is configured to obtain data to be processed sent by the user terminal, and send the data to be processed to the core network for processing.
It should be noted that the specific implementation manner, implementation principle and implementation effect of the memory adjustment system of the virtual radio access network in this embodiment are similar to those of the method in the embodiment shown in fig. 7 to 12, and for the part of this embodiment that is not described in detail, reference may be made to the related description of the embodiment shown in fig. 7 to 12. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 7 to 12, and are not described herein.
Fig. 16 is a schematic structural diagram of a memory adjusting device for a virtual wireless access network according to an embodiment of the present application; referring to fig. 16, the present embodiment provides a memory adjusting device for a virtual radio access network, where the virtual radio access network includes a data plane acceleration tool DPDK for executing the memory adjusting method shown in fig. 7; specifically, the memory adjusting device may include:
The first obtaining module 31 is configured to obtain a mapping relationship between the single cell and the memory usage information related to the DPDK.
The first processing module 32 is configured to adjust an initialization memory related to the DPDK in the virtual radio access network based on the mapping relation.
In some examples, the virtual wireless access network further comprises a performance analysis module in communication with the DPDK; when the first obtaining module 31 obtains the mapping relationship between the memory usage information related to the DPDK and the single cell, the first obtaining module 31 is configured to: acquiring memory use information related to DPDK; determining the number information of cells covered by the virtual wireless access network; and determining the mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
In some examples, when the first obtaining module 31 obtains the memory usage information related to the DPDK, the first obtaining module 31 is configured to: acquiring an initialized large memory page corresponding to the DPDK through a preset interface; and traversing all initialized large memory pages to obtain the memory usage size related to the DPDK.
In some examples, when the first obtaining module 31 traverses all initialized large memory pages to obtain the memory usage size associated with the DPDK, the first obtaining module 31 is configured to: traversing all the initialized large memory pages to obtain first use information of memory areas in all the initialized large memory pages; determining second use information of a memory pool area in each memory area based on the first use information of the memory area in each initialized large memory page; and determining the memory usage size related to the DPDK based on the first usage information corresponding to all the memory areas and the second usage information of all the memory pool areas.
In some examples, when the first processing module 32 adjusts the initialization memory related to the DPDK in the virtual radio access network based on the mapping relationship, the first processing module 32 is configured to: acquiring the initialization number of cells covered by a virtual wireless access network; determining an actual memory parameter corresponding to the virtual wireless access network based on the mapping relation and the initialization quantity; and adjusting the initialized memory related to the DPDK based on the actual memory parameters.
In some examples, when the first processing module 32 obtains an initialized number of cells covered by the virtual wireless access network, the first processing module 32 is configured to: in the process of initializing the DPDK, acquiring an environment initialization function corresponding to the DPDK through a detection module; based on the environment initialization function, the initialization number of the cells covered by the virtual wireless access network is obtained.
In some examples, when the first processing module 32 adjusts the initialization memory related to the DPDK based on the actual memory parameters, the first processing module 32 is configured to: acquiring an initialization memory parameter corresponding to the initialization memory, wherein the actual memory parameter is smaller than or equal to the initialization memory parameter; and adjusting the initialized memory parameters related to the DPDK into actual memory parameters.
The memory adjusting device shown in fig. 16 may perform the method of the embodiment shown in fig. 6 to 12, and reference is made to the related description of the embodiment shown in fig. 6 to 12 for a part not described in detail in this embodiment. The implementation process and the technical effect of this technical solution are described in the embodiments shown in fig. 6 to 12, and are not described herein.
In one possible design, the memory adjusting device of fig. 16 may be implemented as an electronic device. Referring to fig. 17, the memory adjusting device in this embodiment may be implemented as an electronic device, and in some examples, the electronic device may be implemented as a virtual wireless network base station or the like; specifically, the electronic device may include: a first processor 41 and a first memory 42. The first memory 42 is configured to store a program for executing the memory adjustment method for the virtual wireless access network provided in the embodiment shown in fig. 7, where 2 the virtual wireless access network includes a data plane acceleration tool DPDK; the first processor 41 is configured to execute a program stored in the first memory 42.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the first processor 41, are capable of performing the steps of: acquiring a mapping relation between memory use information related to a single cell and a DPDK; and adjusting an initialization memory related to the DPDK in the virtual wireless access network based on the mapping relation.
Further, the first processor 41 is further configured to perform all or part of the steps in the embodiment shown in fig. 7. The electronic device may further include a first communication interface 43 in the structure of the electronic device, for communicating with other devices or a communication network.
In addition, an embodiment of the present application provides a computer storage medium, configured to store computer software instructions for an electronic device, where the computer storage medium includes a program for executing the memory adjustment method for a virtual wireless access network in the method embodiment shown in fig. 7.
Furthermore, an embodiment of the present application provides a computer program product comprising: a computer program which, when executed by a processor of an electronic device, causes the processor to perform a memory adjustment method for a virtual radio access network in the method embodiment shown in fig. 7.
FIG. 18 is a schematic diagram of a memory usage information processing device according to an embodiment of the present application; referring to fig. 18, the present embodiment provides a memory usage information processing apparatus, where the processing apparatus may be applied to a virtual radio access network, and the virtual radio access network includes a data plane acceleration tool DPDK for executing the memory adjustment method shown in fig. 13; specifically, the memory adjusting device may include:
A second obtaining module 51, configured to obtain memory usage information related to DPDK;
a second determining module 52, configured to determine the number information of the cells covered by the virtual radio access network;
the second processing module 53 is configured to determine a mapping relationship between the single cell and the memory usage information based on the number information and the memory usage information.
The processing device for memory usage information shown in fig. 18 may perform the method of the embodiment shown in fig. 13, and reference is made to the related description of the embodiment shown in fig. 13 for a part not described in detail in this embodiment. The implementation process and the technical effect of this technical solution are described in the embodiment shown in fig. 13, and are not described herein.
In one possible design, the memory usage information processing apparatus shown in fig. 18 may be implemented as an electronic device. Referring to fig. 19, the memory usage information processing apparatus in this embodiment may be implemented as an electronic device, and in some examples, the electronic device may be implemented as a base station; specifically, the electronic device may include: a second processor 61 and a second memory 62. The second memory 62 is used for storing a program for executing the data access control method provided in the embodiment shown in fig. 13 described above for the corresponding electronic device, and the second processor 61 is configured to execute the program stored in the second memory 62.
The program comprises one or more computer instructions, wherein the one or more computer instructions, when executed by the second processor 61, are capable of performing the steps of: acquiring memory use information related to DPDK; determining the number information of cells covered by the virtual wireless access network; and determining the mapping relation between the single cell and the memory use information based on the quantity information and the memory use information.
Further, the second processor 61 is further configured to perform all or part of the steps in the embodiment shown in fig. 13. The electronic device may further include a second communication interface 63 in the structure of the electronic device, for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for an electronic device, which includes a program for executing the method for processing memory usage information in the method embodiment shown in fig. 13.
Furthermore, an embodiment of the present invention provides a computer program product comprising: computer program which, when executed by a processor of an electronic device, causes the processor to perform the method of processing memory usage information in the method embodiment shown in fig. 13.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region, and provide corresponding operation entries for the user to select authorization or rejection.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement data storage by any method or technology. The data may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store data that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (11)

1. The memory adjusting method for the virtual wireless access network is characterized in that the virtual wireless access network comprises a data plane acceleration tool DPDK and a detection module in communication connection with the DPDK; the method comprises the following steps:
obtaining a mapping relation between a single cell and an actual use memory related to the DPDK;
acquiring the initialization number of cells covered by the virtual wireless access network through the detection module;
determining an actual memory parameter corresponding to the virtual wireless access network based on the mapping relation and the initialization number, wherein the actual memory parameter is smaller than or equal to the initialization memory parameter;
And adjusting an initialization memory related to the DPDK based on the actual memory parameters.
2. The method of claim 1, wherein the virtual radio access network further comprises a performance analysis module in communicative connection with the DPDK; the obtaining a mapping relation between the single cell and the actual use memory related to the DPDK includes:
acquiring an actual use memory related to the DPDK through the performance analysis module;
determining the number information of cells covered by the virtual wireless access network;
and determining a mapping relation between a single cell and the actual use memory based on the quantity information and the actual use memory.
3. The method of claim 2, wherein the performance analysis module is communicatively coupled to the DPDK via a preset interface; and acquiring an actual use memory related to the DPDK through the performance analysis module, wherein the actual use memory comprises:
acquiring an initialized large memory page corresponding to the DPDK through a preset interface;
and traversing all initialized large memory pages to obtain the memory usage size related to the DPDK.
4. The method of claim 3, wherein traversing all initialized large memory pages to obtain a memory usage size associated with the DPDK comprises:
Traversing all the initialized large memory pages to obtain first use information of memory areas in all the initialized large memory pages;
determining second use information of a memory pool area in each memory area based on the first use information of the memory area in each initialized large memory page;
and determining the memory usage size related to the DPDK based on the first usage information corresponding to all the memory areas and the second usage information of all the memory pool areas.
5. The method according to claim 1, wherein obtaining, by the detection module, an initialized number of cells covered by the virtual radio access network, comprises:
in the process of initializing the DPDK, acquiring an environment initialization function corresponding to the DPDK through the detection module;
and acquiring the initialization number of the cells covered by the virtual wireless access network based on the environment initialization function.
6. The method of claim 1, wherein adjusting the initialization memory associated with the DPDK based on the actual memory parameters includes:
acquiring initialization memory parameters corresponding to the initialization memory;
and adjusting the initialized memory parameters related to the DPDK to the actual memory parameters.
7. The method is characterized by being applied to a virtual wireless access network, wherein the virtual wireless access network comprises a data plane acceleration tool DPDK and a detection module in communication connection with the DPDK; the method comprises the following steps:
acquiring an actual use memory related to the DPDK;
determining the number information of cells covered by the virtual wireless access network;
determining a mapping relation between a single cell and the actual use memory based on the quantity information and the actual use memory;
acquiring the initialization number of cells covered by the virtual wireless access network through the detection module;
determining an actual memory parameter corresponding to the virtual wireless access network based on the mapping relation and the initialization number, wherein the actual memory parameter is smaller than or equal to the initialization memory parameter;
and adjusting an initialization memory related to the DPDK based on the actual memory parameters.
8. A virtual wireless access network base station, comprising:
a data plane acceleration tool DPDK;
the performance analysis module is in communication connection with the DPDK and is used for acquiring the mapping relation between the single cell and the actual use memory related to the DPDK;
The detection module is in communication connection with the DPDK and the performance analysis module and is used for acquiring the initialization number of cells covered by the virtual wireless access network; determining an actual memory parameter corresponding to the virtual wireless access network based on the mapping relation and the initialization number, wherein the actual memory parameter is smaller than or equal to the initialization memory parameter; and adjusting an initialization memory related to the DPDK based on the actual memory parameters.
9. The virtual radio access network base station according to claim 8, wherein,
the DPDK, the performance analysis module and the detection module are deployed in a distributed unit, and the distributed unit is in communication connection with a wireless unit through a switch and is in communication connection with a centralized unit through a preset interface.
10. A memory adjustment system for a virtual radio access network, comprising:
the virtual radio access network base station of any of claims 8-9;
the core network is in communication connection with the virtual wireless access network base station;
and the at least one user terminal is in communication connection with the virtual wireless access network base station and is used for acquiring the data to be processed sent by the user terminal and sending the data to be processed to the core network for processing.
11. An electronic device, comprising: a memory, a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the method of any of claims 1-7.
CN202310684264.2A 2023-06-09 2023-06-09 Memory adjustment method, device and system for virtual wireless access network Active CN116414568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310684264.2A CN116414568B (en) 2023-06-09 2023-06-09 Memory adjustment method, device and system for virtual wireless access network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310684264.2A CN116414568B (en) 2023-06-09 2023-06-09 Memory adjustment method, device and system for virtual wireless access network

Publications (2)

Publication Number Publication Date
CN116414568A CN116414568A (en) 2023-07-11
CN116414568B true CN116414568B (en) 2023-10-31

Family

ID=87054701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310684264.2A Active CN116414568B (en) 2023-06-09 2023-06-09 Memory adjustment method, device and system for virtual wireless access network

Country Status (1)

Country Link
CN (1) CN116414568B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009865A (en) * 2007-01-30 2007-08-01 中兴通讯股份有限公司 Data processing method for the packet service transfer link of the wireless communication system of the terminal
CN104540234A (en) * 2015-01-19 2015-04-22 西安电子科技大学 Associated task scheduling mechanism based on CoMP synchronization constraint in C-RAN framework
CN105404597A (en) * 2015-10-21 2016-03-16 华为技术有限公司 Data transmission method, device and system
CN105792378A (en) * 2016-04-19 2016-07-20 重庆电子工程职业学院 Virtual resource multi-target mapping method based on wireless heterogeneous network
CN110402568A (en) * 2018-02-24 2019-11-01 华为技术有限公司 A kind of method and device of communication
CN110990159A (en) * 2019-12-25 2020-04-10 浙江大学 Historical data analysis-based container cloud platform resource quota prediction method
CN114281252A (en) * 2021-12-10 2022-04-05 阿里巴巴(中国)有限公司 Virtualization method and device for NVMe (network video recorder) device of nonvolatile high-speed transmission bus
CN114996026A (en) * 2022-08-01 2022-09-02 阿里巴巴达摩院(杭州)科技有限公司 Resource virtualization method, communication assembly, equipment and system
CN116010074A (en) * 2021-10-22 2023-04-25 大唐移动通信设备有限公司 Memory pool management method, device and storage medium
CN116225671A (en) * 2021-12-03 2023-06-06 大唐移动通信设备有限公司 DPDK-based data processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8320380B2 (en) * 2007-03-13 2012-11-27 Alcatel Lucent Under-assigning resources to video in triple-play virtual topologies to protect data-class traffic
US11934330B2 (en) * 2020-05-08 2024-03-19 Intel Corporation Memory allocation for distributed processing devices
US11611517B2 (en) * 2020-05-29 2023-03-21 Equinix, Inc. Tenant-driven dynamic resource allocation for virtual network functions

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009865A (en) * 2007-01-30 2007-08-01 中兴通讯股份有限公司 Data processing method for the packet service transfer link of the wireless communication system of the terminal
CN104540234A (en) * 2015-01-19 2015-04-22 西安电子科技大学 Associated task scheduling mechanism based on CoMP synchronization constraint in C-RAN framework
CN105404597A (en) * 2015-10-21 2016-03-16 华为技术有限公司 Data transmission method, device and system
CN105792378A (en) * 2016-04-19 2016-07-20 重庆电子工程职业学院 Virtual resource multi-target mapping method based on wireless heterogeneous network
CN110402568A (en) * 2018-02-24 2019-11-01 华为技术有限公司 A kind of method and device of communication
CN110990159A (en) * 2019-12-25 2020-04-10 浙江大学 Historical data analysis-based container cloud platform resource quota prediction method
CN116010074A (en) * 2021-10-22 2023-04-25 大唐移动通信设备有限公司 Memory pool management method, device and storage medium
CN116225671A (en) * 2021-12-03 2023-06-06 大唐移动通信设备有限公司 DPDK-based data processing method and device
CN114281252A (en) * 2021-12-10 2022-04-05 阿里巴巴(中国)有限公司 Virtualization method and device for NVMe (network video recorder) device of nonvolatile high-speed transmission bus
CN114996026A (en) * 2022-08-01 2022-09-02 阿里巴巴达摩院(杭州)科技有限公司 Resource virtualization method, communication assembly, equipment and system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
DMM:虚拟机的动态内存映射模型;陈昊罡;汪小林;王振林;张彬彬;罗英伟;李晓明;;中国科学:信息科学(第12期);全文 *
Joint Availability Guarantee and Resource Optimization of Virtual Network Function Placement in Data Center Networks;Meng Wang;IEEE Transactions on Network and Service Management;第17卷(第2期);全文 *
Key-Value型NoSQL本地存储系统研究;马文龙;朱妤晴;蒋德钧;熊劲;张立新;孟潇;包云岗;;计算机学报(第08期);全文 *
网络功能虚拟化技术研究综述;周伟林;杨芫;徐明伟;;计算机研究与发展(第04期);全文 *
虚拟网络中的能效优化技术与方法研究;郑雪纯;杨龙祥;;计算机技术与发展;26(2);全文 *

Also Published As

Publication number Publication date
CN116414568A (en) 2023-07-11

Similar Documents

Publication Publication Date Title
CN107547746B (en) Resource allocation method and related product
CN110235427B (en) System and method for allocating IP address to user equipment based on IP index
CN113676512B (en) Network system, resource processing method and equipment
CN107547745B (en) Resource allocation method and related product
CN107450988B (en) Resource allocation method and related product
CN112868265B (en) Network resource management method, management device, electronic equipment and storage medium
CN107832142B (en) Resource allocation method and equipment for application program
US10224972B2 (en) Systems, methods, and computer-readable media for tracking updates and loading data
CN108536480B (en) Input method configuration method and related product
CN114640726B (en) Message processing method, device, system and storage medium
US20230025780A1 (en) Resource determining method and device
CN110099414A (en) Network resource transmission method, apparatus, computer equipment and storage medium
CN116414568B (en) Memory adjustment method, device and system for virtual wireless access network
CN109041255A (en) A kind of cut-in method and UE
US11234211B2 (en) Method, network node and terminal device for wireless communication
CN113518431B (en) Communication processing method, terminal, device and storage medium
CN115460642B (en) Network name display test method and device
US20240114567A1 (en) Analyzing device information to proactively request attachment to a non-standalone architecture node with minimum signaling associated with a telecommunication signal
RU2749313C1 (en) Method and device of wireless communication
US11778451B2 (en) 5G Network Exposure Function (NEF) capturing processor identity
CN113115400B (en) Communication method and device
CN112153679B (en) Network switching method and device
CN112636863A (en) Anti-interference communication method, device and equipment
CN110519097B (en) Elastic expansion service triggering method, device, equipment and readable storage medium
CN113852988B (en) Congestion control method, congestion control device, computer equipment and storage medium

Legal Events

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