Pm file generation method, apparatus, device, and storage medium
By defining the encapsulation structure and time synchronization of PM data packets in a distributed deployment scenario, the problem of disordered PM data packets is solved, the accurate generation of PM files is achieved, and the accuracy of PM files is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2026-04-10
AI Technical Summary
In distributed deployment scenarios, the periodic data transmission of multiple service network elements during PM measurement leads to chaotic PM data packets, making it impossible to accurately distinguish PM data packets from different sources, resulting in inaccurate or non-existent PM file generation.
By defining the encapsulation message structure of PM data packets, including a general data packet header and a special data packet header, the source of the data block, the PM task number, and the network element identifier are recorded, and time synchronization is performed to ensure the identification and integration of data packets and generate PM files.
In distributed deployment scenarios, accurately distinguishing PM data packets from different sources improves the accuracy of PM file generation, avoids disordered data packet sending order, and ensures the normal generation of PM files.
Smart Images

Figure CN118828649B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, and particularly relates to a PM file generation method, device, equipment and storage medium. BACKGROUND
[0002] PM (Performance Measurement) is an important function of 5G NR (New Radio), and through PM measurement results, information such as UE (User Equipment) access success rate, drop rate, handover and service quality of the entire gNB base station system can be obtained, so as to facilitate relevant staff to observe the gNB base station system running state and maintenance operation processing in time. When the network management device starts PM measurement, the gNB base station is required to report the PM file to the network management device, and in the network management device, the PM file upload period needs to be configured and the PM performance measurement switch is opened, and the specified performance parameters are written into the PM file. However, at present, when PM measurement is applied in a distributed deployment scene, multiple service network elements periodically send data to the PM processing module, so that the data received by the PM processing module is chaotic, and the PM data packets of different sources cannot be accurately distinguished, thereby causing the generated PM file to be inaccurate, and even the PM file cannot be normally generated. SUMMARY
[0003] The purpose of the embodiment of the present application is to provide a PM file generation method, device, equipment and storage medium, when PM measurement is deployed in a distributed deployment scene, the management system on the base station side can accurately distinguish the PM data packets of different sources when receiving the PM data packets, thereby improving the accuracy of the generated PM file while normally generating the PM file.
[0004] To achieve the above purpose, the embodiment of the present application provides a PM file generation method, comprising:
[0005] When the PM performance measurement function is detected to be started, receiving PM data packets sent by at least one network element; wherein each network element generates the PM data packet according to a preset configuration strategy;
[0006] Identifying the PM data packet;
[0007] Integrating the PM data packets belonging to the same network element identifier and the same PM task number to generate a PM file.
[0008] As an improvement of the above scheme, the configuration strategy defines an encapsulation message structure of the PM data packet, and the encapsulation message structure comprises a general data packet header, a special data packet header and a message body; wherein the general data packet header records the source of the data block, and the special data packet header records the PM task number and the network element identifier of the data block.
[0009] As an improvement of the above scheme, the identification of the PM data packet comprises:
[0010] identifying the PM task number of the PM data packet according to a first flag bit of the PM data packet;
[0011] identifying the network element identifier of the PM data packet according to a second flag bit of the PM data packet.
[0012] As an improvement of the above scheme, the general data packet header further records PM measurement related parameters and total packet length.
[0013] As an improvement of the above scheme, the special data packet header further records unpacking information and a check number.
[0014] As an improvement of the above scheme, when the PM performance measurement function is detected to be enabled, the method further comprises:
[0015] acquiring the deployment state of the network element;
[0016] when the network element and the current management system are deployed on the same server, synchronizing the time of the network element deployed on the same server with the time of the current management system as a reference;
[0017] when the network element and the current management system are deployed on different servers, enabling a network terminal protocol client to synchronize the time of the network element deployed on different servers.
[0018] As an improvement of the above scheme, after receiving the PM data packet sent by at least one network element, the method further comprises:
[0019] checking the PM data packet.
[0020] To achieve the above object, an embodiment of the present application further provides a PM file generation device, comprising:
[0021] a data receiving module, configured to receive the PM data packet sent by at least one network element when the PM performance measurement function is detected to be enabled; wherein each network element generates the PM data packet according to a preset configuration strategy;
[0022] A PM processing module is configured to identify the PM data packets and integrate the PM data packets with the same network element identifier and the same PM task number to generate a PM file.
[0023] To achieve the above object, the embodiment of the present application further provides a PM file generation device, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the PM file generation method according to any one of the above embodiments.
[0024] To achieve the above object, the embodiment of the present application further provides a computer readable storage medium, comprising a stored computer program, wherein the computer readable storage medium controls a device where the computer readable storage medium is located to execute the PM file generation method according to any one of the above embodiments when the computer program runs.
[0025] Compared with the prior art, the PM file generation method, device, equipment and storage medium disclosed by the present application, when the PM performance measurement function is detected to be turned on, the management system of the base station side receives the PM data packets sent by at least one network element; wherein each network element generates the PM data packets according to a preset configuration strategy; the PM data packets are identified; the PM data packets with the same network element identifier and the same PM task number are integrated to generate a PM file. When the PM measurement is deployed in a distributed deployment scenario, the network element performs packet grouping according to the configuration strategy in advance when sending the PM data packets, so that the management system of the base station side can accurately distinguish the PM data packets from different sources when receiving the PM data packets, and integrate the PM data packets with the same network element identifier and the same PM task number, thereby improving the accuracy of the generated PM file while generating the PM file normally. BRIEF DESCRIPTION OF DRAWINGS
[0026] Figure 1 is a flow chart of a PM file generation method provided by the embodiment of the present application;
[0027] Figure 2 is a schematic diagram of information interaction between a network management device and a base station side provided by the embodiment of the present application;
[0028] Figure 3 is a schematic diagram of a distributed deployment scenario provided by the embodiment of the present application;
[0029] Figure 4 is a schematic diagram of an encapsulation structure of a PM data packet provided by the embodiment of the present application;
[0030] Figure 5 is a network element time synchronization flow chart provided by the embodiment of the present application;
[0031] Figure 6 is a structural block diagram of a PM file generation device provided by an embodiment of the present application;
[0032] Figure 7 is a structural block diagram of a PM file generation device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0034] Referring to Figure 1 , Figure 1 is a flow chart of a PM file generation method provided by an embodiment of the present application. The PM file generation method comprises the following steps.
[0035] S1, when detecting that a PM performance measurement function is started, receiving PM data packets sent by at least one network element;
[0036] S2, identifying the PM data packets;
[0037] S3, integrating PM data packets belonging to a same network element identifier and a same PM task number to generate a PM file.
[0038] It is worth noting that the embodiment of the present application is implemented by an OM (Operations and Maintenance) management system arranged at a gNB base station side. Referring to Figure 2 , Figure 2Figure 1 is a schematic diagram of information interaction between a network management device and a gNB base station provided by an embodiment of the present application. When the network management device starts a PM measurement task, the network management device sends a PM configuration task to the gNB base station, and requests the OM management system of the gNB base station to report a PM file to the network management device. The PM file can be used for network evaluation and system operation and maintenance after being acquired by the network management device. The PM file is mainly used for evaluation of UE access to the gNB base station and evaluation of gNB base station performance, and is mainly divided into cell-level PM parameters, DU (Distributed Unit)-related PM parameters, CU (Centralized Unit)-related PM parameters, and statistics of hand-in and hand-out and inter-system hand-in and hand-out related PM parameters. The CU and DU related PM parameters are further distinguished by PLMN (Public Land Mobile Network) for statistics, and individual parameters are further distinguished by 5QI (5G QoS Identifier) for statistics, slice statistics, and the like.
[0039] The PM configuration task sent by the network management device defines a PM file upload period and an upload enable switch. The PM file upload period represents a period for the gNB to generate the PM file, and the period should be 15 minutes and an integer multiple of 15 minutes. The PM file upload enable switch is used to turn on and off PM performance measurement. For example, 0 indicates that the gNB base station turns off the PM performance measurement, and 1 indicates that the gNB base station turns on the PM performance measurement function. For example, when the PM upload enable switch of the gNB is turned on and the upload period is configured as 15 minutes, the OM management system acquires PM parameters from each network element every 15 minutes. The OM management system collects the PM parameters and generates a PM file in association, and reports the PM file to the network management device.
[0040] The PM file generation method in the embodiment of the present application is applied to a PM measurement process in a distributed deployment scenario. Referring to Figure 2, Figure 3 , Figure 3Figure 1 is a schematic diagram of a distributed deployment scenario provided by an embodiment of the present application, and PM data is derived from a DU server and a CU server, and the DU and CU server can be one or more. In a 5G RAN (Radio Access Network) architecture, the 5G base station BBU (Base Band Unit) function is restructured into two functional entities, CU and DU. The DU is a distributed unit responsible for processing real-time, and the CU is a central unit responsible for processing non-real-time, RRC, PDCP, and other high-layer protocols. The CU server can be further divided into CUUP (gNB-CU-User Plane) and CUCP (gNB-CU-Control Plane), and PM data is derived from multiple sources and is chaotic. For example, the DU server and the CU server can both perform PM measurement task 1 and PM measurement task 2 (PM measurement tasks are created by network management equipment notification). After the PM data of the service-side network element (the network element type can be DU or CU) is sent to the OM management system after being unpacked, the abnormal PM data is recombined via the configuration strategy processing unit of the CU and the DU, and finally the normal PM file is generated.
[0041] Specifically, in step S1, each of the network elements generates the PM data packet according to a preset configuration strategy, and the configuration strategy defines the encapsulation message structure of the PM data packet. Referring to Figure 2, Figure 4 , Figure 4 Figure 3 is an encapsulation structure diagram of a PM data packet provided by an embodiment of the present application. The encapsulation message structure includes a general data packet header, a special data packet header, and a message body. The general data packet header records the source of the data block (whether the PM data packet is derived from the CU or the DU), and the special data packet header records the PM task number and the network element identifier of the data block.
[0042] Further, the general data packet header also records PM measurement related parameters and the total packet length. The PM measurement related parameters include cell-level PM parameters, DU-related PM parameters, CU-related PM parameters, and PM parameters related to hand-in and hand-out and inter-system hand-in and hand-out. The special data packet header also records unpacking information and a check number. The unpacking information includes the unpacking number (i.e., the complete data belonging to the same PM task and network element is split into several PM data packets), the sequence number of the current packet, and the message length of a single data packet.
[0043] Specifically, in step S2, the PM data packet is identified, including: identifying the PM task number of the PM data packet according to the first flag bit of the PM data packet; and identifying the network element identifier of the PM data packet according to the second flag bit of the PM data packet.
[0044] Exemplarily, the first flag bit and the second flag bit are both located in the special data packet header. For example, when the PM test task 2 is started in the distributed deployment scenario, the OM side receives the PM data packets reported by the CU server and the DU server, and when the first PM data packet arrives at the OM side, the OM side first determines which PM task according to the PM task number recorded in the first flag bit of the PM data packet, and then determines which network element sends the data according to the network element identifier recorded in the second flag bit of the PM data packet.
[0045] Specifically, in step S3, after the PM data packet is identified, the PM data packets belonging to the same network element and the same PM task can be integrated according to the PM task number, the network element identifier and the unpacking information, and a PM file is generated.
[0046] In the embodiment of the present application, the network element performs packet assembling according to the configuration strategy before sending the PM data packet, so that the management system of the base station side can effectively collect the PM data when receiving the PM data packet, and can accurately distinguish the PM data packets from different sources, and integrate the PM data packets with the same network element identifier and the same PM task number, thereby improving the accuracy of the generated PM file while normally generating the PM file.
[0047] Further, in the distributed deployment scenario, there are multiple service network elements periodically sending data to the PM processing module, and the server time of each server cannot be synchronized, so that the data of each network element cannot be reported at the same time, and the sending sequence of the network element data is chaotic, thereby causing the generated PM file to be inaccurate, or even unable to normally generate the PM file. In order to further solve this technical problem, the embodiment of the present application can also synchronize the network element time, so that the data of different network elements can be reported at the same time, and the sending sequence of the network element data is avoided to be chaotic.
[0048] Specifically, when the PM performance measurement function is detected to be started, the method further includes: acquiring the deployment state of the network element; when the network element and the current management system are deployed on the same server, synchronizing the time of the network element deployed on the same server based on the time of the current management system; and when the network element and the current management system are deployed on different servers, enabling a network terminal protocol client to synchronize the time of the network element deployed on different servers.
[0049] Exemplarily, referring to Figure 5 , Figure 5The embodiment of the present application provides a network element time synchronization flowchart, in order to ensure that the time of each server cannot be synchronized, the NTP (Network Time Protocol) synchronization technology is adopted to improve the problem, and it is ensured that there is only a very short time error when multiple servers report data. First, the type of the network element is judged to be CU or DU, and the CU flow is further elaborated, when the type of the network element is CU, the CU deployment state is further judged, that is, whether the CU and the OM management system are deployed on the same server; when the CU deployment state is CU / OM separation, the NTP client is enabled to perform time synchronization on the multiple servers collecting PM data, so that the multiple servers report PM data at almost the same time; when the CU deployment state is not CU / OM separation, the CU / OM is on the same server, and the NTP synchronization of multiple PM test tasks is performed with the OM management system as a reference.
[0050] Further, after receiving the PM data packet sent by at least one network element, the method further comprises: checking the PM data packet.
[0051] For example, the check number recorded in the special data packet header is a CRC check number, and the process of checking the PM data packet by using the CRC check number can refer to the prior art, which will not be described here.
[0052] Compared with the prior art, the PM file generation method disclosed by the present application, when the PM performance measurement function is detected to be started, the management system on the base station side receives the PM data packet sent by at least one network element; wherein each network element generates the PM data packet according to a preset configuration strategy; the PM data packet is identified; the PM data packets belonging to the same network element identifier and the same PM task number are integrated to generate a PM file. When the PM measurement is deployed in a distributed deployment scene, the network element performs packet assembly according to the configuration strategy in advance when sending the PM data packet, so that no matter whether the business network element data sending sequence is chaotic or the business measurement has a large number of network elements and PM task numbers, the management system on the base station side can accurately distinguish the PM data packets from different sources when receiving the PM data packet, and integrate the PM data packets from the same network element identifier and the same PM task number, so as to normally generate the PM file and improve the accuracy of the generated PM file. In addition, the network element time is synchronized, so that the data of different network elements can be reported at the same time, and the chaotic network element data sending sequence is avoided.
[0053] Referring to Figure 6 , Figure 6 The embodiment of the present application provides a structure block diagram of a PM file generation device 100, the PM file generation device 100 comprises:
[0054] The data receiving module 11 is configured to receive the PM data packets sent by at least one network element when the PM performance measurement function is detected to be started, wherein each network element generates the PM data packets according to a preset configuration strategy.
[0055] The PM processing module 12 is configured to identify the PM data packets and integrate the PM data packets belonging to the same network element identifier and the same PM task number to generate a PM file.
[0056] It is worth noting that the PM file generation device 100 described in the embodiment of the present application is an OM (Operations and Maintenance) management system arranged on the gNB base station side.
[0057] Specifically, the configuration strategy defines the encapsulation message structure of the PM data packets, and the encapsulation message structure includes a general data packet header, a special data packet header and a message body; wherein the general data packet header records the source of the data block, and the special data packet header records the PM task number and the network element identifier of the data block.
[0058] Specifically, the general data packet header also records the PM measurement related parameters and the total packet length, and the special data packet header also records the unpacking information and the check number.
[0059] Specifically, the PM processing module 12 is configured to identify the PM task number of the PM data packet according to the first flag bit of the PM data packet, and identify the network element identifier of the PM data packet according to the second flag bit of the PM data packet.
[0060] Specifically, the PM file generation device 100 further includes a time synchronization module, which is configured to: when the PM performance measurement function is detected to be started, acquire the deployment state of the network element; when the network element and the current management system are deployed on the same server, perform time synchronization on the network element deployed on the same server based on the time of the current management system; and when the network element and the current management system are deployed on different servers, enable a network terminal protocol client to perform time synchronization on the network element deployed on different servers.
[0061] Specifically, the PM processing module 12 is further configured to: after receiving the PM data packets sent by at least one network element, perform a check on the PM data packets.
[0062] It is worth noting that the working process of each module in the PM file generation device 100 described in the embodiment of the present application can refer to the working process of the PM file generation method described in the above embodiment, and will not be repeated here.
[0063] Compared with the prior art, the PM file generation device 100 disclosed by the application detects that the PM performance measurement function is turned on, and the PM file generation device 100 on the base station side receives PM data packets sent by at least one network element; wherein each network element generates the PM data packet according to a preset configuration strategy; the PM data packet is identified; and the PM data packets belonging to the same network element identifier and the same PM task number are integrated to generate a PM file. When the PM measurement is deployed in a distributed deployment scenario, the network element performs packet grouping according to the configuration strategy in advance when sending the PM data packet, so that no matter whether the business network element data sending sequence is chaotic or the business measurement has a large number of network elements and PM task numbers, the PM file generation device 100 on the base station side can accurately distinguish the PM data packets of different sources when receiving the PM data packet, and integrate the PM data packets of the same network element identifier and the same PM task number, so as to normally generate the PM file and improve the accuracy of the generated PM file. In addition, the network element time is synchronized, so that the data of different network elements can be reported at the same time, and the chaotic network element data sending sequence is avoided.
[0064] Reference Figure 7 , Figure 7 is a structural block diagram of a PM file generation device 200 provided by an embodiment of the application, and the PM file generation device 200 includes a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. The processor 21 implements the steps in each of the PM file generation method embodiments described above when executing the computer program, such as steps S1-S3.
[0065] For example, the computer program can be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the PM file generation device 200.
[0066] The PM file generation device 200 can include, but is not limited to, the processor 21 and the memory 22. Those skilled in the art can understand that the schematic diagram is only an example of the PM file generation device 200 and does not limit the PM file generation device 200, which can include more or fewer components than the diagram, or combine certain components or different components, for example, the PM file generation device 200 can also include an input / output device, a network access device, a bus, etc.
[0067] The processor 21 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The processor 21 is a control center of the PM file generation device 200, and connects various parts of the PM file generation device 200 through various interfaces and lines.
[0068] The memory 22 can be used to store computer programs and / or modules. The processor 21 realizes various functions of the PM file generation device 200 by running or executing the computer programs and / or modules stored in the memory 22, and calling data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required for a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created according to use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 22 can include a high-speed random access memory, and can also include a nonvolatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state memory device.
[0069] The modules / units of the PM file generation device 200 are stored in a computer readable storage medium if they are realized in the form of software function units and sold or used as independent products. Based on this understanding, all or part of the processes in the above-mentioned embodiments can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by the processor 21, the steps of the above-mentioned various method embodiments can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0070] The above is the preferred embodiment of the present application. It should be pointed out that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which are also considered within the scope of protection of the present application.
Claims
1. A PM file generation method characterized by comprising: The method comprises the following steps: receiving PM data packets sent by at least one network element when it is detected that the PM performance measurement function is started, wherein each network element generates the PM data packets according to a preset configuration strategy; identifying the PM data packets; integrating the PM data packets belonging to the same network element identifier and the same PM task number to generate a PM file; wherein when it is detected that the PM performance measurement function is started, the method further comprises the following steps: obtaining the deployment state of the network element; when the network element and the current management system are deployed on the same server, synchronizing the time of the network element deployed on the same server based on the time of the current management system; when the network element and the current management system are deployed on different servers, enabling a network terminal protocol client to synchronize the time of the network element deployed on different servers.
2. The PM file generation method of claim 1, wherein, The configuration strategy defines the encapsulation message structure of the PM data packets, and the encapsulation message structure comprises a general data packet header, a special data packet header and a message body; wherein the general data packet header records the source of the data block, and the special data packet header records the PM task number and the network element identifier of the data block.
3. The PM file generation method of claim 1, wherein, The identification of the PM data packets comprises the following steps: identifying the PM task number of the PM data packets according to the first flag bit of the PM data packets; identifying the network element identifier of the PM data packets according to the second flag bit of the PM data packets.
4. The PM file generation method of claim 2, wherein, The general data packet header further records the PM measurement related parameters and the total packet length.
5. The PM file generation method of claim 2, wherein, The special data packet header further records the unpacking information and the check number.
6. The PM file generation method of claim 1, wherein, After receiving the PM data packets sent by at least one network element, the method further comprises the following step: checking the PM data packets.
7. A PM file generation apparatus characterized by comprising: The method comprises the following steps: a data receiving module, configured to receive PM data packets sent by at least one network element when it is detected that the PM performance measurement function is started, wherein each network element generates the PM data packets according to a preset configuration strategy; a PM processing module, configured to identify the PM data packets and integrate the PM data packets belonging to the same network element identifier and the same PM task number to generate a PM file; a time synchronization module, configured to, when it is detected that the PM performance measurement function is started, obtain the deployment state of the network element; when the network element and the current management system are deployed on the same server, synchronize the time of the network element deployed on the same server based on the time of the current management system; and when the network element and the current management system are deployed on different servers, enable a network terminal protocol client to synchronize the time of the network element deployed on different servers.
8. A PM file generation apparatus characterized by comprising: The computer readable storage medium comprises a stored computer program, wherein when the computer program is running, the computer readable storage medium controls the device where the computer readable storage medium is located to execute the PM file generation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Method and system for analogue network element to upload performance measurement data
CN101340695A
Cloud distributed detection method and system and related device
CN108429754A