CN114339826A - 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
CN114339826A
CN114339826A CN202111450982.0A CN202111450982A CN114339826A CN 114339826 A CN114339826 A CN 114339826A CN 202111450982 A CN202111450982 A CN 202111450982A CN 114339826 A CN114339826 A CN 114339826A
Authority
CN
China
Prior art keywords
file
protocol
base station
protocol stack
target
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.)
Granted
Application number
CN202111450982.0A
Other languages
Chinese (zh)
Other versions
CN114339826B (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

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for generating a performance data file, a storage medium and an electronic device, wherein the method comprises the steps of collecting performance data of a base station on each layer of protocol stacks in one or more layers of protocol stacks included in a target base station to obtain the protocol stacks and a performance data set with corresponding relations; 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 relations; extracting corresponding initial data files from one or more layers of protocol stacks; and 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. The invention solves the problem of high occupancy rate of the performance data of the base station to the memory space of the base station, 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 the performance of the system, including the evaluation of the running state and the communication efficiency of system resources, and in the base station, the performance management shows the performance of various aspects of the base station running service to users or technicians, and 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, so that the performance of the base station executing the communication service can be reflected. And acquiring the performance data and reporting the performance data generation file to an upper application.
In the performance management system in the prior art, performance data is acquired in each layer of protocol stack according to an Operation Administration and Maintenance (OAM) instruction, the acquired performance data is stored in a channel transmitted to the OAM and shared with the OAM, the OAM is acquired in the channel, the OAM generates a file from the acquired performance data, and because of huge performance index data, the performance data stored in the channel occupies a large amount of memory space of the base station, and memory resources of the base station are more 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 high in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a performance data file, a storage medium and an electronic device, which are used for at least solving the problem that the occupancy rate of the performance data of a base station to the memory space of the base station is higher in the related technology.
According to an embodiment of the present invention, a method for generating a performance data file is provided, 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 relations; 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 relations; extracting the corresponding initial data file from the one or more layers of protocol stacks; and 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 an exemplary embodiment, the collecting, by the target base station, 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 acquiring the performance data of the base station on each layer of protocol stack according to the data acquisition strategy.
In an exemplary embodiment, the generating, on the protocol stack of each layer, an initial data file of a performance data set corresponding to the protocol stack of each layer includes: generating the initial data file on each layer of protocol stack according to a data protocol in a target file protocol, wherein the target file protocol is a file protocol used for generating the target data file; and saving 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 protocol stack of each layer 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 a file template according to a data protocol in a file protocol of the target data file on each layer of protocol stack 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 strategies corresponding to each layer of protocol stack into the initial file template to obtain the file template.
In an exemplary embodiment, the extracting the corresponding initial data file from the one or more layers of protocol stacks includes: 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 a corresponding protocol stack; and extracting the initial data file from the one or more file storage paths according to the reporting sequence.
In an exemplary embodiment, the generating, at 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 head and a file tail to 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 plurality of layers of protocol stacks, splicing a plurality of initial data files extracted from the plurality of layers of protocol stacks into reference data files according to a reporting sequence; and adding a file head and a file tail to 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, an apparatus for generating a performance data file is provided, including: the acquisition module is used for acquiring the performance data of the base station on each layer of protocol stack 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 corresponding relation;
a first generating module, 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 that have a corresponding relationship;
the extracting module is used for extracting the corresponding initial data file from the one or more layers of protocol stacks;
a second generating module, configured to generate a target data file using the extracted one or more initial data files on a performance management module included in the target base station, where the target data file is used to manage base station performance of the target base station.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the performance data of the base station is collected on each layer of protocol stack in one or more layers of protocol stacks included in the target base station, and the protocol stack and the performance data set with corresponding relation 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 relations; extracting corresponding initial data files from one or more layers of protocol stacks; and 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. The method comprises the steps of firstly collecting base station performance data of a base station on each layer of protocol stack, generating the base station performance data into an initial data file on the layer of protocol stack, then extracting the initial data file, generating the initial data file into a target data file on a performance management module of a target base station, wherein the base station performance data generates the initial data file on the protocol stack, the initial data file generates the target data file on the performance management module, and the base station performance data is not transmitted into a memory space of the base station to be stored and does not occupy the memory resource of the base station, so that the problem of high occupancy rate of the base station performance data on the memory space of the base station can be solved, and the effect of reducing the occupancy rate of the base station performance data on the memory space of the base station can be achieved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a generation method of a performance data file according to an embodiment of the present invention;
FIG. 2 is a flow diagram of generation of a performance data file according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a performance data file generation process according to an embodiment of the invention;
fig. 4 is a block diagram of a configuration of a performance data file generation apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail 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 claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present invention may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the operation on the mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal according to the method for generating the performance data file of the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. 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 computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the performance data file generation method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The 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 located remotely from the processor 102, which may be connected to the mobile terminal over 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 device 106 is used for receiving or transmitting 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 (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
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, the flowchart includes the following steps:
step S202, 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 relations;
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 to obtain the protocol stack and the initial data file with corresponding relationship;
step S206, extracting the corresponding initial data file from the one or more layers of protocol stacks;
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, where the target data file is used to manage the base station performance of the target base station.
Through the steps, firstly, the base station performance data of the base station is collected on each layer of protocol stack, the base station performance data is 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, the initial data file is generated on the protocol stack by the base station performance data, the target data file is generated on the performance management module by the initial data file, the base station performance data are not transmitted into the memory space of the base station for storage, and the memory resource of the base station is not occupied, so that the problem of high occupancy rate of the base station performance data on the memory space of the base station can be solved, and the effect of reducing the occupancy rate of the base station performance data on the memory space of the base station can be achieved.
In the technical 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, and the like. The protocol stack may include, but is not limited to: protocol stacks for application aspects, protocol stacks for scheduling aspects, protocol stacks for data aspects, and so forth. The base station performance data may include, but is not limited to, data reflecting base station performance indicators, such as: the number of connections, the number of ERAB (Evolved Radio Access Bearer, i.e., Bearer of user plane) establishments, QCI (QoS Class Identifier, specifying a control Bearer level packet forwarding manner defined in the Access node), and the like, the same performance index may be divided according to different reasons.
Optionally, in this embodiment, the performance data of the base station acquired on the protocol layer may include, but is not limited to, a plurality of items, and the performance data of the base station acquired on each layer of protocol stack is correspondingly formed into a performance data set, and since the performance indexes of the performance data of the base station acquired on each layer of protocol stack in each layer of protocol stack are different, the performance data of the base station acquired on each layer of protocol stack in the target base station may be different, the protocol stack and the performance data set should have a corresponding relationship.
In an alternative embodiment, the base station performance data collected on each of the one or more layers of protocol stacks included in the target base station may be collected, but is not limited to, by the following manner: determining a data acquisition strategy corresponding to each layer of protocol stack; and acquiring the performance data of the base station on each layer of protocol stack according to the data acquisition strategy.
Optionally, in this embodiment, the acquisition policy may include, but is not limited to: collected performance data, priority of collection, precision of collection, period of collection, division rules of 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 performance data of the base station is omitted on each layer of protocol stack according to the acquisition strategies corresponding to the layer of protocol stack.
Optionally, in this embodiment, the acquisition policy is first obtained, and then the base station performance data is acquired according to the acquisition policy, which may be, but is not limited to, preventing redundant base station performance data from being acquired or preventing confusion of the acquired base station performance data.
In the technical solution provided in step S204, the initial data file is generated from the performance data of the base station in the performance data set corresponding to the protocol stack on the protocol stack, and since the protocol stack has a corresponding relationship with the performance data set, the initial data file generated from the performance data of the base station in the performance data set also has a corresponding relationship with the protocol stack.
In an optional embodiment, the initial data file of the performance data set corresponding to each layer of protocol stack is generated on each layer of protocol stack, and may be generated, but is not limited to, by the following manner: generating the initial data file on each layer of protocol stack according to a data protocol in a target file protocol, wherein the target file protocol is a file protocol used for generating the target data file; and saving the initial data file on each layer of protocol stack.
Optionally, in this embodiment, the file protocol may include, but is not limited to, a 3rd Generation Partnership Project (3 GPP) protocol, the target file protocol may include, but is not limited to, a protocol specifying a format of a performance file of a base station, the target file protocol may include, but is not limited to, a data protocol, and the like, the data protocol may include, but is not limited to, a protocol including a format of performance data of a base station in a performance file, an initial data file may be generated on each layer of protocol stack according to the data protocol, which may include, but is not limited to, the performance data of the base station, and then the obtained 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 protocol stack according to a data protocol in a file protocol of the target data file, and may be generated by, but is not limited 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.
Optionally, in this embodiment, a file template is first generated on each layer of protocol stack according to a data protocol, and then the base station performance data in the performance data set corresponding to the protocol stack is added to the 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 template is generated on each layer of protocol stack according to a data protocol in a file protocol of the target data file, and may be generated by, but is not limited 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 strategies 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 the 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, an acquisition granularity, a reporting period, and the like, so as to obtain the file template finally.
In the technical solution provided in step S206, the protocol stack has a corresponding relationship with the initial data file, and the initial data file that should be extracted according to the protocol stack is extracted from 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, 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 a corresponding protocol stack; and extracting the initial data file from the one or more file storage paths according to the reporting sequence.
Optionally, in this embodiment, the reporting sequence may be determined, but not limited to, by determining according to a data protocol in the target file protocol, determining according to an acquisition policy of the performance data of the base station, and the like. The file storage path may include, but is not limited to, a storage location of each file storage path corresponding to an initial data file, that is, a storage location of the initial data file corresponding to the file storage path is found through the file storage path.
Optionally, in this embodiment, if there is only one layer of protocol stack, it may be, but is not limited to, directly reporting the file storage path corresponding to the layer of protocol stack to the target base station, and then extracting the initial data file from the storage location of the initial data file corresponding to the file storage path according to the file storage path. If the protocol stack has multiple layers, each layer of protocol stack reports the file storage path corresponding to the layer of protocol stack to the target base station according to the reporting sequence, and then extracts the initial data file from the storage position corresponding to the file storage path according to the reporting sequence and the file storage path.
In the technical solution provided in step S208, the performance management module may be but is not limited to a module for evaluating system performance and generating a system performance data file, and the performance management module may include but is not limited to: OAM (Operation Administration and Maintenance), PM (Performance Management) in OAM, and generates a target data file from an initial data file in a Performance Management module.
In an optional embodiment, the target data file is generated on the performance management module included in the target base station by using the extracted one or more initial data files, which may be, but is not limited to, generated by: under the condition that the target base station comprises a layer of protocol stack, adding a file head and a file tail to 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 plurality of layers of protocol stacks, splicing a plurality of initial data files extracted from the plurality of layers of protocol stacks into reference data files according to a reporting sequence; and adding a file head and a file tail to 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 target file protocol may include, but is not limited to, a format protocol and the like, 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 include, but is not limited to, a presentation of file information and the like, for example: the version of the protocol, information of the base station, etc. are used, and the file end may include, but is not limited to, the time of file generation, the time of reporting, the time of generation process, the time of acquisition process, 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 tail according to a format protocol, and the target data file is finally obtained. If the target base station comprises a plurality of layers of protocol stacks, extracting initial data files corresponding to the protocol stacks according to the order reported by the protocol stacks, splicing the extracted initial data files into reference data files according to the reported order, then adding the file head and the file tail, and finally obtaining the target data files.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention.
The present invention will be described in detail with reference to the following examples:
fig. 3 is a schematic diagram of a generation process of a performance data file according to an embodiment of the present invention, as shown in fig. 3, the process includes the following steps:
the method comprises the following steps: and acquiring the performance data of the base station through an acquisition interface on a protocol stack in the base station, wherein the acquisition interface omits the acquisition of the performance data of the base station according to the acquisition strategy in the established data model.
Step two: the performance management module sends the periodically collected data (namely the target strategy) to each layer of protocol stack, the protocol stack generates an initial data file from the periodically collected data and the performance data of the base station, and reports the path (namely the file storage path) to the base station.
Step three: and after receiving the feedback of all protocol stacks, extracting the initial data file to splice the files, and finally obtaining the target data file.
Before the first step, firstly, the performance index requirement of the base station is obtained, a data model is established according to the requirement, the acquisition strategy is stipulated in the data model, the performance data which is expected to be acquired, the acquisition sequence and the sequence of each layer of protocol stack in generating the initial data file (namely the reporting sequence) are acquired, 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 establishing process, and most of the performance indexes can respectively count the performance data (i.e. the base station performance data) by distinguishing different reasons, QCIs and cells. For example: the ERAB bearer establishment number is divided into an ERAB bearer establishment request number, an ERAB bearer establishment success number and an ERAB bearer establishment failure number. They are counted separately according to different QCIs in different cells. In order to avoid redundant data generation and calculation steps due to confusion of data models, the data models should be built in a strict order. The specific performance index is used as a first dimension, the special difference is used as a second dimension, for example, the specific performance index is used as the connection number, the special difference is used as the connection reason, the first dimension is the connection number, the second dimension is the random access normally applied access, the random access is switched in again, and the like, and finally the cells are classified into different rows. 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 the various layers should also follow such a data model, and the resulting performance files can also be ordered. And 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 indicator measurement cluster may be in two different layers of the protocol stack. And no correlation exists between the performance indexes in the measurement cluster, and the measurement cluster 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 perform redundancy judgment any more. This also benefits from the strict ordering of the data models.
Step two, the performance management module sends the periodically acquired data to each layer of protocol stack, a period timer is triggered, the performance management module indicates the protocol stack to start reporting the data, the performance management module enters blocking, and all the protocol stacks finish reporting; the protocol stack receives the instruction, saves the performance data into an initial data file with a format conforming to the 3GPP protocol, and feeds back the path of the initial data file to the performance management module.
In the third step, after receiving all the feedbacks, the performance management module sequentially splices the files according to the feedback sequence, and finally completes data acquisition. Compared with data interaction using a shared memory, a large amount of memory space is saved. The previous data models are sorted and redundant computation is eliminated. And, the function that the OAM PM finally generates the target data file 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 a data format specified by a 3GPP protocol, and the head and the tail of the target data file are added when the initial data file is spliced by an OAM PM.
Finally, the method divides a data model according to a protocol stack in protocol stack software by strictly sequencing performance indexes, and all subsequent acquisition interfaces and file generation are constructed according to the data model. And dispersing the file generation function to the protocol stack, generating a part of each by the protocol stack, and finally completing acquisition by the OAM PM spliced file. Therefore, the OAM PM generates a scheme of all files instead of a shared memory for transferring data.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for generating a performance data file is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a configuration of a performance data file generation apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
an acquisition module 42, configured to acquire base station performance data on each of one or more layers of protocol stacks included in the target base station to obtain a protocol stack and a performance data set having a corresponding relationship;
a first generating module 44, configured to generate an initial data file of the 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 having a corresponding relationship;
an extracting module 46, configured to extract the corresponding initial data file from the one or more layers of protocol stacks;
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.
Through the device, firstly, the base station performance data of the base station is collected on each layer of protocol stack, the base station performance data is 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 the performance management module of the target base station, the initial data file is generated on the protocol stack by the base station performance data, the target data file is generated on the performance management module by the initial data file, the base station performance data is not transmitted into the memory space of the base station for storage, and the memory resource of the base station is not occupied, so that the problem of high occupancy rate of the base station performance data on the memory space of the base station can be solved, and the effect of reducing the occupancy rate of the base station performance data on the memory space of the base station can be achieved.
In an optional 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 performance data of the base station on each layer of protocol stack according to the data acquisition strategy.
In an optional embodiment, the first generating module includes:
a generating unit, configured to generate the initial data file according to a data protocol in a target file protocol on each layer of protocol stack, where the target file protocol is a file protocol used for generating the target data file;
and the saving unit is used for saving the initial data file on each layer of protocol stack.
In an optional 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 optional 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 strategies corresponding to each layer of protocol stack into the initial file template to obtain the file template.
In an optional embodiment, the extraction module includes:
a receiving unit, configured to receive one or more file storage paths reported by the one or more layers of protocol stacks according to a reporting order, where each file storage path in the one or more file storage paths is used to indicate a storage location of the initial data file in a 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 optional embodiment, the second generating module includes:
an adding unit, configured to add a file header and a file tail to the initial data file extracted from the one-layer protocol stack according to a format protocol in a target file protocol to obtain the target data file, when the target base station includes the one-layer protocol stack;
a processing unit, configured to splice, in a case that the target base station includes a multilayer protocol stack, the multiple initial data files extracted from the multilayer protocol stack into a reference data file according to a reporting sequence; and adding a file head and a file tail to 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, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, collecting base station performance data on each layer of one or more layers of protocol stacks included in the target base station to obtain a protocol stack and a performance data set with corresponding relations;
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 the protocol stack and the initial data file with corresponding relationship;
s3, extracting the corresponding initial data file from the one or more layers of protocol stacks;
s4, 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, where the target data file is used to manage the base station performance of the target base station.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the following steps by a computer program:
s1, collecting base station performance data on each layer of one or more layers of protocol stacks included in the target base station to obtain a protocol stack and a performance data set with corresponding relations;
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 the protocol stack and the initial data file with corresponding relationship;
s3, extracting the corresponding initial data file from the one or more layers of protocol stacks;
s4, 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, where the target data file is used to manage the base station performance of the target base station.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones 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 a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

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 relations;
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 relations;
extracting the corresponding initial data file from the one or more layers of protocol stacks;
and 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.
2. The method of claim 1, wherein the collecting base station performance data on each of one or more protocol stacks included in the target base station comprises:
determining a data acquisition strategy corresponding to each layer of protocol stack;
and acquiring the performance data of the base station on each layer of protocol stack according to the data acquisition strategy.
3. The method according to claim 1, wherein the generating an initial data file of the performance data set corresponding to each layer protocol stack on each layer protocol stack comprises:
generating the initial data file on each layer of protocol stack according to a data protocol in a target file protocol, wherein the target file protocol is a file protocol used for generating the target data file;
and saving the initial data file on each layer of protocol stack.
4. The method of claim 3, wherein generating the initial data file on the per-layer protocol stack according to a data protocol in a file protocol of the target data file comprises:
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.
5. The method according to claim 4, wherein said generating a file template on said per-layer protocol stack according to a data protocol in a file protocol of said target data file comprises:
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 strategies corresponding to each layer of protocol stack into the initial file template to obtain the file template.
6. The method of claim 1, wherein said extracting the corresponding initial data file from the one or more layers of the protocol stack 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 a corresponding protocol stack;
and extracting the initial data file from the one or more file storage paths according to the reporting sequence.
7. The method according to any one of claims 1 to 6, wherein the generating, at a performance management module included in the target base station, a target data file using the 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 head and a file tail to 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 plurality of layers of protocol stacks, splicing a plurality of initial data files extracted from the plurality of layers of protocol stacks into reference data files according to a reporting sequence; and adding a file head and a file tail to the reference data file according to a format protocol in a target file protocol to obtain the target data file.
8. An apparatus for generating a performance data file, comprising:
the acquisition module is used for acquiring the performance data of the base station on each layer of protocol stack 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 corresponding relation;
a first generating module, 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 that have a corresponding relationship;
the extracting module is used for extracting the corresponding initial data file from the one or more layers of protocol stacks;
a second generating module, configured to generate a target data file using the extracted one or more initial data files on a performance management module included in the target base station, where the target data file is used to manage base station performance of the target base station.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. 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 steps of the method as claimed in any of claims 1 to 7 are implemented when the computer program is executed by the processor.
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 true CN114339826A (en) 2022-04-12
CN114339826B 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
CN114339826B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN108370341B (en) Resource allocation method, virtual network function manager and network element management system
CN110326345B (en) Method, device and system for configuring network slice
US20150382132A1 (en) Method and Device for Monitoring
US11272396B2 (en) Frame aggregation method, network setting frame sending method, and device
CN106470123B (en) Log collecting method, client, server and electronic equipment
US20220014434A1 (en) Slice Resource Deployment Method and Apparatus, and Slice Manager and Computer Storage Medium
CN105052076B (en) Network element management system and network element management method based on cloud computing
CN109314696B (en) Method and device for managing network slices
CN110366276A (en) Serviceization framework base station
CN110381500A (en) A kind of test method, device and the computer readable storage medium of double card paging conflict
CN111585815B (en) Port data acquisition method and device
CN111327432A (en) Charging processing method and device, storage medium and electronic device
CN112437454A (en) Data transmission method and device, storage medium and electronic device
CN110087226B (en) Flow statistical method and device, storage medium and electronic device
RU2598293C1 (en) Method and apparatus for transmitting standard configuration data of improved system of selecting a transmitting protocol
CN111356182A (en) Resource scheduling and processing method and device
CN107426109B (en) Traffic scheduling method, VNF module and traffic scheduling server
CN114339826B (en) Performance data file generation method and device, storage medium and electronic device
CN108989137B (en) Time delay measuring method and device for end-to-end communication and computer readable storage medium
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN111263383A (en) Access network configuration method, device, network management equipment and storage medium
CN117014924A (en) Method and device for reporting service capacity load parameters
CN110635927B (en) Node switching method, network node and network system
US20140022921A1 (en) Frame loss measurement device, communication device, communication system and performance measurement method
CN105847172B (en) Job flow control method and 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