Application method in wireless data analysis based on database StarRocks

By using the domestic database StarRocks and the OLTP+OLAP joint processing model in wireless data analysis, the problem that traditional databases cannot meet the real-time and resource occupation requirements of massive data processing is solved, efficient data processing and resource utilization are achieved, and time is reduced. Delay and maintenance costs.

CN118779359APending Publication Date: 2024-10-15INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410882386.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The traditional Oracle database cannot meet the current real-time and resource occupation requirements of massive data processing. The OLAP architecture has high batch processing latency and low resource utilization, resulting in server cluster redundancy and high maintenance costs.

Method used

Use the localized database StarRocks, combined with the OLTP+OLAP joint processing mode, perform statistical calculations through the StarRocks cluster, use the Kafka connector and Stream Load method for data loading, use lz4 compression and hot and cold data partitioning, and combine with the CBO optimizer and vectorization engine. Data processing.

Benefits of technology

It reduces data access summary query latency, improves summary efficiency and query efficiency, reduces data processing latency, saves analysis time, improves real-time performance and accuracy, reduces maintenance costs, and makes full use of server performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779359A_ABST
    Figure CN118779359A_ABST
Patent Text Reader

Abstract

The invention provides an application method in wireless data analysis based on a database StarRocks, and belongs to the field of data processing.The application method comprises the steps that the database StarRocks is used as a network optimization data analysis database for model selection, and network optimization data model adaptation transformation is completed in combination with the characteristics of the StarRocks; a database mode of OLTP + OLAP combined processing is utilized, statistical calculation is carried out through a StarRocks cluster, and services are provided for an upper layer. The analysis time is saved, the efficiency is improved, and the real-time performance and accuracy of analysis are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to an application method for wireless data analysis based on database StarRocks. Background Art

[0002] The wireless network optimization data analysis platform realizes the data collection, governance and model control capabilities of wireless resources, performance, MR, etc., and achieves "data asset transparency", "data model standard" and "data access controllable". Internally, it can realize the unified management capabilities of wireless data, establish standardized, centralized and normalized data assets in the wireless field, and realize multi-dimensional data management and value mining; externally, it can build business-oriented open operation capabilities to support the analysis work of departments such as marketing, quality control, and government and enterprise online.

[0003] In terms of data processing, since the collection, cleaning, analysis, and aggregation of massive data require a lot of computing, high requirements are placed on the database's real-time performance, resource usage, stability, etc. The traditional Oracle database can no longer meet the current business volume calculations, and with the trend of "eliminating O", the traditional Oracle database is no longer the first choice for databases. Therefore, finding an independent, controllable, and high-performance domestic database has become the primary focus of current thinking and practice.

[0004] The main data collected by wireless network optimization include alarms, NRM, PM, MDT, MR, XDR and other types of data. The amount of NRM and PM data is related to the size of the cell and is reported in a 15-minute or daily cycle. The amount of MR, MDT and XDR data is large, with an average of tens of billions to hundreds of billions of data per day. The network optimization side collects and analyzes the above data to monitor network operation, including signal coverage, data throughput, drop rate, delay, download speed and user perception issues, and timely locates them, optimizes them through parameter adjustment, and provides external data interface services, which is an important part of data governance on the network optimization side.

[0005] At present, database systems are mainly of two types: OLTP (online transaction processing) and OLAP (online analytical processing), which are respectively designed for different data processing requirements. OLTP (Oracle, MySQL, etc.) focuses on processing small transactions with very high real-time requirements, requiring real-time response and high concurrency applications, and the amount of data processed in each transaction is limited. OLAP (Hadoop, GREENPLUM, Clickhouse, etc.) mainly processes big data and complex data analysis, involving the aggregation, calculation and mining of large amounts of historical data. It can realize complex operations, but the batch processing architecture leads to poor real-time performance.

[0006] Traditional network optimization data analysis is mainly based on the Oracle database system. By parsing the data and loading it into the database in sqlldr mode and performing data storage and calculation, Oracle can meet the needs of high concurrency and real-time performance. However, with the construction of 4G and 5G network scale, the data volume is more than 10 million, which Oracle cannot support. Therefore, OLTP databases (GREENPLUM, HADOOP) are introduced for data storage and calculation. Such databases are deployed in clusters to push down the storage and computing pressure. GP completes data loading with gpfdist, and Hadoop writes compressed format files such as csv or lzo to HDFS in API mode. At the same time, the Hive engine is used for data calculation. The engine has also evolved from MR to Spark and then to Tez. At the same time, because the batch processing speed of Hive cannot meet the timeliness requirements, Hive is replaced by memory computing big data components such as Impala or Presto. OLTP is a computing library. After the data results are calculated, the data is synchronized to the relational database for presentation, which solves the computing difficulties of neighboring data, MR data, MDT data, XDR data, etc. This is the mainstream big data architecture solution, and many scenarios still use this architecture. However, there are a series of problems such as uncertain latency and high delay in the process of OLTP synchronization to relational databases. The Hadoop big data architecture cannot fully utilize server performance, and CPU and memory often have low utilization. At the same time, as the amount of data increases, it can only be alleviated by expanding the capacity of the machine, resulting in more and more redundant server clusters. Under the above pain points, OLAP (Online Analytical Processing) has become a new selection solution, with advantages such as OLTP architecture, column storage, high-speed writing, vector computing acceleration, and full utilization of multi-core.

[0007] The HADOOP architecture mainly relies on yarn for scheduling resource management. The CPU and memory of the node server cannot be fully utilized, and the server has idle resources. At the same time, the components are heavy, requiring multiple components such as hadoop, zk, yarn, hive, spark, etc., with high maintenance costs. At the same time, many servers are used, resulting in serious waste of resources. In addition, the batch processing delay is high. Summary of the invention

[0008] In order to solve the above technical problems, the present invention provides an application method for wireless data analysis based on database StarRocks.

[0009] The technical solution of the present invention is:

[0010] The invention discloses an application method for wireless data analysis based on database StarRocks, which mainly features easy transformation, high compression and high real-time to meet the data processing requirements of network optimization.

[0011] Use the domestic database StarRocks as the database for network optimization data analysis, and complete the adaptation and transformation of the network optimization data model in combination with StarRocks' own characteristics. Set up the database mode for OLTP+OLAP joint processing, and then use StarRocks cluster statistics to calculate and provide services to the upper layer.

[0012] The original files of MR and MDT data are parsed and aggregated and loaded into StarRocks. The data analysis table is partitioned by hour and the data is compressed in lz4 mode.

[0013] Xdr data is accessed through the Kafka connnector, and real-time data is written to the SSD. The data is written to the HDD after three hours of cooling.

[0014] Furthermore,

[0015] After NRM and PM data are parsed, they are directly loaded into the database through Stream Load.

[0016] MR and MDT data are parsed and merged from the original XML or CSV files and then loaded into the database through Stream Load to prevent talnet exceptions caused by frequent loading.

[0017] Xdr data processing is performed by loading the data into the database through the Kafak connector. The data is divided into hot and cold data, and the hot data is cooled and stored in the HDD disk.

[0018] For alarm data processing, the load kafka method is used to write batches every five seconds.

[0019] External data interface, use Catalog to connect with external data and access other system data in real time.

[0020] The beneficial effects of the present invention are

[0021] The present invention is first compared with the mainstream architecture of the existing network optimization data analysis OLAP+relational database, which reduces the data access summary query delay. Combined with the SR's own characteristics such as CBO optimizer, MPP architecture and vectorization engine, after actual deployment comparison, the summary efficiency is improved by 40%, the query efficiency is improved by 30%, the data processing delay is reduced by 1 / 4, and the overall time consumption of the scheduling task is 60% of the original, saving analysis time, improving efficiency, and improving the real-time and accuracy of the analysis. At the same time, the application of vectorization engine and SIMD instruction set gives full play to the server performance, the column storage lz4 format extreme compression reduces the disk IO and storage pressure, and the use of hadoop cluster 1 / 2 servers can complete the relevant storage calculation replacement, saving construction costs and releasing machines. At the same time, starRocks has a streamlined architecture, and the maintenance cost is only 1 / 10 compared to the complex roles of hadoop architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of StarRocks as a network optimization analysis data architecture in the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0024] The present invention provides a wireless data analysis method based on the domestic database StarRocks, which mainly features easy transformation, high compression and high real-time performance to meet the data processing requirements of network optimization.

[0025] The domestic database StarRocks is used as the database for network optimization data analysis, and the network optimization data model adaptation and transformation is completed in combination with StarRocks' own characteristics.

[0026] MR and MDT original files are parsed and aggregated and loaded into StarRocks. The data analysis table is partitioned by hour and the data is compressed in lz4 mode.

[0027] Xdr data is accessed through the Kafka connnector, and real-time data is written to the SSD. The data is written to the HDD after three hours of cooling.

[0028] like Figure 1As shown in the figure, through the analysis of the advantages and disadvantages of the StarRocks database and according to the experimental environment, the following database model of OLTP+OLAP joint processing is designed, and then the StarRocks cluster is used for statistical calculation and provides services to the upper layer.

[0029] in,

[0030] NRM and PM data processing

[0031] The data files on the performance side and parameter side are small and are directly stored in the database through Stream Load after parsing.

[0032] MR and MDT data processing

[0033] The amount of MR and MDT data is relatively large. After parsing and merging the original XML or CSV files, they are loaded into the database through StreamLoad to prevent talnet exceptions caused by frequent loading.

[0034] Xdr Data Processing

[0035] The data volume is relatively large, about 10 billion, and is loaded into the database through the Kafak connector. The data is divided into hot and cold data, and the hot data is cooled and stored in the HDD disk.

[0036] Alarm data processing

[0037] The data volume is small, but the real-time requirement is high. The load kafka method is used to write batches every five seconds.

[0038] External data interface

[0039] Use Catalog to connect with external data and access other system data in real time.

[0040] The present invention integrates multi-dimensional data collection, analysis, and index summary of MR, performance, resources, MDT, etc., realizes the unification of basic data, efficiently supports the development of centralized optimization services for the entire network, supports northbound OMC data collection of the new version of wireless, provides various index summary functions with granularity from 15 minutes to hours, days, and months, meets the needs of wireless various index data analysis, realizes management and control by time, region and other dimensions, and provides unified data support capabilities for the data analysis needs of upper-level applications. Through operation observation, good results have been achieved in data processing delay, network bandwidth consumption, and large data volume collection and summary, and the operation is stable, especially in large data volume processing and analysis, which is significantly better than other traditional databases.

[0041] The present invention solves the problems of collection, cleaning, aggregation and analysis of massive data, high maintenance cost, high resource load and large batch processing delay, satisfies the localization of database and realizes independent control.

[0042] Explanation of terms

[0043] Network resource management technology Network Resource Management NRM Network Performance Management Technology Performance Management PM

[0044] The above description is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. An application method for wireless data analysis based on database StarRocks, It is characterized in that Use the database StarRocks as the database for network optimization data analysis, and combine the characteristics of StarRocks to complete the adaptation and transformation of the network optimization data model; use the database model of OLTP+OLAP joint processing, and then use the StarRocks cluster to perform statistical calculations and provide services to the upper layer.

2. The method according to claim 1, It is characterized in that The original files of MR and MDT data are parsed and aggregated and loaded into StarRocks. The data analysis table is partitioned by hour and the data is compressed in lz4 mode.

3. The method according to claim 1, It is characterized in that Xdr data is accessed through the Kafka connnector, and real-time data is written to the SSD. The data is written to the HDD after three hours of cooling.

4. The method according to claim 1, It is characterized in that After NRM and PM data are parsed, they are directly loaded into the database through Stream Load.

5. The method according to claim 2, It is characterized in that MR and MDT data are parsed and merged from the original XML or CSV files and then loaded into the database through Stream Load to prevent talnet exceptions caused by frequent loading.

6. The method according to claim 3, It is characterized in that Xdr data processing is performed by loading the data into the database through the Kafak connector. The data is divided into hot and cold data, and the hot data is cooled and stored in the HDD disk.

7. The method according to claim 1, It is characterized in that For alarm data processing, the load kafka method is used to write batches every five seconds.

8. The method according to claim 1, It is characterized in that External data interface, use Catalog to connect with external data and access other system data in real time.

Citation Information

Patent Citations

  • HADOOP platform-based LTE network MR data analysis method

    CN106294580A

  • Communication network optimization system and streaming data processing device in communication network optimization system

    CN107070890A

  • Distributed data flow hierarchical cache automatic migration algorithm based on Kafka

    CN112051968A

  • Real-time data analysis processing method and system based on Flink and StarRocks and storage medium

    CN116775768A

  • Multi-source heterogeneous power distribution and utilization data processing method, system and equipment and storage medium

    CN117688024A