A network connection method for Internet of Things monitoring data, a network connection box and a storage medium thereof

By adopting the grid-connected method of IoT monitoring data in the smart grid, adjusting the output signal frequency and content through data preprocessing and feedback signal mechanisms, the problem of poor reliability of monitoring data transmission in the grid-connected box is solved, and more efficient and reliable is achieved data transmission.

CN118677923BActive Publication Date: 2024-12-06XINCHI ELECTRIC GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410812823.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-22
Publication Date
2024-12-06
Estimated Expiration
2044-06-22

AI Technical Summary

Technical Problem

The real-time, accuracy and transmission efficiency of grid-connected box monitoring data in smart grids are not high, and the data transmission reliability is poor in environments with poor signal.

Method used

Using the Internet of Things monitoring data grid-connected method, key information is obtained through data preprocessing, stored and deleted after receiving feedback signals, adjust the frequency and content of the output signal to improve the transmission success rate, and integrate and compress data in a temporary database. To save space.

Benefits of technology

It reduces the probability of data loss caused by failure in data transmission and full storage, improves the reliability and efficiency of data transmission, and adapts to signal fluctuations and storage space changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677923B_ABST
    Figure CN118677923B_ABST
Patent Text Reader

Abstract

The present application relates to the field of grid-connected boxes, and in particular to a grid-connected method for Internet of Things monitoring data, a grid-connected box and a storage medium thereof, which comprises acquiring collected data; determining key information through the collected data and a preset preprocessing threshold; storing the key information in a temporary database; acquiring time data; determining an output signal through the key information and the time data, and outputting the output signal; determining a feedback signal through the time data in the output signal; and if the feedback signal is received, deleting the key information corresponding to the time data in the temporary database. The present application has the effect of improving the reliability of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of grid-connected boxes, and in particular to a grid-connected method for Internet of Things monitoring data, a grid-connected box and a storage medium thereof. Background Art

[0002] With the advancement of digitalization, the construction of smart grids is becoming more and more perfect. In the smart grid system, the Internet of Things technology is used to monitor the grid-connected boxes in real time, realize the efficient collection, transmission and processing of data, and improve the intelligent level of grid operation. With the rapid development of smart grids, the grid-connected boxes are an important part of the power grid system, and the acquisition and processing of monitoring data are particularly important. At present, although some grid-connected boxes have data monitoring functions, the real-time and accuracy of monitoring data still need to be improved, and the efficiency of data grid processing is not high. At the same time, because the power grid is often laid in mountainous areas with poor signals, the reliability of data transmission is poor. Summary of the invention

[0003] In order to improve the problem of poor transmission reliability of grid-connected monitoring data, the present application provides a grid-connected method for Internet of Things monitoring data, a grid-connected box and a storage medium thereof.

[0004] This application provides a method for connecting Internet of Things monitoring data to the network, which adopts the following technical solutions:

[0005] A method for connecting to a network for monitoring data of an Internet of Things, comprising:

[0006] Get collected data;

[0007] Determining key information through the collected data and a preset preprocessing threshold;

[0008] Storing the key information in a temporary database;

[0009] Get time data;

[0010] Determine an output signal by using the key information and the time data, and output the output signal;

[0011] determining a feedback signal according to the time data in the output signal;

[0012] If the feedback signal is received, the key information corresponding to the time data in the temporary database is deleted.

[0013] By adopting the above technical solution, the collected data is preprocessed to obtain key information, and then the key information is stored. After receiving the feedback signal, it means that the transmission is successful, and then the stored key information is deleted to save storage space. If it is not sent successfully, it is temporarily stored. Then, when sending next time, the last key information that was not sent successfully is combined with the current key information and the corresponding time data to form an output signal and then output, which reduces the probability of data loss after transmission failure and improves the reliability of data transmission.

[0014] Optionally, if the feedback signal is not received, the method further comprising:

[0015] Acquire the unfeedback time data and acquire the historical data, wherein the historical data includes the historical average time data;

[0016] Determine and output an output signal through preset frequency data and the key information in the temporary database;

[0017] When the non-feedback time data is within the range of the historical average time data and the non-feedback time data exceeds the range of a preset first time threshold, determining new frequency data by using the frequency data and preset adjustment data;

[0018] When the non-feedback time data exceeds the range of the historical non-feedback time data, new frequency data is determined by comparing the frequency data with a preset emergency frequency.

[0019] By adopting the above technical solution, the output frequency of the output signal is adjusted according to different situations. When the normal signal is poor, the sending frequency of the output signal is reduced to reduce energy consumption. When the signal is beyond the scope of normal poor signal, the sending frequency is increased to enable the data to be sent out in the first time, thereby increasing the chance of successfully connecting by seizing accidental signals.

[0020] Optional, including:

[0021] When the non-feedback time data exceeds a range of a preset first time threshold, the feedback signal is received, and historical non-feedback time data is determined through the non-feedback time data;

[0022] The historical data includes the historical non-feedback time data;

[0023] The historical average time data is determined by using the historical non-feedback time data and a preset recent statistical algorithm.

[0024] By adopting the above technical solution, the standard of non-feedback time data is adjusted in real time according to the past historical average time data. For example, with the optimization of the smart grid, the signal becomes more and more stable, the time of signal transmission failure becomes shorter and shorter, and the non-feedback time data becomes lower and lower. The historical average time data is automatically adjusted to achieve automatic adaptation, which is convenient and fast.

[0025] Optionally, the recent statistical algorithm includes:

[0026] Determine the fluctuation average data by selecting the historical non-feedback time data and the allowable fluctuation threshold;

[0027] The historical non-feedback time data exceeding the range of the fluctuation average data are deleted from the selected historical non-feedback time data, and the deletion quantity is determined by the fluctuation average data and the historical non-feedback time data;

[0028] The adjacent historical non-feedback time data is reselected according to the deletion quantity.

[0029] By adopting the above technical solution, the factors of accidental fluctuations are eliminated, making the historical average time data more accurate.

[0030] Optional, including:

[0031] Determine storage information occupancy data by using the stored key information;

[0032] Determine the remaining storage space data by using the storage information occupancy data and a preset database capacity threshold;

[0033] Determine critical frequency data by using the remaining storage space data and a preset warning threshold;

[0034] The new frequency data is determined by using the critical frequency data and the frequency data.

[0035] By adopting the above technical solution, when the temporary database stores enough data, the frequency of sending the output signal is increased to ensure that the data can be deleted after being sent out in the first time, and the data can be sent out when the accidental signal is successfully connected, thereby reducing the probability of missing the opportunity due to failure to send the signal when the signal is occasionally successfully connected, and reducing the probability of data loss due to the temporary database being full of stored data, thereby further improving data reliability.

[0036] Optional, including:

[0037] Determine similar data through the continuous key information and a preset similarity threshold;

[0038] Determine the compression space data by comparing the remaining storage space data with a preset limit threshold;

[0039] Determine similar average data by using the compressed space data, the similar data, and a preset replacement occupied space threshold;

[0040] A plurality of the similar data are replaced by the similar average data.

[0041] By adopting the above technical solution, when there is too much data in the temporary database, similar key information and time data are integrated and compressed to free up storage space for new key information, thereby further improving data reliability.

[0042] The present application provides a network-connected box for Internet of Things monitoring data, which adopts the following technical solutions:

[0043] A network-connected box for monitoring data of the Internet of Things, comprising:

[0044] A data acquisition module, used for real-time data acquisition of the grid-connected box to obtain the acquired data;

[0045] A data processing module receives the collected data, performs data preprocessing and analysis on the collected data, and obtains the key information;

[0046] The remote monitoring center receives the key information, displays it to the user for monitoring, and outputs control signals;

[0047] An execution module receives the key information and the control signal and performs corresponding control on the grid-connected box;

[0048] The data backup module receives and stores the key information. After the remote monitoring center successfully receives the key information, it outputs the corresponding feedback signal to the data backup module, and the data backup module deletes the corresponding key information.

[0049] By adopting the above technical solution, the collected data is pre-processed through the data processing module, firstly normal data is removed to reduce the space occupied by data storage, and the key information of failed transmission is stored through the data backup module for the next transmission, thereby improving the reliability of data transmission.

[0050] The present application provides a computer-readable storage medium, which adopts the following technical solution:

[0051] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes a method for connecting to a network for monitoring data of the Internet of Things.

[0052] By adopting the above technical solution, the computer program is stored in a computer-readable storage medium.

[0053] In summary, the present application includes at least one of the following beneficial technical effects:

[0054] 1. Reduce the probability of data loss after failure in sending and improve the reliability of data transmission.

[0055] 2. Reduce the probability of data loss caused by full storage of data in the temporary database, and further improve data reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a flow chart of a method for connecting to the Internet of Things monitoring data in an embodiment of the present application.

[0057] Figure 2 is a flow chart of step S2.

[0058] Figure 3 It is a flowchart of step S3.

[0059] Figure 4 It is a flowchart of step S4.

[0060] Figure 5 It is a flowchart diagram of step S5.

[0061] Figure 6 It is a module schematic diagram of a grid-connected box for Internet of Things monitoring data in an embodiment of the present application.

[0062] Explanation of the accompanying drawings: 1. Data acquisition module; 2. Data processing module; 3. Remote monitoring center; 4. Execution module; 5. Data backup module. DETAILED DESCRIPTION

[0063] The following is combined with Figure 1-6 This application is described in further detail.

[0064] The present application embodiment discloses a method for connecting to the Internet of Things monitoring data. Figure 1 ,The method of connecting to the Internet of Things monitoring data to the grid includes the following steps:

[0065] S1. Obtaining collected data;

[0066] S11, determining key information by collecting data and a preset preprocessing threshold;

[0067] S12, storing key information in a temporary database;

[0068] S13, obtaining time data;

[0069] S14, determining an output signal through key information and time data, and outputting the output signal;

[0070] S15, determining a feedback signal according to the time data in the output signal;

[0071] S16: If a feedback signal is received, delete the key information corresponding to the time data in the temporary database.

[0072] Detailed: The collected data is various electrical data of the grid-connected box, such as voltage, current, power, etc. The preprocessing threshold is the data threshold that needs to be alerted. For example, the rated voltage is 220V, and the preprocessing threshold is set to 220±10V. If the collected voltage exceeds the interval range of [210,230], it is marked as critical information. If it is within the interval range, the output indicates normal without marking to save data storage space. Then, the critical information is backed up in a temporary database first, and the time data at this time is packaged together with the critical information to form an output signal output. For example, the critical information is 230V and the time data is January 2020. 00:00 on January 1, an output signal (230V, 00:00 on January 1, 2020) is formed. When the receiving end successfully receives the output signal, it will output a feedback signal for feedback. The feedback signal contains the corresponding time data. For example, when the output signal (230V, 00:00 on January 1, 2020) is received, the feedback signal formed will contain the time data 00:00 on January 1, 2020, to indicate that this feedback signal corresponds to this output signal, and the key information in this output signal is received. If the corresponding feedback signal is successfully received, it means that the corresponding key information is successfully transmitted, and the corresponding key information in the temporary database is deleted.

[0073] Reference Figure 2 , further comprising the following steps:

[0074] S2. If no feedback signal is received, obtain the non-feedback time data and obtain the historical data, the historical data including the historical average time data;

[0075] S21, determining an output signal through preset frequency data and key information in a temporary database and outputting the signal;

[0076] S22, when the non-feedback time data is within the range of the historical average time data and the non-feedback time data exceeds the range of the preset first time threshold, determining new frequency data by using the frequency data and the preset adjustment data;

[0077] S23. When the non-feedback time data exceeds the range of the historical non-feedback time data, new frequency data is determined by comparing the frequency data with a preset emergency frequency.

[0078] Detailed: From the time the output signal is sent, the timing starts to obtain the non-feedback time data. If a feedback signal is received, the corresponding non-feedback time data is reset or deleted. For example, after the output signal with the time data of 00:00 on January 1, 2020 is sent, the No. 1 non-feedback time data starts timing, and then after the output signal with the time data of 00:01 on January 1, 2020 is sent, the No. 1 non-feedback time data is 1min, and the No. 2 non-feedback time data starts timing. After the output signal with the time data of 00:02 on January 1, 2020 is sent, the No. 1 non-feedback time data is 2min, the No. 2 non-feedback time data is 1min, and the No. 3 non-feedback time data starts timing. If a feedback signal including 00:00 on January 1, 2020 is received at this time, the No. 1 non-feedback time data is recorded first, and then the No. 1 non-feedback time data is reset as the No. 3 non-feedback time data or deleted. The frequency data is the frequency of sending the output signal; The historical average time data is the average data of the recent non-feedback time data. For example, the recent non-feedback time data in history are sorted by time as 1min, 2min, 1min, 3min, and 4min. The historical average time data is first obtained as (1+2+1+3+4) / 5=2.2. If the non-feedback time data is 2min at this time, and the first time threshold is set to 1min, then 1<2<2.2, which means that the non-feedback time data at this time is based on past experience. Although there is no response, it is still within the normal range, that is, within the normal range of poor signal. Suppose the frequency data is 0.1min / time, and the adjustment data is 0.1min / time, then the new frequency data is calculated to be 0.1+0.1=0.2min / time. If the non-feedback time data is 3min>2.2, it means that an abnormality has occurred. Suppose the emergency frequency is -0.1min / time, then the new frequency data is calculated to be 0.2-0.1=0.1min / time.

[0079] Reference Figure 3 , further comprising the following steps:

[0080] S3, when the non-feedback time data exceeds the range of the preset first time threshold, a feedback signal is received, and historical non-feedback time data is determined through the non-feedback time data;

[0081] S31. Historical data includes historical unfeedback time data;

[0082] S32, determining the fluctuation average data by using the selected historical non-feedback time data and the allowable fluctuation threshold;

[0083] S33, deleting the historical non-feedback time data that exceeds the range of the fluctuation average data from the selected historical non-feedback time data, and determining the deletion quantity by the fluctuation average data and the historical non-feedback time data;

[0084] S34, reselect adjacent historical non-feedback time data by deleting the quantity, and repeat step S32;

[0085] S35. Determine the historical average time data by selecting the historical non-feedback time data.

[0086] Detailed: For example, if the first time threshold is 1min, if the corresponding feedback signal is received when the non-feedback time data is 2min, then the non-feedback time data is recorded as the historical non-feedback time data, and then the non-feedback time data is reset; if the historical non-feedback time data are sorted by time as 1min, 2min, 1min, 3min, 4min, 1min, and 2min, if five historical non-feedback time data are taken for calculation, the obtained fluctuation average data is (1+2+1+3+4) / 5=2.2, and the allowed fluctuation threshold is 1 , then 3<2.2+1<4, at this time the number of deletions is 1, so remove 4 minutes, and then take a recent non-feedback time data again, and calculate the fluctuation average data as (1+2+1+3+1) / 5=1.6, 1.6+1<3, and the number of deletions is 1, delete 3 minutes again, take a recent non-feedback time data again, and recalculate the fluctuation average data as (1+2+1+1+2) / 5=1.4, 1.4+1>2, so the historical average time data calculated through these five historical non-feedback time data is 1.4.

[0087] Reference Figure 4 , further comprising the following steps:

[0088] S4. Determine the storage information occupancy data through the stored key information;

[0089] S41, determining remaining storage space data by using storage information occupancy data and a preset database capacity threshold;

[0090] S42, determining critical frequency data by using the remaining storage space data and a preset warning threshold;

[0091] S43. Determine new frequency data using the critical frequency data and the frequency data.

[0092] Detailed: The storage information occupancy data is the capacity of the key information already stored in the temporary database. If the storage information occupancy data is 10MB, and the database capacity threshold is set to 16MB, that is, the temporary database uses a 16MB memory card or other hardware with storage function, the remaining storage space data is calculated to be 16-10=6MB. The warning threshold is set to 8MB>6MB, indicating that the remaining storage capacity is too small, and the critical frequency data is output. If the critical frequency data is 5s, the frequency data is directly reset to 5s / time to speed up the output frequency to ensure that the key information can be sent out as soon as possible, and then the data in the temporary database is deleted to reduce the probability of data loss due to full storage.

[0093] Reference Figure 5 , further comprising the following steps:

[0094] S5. Determine similar data through continuous key information and preset similarity thresholds;

[0095] S51, determining the compression space data by comparing the remaining storage space data with a preset limit threshold;

[0096] S52, determining similar average data by compressing the space data, similar data, and a preset replacement occupied space threshold;

[0097] S53, replacing multiple similar data with similar average data.

[0098] In detail: Assume that the similarity threshold is ±10V, and the key information is sorted in order of time data as 220V, 219V, 221V, 222V, and 220V. The time data corresponding to these five key information are 00:00 on January 1, 2020, 00:01 on January 1, 2020, 00:02 on January 1, 2020, 00:03 on January 1, 2020, and 00:04 on January 1, 2020. The difference between each adjacent key information is within the range of the similarity threshold, that is, less than 1. 0V, and the difference between any two of the five key information is also within the range of the similarity threshold, then the five are determined to be similar data, and similar data is obtained. At this time, the similar average data includes five time data and one key information average data. The key information average data is (220+219+221+222+220) / 5=220.4. For example, the similar average data can be (00:00 on January 1, 2020, 00:01 on January 1, 2020, 00:02 on January 1, 2020, 00:03 on January 1, 2020, 00:04 on January 1, 2020, 220.4), thereby reducing four key information; assuming that the limit threshold is 2MB, that is, when the remaining storage space data is less than 2MB, the data is compressed, that is, the original time data and key information are replaced by similar average data. If the remaining storage space data is 1.5MB, the compressed space data is calculated to be 2-1.5=0.5MB, indicating that 0.5MB of storage space needs to be freed up by compression; and the five key information and five time data are compressed into five time data and one key information. The ratio of the compressed data to the data before compression is the replacement space occupation threshold. If the five key information and five time data occupy 128 bytes, if the five time data and one key information only occupy 64 bytes, the replacement space occupation threshold is 50%. The calculation shows how much data needs to be compressed, 0.5 / 50%=1MB, then 1MB of key information that meets the requirements is selected, and then the compression is calculated to be replaced by similar average data, or multiple segments of key information are replaced by multiple similar average data.

[0099] The present application embodiment discloses a network-connected box for Internet of Things monitoring data. Figure 6 The Internet of Things monitoring data grid-connected box includes a data acquisition module 1, a data processing module 2, a remote monitoring center 3, an execution module 4, and a data backup module 5. In this embodiment, the data acquisition module 1 can be a device with various acquisition functions, such as a temperature sensor, a voltmeter, an ammeter, an electric energy meter, etc. The data acquisition module 1 is used to perform real-time acquisition of various data of various electrical equipment in the grid-connected box, and output the acquired data to the data processing module 2.

[0100] Reference Figure 6The data processing module 2 includes a processor and a database. The database includes a temporary database for storing various threshold data such as key information, historical average time data, adjustment data, emergency frequency, recent statistical algorithm, allowable fluctuation threshold, database capacity threshold, warning threshold, similarity threshold, limit threshold, replacement of occupied space threshold, etc. The processor is used to receive the collected data, and call the corresponding threshold data from the database for calculation and extraction to obtain key information, and output the key information to the data backup module 5 and the remote monitoring center 3. The remote monitoring center 3 is a terminal device used by users, such as a server, computer, mobile phone and other terminal devices, which need to realize information interaction through remote data transmission. The data backup module 5 is the local storage hardware. The processor may include a central processing unit such as a CPU or MPU or a host system built with a CPU or MPU as the core, including hardware or software. After the meter has a processor, people can freely control the metering instrument by programming so that it can run according to people's wishes. The processor can control local quantity transmission, remote quantity transmission, remote communication, etc. through internal protocols. Internal protocols refer to all protocols that realize mutual communication or linking within the same measuring instrument or the same system, including: human-computer interaction protocol, software / hardware (interface) protocol, chip bus (C-Bus) protocol, internal bus (I-Bus) protocol, etc. With the development of integrated circuit technology, some protocols that belong to external bus (E-Bus) protocols are also classified as internal protocols after the external bus (E-Bus) is integrated into the chip.

[0101] Reference Figure 6 After receiving the key information, the remote monitoring center 3 is used to display it to the user for viewing, and at the same time outputs a feedback signal to the data backup module 5. When the data backup module 5 receives the feedback signal, the key information and time data corresponding to the feedback signal are deleted from the data backup module 5. The user can also control the remote monitoring center 3 to output a control signal to the execution module 4, which is also an operating mechanism including a motor, and the execution module 4 is used to control the opening and closing of the electrical equipment in the grid-connected box.

[0102] The present application embodiment discloses a computer-readable storage medium. Figure 1 The computer-readable storage medium stores a computer program that can be loaded by a processor and executed by a method for connecting to the Internet of Things monitoring data.

[0103] Computer-readable storage media include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0104] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for connecting to the Internet of Things monitoring data, characterized in that: include: Get collected data; Determining key information through the collected data and a preset preprocessing threshold; Storing the key information in a temporary database; Get time data; Determine an output signal by using the key information and the time data, and output the output signal; determining a feedback signal according to the time data in the output signal; If the feedback signal is received, deleting the key information corresponding to the time data in the temporary database; If the feedback signal is not received, comprising: Acquire the unfeedback time data and acquire the historical data, wherein the historical data includes the historical average time data; Determine and output an output signal through preset frequency data and the key information in the temporary database; When the non-feedback time data is within the range of the historical average time data and the non-feedback time data exceeds the range of a preset first time threshold, determining new frequency data by using the frequency data and preset adjustment data; When the non-feedback time data exceeds the range of the historical non-feedback time data, new frequency data is determined by using the frequency data and a preset emergency frequency; When the non-feedback time data exceeds a range of a preset first time threshold, the feedback signal is received, and historical non-feedback time data is determined through the non-feedback time data; The historical data includes the historical non-feedback time data; Determine the historical average time data by using the historical non-feedback time data and a preset recent statistical algorithm; The recent statistical algorithm includes: Determine the fluctuation average data by selecting the historical non-feedback time data and the allowable fluctuation threshold; The historical non-feedback time data exceeding the range of the fluctuation average data are deleted from the selected historical non-feedback time data, and the deletion quantity is determined by the fluctuation average data and the historical non-feedback time data; The adjacent historical non-feedback time data is reselected according to the deletion quantity.

2. The method for connecting to the Internet of Things monitoring data according to claim 1, characterized in that: include: Determine storage information occupancy data by using the stored key information; Determine the remaining storage space data by using the storage information occupancy data and a preset database capacity threshold; Determine critical frequency data by using the remaining storage space data and a preset warning threshold; The new frequency data is determined by using the critical frequency data and the frequency data.

3. The method for connecting to the Internet of Things monitoring data according to claim 2, characterized in that: include: Determine similar data through the continuous key information and a preset similarity threshold; Determine the compression space data by comparing the remaining storage space data with a preset limit threshold; Determine similar average data by using the compressed space data, the similar data, and a preset replacement occupied space threshold; A plurality of the similar data are replaced by the similar average data.

4. A network-connected box for Internet of Things monitoring data, according to the network-connected method for Internet of Things monitoring data according to claim 1, characterized in that: include: A data collection module (1) is used to collect data from the grid-connected box in real time to obtain the collected data; A data processing module (2) receives the collected data, performs data preprocessing and analysis on the collected data, and obtains the key information; A remote monitoring center (3) receives the key information, displays it to the user for monitoring, and outputs a control signal; An execution module (4) receives the key information and the control signal and performs corresponding control on the grid-connected box; The data backup module (5) receives and stores the key information. After the remote monitoring center (3) successfully receives the key information, it outputs the corresponding feedback signal to the data backup module (5). The data backup module (5) deletes the corresponding key information.

5. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method for connecting to the Internet of Things monitoring data as claimed in any one of claims 1 to 3.