Concentrator plug-and-play data acquisition method and system based on general protocol

Through the concentrator plug-and-play data acquisition method and system based on the general protocol, the problem of limited flexibility and scalability of the data acquisition system in the prior art is solved, and efficient and accurate data acquisition and transmission are achieved, reducing the Cost and maintenance difficulty.

CN119484662AActive Publication Date: 2025-02-18CHINA POWER HUARUI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510039086.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-02-18
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

Existing data acquisition systems face the problems of limited flexibility and scalability when processing data from different devices, and require tedious configuration and debugging, and the data processing is complex and costly.

Method used

Using a concentrator plug-and-play data acquisition method and system based on a common protocol, data packet packaging and protocol conversion are carried out through data feature extraction and protocol classification, a centralized processing link is established for equipment, and data transmission health coefficient is calculated for abnormal judgment and Protocol update.

Benefits of technology

It improves the efficiency and accuracy of data acquisition, reduces redundancy and errors in data transmission, reduces costs, enhances the scalability and flexibility of the system, and simplifies maintenance work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484662A_ABST
    Figure CN119484662A_ABST
Patent Text Reader

Abstract

The invention provides a concentrator plug-and-play data collection method and system based on a general protocol, and relates to the technical field of data processing, and the method comprises the steps: obtaining equipment collection data, carrying out data feature extraction, determining a data general protocol and an equipment general protocol, carrying out data grouping and packaging, and obtaining equipment information of the same protocol and data of the same protocol; the method comprises the following steps of: comparing the number of two types of universal protocols of equipment and data, converting the universal protocols according to a comparison result, establishing an equipment centralized processing link, acquiring protocol information of data acquisition equipment, calling a processing protocol, performing protocol matching, transmitting the data acquired by the equipment, and obtaining channel transmission data; according to the method, the data transmission quality is monitored in real time, and the communication protocol can be dynamically adjusted according to the data state, so that the stability and the reliability of data acquisition and transmission are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention proposes a concentrator plug-and-play data acquisition method and system based on a universal protocol, and relates to the technical field of data processing, in particular to the technical field of concentrator plug-and-play data acquisition based on a universal protocol. Background Art

[0002] In modern data acquisition and transmission systems, concentrators play a vital role. They are responsible for collecting data from multiple data acquisition devices and transmitting it to a central processing unit or data management system. However, with the increase in the types of data acquisition devices and the diversification of communication protocols, concentrators face many challenges in processing data from different devices. Traditional data acquisition methods usually rely on specific hardware interfaces and communication protocols, which limits the flexibility and scalability of data acquisition systems. When new data acquisition devices are introduced into the system, they often need to be tediously configured and debugged to ensure that they can communicate normally with the concentrator. In addition, different devices may use different data formats and communication protocols, which further increases the complexity and cost of data processing. When a large number of acquisition devices and acquired data need to be processed centrally, the existing technology has low processing efficiency and it is difficult to perform protocol conversion efficiently. Summary of the invention

[0003] The present invention provides a plug-and-play data acquisition method and system for a concentrator based on a universal protocol to solve the above problems: The present invention proposes a plug-and-play data collection method and system for a concentrator based on a universal protocol, the method comprising: S1. Obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine data general protocol and device general protocol, obtain protocol classification data group and protocol classification device group; S2. Pack data into groups, obtain information about devices with the same protocol and data with the same protocol, compare the number of common protocols of two types of devices and data, convert the common protocols according to the comparison results, and obtain converted data; S3. Establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, retrieve the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; S4. Calculate the data transmission health coefficient, make a data anomaly determination based on the data transmission health coefficient, and update the protocol based on the determination result.

[0004] Further, the S1 includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determining a data general protocol of a data acquisition device according to the characteristic data collected by the device; Determining a device general protocol of a data acquisition device based on a data acquisition device that acquires characteristic data of the device; Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

[0005] Further, the S2 includes: Pack the data acquisition device information of each protocol classification device group to obtain the device information with the same protocol; Pack the device collection feature data of each protocol classification data group into data packages to obtain data with the same protocol; Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

[0006] Further, the S3 includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

[0007] Further, the S4 includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

[0008] Furthermore, the system comprises: The protocol classification module is used to obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine the data general protocol and device general protocol, and obtain protocol classification data groups and protocol classification device groups; The protocol judgment conversion module is used to perform data grouping and packaging, obtain the same-protocol device information and the same-protocol data, compare the number of common protocols of the two types of devices and data, convert the common protocols according to the comparison results, and obtain the converted data; The protocol transmission module is used to establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, call the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; The data health monitoring module is used to calculate the data transmission health coefficient, make data anomaly determinations based on the data transmission health coefficient, and update the protocol based on the determination results.

[0009] Furthermore, the protocol classification module includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determining a data general protocol of a data acquisition device according to the characteristic data collected by the device; Determining a device general protocol of a data acquisition device based on a data acquisition device that acquires characteristic data of the device; Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

[0010] Furthermore, the protocol judgment conversion module includes: Pack the data acquisition device information of each protocol classification device group to obtain the device information with the same protocol; Pack the device collection feature data of each protocol classification data group into data packages to obtain data with the same protocol; Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

[0011] Furthermore, the protocol transmission module includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

[0012] Furthermore, the data health monitoring module includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

[0013] Beneficial effects of the present invention: Through feature extraction and protocol classification, unnecessary data processing steps are reduced, and the efficiency and accuracy of data collection are improved. Through protocol conversion and the establishment of centralized processing links, redundancy and errors in data transmission are reduced, and the cost of data transmission is reduced. Through the calculation of the data transmission health coefficient and the judgment of abnormalities, problems in data transmission can be discovered and solved in a timely manner, and the stability of data transmission is enhanced. This method is based on a universal protocol and can support the access of multiple devices and data, thereby improving the scalability and flexibility of the system. Through protocol updates and maintenance of centralized processing links, the maintenance work of the system is simplified and the maintenance cost is reduced. The concentrator plug-and-play data acquisition method and system based on the universal protocol improves the efficiency and stability of data acquisition, transmission and processing through a series of technical means, and reduces the cost and maintenance difficulty of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The diagram is a schematic diagram of a plug-and-play data collection method for a concentrator based on a universal protocol. DETAILED DESCRIPTION

[0015] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0016] In one embodiment of the present invention, a plug-and-play data collection method and system for a concentrator based on a universal protocol is provided, and the method comprises: S1. Obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine data general protocol and device general protocol, obtain protocol classification data group and protocol classification device group; S2. Pack data into groups, obtain information about devices with the same protocol and data with the same protocol, compare the number of common protocols of two types of devices and data, convert the common protocols according to the comparison results, and obtain converted data; S3. Establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, retrieve the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; S4. Calculate the data transmission health coefficient, determine data anomaly based on the data transmission health coefficient, and update the protocol based on the determination result, such as Figure 1 described.

[0017] The working principle of the above technical solution is as follows: the data acquisition device first obtains data from different devices. Feature extraction is performed on these data to identify key data features. The common protocol of the data (such as Modbus, OPCUA, etc.) and the common protocol of the device are determined to classify the data and devices of the same protocol separately. The classified data and devices form a protocol classification data group and a protocol classification device group for unified processing. The data and devices with the same protocol are grouped and packaged, which can reduce the complexity and resource consumption in the processing of data and device information. The number of common protocols of the same protocol device information and the same protocol data is compared to find the classification (data or device) with less protocol complexity. According to the comparison results, the necessary conversion of the protocol is performed to ensure that the data can be correctly transmitted and understood between different devices. A device centralized processing link is established, which will serve as a channel for data transmission between the acquisition device and the concentrator. The protocol information of the data acquisition device is obtained to ensure that the concentrator can correctly identify and process data from different devices. The corresponding processing protocol is retrieved and the protocol is matched to ensure that the data will not be lost or erroneous during the transmission process due to protocol mismatch.

[0018] The transmission device collects data and obtains channel transmission data, which is the final output of data from the collection device to the concentrator. The data transmission health coefficient is calculated, which reflects the stability and reliability of data transmission. Anomalies are determined based on the data transmission health coefficient. If the coefficient is lower than the preset threshold, it is considered that there is a problem with data transmission. Based on the judgment result, the protocol is updated or adjusted to improve the stability and efficiency of data transmission.

[0019] The technical effects of the above technical scheme are as follows: through feature extraction and protocol classification, unnecessary data processing steps are reduced, and the efficiency and accuracy of data collection are improved. Through protocol conversion and the establishment of centralized processing links, redundancy and errors in data transmission are reduced, and the cost of data transmission is reduced. Through the calculation of the data transmission health coefficient and abnormality judgment, problems in data transmission can be discovered and solved in a timely manner, and the stability of data transmission is enhanced. This method is based on a general protocol and can support the access of multiple devices and data, thereby improving the scalability and flexibility of the system. Through protocol updates and maintenance of centralized processing links, the maintenance work of the system is simplified and the maintenance cost is reduced. The concentrator plug-and-play data acquisition method and system based on the general protocol improves the efficiency and stability of data acquisition, transmission and processing through a series of technical means, and reduces the cost and maintenance difficulty of the system.

[0020] In one embodiment of the present invention, the S1 includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determine the data general protocol of the data acquisition device based on the characteristic data collected by the device (according to preset rules); Determine the device general protocol of the data acquisition device according to the data acquisition device for acquiring characteristic data of the device (according to a preset rule); Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

[0021] The working principle of the above technical solution is: obtain the specific needs of data collection, including data type, collection frequency, accuracy requirements, etc. According to these needs, select or configure the corresponding data collection equipment. These devices include sensors, instruments, intelligent devices, etc., which can directly obtain the required raw data. Use the selected data collection equipment to obtain raw data from the environment, which may contain noise, redundant information, etc. Preprocess the raw data, including data cleaning, format conversion, denoising and other steps to obtain more accurate and reliable equipment collection data. Feature extraction is performed on the preprocessed equipment collection data, the purpose is to extract key information or features from a large amount of data, these features can represent the essence or change trend of the data. According to the extracted feature data, the data general protocol of the data collection device is determined according to the preset rules. This method classifies the general protocols of data and equipment respectively, facilitates the acquisition of equipment and data of the same protocol, facilitates the batch transmission and processing of a large amount of data or equipment with the same protocol, etc., improves the efficiency of data protocol processing, and is more intelligent and automated. The data general protocol refers to the general format or standard used in the transmission, storage and processing of data. According to the data collection device to which the feature data belongs, the device general protocol of the device is determined. The device general protocol refers to the communication protocol or data format followed by the device when communicating with other devices or systems. Obtain the preset data general protocol type, classify the determined data general protocol, and group the device collection feature data according to the protocol type to form multiple protocol classification data groups. Obtain the preset device general protocol type, classify the determined device general protocol, and group the data collection devices according to the protocol type to form multiple protocol classification device groups.

[0022] The technical effect of the above technical scheme is: the method classifies the common protocols of data and equipment respectively, facilitates the acquisition of equipment and data of the same protocol, facilitates the batch transmission and processing of a large amount of data or equipment with the same protocol, etc., improves the efficiency of data protocol processing, and is more intelligent and automated. By clarifying the acquisition requirements and selecting appropriate acquisition equipment, the required data can be acquired more quickly and accurately. The preprocessing step can reduce the redundancy and noise of the data and improve the quality of the data. By determining the common protocol for data and the common protocol for equipment, the data between different devices can be transmitted and processed according to a unified standard, which enhances the versatility and interoperability of the data. Seamless integration and sharing of data are achieved, and the difficulty and cost of data integration and processing are reduced. Grouping data according to protocol type helps the classification management and storage of data, and improves the efficiency and convenience of data protocol management. This grouping method also facilitates data protocol transmission, allowing analysts to locate the required data set more quickly. The data acquisition method based on the common protocol can support a variety of different types of data acquisition equipment and data formats, and improves the scalability and flexibility of the system. The system can easily add new acquisition equipment or data types without a lot of modification or reconstruction of the system. This method can realize efficient and accurate data collection and processing, and improve the scalability and flexibility of the system.

[0023] In one embodiment of the present invention, S2 includes: Pack the data acquisition device information of each protocol classification device group to obtain the same-protocol device information (including the same-protocol devices formed by a single data acquisition device); Pack the device collection feature data of each protocol classification data group to obtain same-protocol data (including same-protocol data formed by the collection feature data of a single device); Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

[0024] The working principle of the above technical solution is: for each protocol classification device group, the data acquisition device information inside it is packaged and processed to form the same-protocol device information. This information includes but is not limited to device ID, device type, device location, etc., and this information all follows the same device general protocol. For each protocol classification data group, the device acquisition feature data inside it is packaged and processed to form the same-protocol data. These data are processed according to the same data general protocol, so they have similar data structures and formats. The number of device general protocols of the same-protocol device information is compared with the data general protocol of the same-protocol data. Find out the type with the least complex number of protocols, such as equipment or data, and perform protocol conversion from one side to the other, so as to facilitate the large-scale unified processing of the same protocol. When the number of device general protocols of the same-protocol device information is less than the data general protocol of the same-protocol data, it means that the number of data protocols is more complex than the number of device protocols. At this time, it is necessary to convert the data general protocol of these data into the device general protocol of the corresponding data acquisition device to ensure the consistency and processability of the data. On the contrary, when the number of data general protocols of the same-protocol data is less than the device general protocol of the same-protocol device, it means that the number of device protocols is more complex than the number of data protocols. At this time, it is necessary to convert the device universal protocols of these devices into the data universal protocols of the corresponding device collection feature data to ensure smooth communication and data transmission between devices. After protocol conversion, the converted same-protocol device information or same-protocol data is obtained. These data or information have been processed according to the unified protocol standard.

[0025] The technical effect of the above technical solution is: through protocol conversion, it is ensured that all data follows the same protocol standard, which improves the consistency and processability of data. This helps to reduce data errors and conflicts and improve the quality and reliability of data. Protocol conversion enables data between different devices to be transmitted and processed according to a unified protocol, enhancing the interoperability of devices. This can achieve seamless integration and collaborative work of devices and improve the overall performance and efficiency of the system. By classifying and packaging different devices and data according to the protocol, and then performing necessary protocol conversion, the difficulty and complexity of system integration are reduced. This enables the system to adapt to new devices and data types more quickly, and improves the scalability and flexibility of the system. After the protocol conversion, all data follows the same protocol standard, which can optimize data transmission and processing efficiency. For example, redundancy and errors in data transmission can be reduced, and the speed and accuracy of data transmission can be improved; at the same time, the data processing process can be simplified and the efficiency and accuracy of data processing can be improved.

[0026] In one embodiment of the present invention, S3 includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

[0027] The working principle of the above technical solution is: obtain preset plug-and-play information, which includes key parameters such as device type, communication protocol, data format, etc., to guide device access and data processing. Based on this information, the system sets plug-and-play nodes, which serve as interfaces between data acquisition devices and concentrators and are responsible for device access, data forwarding and processing. Data acquisition devices are connected to concentrators through plug-and-play nodes to form a device centralized processing link. This link is a channel for device data transmission and processing, ensuring that data can be efficiently and accurately transmitted from devices to concentrators.

[0028] Through the device centralized processing link, the system obtains one or more data acquisition transmission channels. These channels are the bridges for data transmission between the data acquisition device and the concentrator, and are responsible for transmitting the data collected by the device to the concentrator in real time for processing. The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel. This information includes the communication protocol and data format of the data. According to the acquired protocol information, the system calls the corresponding processing protocol. These processing protocols are preset by the system and are used to parse, convert and process data of different protocols. The acquired protocol information is matched with the called processing protocol to obtain protocol matching information. The above-mentioned protocol processing and matching can improve the processing efficiency of data collected by devices with different sources and different protocols; this information indicates which protocol the data should be processed and transmitted according to. According to the protocol matching information, the system transmits the data collected by the device. After the data undergoes necessary processing (such as format conversion, data cleaning, etc.), it is transmitted to the specified target location (such as database, analysis system, etc.) through the channel.

[0029] The technical effect of the above technical solution is: by presetting the plug-and-play information and the setting of plug-and-play nodes, the system can quickly identify and access new data acquisition equipment without manual configuration and debugging, which greatly improves the efficiency of equipment access. The system can support various types of data acquisition equipment and communication protocols. Through the expansion of plug-and-play nodes, new equipment and data types can be easily accessed, which enhances the scalability and flexibility of the system. Through the establishment of equipment centralized processing links and data acquisition transmission channels, the system can efficiently transmit and process data collected by the equipment, reduce data transmission delays and error rates, and improve data accuracy and reliability. Through the preset processing protocols and protocol matching mechanisms, the system can automatically identify and process data of different protocols, simplify the data processing process, and reduce the difficulty and cost of data processing. Through the optimization of the above workflow and the realization of technical effects, the overall performance of the system is improved, including equipment access speed, data transmission efficiency, data processing capabilities and other aspects.

[0030] In one embodiment of the present invention, the S4 includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; The calculation formula of the data transmission health coefficient is:

[0031] Among them, SJK is the data transmission health coefficient, n is the number of independent devices collecting characteristic data, A i The actual data collected by the data collection device for collecting feature data of the i-th device, B i The actual collected data in the concentrator after the characteristic data collected by the i-th device is converted and transmitted through the universal protocol; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

[0032] The working principle of the above technical solution is: calculate the data transmission health coefficient according to the channel transmission data, and compare the calculated data transmission health coefficient with the preset data health threshold. The threshold is used to determine whether the data transmission is in a healthy state.

[0033] If the data transmission health coefficient is higher than or equal to the threshold, the data transmission is considered healthy; if it is lower than the threshold, the data transmission is considered abnormal or has potential problems. Based on the results of the data health comparison, the system determines the data transmission and generates data anomaly determination information. This information will clearly indicate whether there is an abnormality in the data transmission, as well as the degree of the abnormality and possible causes. Based on the data anomaly determination information, the system updates the general protocol, including adjusting communication parameters, optimizing data transmission strategies, and repairing loopholes or errors in the protocol. The purpose of the update is to improve the quality and efficiency of data transmission and ensure that data can be accurately and reliably transmitted to the target location.

[0034] The technical effect of the above technical solution is: by calculating the data transmission health coefficient and comparing it with the preset threshold, the system can timely discover problems in data transmission, and take corresponding measures to repair and optimize, thereby improving the quality of data transmission. The introduction and monitoring of the data transmission health coefficient enables the system to continuously evaluate the status of data transmission, timely discover potential problems and handle them, thereby enhancing the stability and reliability of the system. The above formula can be used to calculate the data changes of the device collection data collected by all data acquisition devices before and after the protocol adjustment, and further derive the degree of influence of the protocol adjustment degree data. The greater the degree of influence, the greater the 1-degree of influence, and the smaller the health coefficient; the general protocol is updated according to the data anomaly judgment information, so that the protocol update is more accurate and efficient. This can reduce unnecessary protocol updates and debugging work, and improve the operating efficiency and performance of the system. Through the automated data transmission health monitoring and protocol update mechanism, the system can reduce manual intervention and maintenance costs, and improve the automation and intelligence level of the system. The improvement of data transmission quality and the enhancement of system stability will directly improve the user experience.

[0035] In one embodiment of the present invention, the system comprises: The protocol classification module is used to obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine the data general protocol and device general protocol, and obtain protocol classification data groups and protocol classification device groups; The protocol judgment conversion module is used to perform data grouping and packaging, obtain the same-protocol device information and the same-protocol data, compare the number of common protocols of the two types of devices and data, convert the common protocols according to the comparison results, and obtain the converted data; The protocol transmission module is used to establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, call the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; The data health monitoring module is used to calculate the data transmission health coefficient, make data anomaly determinations based on the data transmission health coefficient, and update the protocol based on the determination results.

[0036] The working principle of the above technical solution is as follows: the data acquisition device first obtains data from different devices. Feature extraction is performed on these data to identify key data features. The common protocol of the data (such as Modbus, OPCUA, etc.) and the common protocol of the device are determined to classify the data and devices of the same protocol separately. The classified data and devices form a protocol classification data group and a protocol classification device group for unified processing. The data and devices with the same protocol are grouped and packaged, which can reduce the complexity and resource consumption in the processing of data and device information. The number of common protocols of the same protocol device information and the same protocol data is compared to find the classification (data or device) with less protocol complexity. According to the comparison results, the necessary conversion of the protocol is performed to ensure that the data can be correctly transmitted and understood between different devices. A device centralized processing link is established, which will serve as a channel for data transmission between the acquisition device and the concentrator. The protocol information of the data acquisition device is obtained to ensure that the concentrator can correctly identify and process data from different devices. The corresponding processing protocol is retrieved and the protocol is matched to ensure that the data will not be lost or erroneous during the transmission process due to protocol mismatch.

[0037] The transmission device collects data and obtains channel transmission data, which is the final output of data from the collection device to the concentrator. The data transmission health coefficient is calculated, which reflects the stability and reliability of data transmission. Anomalies are determined based on the data transmission health coefficient. If the coefficient is lower than the preset threshold, it is considered that there is a problem with data transmission. Based on the judgment result, the protocol is updated or adjusted to improve the stability and efficiency of data transmission.

[0038] The technical effects of the above technical scheme are as follows: through feature extraction and protocol classification, unnecessary data processing steps are reduced, and the efficiency and accuracy of data collection are improved. Through protocol conversion and the establishment of centralized processing links, redundancy and errors in data transmission are reduced, and the cost of data transmission is reduced. Through the calculation of the data transmission health coefficient and abnormality judgment, problems in data transmission can be discovered and solved in a timely manner, and the stability of data transmission is enhanced. This method is based on a general protocol and can support the access of multiple devices and data, thereby improving the scalability and flexibility of the system. Through protocol updates and maintenance of centralized processing links, the maintenance work of the system is simplified and the maintenance cost is reduced. The concentrator plug-and-play data acquisition method and system based on the general protocol improves the efficiency and stability of data acquisition, transmission and processing through a series of technical means, and reduces the cost and maintenance difficulty of the system.

[0039] In one embodiment of the present invention, the protocol classification module includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determine the data general protocol of the data acquisition device based on the characteristic data collected by the device (according to preset rules); Determine the device general protocol of the data acquisition device according to the data acquisition device for acquiring characteristic data of the device (according to a preset rule); Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

[0040] The working principle of the above technical solution is: obtain the specific needs of data collection, including data type, collection frequency, accuracy requirements, etc. According to these needs, select or configure the corresponding data collection equipment. These devices include sensors, instruments, intelligent devices, etc., which can directly obtain the required raw data. Use the selected data collection equipment to obtain raw data from the environment, which may contain noise, redundant information, etc. Preprocess the raw data, including data cleaning, format conversion, denoising and other steps to obtain more accurate and reliable equipment collection data. Feature extraction is performed on the preprocessed equipment collection data, the purpose is to extract key information or features from a large amount of data, these features can represent the essence or change trend of the data. According to the extracted feature data, the data general protocol of the data collection device is determined according to the preset rules. This method classifies the general protocols of data and equipment respectively, facilitates the acquisition of equipment and data of the same protocol, facilitates the batch transmission and processing of a large amount of data or equipment with the same protocol, etc., improves the efficiency of data protocol processing, and is more intelligent and automated. The data general protocol refers to the general format or standard used in the transmission, storage and processing of data. According to the data collection device to which the feature data belongs, the device general protocol of the device is determined. The device general protocol refers to the communication protocol or data format followed by the device when communicating with other devices or systems. Obtain the preset data general protocol type, classify the determined data general protocol, and group the device collection feature data according to the protocol type to form multiple protocol classification data groups. Obtain the preset device general protocol type, classify the determined device general protocol, and group the data collection devices according to the protocol type to form multiple protocol classification device groups.

[0041] The technical effect of the above technical scheme is: the method classifies the common protocols of data and equipment respectively, facilitates the acquisition of equipment and data of the same protocol, facilitates the batch transmission and processing of a large amount of data or equipment with the same protocol, etc., improves the efficiency of data protocol processing, and is more intelligent and automated. By clarifying the acquisition requirements and selecting appropriate acquisition equipment, the required data can be acquired more quickly and accurately. The preprocessing step can reduce the redundancy and noise of the data and improve the quality of the data. By determining the common protocol for data and the common protocol for equipment, the data between different devices can be transmitted and processed according to a unified standard, which enhances the versatility and interoperability of the data. Seamless integration and sharing of data are achieved, and the difficulty and cost of data integration and processing are reduced. Grouping data according to protocol type helps the classification management and storage of data, and improves the efficiency and convenience of data protocol management. This grouping method also facilitates data protocol transmission, allowing analysts to locate the required data set more quickly. The data acquisition method based on the common protocol can support a variety of different types of data acquisition equipment and data formats, and improves the scalability and flexibility of the system. The system can easily add new acquisition equipment or data types without a lot of modification or reconstruction of the system. This method can realize efficient and accurate data collection and processing, and improve the scalability and flexibility of the system.

[0042] In one embodiment of the present invention, the protocol judgment conversion module includes: Pack the data acquisition device information of each protocol classification device group to obtain the same-protocol device information (including the same-protocol devices formed by a single data acquisition device); Pack the device collection feature data of each protocol classification data group to obtain same-protocol data (including same-protocol data formed by the collection feature data of a single device); Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

[0043] The working principle of the above technical solution is: for each protocol classification device group, the data acquisition device information inside it is packaged and processed to form the same-protocol device information. This information includes but is not limited to device ID, device type, device location, etc., and this information all follows the same device general protocol. For each protocol classification data group, the device acquisition feature data inside it is packaged and processed to form the same-protocol data. These data are processed according to the same data general protocol, so they have similar data structures and formats. The number of device general protocols of the same-protocol device information is compared with the data general protocol of the same-protocol data. Find out the type with the least complex number of protocols, such as equipment or data, and perform protocol conversion from one side to the other, so as to facilitate the large-scale unified processing of the same protocol. When the number of device general protocols of the same-protocol device information is less than the data general protocol of the same-protocol data, it means that the number of data protocols is more complex than the number of device protocols. At this time, it is necessary to convert the data general protocol of these data into the device general protocol of the corresponding data acquisition device to ensure the consistency and processability of the data. On the contrary, when the number of data general protocols of the same-protocol data is less than the device general protocol of the same-protocol device, it means that the number of device protocols is more complex than the number of data protocols. At this time, it is necessary to convert the device universal protocols of these devices into the data universal protocols of the corresponding device collection feature data to ensure smooth communication and data transmission between devices. After protocol conversion, the converted same-protocol device information or same-protocol data is obtained. These data or information have been processed according to the unified protocol standard.

[0044] The technical effect of the above technical solution is: through protocol conversion, it is ensured that all data follows the same protocol standard, which improves the consistency and processability of data. This helps to reduce data errors and conflicts and improve the quality and reliability of data. Protocol conversion enables data between different devices to be transmitted and processed according to a unified protocol, enhancing the interoperability of devices. This can achieve seamless integration and collaborative work of devices and improve the overall performance and efficiency of the system. By classifying and packaging different devices and data according to the protocol, and then performing necessary protocol conversion, the difficulty and complexity of system integration are reduced. This enables the system to adapt to new devices and data types more quickly, and improves the scalability and flexibility of the system. After the protocol conversion, all data follows the same protocol standard, which can optimize data transmission and processing efficiency. For example, redundancy and errors in data transmission can be reduced, and the speed and accuracy of data transmission can be improved; at the same time, the data processing process can be simplified and the efficiency and accuracy of data processing can be improved.

[0045] In one embodiment of the present invention, the protocol transmission module includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

[0046] The working principle of the above technical solution is: obtain preset plug-and-play information, which includes key parameters such as device type, communication protocol, data format, etc., to guide device access and data processing. Based on this information, the system sets plug-and-play nodes, which serve as interfaces between data acquisition devices and concentrators and are responsible for device access, data forwarding and processing. Data acquisition devices are connected to concentrators through plug-and-play nodes to form a device centralized processing link. This link is a channel for device data transmission and processing, ensuring that data can be efficiently and accurately transmitted from devices to concentrators.

[0047] Through the device centralized processing link, the system obtains one or more data acquisition transmission channels. These channels are the bridges for data transmission between the data acquisition device and the concentrator, and are responsible for transmitting the data collected by the device to the concentrator in real time for processing. The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel. This information includes the communication protocol and data format of the data. According to the obtained protocol information, the system calls the corresponding processing protocol. These processing protocols are preset by the system and are used to parse, convert and process data of different protocols. The obtained protocol information is matched with the called processing protocol to obtain protocol matching information. This information indicates which protocol the data should be processed and transmitted according to. According to the protocol matching information, the system transmits the data collected by the device. After the data undergoes necessary processing (such as format conversion, data cleaning, etc.), it is transmitted to the specified target location (such as database, analysis system, etc.) through the channel.

[0048] The technical effect of the above technical solution is: by presetting the plug-and-play information and the setting of plug-and-play nodes, the system can quickly identify and access new data acquisition equipment without manual configuration and debugging, which greatly improves the efficiency of equipment access. The system can support various types of data acquisition equipment and communication protocols. Through the expansion of plug-and-play nodes, new equipment and data types can be easily accessed, which enhances the scalability and flexibility of the system. Through the establishment of equipment centralized processing links and data acquisition transmission channels, the system can efficiently transmit and process data collected by the equipment, reduce data transmission delays and error rates, and improve data accuracy and reliability. Through the preset processing protocols and protocol matching mechanisms, the system can automatically identify and process data of different protocols, simplify the data processing process, and reduce the difficulty and cost of data processing. Through the optimization of the above workflow and the realization of technical effects, the overall performance of the system is improved, including equipment access speed, data transmission efficiency, data processing capabilities and other aspects.

[0049] In one embodiment of the present invention, the data health monitoring module includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; The calculation formula of the data transmission health coefficient is:

[0050] Among them, SJK is the data transmission health coefficient, n is the number of independent devices collecting characteristic data, A i The actual data collected by the data collection device for collecting feature data of the i-th device, B i The actual collected data in the concentrator after the characteristic data collected by the i-th device is converted and transmitted through the universal protocol; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

[0051] The working principle of the above technical solution is: calculate the data transmission health coefficient according to the channel transmission data, and compare the calculated data transmission health coefficient with the preset data health threshold. The threshold is used to determine whether the data transmission is in a healthy state.

[0052] If the data transmission health coefficient is higher than or equal to the threshold, the data transmission is considered healthy; if it is lower than the threshold, the data transmission is considered abnormal or has potential problems. Based on the results of the data health comparison, the system determines the data transmission and generates data anomaly determination information. This information will clearly indicate whether there is an abnormality in the data transmission, as well as the degree of the abnormality and possible causes. Based on the data anomaly determination information, the system updates the general protocol, including adjusting communication parameters, optimizing data transmission strategies, and repairing loopholes or errors in the protocol. The purpose of the update is to improve the quality and efficiency of data transmission and ensure that data can be accurately and reliably transmitted to the target location.

[0053] The technical effect of the above technical solution is: by calculating the data transmission health coefficient and comparing it with the preset threshold, the system can promptly detect problems in data transmission and take corresponding measures to repair and optimize, thereby improving the quality of data transmission. The introduction and monitoring of the data transmission health coefficient enables the system to continuously evaluate the status of data transmission, promptly detect potential problems and handle them, thereby enhancing the stability and reliability of the system. The general protocol is updated according to the data anomaly judgment information, making the protocol update more accurate and efficient. This can reduce unnecessary protocol updates and debugging work, and improve the operating efficiency and performance of the system. Through the automated data transmission health monitoring and protocol update mechanism, the system can reduce manual intervention and maintenance costs, and improve the automation and intelligence level of the system. The improvement of data transmission quality and the enhancement of system stability will directly improve the user experience.

[0054] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A plug-and-play data collection method for a concentrator based on a universal protocol, characterized in that: The method comprises: S1. Obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine data general protocol and device general protocol, obtain protocol classification data group and protocol classification device group; S2. Pack data into groups, obtain information about devices with the same protocol and data with the same protocol, compare the number of common protocols of two types of devices and data, convert the common protocols according to the comparison results, and obtain converted data; S3. Establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, retrieve the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; S4. Calculate the data transmission health coefficient, make a data anomaly determination based on the data transmission health coefficient, and update the protocol based on the determination result.

2. The plug-and-play data collection method for concentrators based on a universal protocol according to claim 1, characterized in that: The S1 includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determining a data general protocol of a data acquisition device according to the characteristic data collected by the device; Determining a device general protocol of a data acquisition device based on a data acquisition device that acquires characteristic data of the device; Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

3. The plug-and-play data acquisition method for concentrators based on a universal protocol according to claim 1, characterized in that: The S2 includes: Pack the data acquisition device information of each protocol classification device group to obtain the device information with the same protocol; Pack the device collection feature data of each protocol classification data group into data packages to obtain data with the same protocol; Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

4. The plug-and-play data acquisition method for concentrators based on a universal protocol according to claim 1, characterized in that: The S3 includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

5. The plug-and-play data acquisition method for concentrators based on a universal protocol according to claim 1, characterized in that: The S4 includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

6. A plug-and-play data acquisition system based on a universal protocol, characterized in that: The system comprises: The protocol classification module is used to obtain device collection data through data collection equipment, extract data features, obtain device collection feature data, determine the data general protocol and device general protocol, and obtain protocol classification data groups and protocol classification device groups; The protocol judgment conversion module is used to perform data grouping and packaging, obtain the same-protocol device information and the same-protocol data, compare the number of common protocols of the two types of devices and data, convert the common protocols according to the comparison results, and obtain the converted data; The protocol transmission module is used to establish a centralized processing link for the equipment, obtain the protocol information of the data acquisition equipment, call the processing protocol, perform protocol matching, and then transmit the data collected by the equipment to obtain the channel transmission data; The data health monitoring module is used to calculate the data transmission health coefficient, make data anomaly determinations based on the data transmission health coefficient, and update the protocol based on the determination results.

7. The concentrator plug-and-play data acquisition system based on the universal protocol according to claim 6 is characterized in that: The protocol classification module includes: Acquire collection requirement information, acquire corresponding data collection equipment according to the collection requirement information, perform data collection according to the data collection equipment, and obtain equipment collection data; Preprocessing the device collected data to obtain preprocessed device collected data; Extracting data features from the preprocessed device collection data of each data collection device to obtain device collection feature data; Determining a data general protocol of a data acquisition device according to the characteristic data collected by the device; Determining a device general protocol of a data acquisition device based on a data acquisition device that acquires characteristic data of the device; Obtaining a preset data general protocol type to classify the data general protocol, and then grouping the device collected feature data by protocol to obtain multiple protocol classification data groups; The preset general protocol types of the devices are obtained to classify the general protocols of the devices, and then the data acquisition devices are grouped by protocols to obtain multiple protocol classification device groups.

8. The concentrator plug-and-play data acquisition system based on the universal protocol according to claim 6 is characterized in that: The protocol judgment conversion module includes: Pack the data acquisition device information of each protocol classification device group to obtain the device information with the same protocol; Pack the device collection feature data of each protocol classification data group into data packages to obtain data with the same protocol; Compare the number of device common protocols of the same-protocol device information with the number of data common protocols of the same-protocol data; When the number of the device universal protocols of the same-protocol device information is less than the data universal protocol of the same-protocol data, converting the data universal protocol of the device acquisition feature data into the device universal protocol of the data acquisition device corresponding to the data; When the number of data universal protocols of the same-protocol data is less than the device universal protocol of the same-protocol device, converting the device universal protocol of the data acquisition device into the data universal protocol of the device acquisition feature data corresponding to the device; The converted device information or data of the same protocol is obtained through protocol conversion.

9. The concentrator plug-and-play data acquisition system based on the universal protocol according to claim 6, characterized in that: The protocol transmission module includes: Acquire preset plug-and-play information, and set a plug-and-play node according to the preset plug-and-play information; Connect the data acquisition device to the concentrator through a plug-and-play node to obtain a centralized processing link for the device; Obtain data collection and transmission channels through equipment centralized processing links; The concentrator obtains the same-protocol device information or the same-protocol data protocol information of the data acquisition device through the data acquisition transmission channel; Retrieving the corresponding processing protocol according to the protocol information; Matching the protocol information with the processing protocol to obtain protocol matching information; The data collected by the device is transmitted according to the protocol matching information to obtain channel transmission data.

10. The concentrator plug-and-play data acquisition system based on a universal protocol according to claim 6, characterized in that: The data health monitoring module includes: Perform a data transmission health coefficient according to the channel transmission data, compare the data transmission health coefficient with a preset data health threshold, and obtain a data health comparison result; Determine the data transmission according to the data health comparison result to obtain data anomaly determination information; The general protocol is updated according to the data anomaly determination information.

Citation Information

Patent Citations

  • Gateway equipment, multi-protocol data transmission method and computer equipment

    CN111163147A

  • Intelligent inhaul cable concentrator

    CN113310519A

  • Data transmission method, protocol converter and monitoring system of energy storage equipment

    CN119135781A

  • Apparatus and method for transmitting intelligent remote meter reading protocol of binary type based on task

    KR101375283B1