CN114339826B - Performance data file generation method and device, storage medium and electronic device - Google Patents

Performance data file generation method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114339826B
CN114339826B CN202111450982.0A CN202111450982A CN114339826B CN 114339826 B CN114339826 B CN 114339826B CN 202111450982 A CN202111450982 A CN 202111450982A CN 114339826 B CN114339826 B CN 114339826B
Authority
CN
China
Prior art keywords
file
protocol
base station
protocol stack
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111450982.0A
Other languages
Chinese (zh)
Other versions
CN114339826A (en
Inventor
李世杰
张建军
杨明
王华鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Sanwei Lipway Network Co ltd
Sunwave Communications Co Ltd
Original Assignee
Zhejiang Sanwei Lipway Network Co ltd
Sunwave Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Sanwei Lipway Network Co ltd, Sunwave Communications Co Ltd filed Critical Zhejiang Sanwei Lipway Network Co ltd
Priority to CN202111450982.0A priority Critical patent/CN114339826B/en
Publication of CN114339826A publication Critical patent/CN114339826A/en
Application granted granted Critical
Publication of CN114339826B publication Critical patent/CN114339826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method, a device, a storage medium and an electronic device for generating a performance data file, wherein base station performance data are collected on each layer of one or more layers of protocol stacks included in a target base station, and a protocol stack and a performance data set with corresponding relations are obtained; generating an initial data file of a performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain the protocol stack and the initial data file with corresponding relation; extracting corresponding initial data files from one or more layers of protocol stacks; and generating a target data file on a performance management module included in the target base station by using the extracted one or more initial data files, wherein the target data file is used for managing the base station performance of the target base station. The invention solves the problem that the occupancy rate of the performance data of the base station to the memory space of the base station is higher, thereby achieving the effect of reducing the occupancy rate of the performance data of the base station to the memory space of the base station.

Description

Performance data file generation method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for generating a performance data file, a storage medium and an electronic device.
Background
The performance management is used for evaluating system performance, including evaluating the running condition and communication efficiency of system resources, in the base station, the performance management displays the performance of each aspect of the base station running service to users or technicians, periodically collects performance indexes such as user access number, channel establishment number, uplink and downlink resource use condition and the like when the communication service is executed, and can reflect the performance of the base station executing the communication service. And acquiring the performance data and reporting the performance data generation file to an upper layer application.
The performance management system in the prior art acquires performance data according to an instruction of an Operation Administration and Maintenance (OAM) in each layer of protocol stack, stores the acquired performance data in a channel transmitted to the OAM to be shared with the OAM, acquires the performance data in the OAM channel, generates a file by the OAM, and stores the performance data in the channel to occupy a large amount of memory space of a base station due to huge performance index data, so that the memory resources of the base station are precious.
Aiming at the problem that the occupancy rate of the performance data of the base station to the memory space of the base station is higher in the related technology, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating performance data files, a storage medium and an electronic device, which are used for at least solving the problem that the occupancy rate of performance data of a base station to the memory space of the base station in the related technology is higher.
According to an embodiment of the present invention, there is provided a method for generating a performance data file, including: collecting base station performance data on each layer of one or more layers of protocol stacks included in a target base station to obtain a protocol stack and a performance data set with corresponding relation; generating an initial data file of a performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain a protocol stack and an initial data file with corresponding relation; extracting the corresponding initial data file from the one or more layers of protocol stacks; and generating a target data file on a performance management module included in the target base station by using the extracted one or more initial data files, wherein the target data file is used for managing the base station performance of the target base station.
In an exemplary embodiment, the collecting the base station performance data on each of one or more layers of protocol stacks included in the target base station includes: determining a data acquisition strategy corresponding to each layer of protocol stack; and collecting base station performance data on each layer of protocol stack according to the data collection strategy.
In an exemplary embodiment, the generating, on the per-layer protocol stack, an initial data file of a performance data set corresponding to the per-layer protocol stack includes: generating the initial data file according to a data protocol in a target file protocol on each layer of protocol stack, wherein the target file protocol is a file protocol used for generating the target data file; and storing the initial data file on each layer of protocol stack.
In an exemplary embodiment, the generating the initial data file according to a data protocol in a file protocol of the target data file on the per-layer protocol stack includes: generating a file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; and adding the base station performance data included in the performance data set corresponding to each layer of protocol stack to the corresponding position of the file template according to the data protocol to obtain the initial data file.
In an exemplary embodiment, the generating, on the per-layer protocol stack, a file template according to a data protocol in a file protocol of the target data file includes: generating an initial file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; and adding a target strategy in the data acquisition strategy corresponding to each layer of protocol stack into the initial file template to obtain the file template.
In an exemplary embodiment, said extracting the corresponding initial data file from the one or more layers of protocol stacks comprises: receiving one or more file storage paths reported by the one or more layers of protocol stacks according to a reporting sequence, wherein each file storage path in the one or more file storage paths is used for indicating a storage position of the initial data file in the corresponding protocol stack; and extracting the initial data files from the one or more file storage paths according to the reporting sequence.
In an exemplary embodiment, the generating, on a performance management module included in the target base station, a target data file using the extracted one or more initial data files includes: under the condition that the target base station comprises a layer of protocol stack, adding a file header and a file tail for the initial data file extracted from the layer of protocol stack according to a format protocol in a target file protocol to obtain the target data file; under the condition that the target base station comprises a multi-layer protocol stack, splicing a plurality of initial data files extracted from the multi-layer protocol stack into a reference data file according to a reporting sequence; and adding a file header and a file tail for the reference data file according to a format protocol in a target file protocol to obtain the target data file.
According to another embodiment of the present invention, there is provided a performance data file generating apparatus including: the acquisition module is used for acquiring the base station performance data on each layer of protocol stacks in one or more layers of protocol stacks included in the target base station to obtain a protocol stack and a performance data set with a corresponding relation;
the first generation module is used for generating an initial data file of the performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain the protocol stack and the initial data file with corresponding relation;
the extraction module is used for extracting the corresponding initial data file from the one or more layers of protocol stacks;
and the second generation module is used for generating a target data file by using the extracted one or more initial data files on a performance management module included in the target base station, wherein the target data file is used for managing the base station performance of the target base station.
According to a further embodiment of the invention, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, the base station performance data is collected on each layer of protocol stack in one or more layers of protocol stacks included in the target base station, so as to obtain a protocol stack and a performance data set with corresponding relation; generating an initial data file of a performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain the protocol stack and the initial data file with corresponding relation; extracting corresponding initial data files from one or more layers of protocol stacks; and generating a target data file on a performance management module included in the target base station by using the extracted one or more initial data files, wherein the target data file is used for managing the base station performance of the target base station. Firstly, base station performance data of a base station are collected on each layer of protocol stack and are generated into an initial data file on the layer of protocol stack, then the initial data file is extracted and is generated into a target data file on a performance management module of a target base station, and the initial data file is generated into the initial data file on the protocol stack, so that the base station performance data is not transmitted to a memory space of the base station for storage and does not occupy memory resources of the base station by generating the target data file on the performance management module, and therefore, the problem that the occupancy rate of the base station performance data to the memory space of the base station is high can be solved, and the effect of reducing the occupancy rate of the base station performance data to the memory space of the base station is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method of generating a performance data file according to an embodiment of the present invention;
FIG. 2 is a flow chart of generation of a performance data file according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a generation process of a performance data file according to an embodiment of the present invention;
fig. 4 is a block diagram of a configuration of a performance data file generating apparatus according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present invention may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the operation on a mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for generating a performance data file according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for generating a performance data file in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a method for generating a performance data file is provided, and fig. 2 is a flowchart of generating a performance data file according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S202, collecting base station performance data on each layer of protocol stack in one or more layers of protocol stacks included in a target base station to obtain a protocol stack and a performance data set with corresponding relation;
step S204, generating an initial data file of the performance data set corresponding to each layer of protocol stack on each layer of protocol stack, and obtaining a protocol stack and an initial data file with corresponding relation;
step S206, extracting the corresponding initial data file from the one or more layers of protocol stacks;
and step S208, generating a target data file on a performance management module included in the target base station by using the extracted one or more initial data files, wherein the target data file is used for managing the base station performance of the target base station.
Through the steps, firstly, the base station performance data of the base station are collected on each layer of protocol stack, the base station performance data are generated into an initial data file on the layer of protocol stack, then the initial data file is extracted and generated into a target data file on a performance management module of a target base station, and the initial data file is generated on the protocol stack, so that the base station performance data are not transmitted to a memory space of the base station for storage through generating the target data file on the performance management module, and memory resources of the base station are not occupied, therefore, the problem that the occupancy rate of the base station performance data to the memory space of the base station is higher can be solved, and the effect of reducing the occupancy rate of the base station performance data to the memory space of the base station is achieved.
In the solution provided in step S202, the target base station may be, but is not limited to, a public mobile base station, such as a pico base station, a macro base station, a micro base station, a femto base station, or the like. The protocol stack may include, but is not limited to: an application-side protocol stack, a scheduling-side protocol stack, a data-side protocol stack, and so forth. The above base station performance data may include, but is not limited to, data reflecting base station performance metrics such as: the number of connections, the number of establishment of ERAB (Evolved Radio Access Bearer, evolved radio access bearer, i.e. bearer of user plane), QCI (QoS Class Identifier, specifying the manner of forwarding the control bearer class packet defined within the access node), etc., the same performance index may be divided according to different reasons.
Optionally, in this embodiment, the base station performance data collected on the protocol layer may include a plurality of items, and the base station performance data collected on each layer of protocol stack is correspondingly formed into a performance data set, and since the performance index of the base station performance data collected on each layer of protocol stack is different, the base station performance data collected on each layer of protocol stack in the target base station may be different, so the protocol stack and the performance data set should have a corresponding relationship.
In an alternative embodiment, the base station performance data is collected on each of one or more layers of protocol stacks included in the target base station, and may be, but is not limited to, collected by: determining a data acquisition strategy corresponding to each layer of protocol stack; and collecting base station performance data on each layer of protocol stack according to the data collection strategy.
Optionally, in this embodiment, the above-mentioned acquisition strategy may include, but is not limited to: collected performance data, collected priority, collected accuracy, collected period, rules for partitioning performance data, and the like. The acquisition strategies on each layer of protocol stack can be different or the same, and the acquisition of the base station performance data is omitted on each layer of protocol stack according to the acquisition strategy corresponding to the layer of protocol stack.
Optionally, in this embodiment, the acquisition policy is acquired first, and then the base station performance data is acquired according to the acquisition policy, which may, but is not limited to, prevent redundant base station performance data from being acquired or acquiring the base station performance data from being confused, and so on.
In the technical solution provided in step S204, the initial data file is generated on the protocol stack by using the base station performance data in the performance data set corresponding to the protocol stack, and because the protocol stack has a corresponding relationship with the performance data set, the initial data file generated by using the base station performance data in the performance data set also has a corresponding relationship with the protocol stack.
In an alternative embodiment, the initial data file for the performance data set corresponding to each layer of the protocol stack is generated on each layer of the protocol stack, which may be generated by, but is not limited to, the following ways: generating the initial data file according to a data protocol in a target file protocol on each layer of protocol stack, wherein the target file protocol is a file protocol used for generating the target data file; and storing the initial data file on each layer of protocol stack.
Alternatively, in this embodiment, the above-mentioned file protocol may be but is not limited to a protocol including a 3GPP (3 rd Generation Partnership Project, third generation partnership project) protocol, the above-mentioned target file protocol may be but is not limited to a protocol defining a format of a performance file of a base station, the target file protocol may be but is not limited to a protocol including a format of performance data of a base station in the performance file, or the like, the above-mentioned data protocol may be but is not limited to a protocol including a format of performance data of a base station in the performance file, an initial data file may be generated on each layer of protocol stack according to the data protocol and then the resulting initial data file is stored in a protocol stack corresponding to the initial data file.
In an alternative embodiment, the initial data file is generated on each layer of the protocol stack according to a data protocol in a file protocol of the target data file, which may be generated by, but is not limited to, the following ways: generating a file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; and adding the base station performance data included in the performance data set corresponding to each layer of protocol stack to the corresponding position of the file template according to the data protocol to obtain the initial data file.
Optionally, in this embodiment, a file template is first generated on each layer of protocol stack according to a data protocol, and then base station performance data in a performance data set corresponding to the protocol stack is added to a corresponding position of the file template according to the data protocol, so as to obtain an initial data file.
In an alternative embodiment, the file templates are generated on each layer of the protocol stack according to the data protocol in the file protocol of the target data file, and may be generated by, but not limited to, the following ways: generating an initial file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; and adding a target strategy in the data acquisition strategy corresponding to each layer of protocol stack into the initial file template to obtain the file template.
Optionally, in this embodiment, an initial file template is first generated on each layer of protocol stack according to a data protocol, and then a target policy in a data acquisition policy corresponding to each layer of protocol stack is added to a corresponding position in the initial file template, where the target policy may include, but is not limited to, acquisition granularity, reporting period, and the like, and finally the file template is obtained.
In the technical solution provided in step S206, the protocol stack has a correspondence relationship with the initial data file, and the initial data file to be extracted should be extracted according to the correspondence of the protocol stack is extracted in the protocol stack.
In an alternative embodiment, the corresponding initial data file is extracted from one or more layers of the protocol stack, which may be, but is not limited to, extracted by: receiving one or more file storage paths reported by the one or more layers of protocol stacks according to a reporting sequence, wherein each file storage path in the one or more file storage paths is used for indicating a storage position of the initial data file in the corresponding protocol stack; and extracting the initial data files from the one or more file storage paths according to the reporting sequence.
Alternatively, in this embodiment, the above-mentioned reporting sequence may be determined, but not limited to, according to the data protocol in the above-mentioned object file protocol, according to the acquisition policy of the base station performance data, and so on. The above-mentioned file storage paths may include, but are not limited to, a storage location of one initial data file corresponding to each file storage path, that is, a storage location of an initial data file corresponding to the path is found through the file storage path.
Optionally, in this embodiment, if there is only one layer of protocol stack, it is possible, but not limited to, to directly report the file storage path corresponding to the layer of protocol stack to the target base station, and then extract the initial data file according to the file storage path from the storage location of the initial data file corresponding to the file storage path. If the protocol stack has multiple layers, each layer of protocol stack sequentially reports the file storage path corresponding to the layer of protocol stack to the target base station according to the reporting sequence, and then sequentially extracts the initial data file according to the file storage path and the storage position corresponding to the file storage path according to the reporting sequence.
In the solution provided in step S208, the performance management module may be, but not limited to, a module for evaluating system performance, generating a system performance data file, and the like, where the performance management module may be, but not limited to, including: OAM (Operation Administration and Maintenance, operation and maintenance management), PM in OAM (Performance Management ), and the initial data file is generated as a target data file in the performance management module.
In an alternative embodiment, the target data file is generated on the performance management module included in the target base station using the extracted one or more initial data files, which may be generated, but is not limited to, by: under the condition that the target base station comprises a layer of protocol stack, adding a file header and a file tail for the initial data file extracted from the layer of protocol stack according to a format protocol in a target file protocol to obtain the target data file; under the condition that the target base station comprises a multi-layer protocol stack, splicing a plurality of initial data files extracted from the multi-layer protocol stack into a reference data file according to a reporting sequence; and adding a file header and a file tail for the reference data file according to a format protocol in a target file protocol to obtain the target data file.
Optionally, in this embodiment, the above-mentioned target file protocol may, but is not limited to, further include a format protocol, etc., where the format protocol is used to indicate a protocol for generating a header and a trailer of the target file, and the file header may, but is not limited to, include a presentation of file information, such as: the file trailer may include, but is not limited to, time of file generation, time of reporting, time of generation process, time of acquisition process, etc. using version of protocol, information of base station, etc.
Optionally, in this embodiment, if the target base station includes a layer of protocol stack, the initial data file extracted from the layer of protocol stack is added with a file header and a file trailer according to the format protocol, and finally the target data file is obtained. If the target base station comprises a multi-layer protocol stack, firstly extracting initial data files corresponding to the multi-layer protocol stack according to the reporting sequence of the protocol stack, splicing the extracted initial data files into a reference data file according to the reporting sequence, then adding the file head and the file tail, and finally obtaining the target data file.
It will be apparent that the embodiments described above are merely some, but not all, embodiments of the invention.
The invention is illustrated below with reference to examples:
FIG. 3 is a schematic diagram of a process for generating a performance data file according to an embodiment of the present invention, as shown in FIG. 3, the process including the steps of:
step one: collecting base station performance data through a collection interface on a protocol stack in the base station, wherein the collection interface omits to collect the base station performance data according to a collection strategy in the established data model.
Step two: the performance management module sends the periodic acquisition data (namely the target strategy) to each layer of protocol stack, the protocol stack generates an initial data file by the periodic acquisition data and the base station performance data, and reports a path (namely the file storage path) to the base station.
Step three: and after feedback of all protocol stacks is received, extracting the initial data file to splice the file, and finally obtaining the target data file.
Before the first step, firstly, the performance index requirement of the base station is acquired, a data model is established according to the requirement, the acquisition strategy is specified in the data model, the performance data which is expected to be acquired is acquired, the acquisition sequence, the sequence of each layer of protocol stack in the generation of the initial data file (namely, the report sequence) are regulated, and the performance management in the base station generates the performance data file according to the data model. The uniqueness of the performance indexes should be considered in the data model building process, and most of the performance indexes can differentiate different reasons, QCI and cells to respectively count the performance data (i.e. the base station performance data). For example: the number of ERAB bearer establishment is divided into the number of ERAB bearer establishment requests, the number of ERAB bearer establishment successes and the number of ERAB bearer establishment failures. Which are in turn counted separately according to the different QCIs in the different cells. In order to avoid the occurrence of redundant data and computation steps due to confusion of the data model, the data model should be built in a strictly prescribed order. The specific performance index is taken as a first dimension, the special distinction is taken as a second dimension, for example, the specific performance index is taken as the number of connections, the special distinction is taken as the connection source, the first dimension is the number of connections, the second dimension is that random access is normally applied for access, one-field access is re-accessed, the second dimension is switched in, and the like, and finally the first dimension is divided into columns according to the cell. The advantage of this design is that the order of performance indicators in the same layer protocol stack is specified. The storage units in the protocol stacks of each layer should also follow such a data model, and the generation performance files can also be ordered. Secondly, subdividing the protocol stack where the performance index acquisition point is located, operating in which layer of protocol stack, independently establishing a data model for each layer of protocol stack, and realizing sequencing. A certain performance index measurement cluster may be in the protocol stacks of two different layers. The performance indexes in the measurement clusters have no correlation and can be split. The performance index acquisition interface in the software in the protocol stack is also designed according to the data model, different reasons of the same performance index are only distinguished in the interface, and the acquisition point does not make redundancy judgment. This also benefits from the strict ordering of the data models.
In the second step, the performance management module sends the periodically collected data to each layer of protocol stack, the periodic timer is triggered, the performance management module indicates the protocol stack to start reporting data, the performance management module enters blocking, and all protocol stacks wait for reporting; the protocol stack receives the instruction, saves the performance data as an initial data file with the format conforming to the specification of the 3GPP protocol, and feeds back the path of the initial data file to the performance management module.
And thirdly, after receiving all feedback, the performance management module sequentially splices the files according to the feedback sequence, and finally completes data acquisition. Compared with the data interaction using the shared memory, a large amount of memory space is saved. Previous data models were ranked, also eliminating redundant computational processes. And, the function of generating the target data file finally by the OAM PM is dispersedly processed, so that the efficiency is higher. When each protocol stack generates an initial data file, the initial data file is generated only according to the data format specified by the 3GPP protocol, and the head and tail of the target data file are added when the initial data file is spliced by the OAM PM.
Finally, the method divides the data model according to the protocol stack in the protocol stack software by strictly ordering the performance indexes, and all subsequent acquisition interfaces and file generation are constructed according to the data model. And dispersing the file generation function to a protocol stack, generating a part of each protocol stack, and finally completing acquisition by the OAM PM spliced file. Thus, the OAM PM generates a scheme of all files instead of the shared memory to transfer data.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiment also provides a device for generating a performance data file, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a performance data file generating apparatus according to an embodiment of the present invention, as shown in fig. 4, including:
the acquisition module 42 is configured to acquire base station performance data on each of one or more layers of protocol stacks included in the target base station, so as to obtain a protocol stack and a performance data set with a corresponding relationship;
a first generating module 44, configured to generate an initial data file of a performance data set corresponding to each layer of protocol stack on each layer of protocol stack, so as to obtain a protocol stack and an initial data file with a corresponding relationship;
an extracting module 46, configured to extract the corresponding initial data file from the one or more layers of protocol stacks;
and a second generating module 48, configured to generate, on a performance management module included in the target base station, a target data file using the extracted one or more initial data files, where the target data file is used to manage base station performance of the target base station.
By the device, firstly, the base station performance data of the base station are collected on each layer of protocol stack, the base station performance data are generated into the initial data file on the layer of protocol stack, then the initial data file is extracted and generated into the target data file on the performance management module of the target base station, and the initial data file is generated on the protocol stack, so that the base station performance data are not transmitted to the memory space of the base station for storage by generating the target data file on the performance management module, and the memory resource of the base station is not occupied, therefore, the problem that the occupancy rate of the base station performance data to the memory space of the base station is higher can be solved, and the effect of reducing the occupancy rate of the base station performance data to the memory space of the base station is achieved.
In an alternative embodiment, the acquisition module includes:
the determining unit is used for determining a data acquisition strategy corresponding to each layer of protocol stack;
and the acquisition unit is used for acquiring the base station performance data on each layer of protocol stack according to the data acquisition strategy.
In an alternative embodiment, the first generating module includes:
a generating unit, configured to generate, on the per-layer protocol stack, the initial data file according to a data protocol in a target file protocol, where the target file protocol is a file protocol used for generating the target data file;
and the storage unit is used for storing the initial data file on each layer of protocol stack.
In an alternative embodiment, the generating unit is configured to:
generating a file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file;
and adding the base station performance data included in the performance data set corresponding to each layer of protocol stack to the corresponding position of the file template according to the data protocol to obtain the initial data file.
In an alternative embodiment, the generating unit is configured to:
generating an initial file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file;
and adding a target strategy in the data acquisition strategy corresponding to each layer of protocol stack into the initial file template to obtain the file template.
In an alternative embodiment, the extraction module includes:
the receiving unit is used for receiving one or more file storage paths reported by the one or more layers of protocol stacks according to the reporting sequence, wherein each file storage path in the one or more file storage paths is used for indicating the storage position of the initial data file in the corresponding protocol stack;
and the extracting unit is used for extracting the initial data file from the one or more file storage paths according to the reporting sequence.
In an alternative embodiment, the second generating module includes:
the adding unit is used for adding a file head part and a file tail part to the initial data file extracted from the one-layer protocol stack according to a format protocol in a target file protocol under the condition that the target base station comprises the one-layer protocol stack, so as to obtain the target data file;
the processing unit is used for splicing a plurality of initial data files extracted from the multi-layer protocol stack into a reference data file according to the reporting sequence under the condition that the target base station comprises the multi-layer protocol stack; and adding a file header and a file tail for the reference data file according to a format protocol in a target file protocol to obtain the target data file.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
s1, collecting base station performance data on each layer of protocol stack in one or more layers of protocol stacks included in a target base station to obtain a protocol stack and a performance data set with corresponding relation;
s2, generating an initial data file of the performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain a protocol stack and an initial data file with corresponding relation;
s3, extracting the corresponding initial data file from the one or more layers of protocol stacks;
and S4, generating a target data file by using the extracted one or more initial data files on a performance management module included in the target base station, wherein the target data file is used for managing the base station performance of the target base station.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
In an exemplary embodiment, the above-mentioned processor may be arranged to perform the following steps by means of a computer program:
s1, collecting base station performance data on each layer of protocol stack in one or more layers of protocol stacks included in a target base station to obtain a protocol stack and a performance data set with corresponding relation;
s2, generating an initial data file of the performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain a protocol stack and an initial data file with corresponding relation;
s3, extracting the corresponding initial data file from the one or more layers of protocol stacks;
and S4, generating a target data file by using the extracted one or more initial data files on a performance management module included in the target base station, wherein the target data file is used for managing the base station performance of the target base station.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for generating a performance data file, comprising:
collecting base station performance data on each layer of one or more layers of protocol stacks included in a target base station to obtain a protocol stack and a performance data set with corresponding relation;
generating an initial data file of a performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain a protocol stack and an initial data file with corresponding relation;
wherein the generating, on the per-layer protocol stack, an initial data file of the performance data set corresponding to the per-layer protocol stack includes: generating the initial data file according to a data protocol in a target file protocol on each layer of protocol stack, wherein the target file protocol is a file protocol used for generating the target data file; storing the initial data file on each layer of protocol stack;
the generating the initial data file according to the data protocol in the file protocol of the target data file on each layer of protocol stack includes: generating a file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; adding base station performance data included in the performance data set corresponding to each layer of protocol stack to the corresponding position of the file template according to the data protocol to obtain the initial data file;
the generating a file template on the protocol stack of each layer according to the data protocol in the file protocol of the target data file includes: generating an initial file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; adding a target strategy in the data acquisition strategy corresponding to each layer of protocol stack into the initial file template to obtain the file template;
extracting the corresponding initial data file from the one or more layers of protocol stacks;
and generating a target data file on a performance management module included in the target base station by using the extracted one or more initial data files, wherein the target data file is used for managing the base station performance of the target base station.
2. The method of claim 1, wherein the collecting base station performance data on each of one or more layers of protocol stacks included in the target base station comprises:
determining a data acquisition strategy corresponding to each layer of protocol stack;
and collecting base station performance data on each layer of protocol stack according to the data collection strategy.
3. The method of claim 1, wherein extracting the corresponding initial data file from the one or more layers of protocol stacks comprises:
receiving one or more file storage paths reported by the one or more layers of protocol stacks according to a reporting sequence, wherein each file storage path in the one or more file storage paths is used for indicating a storage position of the initial data file in the corresponding protocol stack;
and extracting the initial data files from the one or more file storage paths according to the reporting sequence.
4. A method according to any one of claims 1 to 3, wherein said generating, at a performance management module comprised by said target base station, a target data file using said extracted one or more initial data files comprises:
under the condition that the target base station comprises a layer of protocol stack, adding a file header and a file tail for the initial data file extracted from the layer of protocol stack according to a format protocol in a target file protocol to obtain the target data file;
under the condition that the target base station comprises a multi-layer protocol stack, splicing a plurality of initial data files extracted from the multi-layer protocol stack into a reference data file according to a reporting sequence; and adding a file header and a file tail for the reference data file according to a format protocol in a target file protocol to obtain the target data file.
5. A performance data file generation apparatus, comprising:
the acquisition module is used for acquiring the base station performance data on each layer of protocol stacks in one or more layers of protocol stacks included in the target base station to obtain a protocol stack and a performance data set with a corresponding relation;
the first generation module is used for generating an initial data file of the performance data set corresponding to each layer of protocol stack on each layer of protocol stack to obtain the protocol stack and the initial data file with corresponding relation;
wherein the first generation module comprises: a generating unit, configured to generate, on the protocol stack of each layer, the initial data file according to a data protocol in a target file protocol, where the target file protocol is a file protocol used for generating a target data file; a storage unit, configured to store the initial data file on the protocol stack of each layer;
the generating unit is used for: generating a file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; adding base station performance data included in the performance data set corresponding to each layer of protocol stack to the corresponding position of the file template according to the data protocol to obtain the initial data file;
the generating unit is further configured to: generating an initial file template on each layer of protocol stack according to a data protocol in a file protocol of the target data file; adding a target strategy in the data acquisition strategy corresponding to each layer of protocol stack into the initial file template to obtain the file template;
the extraction module is used for extracting the corresponding initial data file from the one or more layers of protocol stacks;
and the second generation module is used for generating a target data file by using the extracted one or more initial data files on a performance management module included in the target base station, wherein the target data file is used for managing the base station performance of the target base station.
6. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 4.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
CN202111450982.0A 2021-11-30 2021-11-30 Performance data file generation method and device, storage medium and electronic device Active CN114339826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111450982.0A CN114339826B (en) 2021-11-30 2021-11-30 Performance data file generation method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111450982.0A CN114339826B (en) 2021-11-30 2021-11-30 Performance data file generation method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114339826A CN114339826A (en) 2022-04-12
CN114339826B true CN114339826B (en) 2024-01-26

Family

ID=81048087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111450982.0A Active CN114339826B (en) 2021-11-30 2021-11-30 Performance data file generation method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114339826B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010047991A (en) * 1999-11-24 2001-06-15 이계철 The extration method of performance data for customer network management service in multi-layer data networks
CN101562534A (en) * 2009-05-26 2009-10-21 中山大学 Network behavior analytic system
CN101631401A (en) * 2009-06-04 2010-01-20 中兴通讯股份有限公司 Method and device for managing data of multiple base stations
CN104702600A (en) * 2015-03-02 2015-06-10 国家计算机网络与信息安全管理中心 Method and device for parsing network data message
WO2016201975A1 (en) * 2015-06-15 2016-12-22 清华大学深圳研究生院 Distributed network node operation system based on operation control unit
WO2018010645A1 (en) * 2016-07-14 2018-01-18 中兴通讯股份有限公司 Data processing method and apparatus, and network management device
CN111680204A (en) * 2020-05-29 2020-09-18 平安银行股份有限公司 Data acquisition method, data acquisition device and computer readable storage medium
CN112925759A (en) * 2021-03-31 2021-06-08 北京金山云网络技术有限公司 Data file processing method and device, storage medium and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010047991A (en) * 1999-11-24 2001-06-15 이계철 The extration method of performance data for customer network management service in multi-layer data networks
CN101562534A (en) * 2009-05-26 2009-10-21 中山大学 Network behavior analytic system
CN101631401A (en) * 2009-06-04 2010-01-20 中兴通讯股份有限公司 Method and device for managing data of multiple base stations
CN104702600A (en) * 2015-03-02 2015-06-10 国家计算机网络与信息安全管理中心 Method and device for parsing network data message
WO2016201975A1 (en) * 2015-06-15 2016-12-22 清华大学深圳研究生院 Distributed network node operation system based on operation control unit
WO2018010645A1 (en) * 2016-07-14 2018-01-18 中兴通讯股份有限公司 Data processing method and apparatus, and network management device
CN111680204A (en) * 2020-05-29 2020-09-18 平安银行股份有限公司 Data acquisition method, data acquisition device and computer readable storage medium
CN112925759A (en) * 2021-03-31 2021-06-08 北京金山云网络技术有限公司 Data file processing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN114339826A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
EP3780702B1 (en) Method and device for monitoring network data
CA3112926C (en) Slice information processing method and apparatus
WO2017186092A1 (en) Network slice selection method and apparatus
EP3072260B1 (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
US11546806B2 (en) Communication system
WO2021218873A1 (en) Network resource pre-allocation method, apparatus, and system, and medium
US10849040B2 (en) Base station system, node apparatus and method therein
CN110381500A (en) A kind of test method, device and the computer readable storage medium of double card paging conflict
CN110830964B (en) Information scheduling method, internet of things platform and computer readable storage medium
CN107943697A (en) Problem distribution method, device, system, server and computer-readable storage medium
CN108924007A (en) The big data acquisition of communication operation information and storage system and method
CN115022844A (en) Network data analysis function NWDAF changing method and device
CN114339826B (en) Performance data file generation method and device, storage medium and electronic device
KR101476632B1 (en) Data processing method of real-time data analysis system and analysis coordinator therefor
CN109525443B (en) processing method and device for distributed pre-acquisition communication link and computer equipment
CN108989137B (en) Time delay measuring method and device for end-to-end communication and computer readable storage medium
CN103200620A (en) Method and device for accessing core network in long term evolution (LTE) system
CN104113932B (en) A kind of method and apparatus of AP equipment reconnection
WO2016070606A1 (en) Prediction method and device for system capacity
CN101917699A (en) Random reported signaling tracking method and device based on users
CN116055496B (en) Monitoring data acquisition method and device, electronic equipment and storage medium
Isa et al. Resilient energy efficient healthcare monitoring infrastructure with server and network protection
WO2024093219A1 (en) Service path optimization method and apparatus, and storage medium
CN115643558B (en) Data processing method and device, electronic equipment and storage medium
CN111858043B (en) Service request processing method and device, storage medium and electronic device

Legal Events

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