Chip signaling analysis and storage method, computer device and readable storage medium
Through the sampling of the initial signaling data and the method of determining the processing method according to the frequency of use, the problem of high hardware requirements when the existing test terminals are processing a large number of signaling are processed, and low -cost, high -efficiency signaling analysis and storage is achieved.
Patent Information
- Application Number
- CN202411942575.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-01-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing test terminals process a large amount of signaling in a short time, the hardware requirements are high, resulting in an increase in production costs and testing costs. At the same time, the compression rate of the existing signaling compression storage method is inappropriate, affecting data processing efficiency.
By sampled the initial signaling data, obtain a sampling letter data, and determine its processing method according to the frequency of the use of the signal, adopt different compression and storage methods, combine distributed storage and cache mechanisms, optimize the storage and analytical process of signaling and analytical processes Essence
It reduces the hardware requirements and production costs of the test terminal, improves the processing efficiency and storage utilization rate of signaling data, and takes into account the test efficiency and the use of storage space.
Smart Images

Figure CN119377180A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip signaling processing, and in particular, to a chip signaling parsing and storage method, and a computer device and a computer-readable storage medium for implementing the method. Background Art
[0002] With the development of new generation information technology, the construction of 5G network and 6G network is accelerating. In order to ensure the communication quality of the communication network, it is necessary to test the signal transmission quality of the mobile communication network after the base station is built. Usually, the signal sent by the base station is tested by a test terminal near the base station to determine whether the communication quality of the base station is good.
[0003] When testing the signal of a base station, a test terminal is used to receive the signal sent by the base station. The signal contains a large amount of signaling. The test terminal needs to receive the signaling sent by the base station and respond to the signaling, and transmit the response result to the base station. Usually, the test terminal and the base station need to go through multiple signal transmission and reception processes, and a large amount of data is transmitted in a short period of time. Since the test terminal needs to receive a large amount of signaling in a short period of time and needs to parse the signaling, the signal transmission quality of the base station is judged according to the parsing results. However, as the communication speed of mobile networks becomes higher and higher, the number of signaling processed by the test terminal in a short period of time is also increasing, which puts high demands on the test terminal, such as the increasingly high requirements on the hardware equipment of the test terminal, which leads to an increase in the production cost of the test terminal, thereby pushing up the test cost.
[0004] The invention patent application with the publication number CN110086653A discloses a power wireless private network line test collection and analysis system, which includes an interface management layer, an intermediate data processing layer, and a high-level presentation layer. When testing, the method automatically collects the original code stream data; parses and processes the collected original code stream, and performs pre-statistics and pre-analysis on the parsed data, and then saves and compresses the parsed original signaling, events and parameters, as well as the statistical and pre-analyzed secondary signaling, events and parameters; finally, the data processing results are displayed.
[0005] However, the existing test method requires the test terminal to directly parse and process the received original code stream data. Although this method has high accuracy, it has high performance requirements for the test terminal, especially when a large amount of data needs to be processed in a short time, which will not be conducive to reducing the test cost. In addition, the test terminal also needs to store a large amount of data during the test, such as caching a large amount of signaling and frequently using different signaling to exchange data with the base station. In order to reduce storage space, it is usually necessary to compress and store the data. Since the existing test terminals use the same compression method for the compression storage of various signaling, if the compression rate is low, the amount of compressed data is still large, which is not conducive to reducing storage space; if the compression rate is high, although the data storage space is reduced, when the data needs to be called, the time for decompression and querying the data is long, which affects the data processing efficiency. Summary of the invention
[0006] The first object of the present invention is to provide a chip signaling parsing and storage method that can be tested using a low-cost test terminal and takes into account test efficiency.
[0007] The second object of the present invention is to provide a computer device for implementing the above chip signaling parsing and storage method.
[0008] The third object of the present invention is to provide a readable storage medium for implementing the above-mentioned chip signaling parsing and storage method.
[0009] To achieve the first purpose of the present invention, the chip signaling parsing and storage method provided by the present invention includes obtaining initial signaling data; sampling the initial signaling data to obtain sampled signaling data, and encapsulating various types of data into independent data objects according to business needs; preprocessing the data encapsulated into multiple data objects: determining the processing method of each signaling data according to the usage frequency of each signaling, so that the storage reduction rate of the signaling is negatively related to the usage frequency of the signaling; compressing and storing the encapsulated data according to the processing method determined by each signaling: compressing and encoding each signaling according to the processing method determined by the signaling, and storing the compressed and encoded data in multiple storage areas in a distributed storage manner; storing high-frequency signaling in a cache area; obtaining the target signaling of the test chip that needs to be sent to the test terminal from the cache area and the storage area, and sending the target signaling to the test chip, and the test chip parses the obtained target signaling.
[0010] It can be seen from the above scheme that after receiving the initial signaling data, the initial signaling data is first sampled, and then the sampled signaling data is pre-processed, thereby determining the processing method of each signaling, such as compression method, storage method, etc. On the one hand, the amount of sampled signaling data is greatly reduced, which can reduce the amount of data that the test chip needs to parse, and the amount of data that needs to be compressed and stored is also reduced accordingly, and the amount of data that the test terminal needs to process is also greatly reduced, and a low-cost test terminal can be used for testing.
[0011] In addition, since different processing methods are used for signaling with different usage frequencies, especially for signaling with high usage frequency, a lower compression rate is used. Although the storage space is increased, the reading and parsing efficiency of frequently used signaling can be reduced, which can improve the test efficiency. Since different processing methods are used for signaling with different usage frequencies, both storage space and test efficiency can be taken into account.
[0012] A preferred solution is that sampling the initial signaling data to obtain the sampled signaling data includes: sampling the initial signaling data using a systematic sampling and / or a stratified sampling method.
[0013] It can be seen that using two sampling methods for the initial signaling data can ensure that the sampled data meets the test requirements and ensure the accuracy of the test.
[0014] A further solution is to use a systematic sampling method to sample the initial signaling data, extract samples from the sequence of the initial signaling data at a preset time interval, and the extracted samples are representative signaling data in terms of time or data sequence.
[0015] It can be seen that when the initial signaling data is sampled, the sampling is performed at a certain time interval, the signaling data that needs to be parsed can be obtained, and the sampled data is representative signaling data, thereby avoiding the loss of key information and ensuring the accuracy of the test.
[0016] A further solution is to use stratified sampling to sample the initial signaling data, stratify the data according to the type, source or feature of each signal in the initial signaling data, and sample data independently in each stratum.
[0017] It can be seen that for signaling with different attributes, the use of stratified sampling can ensure that signaling data with different attributes can be retained, avoiding the loss of signaling data of certain attributes due to sampling and affecting the accuracy of the test.
[0018] A further solution is that when sampling the initial signaling data, the sampled signaling data contains preset key information.
[0019] Since the preset key information is retained, the test chip can still analyze the actual situation of communication between the test terminal and the base station when parsing the sampled signaling data, thereby ensuring the accuracy of the test.
[0020] A further solution is to determine the processing method of each signaling data according to the usage frequency of each signaling, including: dividing each signaling into multiple levels of signaling according to the usage frequency of each signaling, wherein the usage frequency of the first level of signaling is higher than the usage frequency of the second level of signaling, and the storage reduction rate of the first level of signaling is lower than the storage reduction rate of the second level of signaling.
[0021] It can be seen from this that by classifying signaling with different usage frequencies into levels, and setting storage reduction rates for credits of different levels, such as compression rate, storage rate, etc., and using different compression methods and storage methods to process signaling with different usage frequencies, while ensuring that signaling with higher usage frequencies can be read quickly, the storage space of signaling with lower usage frequencies can be reduced, thereby reducing the production cost of the test terminal.
[0022] A further solution is to encapsulate multiple types of data into independent data objects according to business requirements, including: according to test scenarios and requirements, the encapsulated data object types include at least one of the following: business, event, signaling, location information and synchronization information.
[0023] It can be seen that for different test scenarios, encapsulating data into different data objects facilitates subsequent data search and unified management. Furthermore, the temporary data source type can be flexibly configured according to different test scenarios and requirements, thereby improving the flexibility of data processing.
[0024] A further solution is to store the frequently used signaling in the cache area and then clean up the data in the cache area according to the preset cache mechanism: clean up the data in the cache area in the order of cleaning up the longest unused data within the preset time period first or cleaning up the data with the lowest access frequency first.
[0025] It can be seen that for the data in the cache area, regular cleaning can be used to avoid long-term storage of data in the cache area, thereby freeing up more space to cache more frequently used signaling, thereby improving data access speed.
[0026] To achieve the above-mentioned second purpose, the computer device provided by the present invention includes a processor and a memory, and the memory stores a computer program. When the computer program is executed by the processor, each step of the above-mentioned chip signaling parsing and storage method is implemented.
[0027] To achieve the third purpose mentioned above, a computer program is stored on the storage medium provided by the present invention, and when the computer program is executed by the processor, each step of the above chip signaling parsing and storage method is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a structural block diagram of various modules for performing a road test using an embodiment of the chip signaling parsing and storage method of the present invention.
[0029] Figure 2 It is a flow chart of an embodiment of the chip signaling parsing and storage method of the present invention.
[0030] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0031] The present invention combines the data characteristics of mobile network testing and proposes an efficient method for storing, parsing and accessing chip signaling data. It flexibly configures the type of temporary data source currently required to be accessed according to the test scenario, and encapsulates the data into different data objects according to the basic elements such as business, events, signaling, location information, synchronization information, etc. that the data type depends on. At the same time, the processing speed of the signaling is improved by sampling and preprocessing the initial signaling data, and the hardware requirements of the test terminal are reduced. The computer device of the present invention has a processor and a memory, which is a readable storage medium of the present invention. A computer program is stored on the memory, and the above-mentioned chip signaling parsing and storage method is executed by the processor.
[0032] Chip signaling parsing and storage method embodiment: The chip signaling parsing and storage method of this embodiment is applied to a computer device, which may be a notebook computer or a mobile terminal device such as a smart phone. Specifically, the chip signaling parsing and storage method may be implemented as an application installed on the computer device. Figure 1 As shown, the chip signaling parsing and storage method can be implemented by a signaling processing module 12 installed on a computer device, and the signaling processing module 12 can communicate with a test chip 11 on a test terminal, wherein the test chip 11 is a chip that can interact with a base station 10 for signals, such as a mobile communication chip on a smart phone.
[0033] When the communication quality test of the base station 10 is performed, the test terminal needs to exchange signals with the base station 10. Specifically, the test chip 11 on the test terminal receives the initial signaling data sent by the base station 10. The test terminal needs to process, parse, respond to the initial signaling data, and return the corresponding data. During the process of the test terminal processing the initial signaling data, the signaling processing module 12 will perform operations such as sampling and preprocessing on the initial signaling data to reduce the number of signals that the test chip 11 needs to parse, and by preprocessing the initial signaling data, the efficiency of the test chip 11 in parsing the signaling data is improved, while reducing the hardware requirements of the test terminal, thereby reducing the test cost.
[0034] Combine the following Figure 2 The specific process of the chip signaling parsing and storage method is introduced. First, the test terminal receives the initial signaling data sent by the base station 10, and the test terminal sends the received initial signaling data to the signaling processing module 12 and is processed by the signaling processing module 12. Therefore, the signaling processing module 12 first executes step S11 to obtain the initial signaling data transmitted from the test terminal.
[0035] Then, step S12 is executed to sample the initial signaling data. Since the initial signaling data includes a large amount of data, which is usually sent in a certain time sequence, in order to reduce the amount of data to be subsequently processed by the test chip 11, the initial signaling data is sampled without losing key information, thereby obtaining sampled signaling data. Therefore, the sampled signaling data is a part of the initial signaling data, and such an operation can reduce the burden of subsequent processing links, thereby improving the processing efficiency of the overall signaling data.
[0036] This embodiment adopts a scientific and reasonable sampling algorithm for sampling. Specifically, a systematic sampling method and a stratified sampling method are used for sampling. When the systematic sampling method is applied for sampling, samples need to be extracted from the data sequence of the initial signaling data at a certain interval, and it is necessary to ensure that the extracted samples are representative in terms of time or data sequence. For example, for initial signaling data at certain specific time nodes or representative data sequences, sampling is required, that is, when sampling, the initial signaling data at a representative time or data sequence must be extracted and placed in the sampled signaling data.
[0037] When applying the stratified sampling method for sampling, it is necessary to stratify according to the different types, sources or characteristics of the initial signaling data, and then sample the data independently in each layer so that the sampled signaling data can contain various types of signaling data, so that various types of signaling can be reasonably reflected in the sampled signaling data.
[0038] Of course, a suitable sampling ratio can be set according to the specific performance of the test terminal and the test chip 11, and the sampling ratio can be 20% or 50%. By sampling the initial signaling data, the resource consumption of the test terminal can be reduced, and the amount of data that needs to be processed later can be effectively reduced. For low-performance test terminals, only processing the sampled signaling data can significantly reduce the required computing resources (such as CPU, memory, etc.) in subsequent data processing links (such as compression, storage, parsing, etc.), thereby reducing the processing load of the test terminal and improving the overall data processing efficiency. For example, when processing large-scale chip signaling data, if the amount of original data is very large, the initial signaling data is not sampled, and the initial signaling data is directly processed, which may cause the test terminal to run stuck or even crash. After sampling the initial signaling data, the data can be streamlined, which can avoid the above situation, so that the test terminal can perform data processing tasks more stably.
[0039] In addition, since the amount of data to be processed is reduced, the data transmission and processing time will be shortened in the subsequent processing steps (such as compression, encoding, storage and parsing, etc.). For example, in the data compression process, a smaller amount of data can complete the compression operation faster; during data parsing, the time required for the parser to process the sampled signaling data obtained through extraction will also be greatly reduced, thereby speeding up the entire chip signaling parsing and storage process, allowing the signaling data to be processed and used more timely.
[0040] Next, step S13 is executed to encapsulate the sampled signaling data. Specifically, according to different test scenarios and requirements, this embodiment encapsulates the signaling data into different data objects such as services, events, signaling, location information, synchronization information, etc., and uses the principles of object-oriented programming to improve the maintainability and scalability of the code. By independently encapsulating different types of data to form different data objects, data management and access are made more efficient and organized, which is conducive to improving the efficiency of data processing.
[0041] Preferably, when encapsulating data, the data type can be dynamically configured, that is, according to different test scenarios and requirements, the temporary data source type can be flexibly configured to encapsulate different types of data objects. This can make the data configuration more in line with the needs of actual use and further improve the subsequent data processing efficiency.
[0042] Then, step S14 is executed to pre-process the encapsulated data. Specifically, by analyzing a large amount of historical data or monitoring the call of signaling in real time, the usage frequency of each signaling is counted, and each signaling is divided into multiple different levels according to the usage frequency of each signaling, for example, divided into two or three levels, and of course, it can also be divided into more levels. Taking two levels as an example, the signaling with a usage frequency higher than a certain frequency threshold is divided into the first level, and the signaling with a usage frequency lower than or equal to the frequency threshold is divided into the second level. Therefore, the usage frequency of the signaling of the first level is higher than the usage frequency of the signaling of the second level. Then, the corresponding processing method is set according to the signaling of different levels, including compression method and storage method. Specifically, the storage reduction rate of the signaling of the first level is lower than the storage reduction rate of the signaling of the second level, that is, for the signaling with high usage frequency, it is necessary to focus on optimization processing, such as using a more efficient storage structure or indexing method, using a lower compression rate; for the signaling with low usage frequency, a more compact storage format is used to save space, and a higher compression rate can be used. In this way, for signaling with a higher frequency of use, although the storage space occupied is larger, due to the higher compression rate and more efficient storage structure, the signaling can be quickly obtained when reading and calling these signaling without the need for a long decompression or index reading process; for signaling with a lower frequency of use, it is compressed and stored at a higher compression rate, which can reduce the occupied storage space and thus reduce the performance requirements for the test terminal.
[0043] It can be understood that the storage reduction rate of signaling is negatively related to the frequency of use of the signaling, that is, the higher the frequency of use of the signaling, the lower the storage reduction rate of the signaling, that is, the lower the compression ratio, and the larger the storage space occupied; and the lower the frequency of use of the signaling, the higher the storage reduction rate of the signaling, the higher the compression ratio, and the smaller the storage space occupied.
[0044] Different storage and compression strategies are used for signaling with different usage frequencies, which can avoid using the same high-cost storage method for all signaling. For signaling with low usage frequency, a streamlined storage format is used to reduce the storage space occupied. In the large-scale chip signaling storage scenario, the storage cost of the signaling can be significantly reduced, and the storage efficiency and scalability of the storage system can be improved.
[0045] Then, execute step S15 to compress and store the encapsulated data according to the processing method determined by each signaling. Since corresponding processing methods are determined for signals with different usage frequencies, including compression methods and storage methods, when compressing and storing the encapsulated data, it is necessary to compress and process each signaling data in a corresponding manner according to the results of preprocessing, such as selecting the compression method of LZ4 or Snappy according to different scenarios, where the LZ4 compression method is suitable for data scenarios that require fast compression and decompression, with fast speed but relatively low compression rate; and the Snappy compression method is suitable for scenarios that require a balance between speed and compression rate. In addition, different encoding formats can also be used for different data. For example, the Protobuf encoding format has efficient serialization and deserialization performance, which is suitable for cross-platform data exchange; and the Avro encoding format supports rich data structures and cross-language data exchange, which is particularly suitable for big data ecosystems.
[0046] In addition, this embodiment also uses a distributed storage method for data storage, such as Hadoop HDFS or Apache Cassandra for data storage, to ensure high availability and high scalability of data. The storage method of Hadoop HDFS can provide high fault tolerance and high throughput data storage, which is suitable for large-scale data processing tasks; and Apache Cassandra is a highly scalable distributed database that supports high availability of multiple data centers. When accessing data, the characteristics of the distributed file system and database are used to achieve fast data access and retrieval. Specifically, the characteristics of the distributed file system and distributed database are used to design efficient data access and retrieval strategies, such as improving query performance through indexing and sharding, thereby achieving fast data reading.
[0047] Moreover, in order to improve the data reading rate, the present embodiment also adopts a data cache mechanism, that is, a cache area is set up, and frequently used signaling is stored in the cache area. When the signaling needs to be read, the corresponding signaling is read from the cache area, which can reduce the frequent access to the underlying storage system and improve the data access speed. Therefore, when storing data, step S16 is executed, and the signaling with higher frequency of use can be stored in the cache area. Of course, it is necessary to clean up the data in the cache area regularly to avoid too much data stored in the cache area and affect the storage efficiency. Specifically, two mechanisms can be used to clean up the data in the cache area, for example, the data is cleaned up in a manner that the data that has not been used for the longest time in a preset time period is cleaned up first, or the data in the cache area is cleaned up in the order that the data with the lowest access frequency is cleaned up first. The use efficiency of the cache area can be improved by regularly cleaning up the data in the cache area.
[0048] At this point, the signaling processing module 12 has completed the sampling and storage of the initial signaling data. The signaling processing module 12 also needs to send the target signaling to be parsed to the test chip 11, that is, execute step S17. After the test chip 11 receives the target signaling, it executes step S18 to parse the received target signaling and send a response signal to the base station 10.
[0049] Applying the method of this embodiment to process chip signaling data can reduce resource efficiency. Specifically, since the embodiment samples the original signaling data during the dynamic configuration process, it can effectively reduce the amount of data that needs to be processed subsequently, and enable the test terminal to perform data processing tasks more stably.
[0050] In addition, this embodiment can improve the processing speed of signaling data. Since the amount of data that the test chip needs to process is reduced after the sampling process, the data transmission and processing time will be shortened in the subsequent processing steps (such as compression, encoding, storage and parsing). For example, in the data compression process, a smaller amount of data can complete the compression operation faster; during data parsing, the time required for the parser to process the sampled signaling data after sampling will also be greatly reduced, thereby speeding up the signaling parsing and data storage process of the entire test chip, so that the data can be processed and used more timely.
[0051] In addition, this embodiment pre-processes each signaling according to the frequency of use of different signaling, and can store a large amount of signaling data at a relatively low storage cost. For signaling with high frequency of use, this embodiment adopts a storage method that is more efficient but may occupy a slightly larger space to speed up subsequent access; while for signaling with low frequency of use, a more space-saving storage method is adopted, thereby balancing the use of storage resources as a whole and reducing unnecessary storage space occupation. This is particularly important for chip signaling storage with large amounts of data, which can effectively improve the utilization rate of the storage system and reduce storage costs.
[0052] In addition, this embodiment encapsulates the data to achieve data reorganization at the back end. Since the data has been preprocessed before encapsulation, the signaling data can be identified and combined into corresponding data objects more quickly. Because the preprocessing process has optimized the signaling according to its frequency of use, there is no need for complex judgment and screening during the reorganization process, and it can be directly encapsulated according to the pre-set strategy, thereby significantly speeding up the speed of reorganizing objects and improving the efficiency of data access and parsing. For example, when querying a specific type of signaling data, the storage method after preprocessing can enable the system to locate and extract relevant signaling more quickly, and quickly reorganize it into a complete data object to provide it to the accessing party, thereby improving the response speed and performance of the test.
[0053] It can be seen that after the data type is dynamically configured, this embodiment adds the steps of sampling and preprocessing the data before compressing and storing the data, which optimizes the data processing flow, improves the data processing efficiency and storage utilization, and reduces the requirements for the performance of the test terminal, and has better technical effects in the field of chip signaling analysis and storage. Therefore, when processing large amounts of chip signaling, this embodiment can more flexibly and efficiently deal with various complex situations, providing more powerful data processing capabilities and more solid data support for mobile network testing and future information technology development.
[0054] Computer device embodiment: The computer device of this embodiment can be various types of electronic devices, such as a smart terminal device, which has a processor, a memory, and a computer program stored in the memory and executable on the processor, such as an information processing program for implementing the above-mentioned information processing method. When the processor executes the computer program, it implements the various steps of the above-mentioned chip signaling parsing and storage method.
[0055] For example, a computer program may be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to complete each module of the present invention. One or more modules may be a series of computer program instruction segments capable of completing a specific function, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0056] It should be noted that the terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram of the present invention is only an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a grid access device, a bus, etc.
[0057] The processor referred to in the present invention may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0058] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0059] Storage medium embodiment: If the computer program stored in the computer device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement each step of the above-mentioned chip signaling parsing and storage method.
[0060] Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0061] Finally, it should be emphasized that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and modifications. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. Chip signaling parsing and storage method, including: Obtaining initial signaling data; Features: Sampling the initial signaling data to obtain sampled signaling data, and encapsulating multiple types of data into independent data objects according to business requirements; Preprocess the data encapsulated into multiple data objects: determine the processing method of each signaling data according to the usage frequency of each signaling, so that the storage reduction rate of the signaling is negatively related to the usage frequency of the signaling; Compress and store the encapsulated data according to the processing method determined by each signaling: compress and encode each signaling according to the processing method determined by the signaling, and store the compressed and encoded data in multiple storage areas in a distributed storage manner; storing the frequently used signaling in a buffer area; The target signaling of the test chip to be sent to the test terminal is acquired from the buffer area and the storage area, and the target signaling is sent to the test chip, and the test chip parses the acquired target signaling.
2. The chip signaling parsing and storage method according to claim 1, characterized in that: Sampling the initial signaling data to obtain sampled signaling data includes: sampling the initial signaling data using a systematic sampling and / or a stratified sampling method.
3. The chip signaling parsing and storage method according to claim 2, characterized in that: When the initial signaling data is sampled by systematic sampling, samples are extracted from the sequence of the initial signaling data at preset time intervals, and the extracted samples are representative signaling data in terms of time or data sequence.
4. The chip signaling parsing and storage method according to claim 2, characterized in that: When the initial signaling data is sampled by stratified sampling, the data is stratified according to the type, source or feature of each signal in the initial signaling data, and data sampling is performed independently in each stratum.
5. The chip signaling parsing and storage method according to any one of claims 1 to 4, characterized in that: When the initial signaling data is sampled, the sampled signaling data contains preset key information.
6. The chip signaling parsing and storage method according to any one of claims 1 to 4, characterized in that: Determining the processing method of each signaling data according to the usage frequency of each signaling includes: dividing each signaling into multiple levels of signaling according to the usage frequency of each signaling, wherein the usage frequency of the first level of signaling is higher than the usage frequency of the second level of signaling, and the storage reduction rate of the first level of signaling is lower than the storage reduction rate of the second level of signaling.
7. The chip signaling parsing and storage method according to any one of claims 1 to 4, characterized in that: Encapsulating multiple types of data into independent data objects according to business requirements includes: according to test scenarios and requirements, the encapsulated data object types include at least one of the following: business, event, signaling, location information and synchronization information.
8. The chip signaling parsing and storage method according to any one of claims 1 to 4, characterized in that: After storing the frequently used signaling in the cache area, the data in the cache area is cleaned up according to the preset cache mechanism: the data in the cache area is cleaned up in the order of cleaning up the longest unused data within the preset time period first or cleaning up the lowest access frequency data first.
9. A computer device, characterized in that It includes a processor and a memory, the memory stores a computer program, and when the computer program is executed by the processor, each step of the chip signaling parsing and storage method as described in any one of claims 1 to 8 is implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the various steps of the chip signaling parsing and storage method as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Power wireless private network drive test acquisition and analysis system and method
CN110086653A
Dynamic sampling method of drive test data
CN111200828A
FPGA (Field Programmable Gate Array)-based No.7 signaling analysis device and method
CN118509509A
Log data compression method and device, electronic equipment and medium
CN118939617A