Communication system and method, apparatus, device and medium for deploying a communication system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2026-08-11
AI Technical Summary
[0006]本发明的目的是提供一种通信系统和通信系统的部署方法、装置、设备和介质,用于解决现有技术中通信系统的体积大、功耗大、不灵活、机动性差的问题
[0063]上述方案中,本发明提供的通信系统将5G核心网组件和第五代移动通信新空口(5th Generation New Radio,5G NR)协议栈组件设置在同一个物理中央处理器(CentralProcessing Unit,CPU)上实现5G网络端到端通信,相对于现有技术减少了硬件连接,使得通信系统的体积更小,功耗小,便于携带,部署简便,具有5G专网端到端快速覆盖能力;该通信系统通过数据转发模块和守护调度模块分别实现了数据交互和资源隔离,使得通信系统的灵活性和机动性更高。
Smart Images

Figure CN122554968A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a communication system and a method, apparatus, equipment and medium for deploying the communication system. Background Technology
[0002] 5G private networks are widely used in scenarios such as smart parks, and their key components include 5G base stations, 5G core networks, and edge applications within the park. Existing 5G private network solutions include fully or partially deployed networks. Regardless of the deployment form, the 5G core network and base stations need to communicate via N2 and N3 ports using Small Form Pluggable (SFP) or Registered Jack (RJ) 45 twisted-pair cables. Switches and other forwarding equipment are also typically required between the two. Whether the 5G private network is deployed temporarily or permanently, the implementation phase requires a series of tasks including cabling, site surveys, rack mounting, and parameter integration.
[0003] In existing end-to-end solutions for 5G private networks, the 5G core network and base stations are treated as independent devices, connected via physical cables equipped with switching and forwarding equipment. This presents the following two problems:
[0004] On the one hand, the deployment cycle is long and the integration cost is high: it involves the coordination and integration of various physical devices, as well as the cost of adjusting and adapting parameters after wiring. Moreover, after the overall delivery, the system is prone to instability due to loose cables or switching equipment failures.
[0005] On the other hand, the equipment is large in size and has poor mobility: after delivery, it is mostly in the form of a cabinet, which has the disadvantages of large overall solution size and high power consumption due to the large number of physical devices. It is also inflexible and has poor mobility in emergency and temporary networking scenarios. Summary of the Invention
[0006] The purpose of this invention is to provide a communication system and a method, apparatus, device and medium for deploying the communication system, in order to solve the problems of large size, high power consumption, inflexibility and poor mobility of existing communication systems.
[0007] To address the aforementioned technical problems, embodiments of the present invention provide a communication system, comprising:
[0008] The 5G core network component and the 5G NR protocol stack component are mounted on a single physical central processing unit (CPU).
[0009] A third-party component, which is connected to the 5G core network component;
[0010] The data forwarding module is used to process the signaling plane data interaction and user plane data interaction between the 5G core network component and the 5G NR protocol stack component on the N2 interface and N3 interface.
[0011] A guardian scheduling module is used to coordinate and schedule the 5G core network components, the 5G NR protocol stack components, and the third-party components and isolate resource interruptions based on resource information.
[0012] Operating software, which is used to connect the data forwarding module, the guardian scheduling module and the external interface respectively.
[0013] Optionally, the core network elements in the 5G core network component include multiple target network elements required by the service, and the multiple target network elements communicate directly with each other through a service-based interface (SBI).
[0014] This invention also provides a deployment method based on the communication system described in any of the preceding claims, the method comprising:
[0015] The networking information and first parameters of the communication system are pre-configured to obtain the initial environment, wherein the first parameters include one or more of the pull-up timing parameters and resource allocation parameters;
[0016] The interface connection parameters of the communication system are initialized based on the network information in the initial environment to obtain the initial connection parameters;
[0017] Based on the initial docking parameters, a virtual interface is created between the N2 and N3 interfaces of the communication system;
[0018] Based on the pull-up timing parameters, multiple components in the communication system are read sequentially to obtain the reading result of each component;
[0019] If the reading result of the component is successful, the communication system is isolated and interrupted according to the resource allocation parameters of the component.
[0020] Optionally, after performing resource isolation and resource interruption on the communication system, the method further includes:
[0021] Detect whether the network elements of the application environment of the communication system need to be adjusted;
[0022] If the network element needs adjustment, obtain the adjustment method for the network element;
[0023] If the adjustment method of the network element is to add a new network element, then add the network element and update the initial environment;
[0024] If the adjustment method for the network element is to disable its function, the configuration interface of the network element is called to disable its function.
[0025] Optionally, the method further includes:
[0026] Determine whether the N6 interface in the external interface of the communication system needs to adapt to the network topology of the communication system;
[0027] When the N6 interface needs to adapt to the network topology, read the configuration information of the N6 interface;
[0028] Based on the configuration information, adjust the network policy and routing table information of the N6 interface corresponding to the User Plane Function (UPF).
[0029] Optionally, based on the initial docking parameters, a virtual interface is created between the N2 and N3 interfaces of the communication system, including:
[0030] Based on the initial docking parameters, a kernel network card virtual interface is created between the N2 and N3 interfaces of the communication system using the network protocol address information of the bypass network card of the Data Plane Development Kit (DPDK).
[0031] Optionally, the step of sequentially reading multiple components in the communication system according to the pull-up timing parameters and obtaining the reading result of each component includes:
[0032] According to the pull-up timing parameters, multiple components in the communication system are read sequentially, and the component being read is identified as the component to be processed.
[0033] Determine whether the component to be processed has a parent dependency component;
[0034] If the component to be processed has no parent dependent component, load the component to be processed and determine the reading result of the component to be processed as a successful reading;
[0035] If the component to be processed has a parent dependent component, the reading result of the component to be processed is determined according to the reading status of the parent dependent component.
[0036] Optionally, determining the reading result of the component to be processed based on the reading status of the parent dependent component includes:
[0037] If the read status of the parent dependent component is not read, the read result of the component to be processed is determined to be read interrupted and the parent dependent component is determined to be the new component to be processed;
[0038] If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read successfully", then load the component to be processed and determine the read result of the component to be processed as "read successfully".
[0039] If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read interrupted", the read result of the component to be processed is determined to be a read error.
[0040] Optionally, the step of performing resource isolation and resource interruption on the communication system according to the resource allocation parameters of the components includes:
[0041] The components of the communication system are started up according to the resource allocation parameters in the initial environment;
[0042] When the component is pulled up, the CPU core bound to the 5GNR protocol stack component is interrupted according to the resource allocation parameters.
[0043] When the component is launched and the launch method is container launch, the component is resource isolated by defining cpuset and resource limit according to the resource allocation parameters.
[0044] When the component is launched and the launch method is process launch, the component is resource isolated using the taskset command according to the resource allocation parameters.
[0045] Optionally, the resource allocation parameters include one or more of the following:
[0046] CPU parameter information, CPU memory limit information, interrupt request signal IRQ;
[0047] The step of interrupting the resources of the CPU core bound to the 5GNR protocol stack component according to the resource allocation parameters includes:
[0048] Based on the interrupt request signal IRQ in the resource allocation parameters, the CPU core bound to the 5GNR protocol stack component is interrupted.
[0049] The step of isolating the components by defining `cpuset` and `resource limit` according to the resource allocation parameters includes:
[0050] Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, resource isolation is performed on the components by defining cpuset and resource limit;
[0051] Specifically, based on the resource allocation parameters, resource isolation of the component is performed using the `taskset` command, including:
[0052] Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, the component is isolated using the taskset command.
[0053] This invention also provides a deployment apparatus for a communication system, comprising:
[0054] The first configuration module is used to preconfigure the network information and first parameters of the communication system to obtain the initial environment, wherein the first parameters include one or more of the pull-up timing parameters and resource allocation parameters;
[0055] The first initialization module is used to initialize the interface docking parameters of the communication system according to the network information in the initial environment, and obtain the initial docking parameters;
[0056] The first creation module is used to create a virtual interface between the N2 interface and the N3 interface of the communication system according to the initial docking parameters;
[0057] The first reading module is used to sequentially read multiple components in the communication system according to the pull-up timing parameters, and obtain the reading result of each component;
[0058] The first isolation module is used to isolate and interrupt the communication system according to the resource allocation parameters of the component when the reading result of the component is successful.
[0059] This invention also provides a network device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the deployment method of the communication system as described in any of the preceding claims.
[0060] This invention also provides a readable storage medium, comprising: a program stored on the readable storage medium, wherein when the program is executed by a processor, it implements the steps of the deployment method of the communication system as described in any of the preceding claims.
[0061] This invention also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the deployment method of the communication system as described in any of the preceding claims.
[0062] At least one of the above technical solutions of the present invention has the following beneficial effects:
[0063] In the above-described solution, the communication system provided by this invention sets the 5G core network components and the 5th Generation New Radio (5G NR) protocol stack components on the same physical central processing unit (CPU) to achieve end-to-end 5G network communication. Compared with the prior art, this reduces hardware connections, making the communication system smaller, less power-consuming, portable, and easy to deploy, and providing rapid end-to-end coverage capability for 5G private networks. The communication system achieves data interaction and resource isolation through a data forwarding module and a guardian scheduling module, respectively, making the communication system more flexible and mobile.
[0064] The deployment method for a communication system provided by this invention deploys the functions of each module in the communication system. First, the network information and first parameters of the communication system are pre-configured to obtain an initial environment. Then, based on the initial environment, a virtual interface is created between the N2 and N3 interfaces of the communication system. Under the premise of the integration of the 5G core network and the 5G NR protocol stack, internal forwarding between the N2 and N3 interfaces is realized. Finally, by sequentially launching multiple components in the communication system, resource isolation and resource interruption are performed on the communication system, realizing the flexible launch and real-time scheduling capabilities of the communication system for components. This deployment method allows for the rapid and flexible deployment of 5G core network components and 5G NR protocol stack components on the same CPU, enabling end-to-end communication in the 5G network. Attached Figure Description
[0065] Figure 1 This is a schematic diagram of the communication system according to an embodiment of the present invention;
[0066] Figure 2 This is a flowchart illustrating the deployment method of the communication system according to an embodiment of the present invention;
[0067] Figure 3 This is a schematic diagram illustrating the deployment process of the data forwarding module in a communication system according to Embodiment 1 of the present invention.
[0068] Figure 4 This is a schematic diagram illustrating the deployment process of the guardian scheduling module in the communication system according to Embodiment 2 of the present invention;
[0069] Figure 5 This is a schematic diagram of the deployment device of the communication system according to an embodiment of the present invention. Detailed Implementation
[0070] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0072] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0073] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used not only in the systems and radio technologies mentioned above, but also in other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description; however, these technologies can also be applied to applications beyond NR systems, such as 6th Generation (6G) communication systems.
[0074] like Figure 1 As shown, an embodiment of the present invention provides a communication system, including:
[0075] The 5G core network component and the 5G NR protocol stack component are mounted on a single physical central processing unit (CPU).
[0076] A third-party component, which is connected to the 5G core network component;
[0077] The data forwarding module is used to process the signaling plane data interaction and user plane data interaction between the 5G core network component and the 5G NR protocol stack component on the N2 interface and N3 interface.
[0078] A guardian scheduling module is used to coordinate and schedule the 5G core network components, the 5G NR protocol stack components, and the third-party components and isolate resource interruptions based on resource information.
[0079] Operating software, which is used to connect the data forwarding module, the guardian scheduling module and the external interface respectively.
[0080] In this embodiment of the invention, the 5G core network components include, but are not limited to, one or more of the following: Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Authentication Server Function (AUSF), Policy Control Function (PCF), Unified Data Management (UDM), Network Slice Selection Function (NSSF), Network Repository Function (NRF), Network Exposure Function (NEF), and Application Function (AF).
[0081] The third-party components include, but are not limited to, one or more of AMF, SM, UPF, NRF, and NEF. The 5G core network components, third-party components, and the guardian scheduling module work together to enable dynamic start-up and shutdown of network elements in different scenarios.
[0082] The 5G NR protocol stack components are a radio access network protocol architecture, including multiple functional layers. Different functional layers are responsible for different communication tasks and protocol processing. Specifically, the functional layers include, but are not limited to, the Physical Layer (PHY), Media Access Control (MAC), Radio Link Control (RLC), Packet Data Convergence Protocol (PDCP), Service Data Adaptation Protocol (SDAP), and Network Layer (Internet Protocol, IP).
[0083] The operating software includes an operating system (OS), a driver adaptation layer, and a hardware layer. The operating system is RT Linux OS. The hardware platform instruction layer in the hardware layer is an Advanced RISC Machines (AMR) or an Extended Instruction Set Computer (x86) architecture. In an embedded environment, the driver adaptation layer is a Board Support Package (BSP).
[0084] The communication system in this embodiment of the invention sets up the 5G core network components and the 5G NR protocol stack components on the same physical CPU to achieve end-to-end communication of the 5G network. Compared with the prior art, this reduces hardware connections, making the communication system smaller, less power-consuming, portable, and easy to deploy, and providing rapid end-to-end coverage capability for 5G private networks. Furthermore, the communication system completes the driver loading of physical interfaces through the driver adaptation layer in the operating software, while providing radio frequency and antenna interfaces and initializing the baseband device, preparing for the initialization of core components such as the 5G NR protocol stack components. In addition, the communication system realizes data interaction and resource isolation through the data forwarding module and the guardian scheduling module, respectively, making the communication system more flexible and mobile.
[0085] Optionally, the core network elements in the 5G core network component include multiple target network elements required by the service, and the multiple target network elements communicate directly with each other through a service-based interface (SBI).
[0086] In this embodiment of the invention, the network elements of the 5G core network components are quantized and pruned to remove irrelevant network elements, so that the network elements in the 5G core network components only include the multiple target network elements required by the service, and the multiple target network elements communicate directly with each other through a service-based interface (SBI), thereby reducing the power consumption of the communication system.
[0087] It should be noted that, in order to further reduce the power consumption of the communication system, lightweight selections were also made for third-party components.
[0088] like Figure 2 As shown, embodiments of the present invention also provide a deployment method based on any of the preceding communication systems, the method comprising:
[0089] Step S201: Pre-configure the network information and first parameters in the communication system to obtain the initial environment, wherein the first parameters include one or more of the pull-up timing parameters and resource allocation parameters;
[0090] In step S201, the pull-up timing parameters include, but are not limited to, clock cycle, read / write latency, and data transmission rate; the resource allocation parameters include, but are not limited to, CPU parameter information, CPU memory limit information, and interrupt request (IRQ). The communication system environment is pre-configured by providing default values for the network information and the first parameter, thus obtaining the initial environment; wherein, the pull-up timing parameters and resource allocation parameters in the first parameter are uniformly defined using a data serialization format (YAML).
[0091] Step S202: Initialize the interface docking parameters of the communication system according to the network information in the initial environment to obtain the initial docking parameters;
[0092] In step S202, the docking parameters include, but are not limited to: Tracking Area Code (TAC), Public Land Mobile Network (PLMN), Data Network Name (DNN), 5G QoS Identifier (5qi), Slice / Servicetype (SST), Slice Differentiator (SD), and Internet Protocol (IP) address for N2N3, N6 address pair, internal interface (SBI / N4) address, etc.
[0093] Step S203: Based on the initial docking parameters, create a virtual interface between the N2 and N3 interfaces of the communication system;
[0094] In step S203, based on the initial docking parameters, a virtual interface between N2 and N3 of the communication system is created through the data forwarding module to realize internal forwarding between N2 and N3.
[0095] Step S204: According to the pull-up timing parameters, read multiple components in the communication system sequentially to obtain the reading result of each component;
[0096] In step S204, the multiple components in the communication system include, but are not limited to, 5G core network components, 5G NR protocol stack components, and third-party components. Based on the start-up timing parameters, the guardian module sequentially reads the multiple components in the communication system, flexibly handling the cross-starting of multiple components to ensure coordinated timing of the multiple components.
[0097] Step S205: If the reading result of the component is successful, the communication system is isolated and interrupted according to the resource allocation parameters of the component.
[0098] In step S205, if the component is successfully read, the communication system is isolated and interrupted by the guardian module according to the resource allocation parameters of the component, thereby realizing the process start-up and dynamic scheduling of the 5G core network component and the 5G NR protocol stack component.
[0099] In this embodiment of the invention, the functions of each module in the communication system are deployed. First, the network information and first parameters of the communication system are pre-configured to obtain an initial environment. Then, based on the initial environment, a virtual interface is created between the N2 and N3 interfaces of the communication system. Under the premise of the integration of the 5G core network and the 5G NR protocol stack, internal forwarding between the N2 and N3 interfaces is realized. Finally, by sequentially launching multiple components in the communication system, resource isolation and resource interruption are performed on the communication system, realizing the flexible launch and real-time scheduling capabilities of the communication system for components. This deployment method allows for the rapid and flexible deployment of 5G core network components and 5G NR protocol stack components on the same CPU, enabling end-to-end communication in the 5G network.
[0100] Optionally, after performing resource isolation and resource interruption on the communication system, the method further includes:
[0101] Detect whether the network elements of the application environment of the communication system need to be adjusted;
[0102] If the network element needs adjustment, obtain the adjustment method for the network element;
[0103] If the adjustment method of the network element is to add a new network element, then add the network element and update the initial environment;
[0104] If the adjustment method for the network element is to disable its function, the configuration interface of the network element is called to disable its function.
[0105] In this embodiment of the invention, after resource isolation and interruption of the communication system, the guardian scheduling module monitors in real time whether the application environment of the communication system has changed / updated. If the application environment has changed / updated, the network elements of the application environment need to be adjusted, and the adjustment method of the network elements of the application environment is obtained. If the adjustment method of the network element is to add a new network element, step S201 needs to be re-executed, that is, the environment needs to be re-initialized. If the adjustment method of the network element is to disable the network element function, the configuration interface of the network element is called to disable the function of the network element. This enables the communication system to dynamically allocate and orchestrate network elements according to the scenario.
[0106] Optionally, the method further includes:
[0107] Determine whether the N6 interface in the external interface of the communication system needs to adapt to the network topology of the communication system;
[0108] When the N6 interface needs to adapt to the network topology, read the configuration information of the N6 interface;
[0109] Based on the configuration information, adjust the network policy and routing table information of the N6 interface corresponding to the User Plane Function (UPF).
[0110] In this embodiment of the invention, not only the internal forwarding between interfaces N2 and N3 needs to be considered, but also the adaptive adjustment capability of the external interface. Therefore, before creating the virtual interface, the data forwarding module needs to determine whether the N6 interface in the external interface needs to adapt to the network topology of the communication system. If the N6 interface is in a fixed default state and does not need to be adjusted in different network environments, it is considered that the N6 interface does not need to adapt to the network topology of the communication system, and therefore, there is no need to dynamically adapt the N6 interface. If the N6 interface needs to adapt to the network topology, that is, the N6 interface needs to adapt to the actual scenarios of different network environments, the configuration information of the N6 interface is read, and the network policy and routing table information of the N6 interface corresponding to the UPF are adjusted according to the configuration information to realize the dynamic adaptation of the N6 interface to the network topology.
[0111] Optionally, based on the initial docking parameters, a virtual interface is created between the N2 and N3 interfaces of the communication system, including:
[0112] Based on the initial docking parameters, a kernel network card virtual interface is created between the N2 and N3 interfaces of the communication system using the network protocol address information of the bypass network card of the Data Plane Development Kit (DPDK).
[0113] In this embodiment of the invention, on a Real-Time Linux (RT Linux) operating system, based on initial docking parameters, a virtual interface for the Kernel NIC interface (KNI) is created using the IP address information of the bypass network card in the Data Plane Development Kit (DPDK), enabling internal data forwarding between the N2 and N3 interfaces of the communication system. Compared to existing technologies, this reduces the size of the communication system and enables fast and flexible data transmission.
[0114] Optionally, the step of sequentially reading multiple components in the communication system according to the pull-up timing parameters and obtaining the reading result of each component includes:
[0115] According to the pull-up timing parameters, multiple components in the communication system are read sequentially, and the component being read is identified as the component to be processed.
[0116] Determine whether the component to be processed has a parent dependency component;
[0117] If the component to be processed has no parent dependent component, load the component to be processed and determine the reading result of the component to be processed as a successful reading;
[0118] If the component to be processed has a parent dependent component, the reading result of the component to be processed is determined according to the reading status of the parent dependent component.
[0119] In this embodiment of the invention, multiple components in the communication system are read sequentially according to the pull-up timing parameters. Whether each component can be successfully read depends on its parent dependent components. When reading a component to be processed, firstly, it is determined whether the component to be processed has a parent dependent component, i.e., a component that should have been read before the component to be processed. If the component to be processed has a parent dependent component, the reading result of the component to be processed is determined according to the reading status of the parent dependent component. If the component to be processed does not have a parent dependent component, the component to be processed is loaded, and the reading result of the component to be processed is determined as a successful read after successful loading.
[0120] Optionally, determining the reading result of the component to be processed based on the reading status of the parent dependent component includes:
[0121] If the read status of the parent dependent component is not read, the read result of the component to be processed is determined to be read interrupted and the parent dependent component is determined to be the new component to be processed;
[0122] If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read successfully", then load the component to be processed and determine the read result of the component to be processed as "read successfully".
[0123] If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read interrupted", the read result of the component to be processed is determined to be a read error.
[0124] In this embodiment of the invention, if the read status of the parent dependency component of the component being processed is "not read", then the reading of the component being processed is interrupted, and the parent dependency component is identified as a new component to be processed; if the read status of the parent dependency component of the component being processed is "read" and the reading result is "read successfully", then the component to be processed can continue to be processed, the component to be processed is loaded, and the reading result of the component to be processed is identified as "read successfully" after successful loading; if the read status of the parent dependency component of the component being processed is "read" and the reading result is "read interrupted", it indicates that the parent dependency component also has an unread parent dependency component, and a cycle error exists. The reading results of the component to be processed and the parent dependency component of the component to be processed are both identified as reading errors, and a dependency cycle error is reported.
[0125] For example, component a and component b, where component b is the parent dependency of component a. When reading component a, it is necessary to first determine the reading status of component b.
[0126] If the read status of component b is not read, then interrupt the reading of component a, identify component b as the component to be processed, and read component b.
[0127] If component b's read status is "read" and the read result is "read successfully", then continue loading component a and, after successful loading, confirm component a's read result as "read successfully".
[0128] If component b's read status is "read" and the read result is "read interrupted", then the read results of both component a and component b will be determined as read errors, and a dependency cycle error will be reported. For example, component b and component a are each other's parent dependent components.
[0129] Optionally, the step of performing resource isolation and resource interruption on the communication system according to the resource allocation parameters of the components includes:
[0130] The components of the communication system are started up according to the resource allocation parameters in the initial environment;
[0131] When the component is pulled up, the CPU core bound to the 5GNR protocol stack component is interrupted according to the resource allocation parameters.
[0132] When the component is launched and the launch method is container launch, the component is resource isolated by defining cpuset and resource limit according to the resource allocation parameters.
[0133] When the component is launched and the launch method is process launch, the component is resource isolated using the taskset command according to the resource allocation parameters.
[0134] In this embodiment of the invention, during the component startup process, resource interruption is performed on the CPU cores bound to the 5G NR protocol stack according to resource allocation parameters, thereby binding critical processes to specific CPU cores and shielding them from interruptions generated by other services. Furthermore, different resource isolations are performed based on the component startup execution method. It should be noted that "startup" is a well-known technical term, and this invention will not elaborate on it further.
[0135] Optionally, the resource allocation parameters include one or more of the following:
[0136] CPU parameter information, CPU memory limit information, interrupt request signal IRQ;
[0137] The step of interrupting the resources of the CPU core bound to the 5GNR protocol stack component according to the resource allocation parameters includes:
[0138] Based on the interrupt request signal IRQ in the resource allocation parameters, the CPU core bound to the 5GNR protocol stack component is interrupted.
[0139] The step of isolating the components by defining `cpuset` and `resource limit` according to the resource allocation parameters includes:
[0140] Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, resource isolation is performed on the components by defining cpuset and resource limit;
[0141] Specifically, based on the resource allocation parameters, resource isolation of the component is performed using the `taskset` command, including:
[0142] Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, the component is isolated using the taskset command.
[0143] In this embodiment of the invention, during the process of executing the component startup, according to the IRQ, the core of the CPU bound to the 5GNR protocol stack is interrupted by the interrupt request affinity (IRQAffinity) of the Linux kernel Symmetric Multi-Processing (SMP). This binds the critical process to a specific CPU core, shields the interrupts generated by other services, and ensures the real-time scheduling capability of the guardian scheduling module in the RT Linux environment.
[0144] Furthermore, based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, different resource isolations are performed according to the execution method of component launch. When the launch method is container launch, resource isolation of the component is performed by defining cpuset and resource limits; when the launch method is process launch, resource isolation of the component is performed by task set management commands.
[0145] The deployment method provided by this invention involves deploying the various modules of the communication system after its construction. This enables rapid and flexible end-to-end communication on the 5G network. The deployment of the data forwarding module and the guardian scheduling module is illustrated below through examples:
[0146] Example 1: As Figure 3 As shown, the deployment process of the data forwarding module is as follows, which realizes the construction of the communication system forwarding framework, namely the internal forwarding between the N2 and N3 interfaces and the dynamic adaptation of the N6 interface to the network.
[0147] Step S301: Initialize the docking parameters according to the pre-configured network information in the initial environment of the communication system, and generate the initial docking parameters;
[0148] Step S302: Determine whether the N6 interface in the external interface of the communication system needs to adapt to the network topology of the communication system; if it needs to adapt, proceed to step S303; if it does not need to adapt, proceed to step S305.
[0149] Step S303: Read the configuration information of the N6 interface.
[0150] Step S304: Adjust the network policy and routing table information of the N6 interface corresponding to the UPF according to the configuration information;
[0151] Step S305: Based on the initial docking parameters, create a virtual interface between the N2 and N3 interfaces of the communication system.
[0152] Example 2: Figure 4 As shown, the deployment process of the guardian scheduling module is as follows, which realizes the flexible start-up of components, the scheduling and isolation of resources, and the dynamic allocation of network elements in the communication system provided by this invention.
[0153] Step S401: Read the component to be processed;
[0154] Step S402: Determine if the component to be processed has a parent dependency component. If it does, proceed to step S403; otherwise, proceed to step S404.
[0155] Step S403: Obtain the read status of the parent dependency component. If the read status of the parent dependency component is "read" and the read result is "read successfully", proceed to step S404. If the read status of the parent dependency component is "read" and the read result is "read interrupted", report a dependency loop error and end. If the read status of the parent dependency component is "not read", determine the parent dependency component as a new component to be processed and proceed to step S401.
[0156] Step S404: Load the component to be processed;
[0157] Step S405: Based on the resource allocation parameters, perform resource interruption and resource isolation on the components to be processed;
[0158] Step S406: Determine whether the application scenario and network elements of the communication system have been adjusted. If adjusted, proceed to step S406; otherwise, end.
[0159] Step S407: Adjust the network element configuration according to the network element adjustment method. If the network element adjustment method is to add a new network element, the communication system needs to be pre-configured, i.e., the environment needs to be re-initialized. If the network element adjustment method is to disable the network element function, the configuration interface of the network element is called to disable the function of the network element.
[0160] A specific example illustrates the flexible startup and resource scheduling isolation of components (A, B, C, D). For each component, it is necessary to read the resource description, CPU information, physical memory (MEM) information, IRQ, and component dependency description: Component A:
[0161] resource: # Resource description
[0162] CPU:
[0163] MEM:
[0164] IRQ:#Interrupt Description
[0165] Component B:
[0166] resource:
[0167] CPU:
[0168] MEM:
[0169] IRQ:
[0170] Component C:
[0171] resource:
[0172] CPU:
[0173] MEM:
[0174] IRQ:
[0175] depend: # Component dependency description
[0176] -A
[0177] -B
[0178] Component D:
[0179] resource:
[0180] CPU:
[0181] MEM:
[0182] IRQ:
[0183] depend:
[0184] -B
[0185] -C.
[0186] like Figure 5 As shown, this embodiment of the invention also provides a deployment device for a communication system, including: a first configuration module 501, used to pre-configure the networking information and first parameters of the communication system to obtain an initial environment, wherein the first parameters include one or more of pull-up timing parameters and resource allocation parameters;
[0187] The first initialization module 502 is used to initialize the interface docking parameters of the communication system according to the network information in the initial environment, and obtain the initial docking parameters.
[0188] The first creation module 503 is used to create a virtual interface between the N2 interface and the N3 interface of the communication system according to the initial docking parameters;
[0189] The first reading module 504 is used to sequentially read multiple components in the communication system according to the pull-up timing parameters, and obtain the reading result of each component.
[0190] The first isolation module 505 is used to isolate and interrupt the communication system according to the resource allocation parameters of the component when the reading result of the component is successful.
[0191] Optionally, the device further includes:
[0192] The first detection module is used to detect whether the network elements of the application environment of the communication system need to be adjusted;
[0193] The first acquisition module is used to acquire the adjustment method of the network element when the network element needs to be adjusted;
[0194] The first adjustment module is used to add the network element and update the initial environment when the adjustment method of the network element is to add a new network element.
[0195] The second adjustment module is used to call the configuration interface of the network element to disable the function of the network element when the adjustment method of the network element is to disable the network element function.
[0196] Optionally, the device further includes:
[0197] The first judgment module is used to determine whether the N6 interface in the external interface of the communication system needs to adapt to the network topology of the communication system.
[0198] The second reading module is used to read the configuration information of the N6 interface when the N6 interface needs to adapt to the network topology;
[0199] The third adjustment module is used to adjust the network policy and routing table information of the N6 interface corresponding to the User Plane Function (UPF) according to the configuration information.
[0200] Optionally, the first creation module 503 includes:
[0201] The first creation unit is used to create a kernel network card virtual interface between the N2 and N3 interfaces of the communication system based on the initial docking parameters and the network protocol address information of the bypass network card of the Data Plane Development Kit (DPDK).
[0202] Optionally, the first reading module 504 includes:
[0203] The first reading unit is used to sequentially read multiple components in the communication system according to the pull-up timing parameters, and determine the component being read as the component to be processed.
[0204] The first judgment unit is used to determine whether the component to be processed has a parent dependent component;
[0205] The first loading unit is used to load the component to be processed and determine the reading result of the component to be processed as a successful read when the component to be processed does not have a parent dependent component.
[0206] The first determining unit is configured to determine the reading result of the component to be processed based on the reading status of the parent dependent component when the component to be processed has a parent dependent component.
[0207] Optionally, the first determining unit includes:
[0208] The second determining unit is configured to, when the reading status of the parent dependent component is not read, determine the reading result of the component to be processed as a reading interruption and determine the parent dependent component as the new component to be processed.
[0209] The third determining unit is used to load the component to be processed and determine the reading result of the component to be processed as successful when the reading status of the parent dependent component is read and the reading result of the parent dependent component is successful.
[0210] The fourth determining unit is configured to determine the reading result of the component to be processed as a reading error when the reading status of the parent dependent component is "read" and the reading result of the parent dependent component is "read interrupted".
[0211] Optionally, the first isolation module 505 includes:
[0212] The first pull-up unit is used to perform component pull-up on the components of the communication system according to the resource allocation parameters in the initial environment;
[0213] The first interrupt unit is used to interrupt the CPU core bound to the 5GNR protocol stack component according to the resource allocation parameters when the component is pulled up.
[0214] The first isolation unit is used to isolate the component by defining cpuset and resource limit according to the resource allocation parameters when the component is launched and the launch method is container launch.
[0215] The second isolation unit is used to isolate the component's resources using the taskset command according to the resource allocation parameters when the component is launched and the launch method is process launch.
[0216] Optionally, the resource allocation parameters in the first configuration module 501 include one or more of the following: CPU parameter information, CPU memory limit information, and interrupt request signal IRQ;
[0217] The first interrupt unit includes:
[0218] The second interrupt unit is used to interrupt the CPU core bound to the 5GNR protocol stack component according to the interrupt request signal IRQ in the resource allocation parameters.
[0219] The first isolation unit includes:
[0220] The third isolation unit is used to isolate the components by defining cpuset and resource limit based on the CPU parameter information and CPU memory limit information in the resource allocation parameters.
[0221] The second isolation unit includes:
[0222] The fourth isolation unit is used to isolate the components by means of the taskset command based on the CPU parameter information and CPU memory limit information in the resource allocation parameters.
[0223] It should be noted that the embodiments of this device are devices corresponding to the embodiments of the above methods. All implementations in the embodiments of the above methods are applicable to the embodiments of this device and can achieve the same technical effect.
[0224] This invention also provides a network device, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, it implements the deployment method of the communication system as described in any of the preceding claims and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0225] This invention also provides a readable storage medium, comprising: a program stored on the readable storage medium, wherein when the program is executed by a processor, it implements the steps of the deployment method of the communication system described in any of the preceding claims, and achieves the same technical effect; to avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0226] This invention also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the deployment method of the communication system as described in any of the preceding claims, and achieve the same technical effect. To avoid repetition, these will not be described again here.
[0227] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0228] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A communication system, characterized by include: The 5G core network component and the 5G NR protocol stack component are mounted on a single physical central processing unit (CPU). A third-party component, which is connected to the 5G core network component; The data forwarding module is used to process the signaling plane data interaction and user plane data interaction between the 5G core network component and the 5G NR protocol stack component on the N2 interface and N3 interface. A guardian scheduling module is used to coordinate and schedule the 5G core network components, the 5G NR protocol stack components, and the third-party components and isolate resource interruptions based on resource information. Operating software, which is used to connect the data forwarding module, the guardian scheduling module and the external interface respectively.
2. The communication system of claim 1, wherein, The core network elements in the 5G core network components include multiple target network elements required for services, and the multiple target network elements communicate directly with each other through a service-based interface (SBI).
3. A method of deploying a communication system according to claim 1 or 2, characterized by The method includes: The networking information and first parameters of the communication system are pre-configured to obtain the initial environment, wherein the first parameters include one or more of the pull-up timing parameters and resource allocation parameters; The interface connection parameters of the communication system are initialized based on the network information in the initial environment to obtain the initial connection parameters; Based on the initial docking parameters, a virtual interface is created between the N2 and N3 interfaces of the communication system; Based on the pull-up timing parameters, multiple components in the communication system are read sequentially to obtain the reading result of each component; If the reading result of the component is successful, the communication system is isolated and interrupted according to the resource allocation parameters of the component.
4. The deployment method of a communication system according to claim 3, wherein After performing resource isolation and resource interruption on the communication system, the method further includes: Detect whether the network elements of the application environment of the communication system need to be adjusted; If the network element needs adjustment, obtain the adjustment method for the network element; If the adjustment method of the network element is to add a new network element, then add the network element and update the initial environment; If the adjustment method for the network element is to disable its function, the configuration interface of the network element is called to disable its function.
5. The method of deploying a communication system of claim 3, wherein, The method further includes: Determine whether the N6 interface in the external interface of the communication system needs to adapt to the network topology of the communication system; When the N6 interface needs to adapt to the network topology, read the configuration information of the N6 interface; Based on the configuration information, adjust the network policy and routing table information of the N6 interface corresponding to the User Plane Function (UPF).
6. The deployment method of a communication system according to claim 3, wherein, Based on the initial docking parameters, a virtual interface is created between the N2 and N3 interfaces of the communication system, including: Based on the initial docking parameters, a kernel network card virtual interface is created between the N2 and N3 interfaces of the communication system using the network protocol address information of the bypass network card of the Data Plane Development Kit (DPDK).
7. The method of deploying a communication system of claim 3, wherein, The step of sequentially reading multiple components in the communication system according to the pull-up timing parameters and obtaining the reading result of each component includes: According to the pull-up timing parameters, multiple components in the communication system are read sequentially, and the component being read is identified as the component to be processed. Determine whether the component to be processed has a parent dependency component; If the component to be processed has no parent dependent component, load the component to be processed and determine the reading result of the component to be processed as a successful reading; If the component to be processed has a parent dependent component, the reading result of the component to be processed is determined according to the reading status of the parent dependent component.
8. The deployment method of a communication system according to claim 7, wherein, Based on the read status of the parent dependent component, determine the read result of the component to be processed, including: If the read status of the parent dependent component is not read, the read result of the component to be processed is determined to be read interrupted and the parent dependent component is determined to be the new component to be processed; If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read successfully", then load the component to be processed and determine the read result of the component to be processed as "read successfully". If the read status of the parent dependent component is "read" and the read result of the parent dependent component is "read interrupted", the read result of the component to be processed is determined to be a read error.
9. The method of deploying a communication system of claim 3, wherein, The step of performing resource isolation and resource interruption on the communication system according to the resource allocation parameters of the components includes: The components of the communication system are started up according to the resource allocation parameters in the initial environment; When the component is pulled up, the CPU core bound to the 5GNR protocol stack component is interrupted according to the resource allocation parameters. When the component is launched and the launch method is container launch, the component is resource isolated by defining cpuset and resource limit according to the resource allocation parameters. When the component is launched and the launch method is process launch, the component is resource isolated using the taskset command according to the resource allocation parameters.
10. The deployment method of the communication system according to claim 9, characterized in that, The resource allocation parameters include one or more of the following: CPU parameter information, CPU memory limit information, interrupt request signal IRQ; The step of interrupting the resources of the CPU core bound to the 5GNR protocol stack component according to the resource allocation parameters includes: Based on the interrupt request signal IRQ in the resource allocation parameters, the CPU core bound to the 5GNR protocol stack component is interrupted. The step of isolating the components by defining `cpuset` and `resource limit` according to the resource allocation parameters includes: Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, resource isolation is performed on the components by defining cpuset and resource limit; Specifically, based on the resource allocation parameters, resource isolation of the component is performed using the `taskset` command, including: Based on the CPU parameter information and CPU memory limit information in the resource allocation parameters, the component is isolated using the taskset command.
11. A deployment apparatus for a communication system, characterized in that, include: The first configuration module is used to preconfigure the network information and first parameters of the communication system to obtain the initial environment, wherein the first parameters include one or more of the pull-up timing parameters and resource allocation parameters; The first initialization module is used to initialize the interface docking parameters of the communication system according to the network information in the initial environment, and obtain the initial docking parameters; The first creation module is used to create a virtual interface between the N2 interface and the N3 interface of the communication system according to the initial docking parameters; The first reading module is used to sequentially read multiple components in the communication system according to the pull-up timing parameters, and obtain the reading result of each component; The first isolation module is used to isolate and interrupt the communication system according to the resource allocation parameters of the component when the reading result of the component is successful.
12. A network device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, the program, when executed by the processor, implementing the deployment method of the communication system as described in any one of claims 1 to 10.
13. A readable storage medium, characterized in that, include: The readable storage medium stores a program that, when executed by a processor, implements the steps of the deployment method of the communication system as described in any one of claims 1 to 10.
14. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the steps of the deployment method of the communication system as described in any one of claims 1 to 10.