A data collection method and system based on 5G network
By performing the same-region classification and representative data calculation of sensor data, adjusting the acquisition frequency and phased acquisition, combined with the fast characteristics of the 5G network, the rapid response and accurate diagnosis of fault signals are achieved, and the real-time and cost of data acquisition terminals are solved. High problem.
Patent Information
- Application Number
- CN202410256522.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-03-06
AI Technical Summary
Under 5G network technology, when data acquisition terminals need to transmit data in real time, it will lead to high traffic costs, and timed collection cannot detect regional problems in time, affecting the real-time monitoring.
By classifying sensor data in the same area at the data acquisition end, representative data are calculated, collection frequency is adjusted for real-time monitoring, and phased collection is carried out when data fluctuations are performed, and 5G networks are used to quickly detect faults to achieve rapid response to fault signals. and precise positioning.
It minimizes the cost of 5G network traffic, improves the accuracy and efficiency of fault diagnosis, and reduces the false alarm rate and missed alarm rate.
Smart Images

Figure CN117939426B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data acquisition technology, and in particular to a data acquisition method and system based on a 5G network. Background Art
[0002] The Internet of Things technology, computer network communication technology, and Internet technology are developing very rapidly, enabling real-time health monitoring of different areas;
[0003] At present, health monitoring of different areas can generally be achieved with the help of 5G network technology. However, in the actual monitoring process, the data collection terminal and the collection site are required to have high real-time performance. If the data collected by the sensor are transmitted in real time, the 5G network speed will generate huge traffic costs during the data transmission process. However, if the data is collected at regular intervals, the real-time performance of the data is low, and regional problems cannot be discovered immediately. Therefore, a data collection method and system based on 5G network is proposed. Summary of the invention
[0004] The purpose of the present invention is to provide a data collection method and system based on a 5G network to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, one of the objectives of the present invention is to provide a data collection method based on a 5G network, comprising the following steps:
[0006] S1, access the data collection terminal based on the 5G network, obtain the data sources of different sensors, and classify the data uploaded by the sensors into the same area according to the data sources;
[0007] S2. Perform frequency analysis on the data classified in S1, and calculate separately the data with the most frequent fluctuations when each data in the same area fluctuates, and summarize the data, taking the data with the most frequent fluctuations as the representative data in the area;
[0008] S3, adjust the collection frequency at the data collection end, monitor the representative data obtained by S2 in real time, send it to S4 when fluctuation occurs, intercept the interval time of data fluctuation in the same area in the near future for weighted average calculation, and use the comprehensive interval time obtained by calculation as the time difference for periodic collection of other data in the same area, and send it to S5 when fluctuation occurs;
[0009] S4 receives a fluctuation signal in the representative data sent by S3, and then controls the data collection end to use the 5G network to quickly collect all other data in the area and perform fault detection, obtains the data source based on the fault data, and then reports the location of the sensor;
[0010] S5 receives fluctuation signals from other data sent by S3 and monitors the signal receiving status of S4. When fluctuation signals are detected in representative data of different areas, the sensor position where the data is obtained is reported, and the sensor area correction is sent to S1 at the same time.
[0011] As a further improvement of the present technical solution, S1 signs a data exchange agreement with the data acquisition terminal, and the data transmitted to the data acquisition terminal through the 5G network will be acquired by S1.
[0012] As a further improvement of the technical solution, the step of S1 is as follows:
[0013] S1.1. Based on the data obtained from the data collection end, each data collection IP is obtained through the 5G network as the data source of the data, and sensors with similar data sources are classified into the same area, so as to classify the data uploaded by the sensor into the same area.
[0014] As a further improvement of the technical solution, the steps of S2 are as follows:
[0015] S2.1. Obtain historical data fluctuation records at the data collection end, and calculate other data that are affected by the fluctuations when calculating each data fluctuation using the historical data fluctuation data, so as to obtain the impact range of each data fluctuation;
[0016] S2.2. Obtain the impact range of the fluctuation according to S2.1, perform frequency calculations on all data in the same area, count the number of occurrences of the data within the impact range of the fluctuation, and take the data with the largest number of occurrences as the data most frequently affected by the associated fluctuation in the area, and then use this data as the representative data of the area.
[0017] As a further improvement of the technical solution, the formula of S2 is as follows:
[0018]
[0019] Among them, D i represents a specific data point in the data set, where i is the index of the data point, and C(D i ) represents D i Representative data points in the region, F(D i ) represents a function, which is used to define the data point D i Related data sets, N(D j ) indicates that in F(D i ), representing the set of data points in D i The data points in the neighborhood of , argmax represents the input parameter that takes the maximum value of the function, which means that in the set F(D i ) to find the value such that N(Dj ) The largest D j Value, at a given data point D i In the case of i ) selects the data point D that appears most times within its fluctuation influence range. j As a representative data point C(D i ).
[0020] As a further improvement of the technical solution, the steps of S3 are as follows:
[0021] S3.1, at the data collection end, controls the collection frequency based on the 5G network, and then monitors the real-time collection of the representative data obtained by S2.2. When the representative data fluctuates, a representative data fluctuation signal is sent to S4, and data other than the representative data is collected periodically;
[0022] S3.2. Set a data validity period according to user needs, and intercept the data fluctuation time node of each area according to the data validity period, and sort each fluctuation time node according to time, and then calculate the interval time between adjacent fluctuation time nodes, and perform weighted average of all interval times to obtain a comprehensive interval time of the average value, and then send the comprehensive interval time of each area to S3.1 as the interval time of each stage in the staged collection.
[0023] As a further improvement of the technical solution, after the position of the faulty sensor is reported, S4 collects all data in the area in real time until the faulty sensor returns to normal.
[0024] As a further improvement of the technical solution, the step of S5 is as follows:
[0025] S5.1, receiving other data sent by S3 with fluctuation signals, and at the same time, S4 has a higher priority than S5 in controlling the data acquisition end. When S4 shows that a signal is received, and the signal source and other data with fluctuation signals are in the same area, S4 is the main control, and the fluctuation signals of other data received this time are shelved;
[0026] S5.2, when it is displayed that S4 does not receive a signal, report the location of the sensor where the data fluctuates;
[0027] S5.3. When S4 shows that a signal is received, the signal source and other data fluctuate and the signal is in a different area, the sensor location where the data is obtained is reported, and the sensor area correction is sent to S1 to change the sensor's belonging area.
[0028] The second object of the present invention is to provide a data collection system based on a 5G network, including any one of the above-mentioned data collection methods based on a 5G network, including a data collection unit, a fluctuation monitoring unit and a position reporting unit;
[0029] The data acquisition unit is used to classify the data uploaded by the sensor by region, and then perform frequency analysis to calculate the most frequently appearing data as representative data in the data of the region;
[0030] The fluctuation monitoring unit is used to adjust the collection frequency at the data collection end, monitor the representative data in real time and collect other data periodically, and send it to the position reporting unit when fluctuation occurs;
[0031] The position reporting unit is used to receive the signal sent by the fluctuation monitoring unit to report the position of the sensor.
[0032] Compared with the prior art, the invention has the following beneficial effects: by dividing different areas to set representative data, and performing real-time monitoring of the representative data and periodic collection of other data, the cost of 5G network traffic can be reduced to the greatest extent, and at the same time, by utilizing the fast and efficient characteristics of the 5G network, when the representative data fluctuates, the area is detected, thereby achieving a rapid response to the fault signal, and at the same time helping to accurately locate the fault source and accurately diagnose the cause of the fault. This can reduce the false alarm rate and missed alarm rate, and improve the accuracy and efficiency of fault diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is the overall flow chart of the present invention;
[0034] Figure 2 A flowchart of the present invention for obtaining representative data of a region;
[0035] Figure 3 A flowchart of obtaining the interval time of each stage in the phased collection of the present invention;
[0036] Figure 4 A flowchart of the sensor position reporting process of the present invention;
[0037] Figure 5 It is the overall structural principle diagram of the present invention.
[0038] The meaning of each number in the figure is:
[0039] 10. Data collection unit; 20. Fluctuation monitoring unit; 30. Position reporting unit. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] like Figure 1-Figure 5 As shown, one of the purposes of the present invention is to provide a data collection method based on a 5G network, comprising the following steps:
[0042] S1, access the data collection terminal based on the 5G network, obtain the data sources of different sensors, and classify the data uploaded by the sensors into the same area according to the data sources;
[0043] S1 signs a data exchange agreement with the data collection end, and the data transmitted to the data collection end through the 5G network will be acquired by S1. The working steps are as follows:
[0044] Formulate a data exchange agreement: First, the data provider and the data collector need to jointly formulate a data exchange agreement; the agreement should include the data transmission format, communication protocol, security measures, etc.
[0045] Data collection end setup: The data collection end needs to configure the system that receives the data; this may involve setting up servers, databases or other data storage devices, as well as ensuring that the system can parse and process the data transmitted over the 5G network;
[0046] Data transmission: The data provider transmits the data to the data collection end through the 5G network; this may involve the use of specialized software or applications for data transmission;
[0047] Data reception and processing: After the data acquisition end receives the data, it needs to be processed and parsed; this may include verifying the integrity of the data, converting the data format to adapt to the local storage system, and storing the data.
[0048] The steps of S1 are as follows:
[0049] S1.1. Based on the data obtained from the data collection end, each data collection IP is obtained through the 5G network as the data source of the data, and sensors with similar data sources are classified into the same area, so as to classify the data uploaded by the sensor into the same area. The working steps are as follows:
[0050] Extract data source information: Extract the data collection IP address corresponding to each data point from the acquired data, which can be used as an identifier of the data source;
[0051] Calculate the distance between sensors: Use the data acquisition IP address as the identifier of the data source to calculate the distance between sensors;
[0052] Same-region classification: divide sensors into different regions or clusters based on their distances; this can be achieved using clustering algorithms such as K-means clustering, hierarchical clustering, etc.
[0053] Classify the data: Classify the corresponding data according to the region or cluster to which the sensor belongs; this can be achieved by associating the data to its corresponding region or cluster, as follows:
[0054]
[0055] Among them, ((x2,y1) and (x2,y2) represent the geographic coordinates of sensors sensor1 and sensor2 respectively; then the distance can be used to perform clustering operations to group sensors with close distances into the same area or cluster.
[0056] S2. Perform frequency analysis on the data classified in S1, and calculate separately the data with the most frequent fluctuations when each data in the same area fluctuates, and summarize the data, taking the data with the most frequent fluctuations as the representative data in the area;
[0057] The steps of S2 are as follows:
[0058] S2.1. Obtain historical data fluctuation records at the data collection end, and calculate other data that are affected by the fluctuations when calculating each data fluctuation in the historical data fluctuation data, so as to obtain the impact range of each data fluctuation; the working steps are as follows:
[0059] Acquisition of historical data fluctuation records: Acquisition of historical data fluctuation records from the data collection end, ensuring that the records contain information about the changes in each data point over time;
[0060] Calculate the correlation between data: Use correlation analysis such as correlation coefficient, covariance, etc. to calculate the degree of association between each pair of data; this can be used to measure whether the fluctuation of one data will cause fluctuations in other data;
[0061] Determine the scope of influence: set a threshold. When the correlation exceeds this threshold, it is considered that there is a significant correlation between the two data. This threshold is set by the user.
[0062] Construct a data influence graph: Based on the correlation calculation results, construct a data influence graph, where nodes represent data points and edges represent the associations between data; this can be a graph structure in graph theory;
[0063] Analyzing the scope of influence: By analyzing the data influence graph, the scope of influence of each data point can be identified; this can be achieved by finding all nodes connected to a specific node.
[0064] S2.2. Obtain the impact range of the fluctuation according to S2.1, perform frequency calculations on all data in the same area, count the number of occurrences of the data within the impact range of the fluctuation, and take the data with the most statistical occurrences as the data most frequently affected by the associated fluctuation in the area, and then take this data as the representative data of the area. The formula is as follows:
[0065]
[0066] Among them, D i represents a specific data point in the data set, where i is the index of the data point, and C(D i ) represents D i Representative data points in the region, F(D i ) represents a function, which is used to define the data point D i Related data sets, N(D j ) indicates that in F(D i ), representing the set of data points in D i The data points in the neighborhood of , argmax represents the input parameter that takes the maximum value of the function, which means that in the set F(D i ) to find the value such that N(D j ) The largest D j Value, at a given data point D i In the case of i ) selects the data point D that appears most times within its fluctuation influence range. j As a representative data point C(D i ).
[0067] S3, adjust the collection frequency at the data collection end, monitor the representative data obtained by S2 in real time, send it to S4 when fluctuation occurs, intercept the interval time of data fluctuation in the same area in the near future for weighted average calculation, and use the comprehensive interval time obtained by calculation as the time difference for periodic collection of other data in the same area, and send it to S5 when fluctuation occurs;
[0068] The steps for S3 are as follows:
[0069] S3.1, at the data collection end, control the collection frequency based on the 5G network, and then monitor the real-time collection of the representative data obtained by S2.2. When the representative data fluctuates, send a representative data fluctuation signal to S4, and collect data other than the representative data in stages; the working steps are as follows:
[0070] Controlling the acquisition frequency: Controlling the acquisition frequency through the 5G network at the data acquisition end; this can be done by communicating with the sensor and sending commands to change the frequency of data acquisition;
[0071] Real-time data monitoring: Real-time monitoring of representative data obtained by S2.2; this may involve setting thresholds or models to detect whether the data fluctuates;
[0072] Fluctuation detection: Use appropriate fluctuation detection algorithms or models to detect fluctuations in representative data; this can be based on statistical methods, machine learning models, or rule engines, etc.
[0073] Send fluctuation signal: When the representative data is monitored to fluctuate, send a signal to the S4 module; this can be sent through network communication protocols such as MQTT, HTTP, etc.
[0074] Periodic collection of other data: After receiving the fluctuation signal, periodic collection of other data besides the representative data is performed; this can be done by increasing the collection frequency or selecting specific data sources for collection.
[0075] S3.2, set a data validity period according to user needs, and intercept the data fluctuation time node of each region according to the data validity period, and sort each fluctuation time node according to time, and then calculate the interval time between adjacent fluctuation time nodes, and perform weighted average of all interval times to obtain a comprehensive interval time of the average value, and then send the comprehensive interval time of each region to S3.1 as the interval time of each stage in the staged collection. The working steps are as follows:
[0076] Set the data validity period: First, set the data validity period according to user needs; this may involve defining a start time and an end time, or defining a time window within which data is considered valid data;
[0077] Intercept the time node of data fluctuation in each region: During the effective period, monitor the fluctuation of data in each region and record the time node when the fluctuation occurs; this can be achieved using the corresponding fluctuation detection algorithm or model;
[0078] Fluctuation time node sorting: sort the fluctuation time nodes of each area by time to facilitate the subsequent calculation of interval time;
[0079] Calculate the interval time between adjacent fluctuation time nodes: For each region, calculate the interval time between adjacent fluctuation time nodes; this can be simply achieved by the time difference between adjacent time nodes;
[0080] Weighted average calculation of the overall interval time: the interval time of all areas is weighted averaged to obtain an overall average interval time; this can be weighted according to the importance of each area or other factors;
[0081] Send integrated interval time to S3.1: Send the integrated interval time of each zone to the S3.1 module; this can be achieved through the network communication protocol.
[0082] S4 receives a fluctuation signal in the representative data sent by S3, and then controls the data collection end to use the 5G network to quickly collect all other data in the area and perform fault detection, obtain the data source based on the fault data, and then report the location of the sensor. After the location of the faulty sensor is reported, all data in the area are collected in real time until the faulty sensor returns to normal. The working steps are as follows:
[0083] Detection of representative data fluctuation signals: Real-time monitoring of the received representative data to detect whether there are fluctuation signals;
[0084] The control data collection end uses the 5G network for rapid data collection: Once a fluctuation signal is detected, the control data collection end quickly collects other data in the area through the 5G network; this may involve the function of remotely controlling the data collection equipment;
[0085] Perform fault detection: Perform fault detection on the collected data to find the cause of the fluctuation; this may include using fault detection algorithms or models, or comparing with previously collected representative data;
[0086] Obtain the source of the fault data: Once a fault is detected, determine the source of the fault data, i.e. the sensor or device where the fluctuation occurred; this can be done through a unique identifier or other metadata that identifies the data source;
[0087] Report the location of the faulty sensor: Report the location information of the faulty sensor to a designated location service or management system; this ensures the accurate location of the faulty sensor;
[0088] Real-time data collection of the entire area: After the location of the faulty sensor is reported, real-time data collection of the entire area is carried out to ensure timely acquisition of accurate environmental information;
[0089] Continuous monitoring until the sensor returns to normal: Continuously monitor the faulty sensor until it returns to normal; once the sensor is functioning normally, real-time data collection can be slowed down or stopped.
[0090] S5 receives fluctuation signals from other data sent by S3 and monitors the signal receiving status of S4. When fluctuation signals are detected in representative data of different areas, the sensor position where the data is obtained is reported, and the sensor area correction is sent to S1 at the same time.
[0091] The steps of S5 are as follows:
[0092] S5.1, receiving other data sent by S3 with fluctuation signals, and at the same time, S4 has a higher priority than S5 in controlling the data acquisition end. When S4 shows that a signal is received, and the signal source and other data with fluctuation signals are in the same area, S4 is the main control, and the fluctuation signals of other data received this time are shelved;
[0093] S5.2, when it is displayed that S4 does not receive a signal, report the location of the sensor where the data fluctuates;
[0094] S5.3. When S4 shows that a signal is received, the signal source and other data fluctuate and the signal is in a different area, the sensor location where the data is obtained is reported, and the sensor area correction is sent to S1 to change the sensor's belonging area.
[0095] The second object of the present invention is to provide a data collection system based on a 5G network, including any one of the above-mentioned data collection methods based on a 5G network, including a data collection unit 10, a fluctuation monitoring unit 20 and a position reporting unit 30;
[0096] The data collection unit 10 is used to classify the data uploaded by the sensor by region, and then perform frequency analysis to calculate the most frequently appearing data as representative data in the data of the region;
[0097] The fluctuation monitoring unit 20 is used to adjust the collection frequency at the data collection end, monitor the representative data in real time and collect other data periodically, and send it to the position reporting unit 30 when fluctuation occurs;
[0098] The position reporting unit 30 is used to receive the signal sent by the fluctuation monitoring unit 20 to report the position of the sensor.
[0099] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A data collection method based on 5G network, characterized in that: The steps include: S1, access the data collection terminal based on the 5G network, obtain the data sources of different sensors, and classify the data uploaded by the sensors into the same area according to the data sources; S2. Perform frequency analysis on the data classified in S1, calculate separately the other data that are affected by the fluctuation when each data in the same area fluctuates, summarize the data, and take the data with the most occurrences as the representative data in the area; S3, adjust the collection frequency at the data collection end, monitor the representative data obtained by S2 in real time, send it to S4 when fluctuation occurs, intercept the interval time of data fluctuation in the same area for weighted average calculation, and use the comprehensive interval time obtained by calculation as the time difference for periodic collection of other data in the same area, and send it to S5 when fluctuation occurs; S4 receives a fluctuation signal in the representative data sent by S3, and then controls the data collection end to use the 5G network to collect all other data in the area and perform fault detection, obtains the data source according to the fault data, and then reports the location of the sensor; S5, receiving other data sent by S3 with fluctuation signals, and monitoring the signal status of S4. When fluctuation signals are detected in representative data of different areas, the sensor position with data fluctuation is reported, and the sensor area correction is sent to S1; The steps of S1 are as follows: S1.
1. Extract the data acquisition IP address corresponding to each data point from the acquired data as an identifier of the data source; use the data acquisition IP address as the identifier of the data source to calculate the distance between sensors; divide the sensors into different areas or clusters according to the distance between them, thereby classifying the data uploaded by the sensors; The steps of S2 are as follows: S2.
1. Obtain historical data fluctuation records at the data collection end, and calculate other data that are affected by each data fluctuation based on the historical data fluctuation records, so as to obtain the impact range of each data fluctuation; S2.
2. Obtain the impact range of the fluctuation according to S2.1, perform frequency calculation on all data in the same area, count the number of occurrences of the data within the impact range of the fluctuation, and take the data with the most occurrences as the data most frequently affected by the associated fluctuation in the area, and then take this data as the representative data of the area; The steps of S3 are as follows: S3.1, at the data collection end, controls the collection frequency based on the 5G network, and then monitors the real-time collection of the representative data obtained by S2.
2. When the representative data fluctuates, a representative data fluctuation signal is sent to S4, and data other than the representative data is collected periodically; S3.
2. Set a data validity period according to user needs, and intercept the data fluctuation time node of each area according to the data validity period, and sort each fluctuation time node according to time, and then calculate the interval time between adjacent fluctuation time nodes, and perform weighted average of all interval times to obtain a comprehensive interval time of the average value, and then send the comprehensive interval time of each area to S3.1 as the interval time of each stage in the staged collection.
2. A 5G network-based data collection method according to claim 1, characterized in that: The S1 signs a data exchange agreement with the data collection end, and the data transmitted to the data collection end through the 5G network will be acquired by S1.
3. The data collection method based on 5G network according to claim 1, characterized in that: The formula of S2 is as follows: ; in, represents a specific data point in the data set, where i is the index of the data point, represent Representative data points for the region, Represents a function that is used to define and compare data points Related datasets, Indicated in The set of data points in , represents The data points in the region, argmax represents the input parameter for the function to take the maximum value, which means that in the set Find the The largest Value, at a given data point In the case of Select the data point that appears most frequently within the range of its fluctuation influence As a representative data point .
4. The data collection method based on 5G network according to claim 1, characterized in that: After the position of the faulty sensor is reported, S4 collects all data in the area in real time until the faulty sensor returns to normal.
5. The data collection method based on 5G network according to claim 1 is characterized in that: The steps of S5 are as follows: S5.1, receiving other data sent by S3 with fluctuation signals, and at the same time, S4 has a higher priority than S5 in controlling the data acquisition end. When S4 shows that a signal is received, and the signal source and other data with fluctuation signals are in the same area, S4 is the main control, and the fluctuation signals of other data received this time are shelved; S5.2, when it is displayed that S4 does not receive a signal, report the location of the sensor where the data fluctuates; S5.
3. When S4 shows that a signal is received, the signal source and other data fluctuate and the signals are from different areas, the location of the sensor with data fluctuation will be reported, and the sensor area correction will be sent to S1 to change the sensor's belonging area.
