Road internal condition monitoring method and system based on big data

Through the road internal behavior monitoring method and system based on big data, the problem of low data collection, transmission and storage efficiency in intelligent road monitoring has been solved, and the efficient collection, transmission and visual monitoring of road internal behavior data have been achieved, providing a basis for wisdom. Roads provide reliable support and security.

CN118711366AInactive Publication Date: 2024-09-27CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410833692.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing intelligent road monitoring lacks efficient methods in data collection, transmission and storage, which limits the construction and maintenance of smart roads.

Method used

Adopting big data-based road internal behavior monitoring methods and systems, by obtaining road internal behavior data, the data is cleaned and stored in the distributed file system HDFS, stored in the data warehouse HIVE according to the time dimension, and imported into the distributed database HBase. Use ECharts for data visualization monitoring, set the same-cycle threshold for early warning, and interact with external systems through API interfaces.

Benefits of technology

It realizes the efficient collection, transmission, storage, visual display, early warning and data sharing of road internal behavior data, and provides reliable support and strong guarantee for road monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711366A
    Figure CN118711366A
Patent Text Reader

Abstract

The invention is suitable for the technical field of big data, and particularly relates to a road internal state monitoring method and system based on big data, and the method comprises the steps: obtaining road internal state data, storing the road internal state data to a local log file, carrying out the data cleaning of the road internal state data stored in the local log file, and obtaining the road internal state data. The method comprises the following steps: cleaning data in a distributed file system HDFS, uploading the cleaned data to a distributed file system HDFS, storing the data in the distributed file system HDFS to a data warehouse HIVE according to a time dimension, importing the data in the data warehouse HIVE to a distributed database HBase, storing the data according to a preset Rowkey rule, carrying out data visual monitoring by utilizing an ECharts tool, setting a same-ring ratio threshold value, and storing the data in the distributed database HBase according to a preset Rowkey rule. According to the method, road internal performance early warning is carried out on the basis of a same-ring ratio threshold value, data interaction with an external system is carried out through an API interface, efficient collection, transmission, storage, visual display, early warning, data sharing and interaction of road internal performance data are achieved, and reliable support and powerful guarantee are provided for road monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a road internal performance monitoring method and system based on big data. Background Art

[0002] With the rapid development of the economy and transportation industry, the construction of smart transportation has become increasingly important, aiming to optimize traffic flow, improve road efficiency, ensure traffic safety and alleviate traffic congestion through advanced technologies. However, in terms of road maintenance, traditional road monitoring and maintenance methods mainly rely on manual inspections, which are inefficient and not very accurate. Intelligent road monitoring and maintenance have become an urgent need. However, the current intelligent road monitoring has not yet formed a clear and efficient method for data collection, transmission and storage, which restricts the construction and maintenance of smart roads.

[0003] The existing patent with publication number CN117668136A provides a method and device for processing highway infrastructure data, wherein the method includes obtaining the data to be processed obtained by collecting data from the road section to be collected through multiple data collection methods; detecting the data to be processed collected under each data collection method respectively, and determining the target attribute data of the highway infrastructure in the road section to be collected based on the detection results; matching the target attribute data of the highway infrastructure with the high-precision map corresponding to the road section to be collected, and generating a highway infrastructure data map corresponding to the road section to be collected. Although this method provides an efficient method for collecting highway infrastructure data, it lacks a complete solution for data processing and storage, and still cannot achieve effective monitoring of roads. Summary of the invention

[0004] Based on this, it is necessary to provide a road internal state monitoring method and system based on big data that can effectively monitor roads in order to address the above problems.

[0005] In a first aspect, the present application provides a method for monitoring road internal conditions based on big data, the method comprising:

[0006] Step S1, obtaining road internal performance data;

[0007] Step S2, storing the internal performance data of the road into a local log file;

[0008] Step S3, cleaning the road internal performance data stored in the local log file, and uploading the cleaned data to the distributed file system HDFS;

[0009] Step S4, storing the data in the distributed file system HDFS into the data warehouse HIVE according to the time dimension;

[0010] Step S5, importing the data in the data warehouse HIVE into the distributed database HBase, and storing the data according to the preset Rowkey rule;

[0011] Step S6, using ECharts tool to perform data visualization monitoring;

[0012] Step S7, setting a year-on-year threshold, and performing a road internal state warning based on the year-on-year threshold;

[0013] Step S8: data interaction with external systems through API interfaces.

[0014] In one embodiment, step S1 comprises:

[0015] Step S11, obtaining technical indicators of road internal properties;

[0016] Step S12, collecting the road internal performance technical indicators according to the minute-level time dimension, and converting the road internal performance technical indicators into JSON format to obtain road internal performance data;

[0017] Step S13, compressing the road internal property data.

[0018] In one embodiment, step S2 comprises:

[0019] Step S21, decompressing the road internal performance data;

[0020] Step S22, classifying the decompressed road internal performance data according to preset performance indicators and time parameters;

[0021] Step S23, error processing and log recording are performed on the classified road internal behavior data, and the processed road internal behavior data is stored in a local log file.

[0022] In one embodiment, the data warehouse HIVE includes a minute-level data table ods_idx_minute_std, an hour-level data table ods_idx_hour_std, and a day-level data table ods_idx_day_std; step S4 includes:

[0023] Step S41, extracting key technical data from the distributed file system HDFS;

[0024] Step S42, summarizing the original data of the key technical data according to the single technical indicator to obtain the minute-level data set ods_idx_minute;

[0025] Step S43, cleaning the minute-level data set ods_idx_minute, and storing the cleaned data in the minute-level data table ods_idx_minute_std according to the dimension of minutes;

[0026] Step S44, average processing is performed on the data in the minute-level data set ods_idx_minute, and the processed data is stored in the hour-level data table ods_idx_hour_std according to the hour dimension, and in the day-level data table ods_idx_day_std according to the day dimension.

[0027] In one of the embodiments, the preset Rowkey rule is $idx_$time_$timestamp, where $idx represents different data indicators, $time represents a time period, and $timestamp represents a data collection time.

[0028] In one embodiment, step S6 comprises:

[0029] Step S61, obtaining a user visualization display instruction and a preset data monitoring threshold;

[0030] Step S62, performing data visualization based on the user visualization instruction;

[0031] Step S63, calculating a recommended value of the year-on-year threshold according to the user's visual display instruction;

[0032] Step S64, performing abnormal monitoring on the road internal performance data according to a preset data monitoring threshold;

[0033] Step S65, adjusting the preset data monitoring threshold according to the abnormal monitoring result.

[0034] In one embodiment, step S7 comprises:

[0035] Step S71, setting a flexible warning value and a rigid warning value according to the same period last year threshold;

[0036] Step S72, when the road internal performance data reaches the flexible warning value, triggering the first warning alarm;

[0037] Step S73: When the road internal performance data reaches a rigid warning value, a second warning alarm is triggered.

[0038] In one embodiment, step S8 comprises:

[0039] Step S81, obtaining a user query instruction;

[0040] Step S82, acquiring data stored in the distributed database HBase according to the user query instruction;

[0041] Step S83, convert the data obtained in step S82 into JSON format and send it to the user.

[0042] In one embodiment, step S8 comprises:

[0043] Step S84, obtaining a user data subscription request;

[0044] Step S85: Send the road internal property data to the user based on the user data subscription request.

[0045] In the second aspect, the present application also provides a road internal state monitoring system based on big data. The system includes a data acquisition module, a data cleaning module, a distributed file system HDFS, a data warehouse HIVE, a distributed database HBase, a visual monitoring module, an early warning module and a data interaction module;

[0046] The data acquisition module is used to obtain the internal performance data of the road and store the internal performance data of the road in a local log file;

[0047] The data cleaning module is used to clean the internal road performance data stored in the local log file and upload the cleaned data to the distributed file system HDFS;

[0048] The data warehouse HIVE is used to store data in the distributed file system HDFS according to the time dimension;

[0049] The distributed database HBase is used to store data imported from the data warehouse HIVE according to the preset Rowkey rules;

[0050] The visualization monitoring module is used to perform data visualization monitoring using the ECharts tool;

[0051] The warning module is used to set the same-year and year-on-year thresholds and to issue road internal state warnings based on the same-year and year-on-year thresholds;

[0052] The data interaction module is used to interact with external systems through the API interface.

[0053] The above-mentioned road internal property monitoring method and system based on big data obtains road internal property data, stores the road internal property data in local log files, cleans the road internal property data stored in local log files, and uploads the cleaned data to the distributed file system HDFS, stores the data in the distributed file system HDFS to the data warehouse HIVE according to the time dimension, imports the data in the data warehouse HIVE into the distributed database HBase, and stores the data according to the preset Rowkey rules, uses the ECharts tool to perform data visualization monitoring, sets the same-month and month-on-month thresholds, and performs road internal property warning based on the same-month and month-on-month thresholds, and interacts with external systems through API interfaces, thereby realizing efficient collection, transmission, storage, visualization, warning, data sharing and interaction of road internal property data, and providing reliable support and strong guarantee for road internal property monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of a process of a road internal state monitoring method based on big data in one embodiment;

[0055] Figure 2 A schematic diagram of the structure of a road internal state monitoring system based on big data in one embodiment;

[0056] Figure 3 It is a flowchart of a road internal condition monitoring method based on big data in another embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] In one embodiment, Figure 1 As shown, a road internal state monitoring method based on big data is provided, which specifically includes the following steps:

[0059] Step S1, obtaining road internal performance data.

[0060] In the field of road engineering, by collecting and applying data collected by road internal sensing components, we can understand road performance and safety risks, and provide a scientific basis for road maintenance and repair. Among them, road internal performance data can include stress, strain, temperature, humidity, etc.

[0061] Specifically, a wireless sensor network can be formed by bonding or burying sensors in key locations such as the road surface, roadbed or base layer, and each small sensor node in the wireless sensor network can be used to monitor and transmit the internal state data of the road in real time. For example, strain gauges and stress gauges can be installed at different levels of the road to collect stress and strain inside the road, and soil pressure boxes and soil stress gauges can be used to collect soil stress, crack meters can be used to monitor road cracks, drop hammer bending hammer instruments can collect deflection position data, and temperature and humidity sensors can be used to monitor temperature and humidity. Among them, when measuring stress and strain, optical fiber sensors can also be used for measurement, and their high sensitivity and long-term stability play an important role in measuring stress and strain.

[0062] Furthermore, the acquired road internal performance data can be preliminarily verified to ensure the integrity and accuracy of the data. The acquired road internal performance data can also be standardized and defined to unify the data transmission format and data dimension to improve data consistency and transmission efficiency.

[0063] Step S2, storing the road internal performance data in a local log file.

[0064] Specifically, you can first select an appropriate log file format (such as JSON, CSV, etc.) to ensure the readability and parsability of the data; then write the internal road performance data into the local log file in chronological order, and record the source and timestamp of the data, and then ensure that the storage location and naming rules of the log file comply with the specifications to facilitate subsequent data processing and analysis.

[0065] Step S3, clean up the road internal performance data stored in the local log file, and upload the cleaned data to the distributed file system HDFS.

[0066] Among them, the distributed file system HDFS is a distributed file system in the Hadoop ecosystem. It has the characteristics of high fault tolerance, high throughput and scalability, and is suitable for processing and storing large-scale data sets. Specifically, the internal state data of the road in the local log file can be read first, and the data can be cleaned to remove duplicate, abnormal or invalid data; then the data can be formatted to meet the storage requirements of the distributed file system HDFS; and then the data can be uploaded to the specified directory of HDFS using the HDFS client.

[0067] Step S4, storing the data in the distributed file system HDFS into the data warehouse HIVE according to the time dimension.

[0068] Among them, the data warehouse HIVE is a data warehouse tool based on Hadoop, which can map structured data files into database tables and provide SQL query functions.

[0069] Specifically, first determine the data structure to be stored in the data warehouse HIVE, such as the style of the table and the content type of each column in the table, to ensure that it matches the data in HDFS; then use the ETL (Extract Transform Load) tool to import the data from HDFS into the HIVE table. Then set a suitable partitioning strategy to improve the efficiency of data query and analysis. The partitioning strategy of this embodiment includes organizing data in tables of different time dimensions in HIVE. For example, data with different time dimensions such as minutes, hours, and days are stored in corresponding tables respectively. In addition, the entire ETL process in this step is automated, and accurate execution within the scheduled time is ensured through scheduling systems such as Apache Oozie or Airflow.

[0070] Step S5, import the data in the data warehouse HIVE into the distributed database HBase, and store the data according to the preset Rowkey rule.

[0071] Among them, HBase is a distributed, column-oriented open source NoSQL database, which is mainly used to store and manage large-scale structured data. It has the characteristics of high reliability, high performance, scalability and high concurrency, and is suitable for application scenarios that require real-time reading and writing of large amounts of data.

[0072] Specifically, first prepare the data. After completing the data ETL process in HIVE, formatted data of the time dimension is generated. Then export the data to convert the formatted data of the time dimension into a format that HBase can recognize. Then import the data. You can use HBase's batch import tool or HIVE-HBase integration function to import data from HIVE to HBase. After that, organize the data and physically store the data in HBase according to the preset Rowkey rules to ensure that data in the same period is aggregated together.

[0073] Step S6: Use ECharts tool to perform data visualization monitoring.

[0074] Specifically, the internal state data of the road can be obtained from HDFS or HBase, and then the obtained data can be presented to the user in the form of charts (such as line charts, bar charts, pie charts, etc.) to achieve visual monitoring of the road. Furthermore, it is also possible to conduct in-depth analysis by using the original data stored in HDFS and the formatted data in the HIVE data warehouse to identify the patterns and trends of the disease, and then use the ECharts tool to present the extracted information about road diseases in the form of charts, which can intuitively display the severity, distribution range, change trend and other key information of the disease, helping managers to understand the internal conditions of the road more intuitively.

[0075] Step S7, setting a year-on-year threshold, and performing a road internal state warning based on the year-on-year threshold.

[0076] This embodiment also performs quality control on the data stored in HIVE or HBase, monitors the consistency and reliability of the data through year-on-year analysis, and triggers an early warning mechanism for any data that does not meet the predetermined range, and promptly notifies relevant personnel to conduct further inspection and correction. Specifically, when the year-on-year value of the data stored in HIVE or HBase exceeds the set year-on-year threshold, a road internal state early warning alarm is triggered.

[0077] Furthermore, this embodiment can also provide a recommended value of the performance indicator based on the same period and the same period according to a single performance indicator within a specific time, such as 120% of the highest value and 80% of the lowest value within a certain period, to assist users in performance evaluation and decision-making.

[0078] Step S8, realizing data interaction between the distributed database HBase and the external system through the API interface.

[0079] Specifically, it includes defining the specifications and data formats of the API interface to ensure that external systems can correctly call and parse data.

[0080] The road internal property monitoring method based on big data in this embodiment obtains the road internal property data, stores the road internal property data in the local log file, cleans the road internal property data stored in the local log file, and uploads the cleaned data to the distributed file system HDFS, stores the data in the distributed file system HDFS to the data warehouse HIVE according to the time dimension, imports the data in the data warehouse HIVE into the distributed database HBase, and stores the data according to the preset Rowkey rule, uses the ECharts tool to perform data visualization monitoring, sets the same-month and month-on-month thresholds, and performs road internal property warning based on the same-month and month-on-month thresholds, and interacts with the external system through the API interface, thereby realizing the efficient collection, transmission, storage, visualization, warning, data sharing and interaction of road internal property data, and providing reliable support and strong guarantee for road monitoring.

[0081] In one embodiment, step S1 includes:

[0082] Step S11, obtaining technical indicators of road internal properties.

[0083] Among them, the technical indicators of road internal properties can include various parameters such as road structure health, temperature, humidity, stress, etc. These parameters are crucial for evaluating the internal properties of roads. Specifically, the internal properties technical indicators can be collected by arranging sensors at various locations on the road.

[0084] Step S12, collecting the technical indicators of the internal performance of the road according to the time dimension of the minute level, and converting the technical indicators of the internal performance of the road into the JSON format to obtain the internal performance data of the road.

[0085] Specifically, the internal performance technical indicators of the road are collected, stored and analyzed in minutes, and then the collected internal performance technical indicators of the road are converted into JSON format so that the collected data can be read and analyzed.

[0086] Step S13, compressing the road internal property data.

[0087] In order to optimize the data transmission process, data compression technology is further used for the road internal performance data to be sent, so as to reduce the amount of data in the data transmission process, greatly improve the data transmission speed, and ensure fast and efficient data transmission and reception. Specifically, firstly, compression algorithms such as Huffman coding, LZ77 algorithm, LZ78 algorithm or BZIP2 can be used to effectively compress the collected technical indicators of road internal performance. These compression algorithms can achieve a significant reduction in the amount of data by identifying recurring patterns and high-frequency features in the data, thereby improving the storage and transmission efficiency of data without losing key information.

[0088] This embodiment can provide higher frequency data updates by collecting the technical indicators of the internal properties of the road according to the time dimension of minutes, so as to more accurately reflect the actual situation inside the road, and the minute-level data dimension is more real-time and accurate, which is helpful to discover short-term data fluctuations and anomalies; at the same time, by converting the technical indicators of the internal properties of the road into JSON format, it can facilitate subsequent reading and analysis of the data, and JSON format is a lightweight data exchange format, which is conducive to improving data transmission efficiency; in addition, by compressing the internal properties data of the road before transmitting it, the data transmission speed can be further improved.

[0089] In one embodiment, step S2 includes:

[0090] Step S21, decompressing the road internal performance data.

[0091] Specifically, the road internal performance data is restored to a readable and analyzable state by performing reverse text decompression processing on the data.

[0092] Step S22, classifying the decompressed road internal performance data according to preset performance indicators and time parameters.

[0093] Among them, the preset performance indicators may include road smoothness, structural strength, material properties, etc., and the time parameters may include data collection time, collection cycle, time period, etc.

[0094] Step S23, error processing and log recording are performed on the classified road internal behavior data, and the processed road internal behavior data is stored in a local log file.

[0095] Specifically, check whether there are abnormal values, missing values ​​or other potential errors in the road internal properties data, and take appropriate measures to correct or mark them. At the same time, in order to record the details of data processing, the error processing process and results are recorded in the local log file. In addition, the processed road internal properties data will also be stored in the local log file for subsequent review and analysis.

[0096] This embodiment can better organize and manage data by classifying the decompressed road internal performance data according to preset performance indicators and time parameters, thereby facilitating subsequent data analysis and processing; by performing error handling and log recording on the classified road internal performance data, and storing the processed road internal performance data in a local log file, the accuracy and integrity of the data can be ensured, providing reliable protection for subsequent data applications.

[0097] In one embodiment, the data warehouse HIVE includes a minute-level data table ods_idx_minute_std, an hour-level data table ods_idx_hour_std, and a day-level data table ods_idx_day_std. Step S4 includes:

[0098] Step S41, extracting key technical data from the distributed file system HDFS.

[0099] Among them, key technical data is the basis for understanding the health status of roads. For example, key technical data can include stress, strain, displacement, temperature, humidity and other data.

[0100] Step S42, summarizing the original data of the key technical data according to the single technical indicator to obtain the minute-level data set ods_idx_minute.

[0101] The purpose of aggregation is to integrate the related data scattered in HDFS to form a complete data set organized by technical indicators. The aggregated data will form a minute-level data set ods_idx_minute, which contains the raw data of each technical indicator in each minute.

[0102] Step S43, clean the minute-level data set ods_idx_minute, and store the cleaned data in the minute-level data table ods_idx_minute_std according to the minute dimension.

[0103] Specifically, the minute-level data set ods_idx_minute is cleaned to eliminate potential outliers, missing values, or erroneous data. The data cleaning process may include data verification, data conversion, data deduplication, and other operations. The cleaned data will be stored in the minute-level data table ods_idx_minute_std according to the minute dimension for subsequent analysis and query. For example, data that deviates from the sample range can be eliminated to remove outliers and ensure data accuracy, and the filtered data will be stored in the minute-level data table ods_idx_minute_std.

[0104] Step S44, average processing is performed on the data in the minute-level data set ods_idx_minute, and the processed data is stored in the hour-level data table ods_idx_hour_std according to the hour dimension, and in the day-level data table ods_idx_day_std according to the day dimension.

[0105] Specifically, after data cleaning, the data in the minute-level data set ods_idx_minute are aggregated. Specifically, the aggregate value of each technical indicator per hour or day can be calculated according to the preset aggregation rules (such as average, maximum, minimum, etc.); then the aggregate value of each technical indicator per hour is stored in the hour-level data table ods_idx_hour_std, and the aggregate value of each technical indicator per day is stored in the day-level data table ods_idx_day_std.

[0106] This embodiment calculates the average value of all minute data in each hour to obtain the aggregate value of each technical indicator per hour, and saves it in the hourly data set ods_idx_hour; calculates the average value of all minute data in each day to obtain the aggregate value of each technical indicator per day, and saves it in the daily data set ods_idx_day. Then, the hourly data in the hourly data set ods_idx_hour is stored in the hourly data table ods_idx_hour_std in HIVE, and the day-level data in the day-level data set ods_idx_day is stored in the day-level data table ods_idx_day_std in HIVE.

[0107] This embodiment significantly improves the availability and readability of data by aggregating the data in the minute-level dataset ods_idx_minute and calculating the average of technical indicators per hour and per day. These data are effectively stored in hourly and daily data tables in HIVE, providing strong support for real-time monitoring and trend analysis of road health conditions.

[0108] Rowkey is the primary key of data in HBase, which is crucial for fast retrieval and sorting of data. In order to more effectively manage and query road internal performance data, in one embodiment, the preset Rowkey rule is $idx_$time_$timestamp, where $idx represents different data indicators, and this part is used to quickly locate the corresponding data according to specific data indicators; $time represents the time period (minute / hour / day), and this part is used to aggregate and store data according to the time period, which is convenient for analyzing the short-term and long-term trends of road health; $timestamp represents the specific time of data collection, which can be milliseconds and rounded to the first second of the collection period. This part is used to realize the analysis and anomaly detection of real-time data, which helps to track the timestamp of each data point and ensure the timeliness and accuracy of the data.

[0109] This embodiment constructs an efficient and flexible data storage and query structure by designing the preset Rowkey rule as $idx_$time_$timestamp, which can provide strong support for the analysis and management of road internal performance data.

[0110] In one embodiment, step S6 includes:

[0111] Step S61, obtaining user visualization display instructions and preset data monitoring thresholds.

[0112] The user visualization display instruction may include the data type, time range, display method, etc. The preset data monitoring threshold is used to determine whether the road internal state data collected in real time is abnormal.

[0113] Step S62: Perform data visualization based on the user visualization instruction.

[0114] Specifically, relevant data is obtained from HBase according to the user's visualization display instructions, and then the ECharts tool is used to visualize the data according to the user-specified display method (such as line chart, bar chart, scatter plot, etc.), and the visualization results are displayed to the user, for example, through a user interface, a large screen display or other methods.

[0115] For example, when the user's visualization display instruction includes a time range, the visualization curve display of a single technical performance indicator is performed by retrieving the road internal performance data within the required time range in HBase. In addition, when the user's visualization display instruction includes selecting two different technical performance indicators for correlation analysis, such as stress and temperature, the correlation chart of the indicators is generated by extracting relevant data in HBase and using the EChars tool to display the trend and correlation of each technical indicator over time, so that users can observe the fluctuation pattern of each technical indicator within a certain period.

[0116] Step S63, calculating a recommended value of the year-on-year threshold according to the user's visualization display instruction.

[0117] Specifically, firstly, the user's visual display instructions are parsed to determine the performance indicators and specific time range specified by the user. Then, according to the time range specified by the user, the corresponding data is obtained from HBase, and the year-on-year and year-on-year values ​​of the performance indicators within the user-specified time range are calculated based on the obtained data, and their distribution is counted. Then, based on the distribution of the year-on-year and year-on-year values, the year-on-year recommended values ​​of the performance indicators are calculated, such as 120% of the highest value and 80% of the lowest value within a certain period. The year-on-year recommended values ​​are displayed to the user in the form of prompts or suggestions to assist the user in performance evaluation and decision-making.

[0118] In addition, during the data acquisition and calculation process, monitor the indicator collection process and identify possible problems or anomalies, such as missing data, outliers, etc. Diagnose indicator collection problems and analyze the causes and possible impacts of the problems. Based on the diagnosis results, provide solution suggestions or automatic repair measures to ensure the accuracy and completeness of indicator data.

[0119] Step S64: performing abnormal monitoring on the road internal performance data according to a preset data monitoring threshold.

[0120] Specifically, the internal state data of the road is obtained from HBase in real time or regularly, and the data is compared with the preset data monitoring threshold to determine whether the data is abnormal. For abnormal data, the abnormal details are marked and recorded, such as abnormal time, abnormal value, abnormal type, etc. At the same time, according to the type and degree of abnormality, the corresponding alarm mechanism can be triggered, such as sending SMS notifications, email notifications or system pop-ups, etc., to remind relevant personnel to make further processing.

[0121] Step S65, adjusting the preset data monitoring threshold according to the abnormal monitoring result.

[0122] Specifically, the abnormal monitoring results can be analyzed, including the frequency, type, and distribution of abnormal data, and based on the analysis results, it can be evaluated whether the preset data monitoring threshold needs to be adjusted. If adjustment is required, a new data monitoring threshold is calculated according to the adjustment strategy (such as gradual adjustment, fixed adjustment ratio, etc.). The new data monitoring threshold is updated to the system configuration or database, and the relevant users are notified.

[0123] This embodiment flexibly performs data visualization according to user visualization instructions, presents road internal performance data in an intuitive manner, and facilitates users to monitor data change trends and patterns; by calculating the same- and month-on-month recommended values ​​of performance indicators based on the time range specified by the user, it can provide users with important references for performance evaluation and decision-making, and facilitate users to discover potential problems in a timely manner; in addition, this embodiment is also provided with a feedback mechanism to adjust the preset data monitoring thresholds according to abnormal monitoring results, continuously optimize the monitoring and data processing processes, and improve the accuracy and reliability of road monitoring.

[0124] In one embodiment, step S7 includes:

[0125] Step S71, setting a flexible warning value and a rigid warning value according to the same period last year threshold.

[0126] Specifically, the flexible warning value can be set within a smaller range before the year-on-year threshold, and is used to issue an early warning when the data approaches but does not exceed the safety threshold, so that operators can take timely measures. The rigid warning value generally corresponds to the year-on-year threshold, and is used to ensure that when serious abnormalities occur in the data, the operator's attention can be quickly attracted and corresponding emergency measures can be taken. Exemplarily, the flexible warning value can be set to 80% to 90% of the year-on-year threshold, while the rigid warning value can be directly set to the year-on-year threshold or slightly higher than the year-on-year threshold.

[0127] Step S72: When the road internal performance data reaches the flexible warning value, a first warning alarm is triggered.

[0128] Specifically, when the road internal performance data reaches or exceeds the flexible warning value, the first warning alarm is triggered. The first warning alarm may include a clear description of the warning type, location, potential impact, and recommended response measures. The alarm may be a sound prompt, a flashing interface, or an email or SMS notification to remind the operator.

[0129] Step S73: When the road internal performance data reaches a rigid warning value, a second warning alarm is triggered.

[0130] Specifically, when the internal road state data reaches or exceeds the rigid warning value, the second warning alarm is triggered immediately. Similarly, the second warning alarm can also include a clear description of the warning type, location, potential impact, and recommended response measures. This alarm is more urgent, so the operator can be informed by a high-decibel sound alarm, full-screen flashing, or emergency phone notification to ensure that the operator can quickly notice and take appropriate emergency measures. In addition, HBase can also store key alarm data, making it easier for external systems to obtain key alarm information and promote communication and collaboration across departments and teams.

[0131] This embodiment realizes accurate monitoring and early warning of the internal performance data of the road, specifically by setting flexible warning values ​​and rigid warning values ​​according to the same period last year and month-on-month thresholds, and triggering the first early warning alarm when the internal performance data of the road reaches the flexible warning value, thereby providing sufficient response time for the operator, and triggering the second early warning alarm when the internal performance data of the road reaches the rigid warning value, thereby ensuring that relevant personnel can take prompt action, thereby effectively improving the safety management efficiency and accuracy of road monitoring.

[0132] In one embodiment, step S8 includes:

[0133] Step S81, obtaining a user query instruction.

[0134] The user query instruction may include querying data of different time dimensions, such as real-time data, daily data, weekly data or monthly data. The user query instruction is obtained through an API interface.

[0135] Step S82, acquiring data stored in the distributed database HBase according to the user query instruction.

[0136] Specifically, the road internal state data, key alarm information or other relevant data stored in the distributed database HBase can be obtained according to the user query instruction.

[0137] Step S83, convert the data obtained in step S82 into JSON format and send it to the user.

[0138] Specifically, the data returned by the API interface uses the universal JSON format, which is suitable for network transmission and cross-platform use due to its lightweight and easy-to-parse characteristics.

[0139] This embodiment obtains data stored in HBase based on user query instructions and returns it to the user in JSON format, thereby meeting different query requirements of users and realizing data interaction.

[0140] In addition to the user being able to actively query in the above embodiment, the road monitoring method of this embodiment can also push indicator data in a daily dimension and subscribe to indicator data based on messages. In one embodiment, step S8 includes:

[0141] Step S84: Obtain user data subscription request.

[0142] The user data subscription request may include the user's identification information and the type of data and time range that the user wishes to subscribe to. Furthermore, in order to provide personalized data subscription services, the user data subscription request may also include the user's identity and authority information. When the user passes the verification and authorization successfully, the user's subscription preference is automatically recorded to facilitate subsequent data push.

[0143] Step S85: Send the road internal property data to the user based on the user data subscription request.

[0144] Based on the Kafka platform, the internal road state data is pushed to subscribed users. As a message queue and stream processing platform, Kafka allows data to be streamed and distributed according to user-defined subscription topics. Specifically, the internal road state data stored in HBase is first extracted and serialized in JSON format to ensure the consistency and efficiency of data exchange. Then, this data is sent to the corresponding topic in Kafka. Users who have subscribed to the topic can receive this data from Kafka in real time.

[0145] This embodiment ensures the real-time and availability of data through Kafka's subscription mechanism, allowing users to obtain the latest road internal state information at any time. In addition, Kafka's distributed architecture also improves the scalability and fault tolerance of the system, making data push more stable and reliable, and providing strong support for road monitoring.

[0146] In one embodiment, Figure 2 As shown, a road internal condition monitoring system based on big data is provided, including a data acquisition module, a data cleaning module, a distributed file system HDFS, a data warehouse HIVE, a distributed database HBase, a visualization monitoring module, an early warning module and a data interaction module.

[0147] The data acquisition module is used to obtain the internal performance data of the road and store the internal performance data of the road in a local log file. The internal performance data of the road may include stress, strain, temperature, humidity, etc. inside the road. Specifically, the data acquisition module can obtain the internal performance data of the road from sensors bonded or buried in key parts such as the road surface, roadbed or base, and perform preliminary verification and standardized definition on it.

[0148] The data cleaning module is used to clean the internal road performance data stored in the local log file and upload the cleaned data to the distributed file system HDFS. Specifically, the data cleaning module can read the internal road performance data in the local log file, clean the data to remove duplicate, abnormal or invalid data; then format the data to meet the storage requirements of the distributed file system HDFS; and then use the HDFS client to upload the data to the specified directory of HDFS. In particular, the data acquisition module and the data cleaning module can be integrated into the data acquisition server to better manage and process data.

[0149] HIVE is used to store data in the distributed file system HDFS according to the time dimension. Specifically, the ETL (Extract Transform Load) tool is used to import data from HDFS to HIVE and organize the data in tables of different time dimensions.

[0150] The distributed database HBase is used to store data imported from the data warehouse HIVE according to the preset Rowkey rules. Specifically, after completing the data ETL process in HIVE, formatted data of the time dimension is generated; then the data is exported to convert the formatted data of the time dimension into a format that HBase can recognize; then the data is imported, and the HBase batch import tool or HIVE-HBase integration function can be used to import data from HIVE to HBase; then the data is organized and the data is physically stored in HBase according to the preset Rowkey rules to ensure that the data in the same period is aggregated together.

[0151] The visualization monitoring module is used to perform data visualization monitoring using the ECharts tool. Specifically, the visualization monitoring module can obtain road internal performance data from HDFS or HBase, and then present the acquired data to the user in the form of charts (such as line charts, bar charts, pie charts, etc.). Furthermore, the visualization monitoring module can also use the original data stored in HDFS and the formatted data in the HIVE data warehouse for in-depth analysis to identify the patterns and trends of the disease, and then use the ECharts tool to present the extracted information about road diseases in the form of charts, intuitively displaying the severity of the disease, distribution range, change trend and other key information.

[0152] The early warning module is used to set the year-on-year threshold and to issue an early warning of the internal state of the road based on the year-on-year threshold. Specifically, when the year-on-year value of the data stored in HIVE or HBase exceeds the set year-on-year threshold, the early warning module triggers the early warning alarm of the internal state of the road. In addition, the early warning module can also give a recommended year-on-year value of the performance indicator based on a single performance indicator within a specific period of time, such as 120% of the highest value and 80% of the lowest value within a certain period, to assist users in performance evaluation and decision-making.

[0153] The data interaction module is used to interact with external systems through the API interface. Specifically, the data interaction module can define the specifications and data formats of the API interface to ensure that the external system can correctly call and parse the data.

[0154] The road internal property monitoring system based on big data of the present embodiment obtains the road internal property data through the data acquisition module, and stores the road internal property data in the local log file. The data cleaning module cleans the road internal property data stored in the local log file and uploads the cleaned data to the distributed file system HDFS. The data warehouse HIVE stores the data in the distributed file system HDFS according to the time dimension. The distributed database HBase stores the data imported from the data warehouse HIVE according to the preset Rowkey rule. The visualization monitoring module uses the ECharts tool to perform data visualization monitoring. The early warning module sets the same-month and month-on-month thresholds, and performs road internal property early warning based on the same-month and month-on-month thresholds. The data interaction module interacts with the external system through the API interface to realize the efficient collection, transmission, storage, visualization, early warning, data sharing and interaction of road internal property data, and provides reliable support and strong guarantee for road monitoring.

[0155] In order to facilitate understanding of the road monitoring method and system based on big data in the above embodiments, a more detailed specific embodiment is provided below for explanation.

[0156] This embodiment provides a method for monitoring the internal performance of roads based on big data, which aims to accurately evaluate the changes in the internal performance of roads by collecting various technical indicators inside the roads in real time, and provide scientific and efficient decision support for road operation and maintenance. This method is applied to the internal performance monitoring system of roads based on big data in the above embodiment for illustration. Figure 3 As shown, the specific steps include:

[0157] 1. Technical indicator collection: Bond or bury sensors in key locations such as the road surface, roadbed or base, and convert the road internal performance technical indicators collected by the sensors into JSON format data in minute dimensions to obtain the road internal performance data. After compressing the road internal performance data, send it to the data acquisition module through the 5G network or the wired network of the road test to achieve real-time data recording and transmission. The data acquisition module then reversely decompresses the road internal performance data, and then classifies the decompressed road internal performance data according to the performance technical indicators and time parameters, and performs error handling and log recording on the classified road internal performance data, and then stores it in the local log file to ensure the reliability of data storage and the convenience of subsequent analysis. This series of processes not only optimizes data management and use, but also provides a powerful database for road maintenance and performance evaluation.

[0158] Among them, the technical indicators of road internal properties may include stress, strain, soil stress, cracks (including cracking, transverse and longitudinal), deflection data, temperature and humidity of the road surface and structure. In addition, soil stress collection, crack monitoring, deflection location data collection and temperature and humidity monitoring technologies can also use soil pressure boxes and soil stress gauges, crack meters, drop hammer bending hammers and temperature and humidity sensors and other special instruments to provide in-depth data processing for road operation and maintenance. The data acquisition module parses and verifies the received data and sends it to the data cleaning module.

[0159] 2. Local log collection and data upload to HDFS: The data cleaning module cleans the internal road performance data stored in the local log file and uploads the cleaned data to the distributed file system HDFS.

[0160] 3. Data processing and storage in HIVE: Extract, transform, load data, and organize and store data in HIVE according to the dimensions of minutes, hours, and days. Specifically, it includes extracting key technical data collected by internal road components (such as sensors) from HDFS. These data are the basis for understanding the health status of roads. First, the original data is summarized according to a single technical indicator (such as $idx is the name of the collected technical indicator), recorded as ods_$idx_minute; then the data that deviates from the sample data range is eliminated, and the filtered data is stored in ods_$idx_minute_std; then the minute data is averaged and stored in the data table of the hour and day dimensions, respectively, ods_$idx_hour_std and ods_$idx_day_std. By using the partitioning function of HIVE, the query efficiency can be significantly improved. In addition, the quality of the above generated data is checked and monitored month-on-month. If it exceeds the range set by the same month-on-month comparison, an early warning is issued, and the relevant personnel are notified in time for further inspection and correction. Among them, the entire ETL process is automated, and the scheduling system such as Apache Oozie or Airflow is used to ensure accurate execution within the scheduled time. Finally, external systems can query and interact with data in HIVE through the API interface, which not only improves the availability of data but also provides strong support for road maintenance and performance evaluation.

[0161] 4. Import HBase: Monitor the quality of HIVE data and import it into HBase according to the time dimension. As a distributed big data storage system, HBase, based on HDFS, can provide random real-time read and write access to large data sets. The key point of this step is the RowKey rule design and data flow. In this embodiment, the Rowkey rule of the HBase column is set to: $idx_$time_$timestamp; where "$idx" represents different data technical indicators, "$time" represents the time period (minute / hour / day), and "$timestamp" is the number of milliseconds of the data collection time, and is rounded to the first second of the collection period.

[0162] Unlike HIVE, HBase data flow focuses on the efficiency of data access, the overall performance of the system, and the high availability of operations. First, data preparation is performed. After completing the data ETL process in HIVE, formatted data in the time dimension is generated; then, data export is performed to export and convert the data into a format that HBase can recognize; then, data import is performed, using HBase's batch import tool or Hive-HBase integration function to import data from HIVE to HBase; then data organization is performed, and data is physically stored in HBase according to the RowKey rule to ensure that data in the same cycle is aggregated together to improve retrieval efficiency; finally, in HBase, different tables are used to store different indicators to promote data isolation, allow targeted performance optimization, and have higher flexibility. This series of processes not only improves the efficiency of data storage, but also increases the availability of data, laying a solid foundation for data analysis, early warning, and interaction of the entire system.

[0163] 5. ECharts data visualization: ECharts is used to visualize data and display the operating rules of the internal performance indicators of the road. Specifically, users can select a specific time range and generate corresponding user visualization display instructions to send to the system. The system will retrieve the technical indicator data within the required time range from the HBase database and display the visualization curve of a single technical performance indicator. Users can also select two different indicators for correlation analysis, such as stress and temperature, and generate corresponding user visualization display instructions to send to the system. The system will extract the corresponding data from the HBase database and use ECharts to generate correlation charts of indicators to show the trend and correlation of indicators over time and observe their fluctuation patterns within a certain period. At the same time, the original data stored in HDFS and the formatted data in the HIVE data warehouse are used for in-depth analysis to identify the patterns and trends of diseases, and the extracted information is presented in the form of charts using visualization technology to help managers understand the internal conditions of the road more intuitively.

[0164] Furthermore, the system can also give recommended values ​​for the performance indicators based on the same period and month-on-month comparisons of a single performance indicator within a specific period, such as 120% of the highest value and 80% of the lowest value within a certain period, to assist users in performance evaluation and decision-making. At the same time, it can diagnose problems with indicator collection. In addition, while the system continues to receive and update data in real time, it can issue an abnormality alarm when the internal road performance data exceeds the predefined threshold. The system can efficiently use statistical analysis and machine learning techniques to identify abnormal data and make preliminary diagnoses, generate abnormality reports and remind relevant personnel to make further processing. In addition, the system is also designed with a feedback path that can continuously adjust predefined thresholds and system parameters based on the results of abnormal processing, so as to achieve the purpose of optimizing the monitoring and data processing process, and further ensure the accuracy and reliability of the system. With these functions, this stage provides a powerful data support platform for road management and maintenance.

[0165] 6. Setting the same-month and year-on-year thresholds: Set the same-month and year-on-year thresholds to observe and warn the internal performance indicators of the road, warn of internal road diseases, and provide auxiliary decision-making support for intelligent road maintenance. Specifically, according to the same-month and year-on-year recommended values ​​calculated in step 5, set the flexible warning value and rigid warning value in the future data collection process, where the flexible value (or range) indicates a yellow warning, which requires vigilance; the rigid value (or range) indicates a red warning, which requires on-site inspection of physical components to monitor, diagnose and troubleshoot actual problems. When the system detects that a flexible or rigid alarm is triggered, it will immediately notify the management personnel or maintenance team, and provide a clear description of the warning type, location, potential impact and recommended response measures.

[0166] In addition, HBase can also store key alarm data, support fast data access and sharing, and promote communication and collaboration across departments and teams. Through the API interface, external systems can also query alarm data, thereby achieving data interaction and integration, and improving the flexibility and scalability of the system. The system can continuously monitor road conditions and continuously optimize warning values ​​and warning system performance based on actual feedback and new data, thereby improving road maintenance efficiency and response speed.

[0167] 7. Data query and push through API interface: First, the API interface is defined as http, allowing external systems to use standard network requests to query (H1) and receive road internal state data stored in HBase. These queries can be targeted at different time dimensions, such as real-time data, daily data, weekly data, or monthly data, to meet the needs of different users. The data returned by the API interface uses the universal JSON format, which is suitable for network transmission and cross-platform use due to its lightweight and easy-to-parse characteristics.

[0168] In addition to active queries, the system also supports daily indicator data push and message-based indicator data subscription (H2). This means that the system can automatically transmit the current day's internal road performance data to the requested external system every day without the need for the external system to frequently initiate query requests. To achieve this function, the system uses Kafka information push, an open source stream processing platform that can be used to push and subscribe to internal road performance data. The data in Kafka is also serialized in JSON format to maintain consistency and efficiency in data exchange. With Kafka, the intelligent road system can provide real-time or regularly updated data, and subscribers can selectively subscribe to specific data streams as needed. This data push mechanism can not only improve data processing efficiency, but also significantly improve the real-time and availability of data.

[0169] The big data-based road monitoring method and system in this embodiment first collects key technical indicators using pre-buried components inside the road, and uploads the data to the data acquisition module, and then uses HDFS to store a large amount of raw data; then, through offline data processing, formatted data in the time dimension is generated and stored in the HIVE data warehouse. At the same time, the system automatically analyzes the abnormal state inside the road and uses visualization technology to intuitively display these analysis results; in addition, the offline processed storage and data in HIVE are imported into HBase to support efficient data sharing and communication. In order to further enhance the interactivity of the system, a set of API interfaces are designed to realize query and interaction with external systems, thereby supporting the entire process from physical data collection to early warning and data interaction, and improving the reliability and efficiency of road monitoring.

[0170] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0171] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A road internal state monitoring method based on big data, characterized in that: The method comprises: Step S1, obtaining road internal performance data; Step S2, storing the road internal performance data in a local log file; Step S3, cleaning the road internal performance data stored in the local log file, and uploading the cleaned data to the distributed file system HDFS; Step S4, storing the data in the distributed file system HDFS into the data warehouse HIVE according to the time dimension; Step S5, importing the data in the data warehouse HIVE into the distributed database HBase, and storing the data according to the preset Rowkey rule; Step S6, using ECharts tool to perform data visualization monitoring; Step S7, setting a year-on-year threshold, and performing a road internal state warning based on the year-on-year threshold; Step S8: data interaction with external systems through API interfaces.

2. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The step S1 comprises: Step S11, obtaining technical indicators of road internal properties; Step S12, collecting the road internal performance technical indicators according to the minute-level time dimension, and converting the road internal performance technical indicators into JSON format to obtain the road internal performance data; Step S13, compressing the road internal property data.

3. The road internal state monitoring method based on big data according to claim 2 is characterized in that: The step S2 comprises: Step S21, decompressing the road internal property data; Step S22, classifying the decompressed road internal performance data according to preset performance indicators and time parameters; Step S23, error processing and log recording are performed on the classified road internal behavior data, and the processed road internal behavior data is stored in a local log file.

4. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The data warehouse HIVE includes a minute-level data table ods_idx_minute_std, an hour-level data table ods_idx_hour_std and a day-level data table ods_idx_day_std; the step S4 includes: Step S41, extracting key technical data from the distributed file system HDFS; Step S42, summarizing the original data of the key technical data according to a single technical indicator to obtain a minute-level data set ods_idx_minute; Step S43, cleaning the minute-level data set ods_idx_minute, and storing the cleaned data in the minute-level data table ods_idx_minute_std according to the dimension of minutes; Step S44, performing average processing on the data in the minute-level data set ods_idx_minute, and storing the processed data in the hour-level data table ods_idx_hour_std according to the hour dimension, and storing the data in the day-level data table ods_idx_day_std according to the day dimension.

5. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The preset Rowkey rule is $idx_$time_$timestamp, where $idx represents different data indicators, $time represents the time period, and $timestamp represents the data collection time.

6. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The step S6 comprises: Step S61, obtaining a user visualization display instruction and a preset data monitoring threshold; Step S62, performing data visualization based on the user visualization instruction; Step S63, calculating the recommended value of the year-on-year threshold according to the user visualization display instruction; Step S64, performing abnormal monitoring on the road internal performance data according to the preset data monitoring threshold; Step S65: adjusting the preset data monitoring threshold according to the abnormal monitoring result.

7. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The step S7 comprises: Step S71, setting a flexible warning value and a rigid warning value according to the same period last year threshold; Step S72, when the road internal state data reaches the flexible warning value, triggering a first warning alarm; Step S73: When the road internal performance data reaches the rigid warning value, a second warning alarm is triggered.

8. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The step S8 comprises: Step S81, obtaining a user query instruction; Step S82, acquiring data stored in the distributed database HBase according to the user query instruction; Step S83, convert the data obtained in step S82 into JSON format and send it to the user.

9. The road internal state monitoring method based on big data according to claim 1 is characterized in that: The step S8 comprises: Step S84, obtaining a user data subscription request; Step S85: sending the road internal property data to the user based on the user data subscription request.

10. A road internal state monitoring system based on big data, characterized in that: It includes data collection module, data cleaning module, distributed file system HDFS, data warehouse HIVE, distributed database HBase, visual monitoring module, early warning module and data interaction module; The data acquisition module is used to obtain road internal performance data and store the road internal performance data in a local log file; The data cleaning module is used to clean the road internal performance data stored in the local log file and upload the cleaned data to the distributed file system HDFS; The data warehouse HIVE is used to store data in the distributed file system HDFS according to the time dimension; The distributed database HBase is used to store the data imported from the data warehouse HIVE according to a preset Rowkey rule; The visualization monitoring module is used to perform data visualization monitoring using the ECharts tool; The warning module is used to set a year-on-year threshold and to perform a road internal state warning based on the year-on-year threshold; The data interaction module is used to interact with external systems through an API interface.

Citation Information

Patent Citations

  • Highway infrastructure data processing method and device

    CN117668136A

  • Threshold self-adapting method and device, electronic equipment and readable medium

    CN107026771A

  • Road performance intelligent monitoring system based on remote control

    CN113593212A

  • Log receiving and processing method and device, electronic equipment and storage medium

    CN113806158A

  • Data storage method and device, storage medium and electronic equipment

    CN115994144A