Data acquisition system and method and related equipment thereof
By establishing communication connections between cloud servers and data acquisition devices and dynamically adjusting data acquisition strategies, the existing data acquisition devices are solved, and flexible and efficient data acquisition is achieved.
Patent Information
- Application Number
- CN202310944688.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-02-18
AI Technical Summary
The existing data acquisition device is costly and cannot adjust the acquisition strategy according to different application scenarios, so it has poor flexibility.
By establishing a communication connection between the cloud server and the data acquisition device, responding to the data acquisition instructions of industrial equipment, sending data acquisition tasks, and determining and sending target acquisition resources based on the acquisition resource acquisition request, including data acquisition tools and policies.
It realizes dynamic adjustment of data acquisition strategies based on different industrial equipment and application scenarios, reduces the cost of data acquisition equipment, and improves flexibility and efficiency.
Smart Images

Figure CN119484637A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data acquisition system, method and related equipment. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the present application as recited in the claims. No admission that the description herein is prior art is made by its inclusion in this section.
[0003] In the process of industrial production, data on equipment technology, environment, materials and products are continuously generated. These data are related to time series and reflect the entire life cycle of the industrial product production process; the collection and integration of these data is the basis for realizing intelligent manufacturing.
[0004] The production data of industrial equipment is generally obtained through data acquisition devices (such as industrial gateways, etc.). Due to the diversity of industrial equipment and other aspects of industrial control equipment, different application scenarios require different acquisition strategies for data acquisition. However, current data acquisition devices are generally fixed customized products of industrial equipment, which are costly and cannot adjust the acquisition strategy according to different application scenarios, and have poor flexibility. Summary of the invention
[0005] The embodiments of the present application provide a data acquisition system, method and related equipment, which at least solve the problems in the related art that the data acquisition device has high cost, cannot adjust the acquisition strategy according to different application scenarios, and has poor flexibility.
[0006] The above-mentioned object of the present application is achieved through the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a data acquisition system, comprising: a cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device;
[0008] The cloud server is used to send a data collection task to a target data collection device corresponding to the industrial device among the at least one data collection device in response to a data collection instruction for a target industrial device among the multiple industrial devices, wherein the data collection instruction includes target collection data, and the data collection task is used to instruct the target data collection device to generate a collection resource acquisition request; in response to the collection resource acquisition request, determine a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data; and send the target collection resource to the data collection device;
[0009] The target data acquisition device is used to respond to the data acquisition task and send the acquisition resource acquisition request corresponding to the data acquisition task to the cloud server, and the acquisition resource acquisition request is used to instruct the cloud server to send the target acquisition resource to the target data acquisition device; execute the data acquisition task based on the target data acquisition tool and the data acquisition strategy in the target acquisition resource to obtain the target acquisition data; and send the target acquisition data to the cloud server.
[0010] In a second aspect, an embodiment of the present application provides a data acquisition method, which is applied to a cloud server in a data acquisition system, wherein the data acquisition system includes: the cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; the method includes:
[0011] In response to a data collection instruction for a target industrial device among the plurality of industrial devices, sending a data collection task to a target data collection device corresponding to the target industrial device, the data collection instruction including target collection data;
[0012] In response to a collection resource acquisition request sent by the target data collection device based on the data collection task, determining a target collection resource corresponding to the target data collection device, the target collection resource including a target data collection tool corresponding to the target industrial equipment and a data collection strategy corresponding to the target collection data;
[0013] The target acquisition resources are sent to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
[0014] In a third aspect, an embodiment of the present application provides a data acquisition method, which is applied to any target data acquisition device in at least one data acquisition device included in a data acquisition system, wherein the data acquisition system includes: a cloud server, the at least one data acquisition device, and a plurality of industrial devices that are communicatively connected to the at least one data acquisition device; the method includes:
[0015] In response to a data collection task corresponding to a target industrial device among the multiple industrial devices, a collection resource acquisition request corresponding to the data collection task is sent to the cloud server so that the cloud server determines a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data;
[0016] Execute the data collection task based on the target data collection tool and the data collection strategy in the target collection resource to obtain the target collection data;
[0017] The target acquisition data is sent to the cloud server.
[0018] In a fourth aspect, an embodiment of the present application provides a data acquisition device, which is arranged in a cloud server in a data acquisition system, wherein the data acquisition system comprises: the cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; the device comprises:
[0019] A sending module, configured to send a data collection task to a target data collection device corresponding to the target industrial device in response to a data collection instruction for the target industrial device among the plurality of industrial devices, wherein the data collection instruction includes target collection data;
[0020] A determination module, configured to determine, in response to a collection resource acquisition request sent by the target data collection device based on the data collection task, a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial equipment and a data collection strategy corresponding to the target collection data;
[0021] The sending module is also used to send the target acquisition resources to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
[0022] In a fifth aspect, an embodiment of the present application provides a data acquisition device, which is arranged in any target data acquisition device of at least one data acquisition device included in a data acquisition system, wherein the data acquisition system comprises: a cloud server, the at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; the device comprises:
[0023] A sending module, configured to respond to a data collection task corresponding to a target industrial device among the multiple industrial devices and send a collection resource acquisition request corresponding to the data collection task to the cloud server, so that the cloud server can determine a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data;
[0024] An execution module, configured to execute the data acquisition task based on the target data acquisition tool and the data acquisition strategy in the target acquisition resource to obtain the target acquisition data;
[0025] The sending module is also used to send the target collected data to the cloud server.
[0026] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory for storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the method according to the second aspect or the third aspect.
[0027] In a seventh aspect, an embodiment of the present application provides a non-transitory machine-readable medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to the second aspect or the third aspect.
[0028] The solution provided in the embodiment of the present application provides a data acquisition system, which includes a cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device.
[0029] Specifically, after the cloud server obtains the data collection instruction for a certain industrial equipment (assuming it is the target industrial equipment), it will send a data collection task to the data collection device corresponding to the target industrial equipment (assuming it is the target data collection device). The target data collection device can send a collection resource acquisition request to the cloud server based on the data collection task, so that the cloud server can send the target data collection resource including the target data collection tool corresponding to the target industrial equipment and the data collection strategy corresponding to the target collection data to the target data collection device based on the collection resource acquisition request. The target data collection device can perform the data collection task according to the above-mentioned target data collection tool and target collection strategy to obtain the target collection data, and send the target collection data to the cloud server. Because before executing data collection, the target data collection device can obtain the data collection tool and collection strategy corresponding to the target industrial equipment in the cloud server in advance according to the data collection task, and then perform the collection task based on the data collection tool and collection strategy, so that the target data collection device can adapt to the data collection needs of different industrial equipment, reduce the use cost of the data collection device, and improve the use flexibility of the data collection device.
[0030] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.
[0032] Figure 1 A schematic diagram of a data acquisition system provided in an embodiment of the present application.
[0033] Figure 2 A schematic diagram of an interactive process of a data collection method provided in an embodiment of the present application.
[0034] Figure 3 A schematic diagram of an interactive process of a data collection method provided in an embodiment of the present application.
[0035] Figure 4 A flowchart of a data collection method provided in an embodiment of the present application.
[0036] Figure 5 A flowchart of a data collection method provided in an embodiment of the present application.
[0037] Figure 6 A schematic diagram of the structure of a data acquisition device provided in an embodiment of the present application.
[0038] Figure 7 A schematic diagram of the structure of a data acquisition device provided in an embodiment of the present application.
[0039] Figure 8 It is a structural schematic diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] Embodiments of the present embodiment will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present embodiment are shown in the accompanying drawings, it should be understood that the present embodiment can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, which are instead provided for a more thorough and complete understanding of the present embodiment. It should be understood that the drawings and embodiments of the present embodiment are only for exemplary purposes and are not intended to limit the scope of protection of the present embodiment.
[0041] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and features in the embodiments can be combined with each other.
[0042] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.
[0043] Figure 1 A schematic diagram of a data acquisition system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the data acquisition system includes a cloud server, at least one data acquisition device (assuming N in the figure), and multiple industrial devices (only the first industrial device and the second industrial device are shown in the figure) that are communicatively connected to the data acquisition device.
[0044] The data acquisition device is connected to the cloud server in communication. Specifically, in actual applications, multiple data acquisition devices can be directly connected to the cloud server in communication, or multiple data acquisition devices can be connected to the cloud server in communication through a gateway or other device.
[0045] In this embodiment, one data acquisition device can establish a communication connection with one industrial device, or one data acquisition device can establish a communication connection with multiple industrial devices at the same time.
[0046] In actual applications, the communication protocols for data collection vary depending on the industrial control equipment (such as industrial control computers, etc.) used by the industrial equipment. Therefore, different industrial equipment requires different data collection tools (such as data collection drivers, etc.). For example, industrial control equipment may include a programmable logic controller (PLC), a radio frequency identification (RFID) card reader, etc. The data collection tool used by the PLC is a data collector using the S7 Communication protocol, while the data collection tool used by the RFID card reader is a data collector using the Modbus communication protocol.
[0047] In the data acquisition system provided in the embodiment of the present application, some of the component units may be configured in advance, among which the cloud server and the data acquisition device mainly need to be configured.
[0048] Optionally, in order to ensure that the data acquisition device can adapt to the data acquisition requirements of different industrial equipment, a static data acquisition tool library can be configured for the cloud server. Specifically, the static data acquisition tool library can include a variety of data acquisition tools, for example, the static data acquisition tool library can include data acquisition communication protocols of a variety of different communication protocols.
[0049] Before executing the data collection task, the cloud server can send the corresponding data collection tool to the data collection device according to the communication protocol adopted by the industrial equipment, so that the data collection device can perform the data collection task based on the data collection tool obtained from the cloud server. Based on the method provided in the embodiment of the present application, the flexibility of using the data collection device is improved, and the use cost of the data collection device can be reduced.
[0050] Optionally, when configuring the data acquisition device, the data acquisition device can be connected to the industrial device in advance. In practical applications, the data acquisition device can include a gateway device or a terminal device, wherein the terminal device can include electronic devices such as computers and mobile phones. Among them, one data acquisition device can be connected to one industrial device or multiple industrial devices.
[0051] based on Figure 1 In the data acquisition system shown, it is assumed that the data of the first industrial equipment (i.e., the target industrial equipment) needs to be collected at present, and the data acquisition device corresponding to the first industrial equipment is the first data acquisition device. At this time, in order to realize the collection of the target industrial equipment data, the working process of each component unit in the data acquisition system can be summarized as follows:
[0052] A cloud server is used to send a data collection task to a target data collection device corresponding to the industrial device among at least one data collection device in response to a data collection instruction for a target industrial device among a plurality of industrial devices, wherein the data collection instruction includes target collection data, and the data collection task is used to instruct the target data collection device to generate a collection resource acquisition request; in response to the collection resource acquisition request, determine a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data; and send the target collection resource to the data collection device;
[0053] The target data acquisition device is used to respond to the data acquisition task and send a collection resource acquisition request corresponding to the data acquisition task to the cloud server, and the collection resource acquisition request is used to instruct the cloud server to send the target collection resource to the target data acquisition device; execute the data acquisition task based on the target data acquisition tool and data acquisition strategy in the target collection resource to obtain the target collection data; and send the target collection data to the cloud server.
[0054] In practical applications, the cloud server may optionally be a server including multiple functional modules. For example, the multiple functional modules may include a collection tool storage module and a collection resource configuration module. The collection tool storage module may be used to store multiple data collection tools; the collection resource configuration module may be used to configure target data collection tools and data collection strategies for target data collection devices.
[0055] In this embodiment, the data collection strategy may include connection information, location information and field information. Among them, the connection information may include connection configuration information between the data collection tool and the industrial equipment. The data collection tool can be connected to the industrial equipment based on the connection information. Specifically, when the data collection tool is connected to the industrial equipment, it can be connected to the industrial control equipment of the industrial equipment. The location information and field information are the specific content of the target collection data. Specifically, the location information is used to indicate the storage location of the target collection data, and the field information is used to indicate the collection content, format, etc. of the target collection data. It should be noted that in this embodiment, there is no specific limitation on the configuration method of the collection strategy. For example, the data collection strategy can be configured through a variety of methods such as console entry and file parsing.
[0056] In actual applications, depending on the different connection methods between the data acquisition tool and the industrial control equipment, the connection information may include the IP address, port number, equipment rack number, serial port number, and baud rate of the industrial control equipment.
[0057] In this embodiment, optionally, the data acquisition device may also include an anomaly detection module, and the target data acquisition device is also used to execute data acquisition tasks based on the target data acquisition tools and data acquisition strategies in the target acquisition resources, and before obtaining the target acquisition data, detect the operating environment of the target data acquisition device through the anomaly detection module, output the detection results; and send the detection results to the cloud server.
[0058] In practical applications, the anomaly detection module can detect physical interface connectivity, network connectivity, and data storage of industrial equipment between devices in various dimensions, and report the detection results to the cloud. In this embodiment, it is assumed that the anomaly detection module is integrated into the data acquisition device.
[0059] To facilitate understanding of the working process of the above-mentioned components, a detailed description is given below in conjunction with the following embodiments.
[0060] Figure 2 A schematic diagram of an interactive process of a data collection method provided in an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0061] Step S201: The cloud server obtains a data collection instruction for a first industrial device among a plurality of industrial devices.
[0062] In this embodiment, the data collection instruction can be issued by a user who has a data collection requirement. Specifically, in this embodiment, the user can generate a data collection instruction based on a terminal device connected to the cloud server, and send the data collection instruction to the cloud server.
[0063] Step S202: The cloud server sends a data collection task to a first data collection device corresponding to the first industrial device in response to the data collection instruction.
[0064] Step S203: The first data acquisition device sends a request for acquiring acquisition resources to the cloud server in response to the data acquisition task.
[0065] After obtaining the data collection task, the first data collection device can determine whether to execute the above data collection task based on its own task execution status. If the first data collection device is in an idle state, it can send a collection resource acquisition request to the cloud server, wherein the collection resource acquisition request may include the identification information of the first data collection device, and the identification information is used to identify the identity of the first data collection device.
[0066] Step S204: The cloud server determines the target acquisition resource corresponding to the first industrial equipment in response to the acquisition resource acquisition request.
[0067] After receiving the acquisition resource acquisition request, the cloud server can identify the identification information in the acquisition resource acquisition request to determine the current data acquisition task of the first data acquisition device. Afterwards, the cloud server can determine the target acquisition resource based on the first industrial device corresponding to the first data acquisition device.
[0068] The target acquisition resources include a target data acquisition tool corresponding to the first industrial equipment and a data acquisition strategy corresponding to the target acquisition data, wherein the target data acquisition tool may correspond to a communication protocol of an industrial control device of the first industrial equipment.
[0069] Step S205: The cloud server sends the target acquisition resources to the first data acquisition device.
[0070] Step S206: The first data acquisition device processes the target acquisition resources to obtain a target data acquisition tool and a data acquisition strategy.
[0071] The first data collection device can parse and process the target collection resources to install the target data collection tool, and at the same time, obtain the location information and field information of the target collection data in the data collection strategy.
[0072] Step S207: The first data acquisition device detects the operating environment of the data acquisition device through the abnormality detection module and outputs the detection result.
[0073] The anomaly detection module can perform various dimensional detection on aspects such as the physical interface connectivity between the first data acquisition device and each device, the network connectivity, and the data storage of the industrial equipment.
[0074] Step S208: The first data acquisition device sends the detection result to the cloud server.
[0075] Step S209: The first data acquisition device acquires target acquisition data based on the data acquisition strategy through the target data acquisition tool.
[0076] Step S210: The first data acquisition device sends the target acquisition data to the cloud server.
[0077] In summary, in the solution provided in this embodiment, the data collection tools and data collection strategies corresponding to the tooling equipment are sent to the data collection equipment through the cloud server, so that the data collection equipment can be flexibly configured according to usage requirements, thereby adapting to different data collection requirements. At the same time, the use cost of the data collection equipment is reduced and the efficiency of data collection is improved.
[0078] In practical applications, the anomaly detection module can also be independent of the data acquisition device, that is, the anomaly detection module can be integrated into the anomaly detection device, and the anomaly detection device can be connected to each device. In this case, before the data acquisition device performs the data acquisition task, the operating environment of each device can be detected by the anomaly detection device.
[0079] Figure 3 A schematic diagram of an interactive process of a data collection method provided in an embodiment of the present application, such as Figure 3 As shown, it is assumed that the data acquisition system includes a cloud server, a data acquisition device, a first industrial device and a second industrial device that are communicatively connected to the data acquisition device, and an abnormality detection device.
[0080] In this embodiment, unlike the above embodiment, the anomaly detection module is independent of the data acquisition device and is connected to each device in the form of an anomaly detection device. In addition, the configuration of the cloud server and the data acquisition device is the same as in the above embodiment, and this application will not be repeated here.
[0081] based on Figure 3 The data acquisition system shown in the figure assumes that data of the first industrial equipment needs to be collected. The working process of each component unit in the data acquisition system can be summarized as the following steps.
[0082] Step S301: The cloud server obtains a data collection instruction for a first industrial device.
[0083] In this embodiment, the data collection instruction can be issued by a user who has a data collection requirement. Specifically, in this embodiment, the user can generate a data collection instruction based on a terminal device connected to the cloud server, and send the data collection instruction to the cloud server.
[0084] Step S302: The cloud server sends a data collection task to the data collection device in response to the data collection instruction.
[0085] Step S303: The data collection device sends a collection resource acquisition request to the cloud server in response to the data collection task.
[0086] After acquiring the data collection task, the data collection device can determine whether to execute the above data collection task based on its own task execution status. If the data collection device is in an idle state, it can send a collection resource acquisition request to the cloud server, wherein the collection resource acquisition request can include the identification information of the data collection device, and the identification information is used to identify the identity of the data collection device.
[0087] Step S304: The cloud server determines the target acquisition resource corresponding to the first industrial equipment in response to the acquisition resource acquisition request.
[0088] After receiving the acquisition resource acquisition request, the cloud server can identify the identification information in the acquisition resource acquisition request to determine the current data acquisition task of the data acquisition device. Afterwards, the cloud server can determine the target acquisition resource based on the first industrial device corresponding to the data acquisition device.
[0089] The target acquisition resources include a target data acquisition tool corresponding to the first industrial equipment and a data acquisition strategy corresponding to the target acquisition data, wherein the target data acquisition tool may correspond to a communication protocol of an industrial control device of the first industrial equipment.
[0090] Step S305: The cloud server sends the target acquisition resources to the data acquisition device.
[0091] Step S306: The data acquisition device processes the target acquisition resources to obtain a target data acquisition tool and a data acquisition strategy.
[0092] The data collection device can parse and process the target collection resources to install the target data collection tool, and at the same time, obtain the location information and field information of the target collection data in the data collection strategy.
[0093] Step S307: The abnormality detection device detects the operating environment of the data acquisition device and outputs the detection result.
[0094] The anomaly detection device can perform various dimensional detection on aspects such as the connectivity of the physical interface between the data acquisition device and each device, the network connectivity, and the data storage of the industrial equipment.
[0095] Step S308: The abnormality detection device sends the detection results to the cloud server and data acquisition equipment.
[0096] Step S309: The data acquisition device acquires target acquisition data based on the data acquisition strategy through the target data acquisition tool.
[0097] Step S310: The data acquisition device sends the target acquisition data to the cloud server.
[0098] In summary, in the solution provided in this embodiment, the anomaly detection module is independent of the data acquisition device, which can reduce the operating load of the data acquisition device and ensure the stability of data acquisition.
[0099] Based on the above embodiment, optionally, after the data acquisition device completes the data acquisition task corresponding to the first industrial device, it can also perform the data acquisition task corresponding to the second industrial device. Specifically, the method in which the data acquisition device performs the data acquisition task corresponding to the second industrial device is the same as the method in which the data acquisition device performs the data acquisition task corresponding to the first industrial device in the above embodiment, and this application will not elaborate on it here.
[0100] Figure 4 A flow chart of a data collection method provided in an embodiment of the present application. Figure 4 As shown, the method is applied to a cloud server in a data acquisition system, and the data acquisition system includes: a cloud server, at least one data acquisition device, and a plurality of industrial devices that are communicatively connected to the at least one data acquisition device. The method includes the following steps:
[0101] Step S401: In response to a data collection instruction for a target industrial device among a plurality of industrial devices, a data collection task is sent to a target data collection device corresponding to the target industrial device, wherein the data collection instruction includes target collection data.
[0102] In this embodiment, the data collection instruction can be issued by a user who has a data collection requirement. Specifically, in this embodiment, the user can generate a data collection instruction based on a terminal device connected to the cloud server, and send the data collection instruction to the cloud server.
[0103] In practical applications, the cloud server can be connected to multiple data acquisition devices, and each data acquisition device is connected to at least one industrial device. To determine the target data acquisition device, the cloud server can pre-determine the target industrial device corresponding to the target acquisition data among the multiple industrial devices, and then determine the target data acquisition device among the at least one data acquisition device based on the target industrial device.
[0104] Step S402, in response to the acquisition resource acquisition request sent by the target data acquisition device based on the data acquisition task, determine the target acquisition resources corresponding to the target data acquisition device, the target acquisition resources include the target data acquisition tool corresponding to the target industrial equipment and the data acquisition strategy corresponding to the target acquisition data.
[0105] In this embodiment, in order to determine the target collection resources, the cloud server can determine the target device type corresponding to the target industrial equipment from multiple device types, and then based on the target device type, determine the target data collection tool corresponding to the target industrial equipment from multiple data collection tools. Each of the multiple device types corresponds to a different data collection tool.
[0106] In practical applications, the device type can be determined based on the communication protocol of the industrial control device of the industrial device. That is, when classifying the device type of industrial equipment, the industrial equipment can be classified based on the communication protocol of the industrial control device. Accordingly, the data acquisition tool can correspond to the communication protocol of the industrial control device of the industrial device one by one. In other words, the data acquisition tool corresponding to the communication protocol can be determined based on the communication protocol of the industrial device.
[0107] Step S403: Send the target acquisition resources to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
[0108] Figure 5 A flow chart of a data collection method provided in an embodiment of the present application. Figure 5 As shown, the method is applied to any target data acquisition device in at least one data acquisition device included in a data acquisition system, and the data acquisition system includes: a cloud server, at least one data acquisition device, and a plurality of industrial devices that are communicatively connected to the at least one data acquisition device. The method includes the following steps:
[0109] Step S501, in response to a data collection task corresponding to a target industrial device among multiple industrial devices, a collection resource acquisition request corresponding to the data collection task is sent to a cloud server, so that the cloud server can determine the target collection resources corresponding to the target data collection device, and the target collection resources include a target data collection tool corresponding to the target industrial equipment and a data collection strategy corresponding to the target collection data.
[0110] In this embodiment, the data collection strategy includes the location information and field information of the target collection data. To obtain the target collection data, the target data collection device can obtain the target collection data based on the location information and field information through the target data collection tool.
[0111] Step S502: Execute the data collection task based on the target data collection tool and data collection strategy in the target collection resource to obtain the target collection data.
[0112] In this embodiment, the target data acquisition device can determine the target acquisition data in the industrial equipment based on the location information and field information in the data acquisition strategy, and can obtain the above target acquisition data through the target data acquisition tool.
[0113] Step S503: Send the target collected data to the cloud server.
[0114] In an optional embodiment, the data acquisition device includes an anomaly detection module. Before executing the data acquisition task based on the target data acquisition tool and data acquisition strategy in the target acquisition resource and obtaining the target acquisition data, the data acquisition device can detect the operating environment of the data acquisition device through the anomaly detection module and output the detection result. Finally, the detection result is sent to the cloud server.
[0115] Based on the data collection method provided in the embodiment of the present application, the embodiment of the present application also provides a data collection device, such as Figure 6 As shown, the data acquisition device is set in a cloud server in a data acquisition system, and the data acquisition system includes: a cloud server, at least one data acquisition device, and a plurality of industrial devices connected to the at least one data acquisition device. The device includes: a sending module 601 and a determining module 602.
[0116] The sending module 601 is used to send a data collection task to a target data collection device corresponding to the target industrial device in response to a data collection instruction for a target industrial device among multiple industrial devices, wherein the data collection instruction includes target collection data.
[0117] Determination module 602 is used to determine the target acquisition resources corresponding to the target data acquisition device in response to the acquisition resource acquisition request sent by the target data acquisition device based on the data acquisition task, and the target acquisition resources include the target data acquisition tool corresponding to the target industrial equipment and the data acquisition strategy corresponding to the target acquisition data.
[0118] The sending module 601 is also used to send the target acquisition resources to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
[0119] Optionally, the data acquisition device includes an anomaly detection module.
[0120] Correspondingly, the determination module 602 is further used to determine a target industrial device corresponding to the target acquisition data among multiple industrial devices; and determine the target data acquisition device among at least one data acquisition device based on the target industrial device.
[0121] Optionally, the determination module 602 is specifically used to determine the target device type corresponding to the target industrial device among multiple device types; based on the target device type, determine the target data acquisition tool corresponding to the target industrial device among multiple data acquisition tools, and each of the multiple device types corresponds to a different data acquisition tool.
[0122] Optionally, the data collection strategy includes location information and field information of the target collection data.
[0123] Based on the data collection method provided in the embodiment of the present application, the embodiment of the present application also provides a data collection device, such as Figure 7 As shown, the data acquisition device is set in any target data acquisition device of at least one data acquisition device included in the data acquisition system, and the data acquisition system includes: a cloud server, at least one data acquisition device, and a plurality of industrial devices that are communicatively connected to the at least one data acquisition device. The device includes: a sending module 701 and an execution module 702.
[0124] The sending module 701 is used to respond to the data collection task corresponding to the target industrial equipment among multiple industrial equipment, and send a collection resource acquisition request corresponding to the data collection task to the cloud server, so that the cloud server can determine the target collection resources corresponding to the target data collection equipment, and the target collection resources include the target data collection tool corresponding to the target industrial equipment and the data collection strategy corresponding to the target collection data.
[0125] The execution module 702 is used to execute the data collection task based on the target data collection tool and data collection strategy in the target collection resource to obtain the target collection data.
[0126] The sending module 701 is also used to send the target collected data to the cloud server.
[0127] Optionally, the data collection strategy includes location information and field information of the target collection data.
[0128] Accordingly, the execution module 702 is specifically configured to obtain target collection data based on the location information and the field information through a target data collection tool.
[0129] Optionally, the data acquisition device includes an anomaly detection module.
[0130] Correspondingly, the execution module 702 is also used to detect the operating environment of the data acquisition device through the abnormality detection module, output the detection result, and send the detection result to the cloud server.
[0131] The embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program executable by the at least one processor, and the computer program is used to enable the electronic device to perform the method of the embodiment of the present application when executed by the at least one processor.
[0132] An embodiment of the present application also provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present application.
[0133] An embodiment of the present application also provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present application.
[0134] refer to Figure 8 , the structural block diagram of the electronic device that can be used as the server or client of the embodiment of the present application will now be described, which is an example of the hardware device that can be applied to various aspects of the present application. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.
[0135] like Figure 8As shown, the electronic device includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0136] Multiple components in the electronic device are connected to the I / O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 can be any type of device that can input information to the electronic device, and the input unit 806 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 807 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 808 can include but is not limited to a disk, an optical disk. The communication unit 809 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0137] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present application may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 802 and / or a communication unit 809. In some embodiments, the computing unit 801 may be configured to perform the above method in any other appropriate manner (e.g., by means of firmware).
[0138] The computer program for implementing the method of the embodiment of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0139] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable signal medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0140] It should be noted that the term "including" and its variations used in the embodiments of the present application are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present application are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0141] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0142] The various steps described in the method implementation methods provided in the embodiments of the present application can be performed in different orders and / or in parallel. In addition, the method implementation methods may include additional steps and / or omit the steps shown. The scope of protection of the present application is not limited in this respect.
[0143] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.
[0144] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A data acquisition system, comprising: A cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; The cloud server is used to send a data collection task to a target data collection device corresponding to the industrial device among the at least one data collection device in response to a data collection instruction for a target industrial device among the multiple industrial devices, wherein the data collection instruction includes target collection data, and the data collection task is used to instruct the target data collection device to generate a collection resource acquisition request; in response to the collection resource acquisition request, determine a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data; and, sending the target acquisition resource to the data acquisition device; The target data acquisition device is used to send the acquisition resource acquisition request corresponding to the data acquisition task to the cloud server in response to the data acquisition task, and the acquisition resource acquisition request is used to instruct the cloud server to send the target acquisition resource to the target data acquisition device; The data collection task is executed based on the target data collection tool and the data collection strategy in the target collection resource to obtain the target collection data; and the target collection data is sent to the cloud server.
2. The system according to claim 1, wherein: The data acquisition device includes an anomaly detection module; The target data acquisition device is further used to detect the operating environment of the target data acquisition device through the abnormality detection module and output the detection result before executing the data acquisition task based on the target data acquisition tool and the data acquisition strategy in the target acquisition resource and obtaining the target acquisition data; And, sending the detection result to the cloud server.
3. A data collection method, applied to a cloud server in a data collection system, the data collection system comprising: The cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; The method comprises: In response to a data collection instruction for a target industrial device among the plurality of industrial devices, sending a data collection task to a target data collection device corresponding to the target industrial device, the data collection instruction including target collection data; In response to a collection resource acquisition request sent by the target data collection device based on the data collection task, determining a target collection resource corresponding to the target data collection device, the target collection resource including a target data collection tool corresponding to the target industrial equipment and a data collection strategy corresponding to the target collection data; The target acquisition resources are sent to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
4. The data collection method according to claim 3, wherein: The step of sending a data collection task to a target data collection device corresponding to the target industrial device in response to a data collection instruction for the target industrial device among the multiple industrial devices includes: Determining a target industrial device corresponding to the target collected data from among a plurality of industrial devices; The target data collection device is determined in the at least one data collection device based on the target industrial device.
5. The data collection method according to claim 3, wherein: The step of determining the target acquisition resource corresponding to the target data acquisition device in response to the acquisition resource acquisition request sent by the target data acquisition device based on the data acquisition task includes: Determining a target device type corresponding to the target industrial device from among a plurality of device types; Based on the target device type, the target data collection tool corresponding to the target industrial device is determined from a plurality of data collection tools, and each of the plurality of device types corresponds to a different data collection tool.
6. The data collection method according to claim 3, wherein: The data collection strategy includes location information and field information of the target collection data.
7. A data acquisition method, applied to any target data acquisition device in at least one data acquisition device included in a data acquisition system, the data acquisition system comprising: A cloud server, the at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; The method comprises: In response to a data collection task corresponding to a target industrial device among the multiple industrial devices, a collection resource acquisition request corresponding to the data collection task is sent to the cloud server so that the cloud server determines a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data; Execute the data collection task based on the target data collection tool and the data collection strategy in the target collection resource to obtain the target collection data; The target acquisition data is sent to the cloud server.
8. The method according to claim 7, wherein: The data collection strategy includes location information and field information of the target collection data; Executing the data collection task based on the target data collection tool and the data collection strategy in the target collection resource to obtain the target collection data includes: The target data collection tool is used to obtain the target collection data based on the location information and the field information.
9. The method according to claim 7, wherein: The data acquisition device includes an anomaly detection module; Before executing the data collection task based on the target data collection tool and the data collection strategy in the target collection resource to obtain the target collection data, the method further includes: Detecting the operating environment of the data acquisition device through the abnormality detection module and outputting the detection result; The detection result is sent to the cloud server.
10. A data acquisition device, arranged in a cloud server in a data acquisition system, the data acquisition system comprising: The cloud server, at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; The device comprises: A sending module, configured to send a data collection task to a target data collection device corresponding to the target industrial device in response to a data collection instruction for the target industrial device among the plurality of industrial devices, wherein the data collection instruction includes target collection data; A determination module, configured to determine, in response to a collection resource acquisition request sent by the target data collection device based on the data collection task, a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial equipment and a data collection strategy corresponding to the target collection data; The sending module is also used to send the target acquisition resources to the target data acquisition device, so that the target data acquisition device collects the target acquisition data corresponding to the target industrial equipment based on the target acquisition resources, and sends the target acquisition data to the cloud server.
11. A data acquisition device, arranged in any target data acquisition device among at least one data acquisition device included in a data acquisition system, the data acquisition system comprising: A cloud server, the at least one data acquisition device, and a plurality of industrial devices communicatively connected to the at least one data acquisition device; The device comprises: A sending module, configured to respond to a data collection task corresponding to a target industrial device among the multiple industrial devices and send a collection resource acquisition request corresponding to the data collection task to the cloud server, so that the cloud server can determine a target collection resource corresponding to the target data collection device, wherein the target collection resource includes a target data collection tool corresponding to the target industrial device and a data collection strategy corresponding to the target collection data; An execution module, configured to execute the data acquisition task based on the target data acquisition tool and the data acquisition strategy in the target acquisition resource to obtain the target acquisition data; The sending module is also used to send the target collected data to the cloud server.
12. An electronic device comprising: A processor, and a memory storing a program, wherein the program comprises instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 3 to 6 or 7 to 9.
13. A non-transitory machine-readable medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 3 to 6 or 7 to 9.
Citation Information
Cited By
Equipment data acquisition method and related device
CN120110913A
Equipment data collection method and related device
CN120110913B