Industrial data acquisition method, device and equipment, storage medium and program product

By using scenario configuration files and derelease configuration files in industrial data acquisition, redundant data is dynamically filtered, and the resource waste caused by redundant data acquisition in industrial data is solved, which improves collection efficiency and reduces costs.

CN119556607APending Publication Date: 2025-03-04KONGTROLINK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411571361.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

There is a lot of redundant data during industrial data collection, which leads to waste of resources and increases the pressure for data processing and transmission.

Method used

By obtaining the scene configuration files of industrial scenarios, determining the data set to be collected, and generating derelease configuration files based on the description information of the association relationship in the data set, controlling the edge computing unit to collect data, and dynamically filtering redundant data.

Benefits of technology

It effectively reduces the acquisition and transmission of redundant data, improves data acquisition efficiency, and reduces data transmission costs and edge storage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556607A_ABST
    Figure CN119556607A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an industrial data collection method and device, equipment, a storage medium and a program product. The method comprises the steps of obtaining a scene configuration file of an industrial scene, determining a data set needing to be collected, further determining description information with an incidence relation in the data set, and obtaining a de-reconfiguration file corresponding to the description information with the incidence relation, and controlling an edge computing unit to collect equipment data in the industrial scene based on the de-reconfiguration file. In this way, the edge computing unit can dynamically filter redundant data in the data needing to be collected, so that the redundant data does not need to occupy the bandwidth and the storage space of the edge computing unit, the collection efficiency of industrial data can be improved, and the data transmission cost and the edge storage cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to an industrial data acquisition method, device, equipment, storage medium and program product. Background Art

[0002] With the development of industrial equipment and network communication technology, a large number of production equipment and monitoring equipment will be deployed in industrial environments. Due to the needs of production and industrial control, it is often necessary to collect industrial data related to these devices for analysis or upload them to the cloud for other uses.

[0003] The current device data collection method usually collects data on a device-by-device basis, and the data between each device is independent of each other. However, in the same scenario, the data obtained from different devices may be redundant, resulting in an increase in the amount of collected data and the presence of useless data, which can easily increase the pressure on subsequent data processing and data transmission, and consume additional network resources. Summary of the invention

[0004] The embodiments of the present application provide an industrial data collection method, device, equipment, storage medium and program product to solve the technical problem of excessive redundant data leading to consumption of additional resources during industrial data collection.

[0005] In a first aspect, an embodiment of the present application provides an industrial data collection method, including:

[0006] Obtaining a scene configuration file of an industrial scene, where the industrial scene includes multiple target devices;

[0007] Determining a data set to be collected for the industrial scene according to the scene configuration file, wherein the data set includes description information of the data to be collected from the target device;

[0008] Determine the description information with the associated relationship in the data set, and obtain the deduplication configuration file corresponding to the description information with the associated relationship;

[0009] Based on the deduplication configuration file, the edge computing unit is controlled to collect data of multiple target devices in the industrial scene.

[0010] In a possible implementation, determining the description information having an associated relationship in the data set, and obtaining a deduplication configuration file corresponding to the description information having an associated relationship, includes:

[0011] Retrieve from a preset deduplication rule library whether there is a deduplication rule related to at least two description information in the data set;

[0012] If it exists, a deduplication function code is generated according to the retrieved deduplication rule, and a deduplication configuration file is generated according to the deduplication function code.

[0013] In a possible implementation, generating a deduplication configuration file according to the deduplication function code includes:

[0014] Obtaining a compilation platform of an edge computing unit in the industrial scenario;

[0015] The deduplication function code is processed by the compilation platform to obtain a deduplication program that can be executed by the edge computing unit.

[0016] In a possible implementation, determining the description information having an associated relationship in the data set, and obtaining a deduplication configuration file corresponding to the description information having an associated relationship, includes:

[0017] Retrieve from a preset semantic relationship library whether there is semantic association information corresponding to at least two description information in the data set;

[0018] If so, a deduplication configuration file is generated according to at least two description information corresponding to the semantic association information.

[0019] In a possible implementation, determining the data set to be collected for the industrial scene according to the scene configuration file includes:

[0020] Determine a device identifier of a target device in the industrial scene according to the scene configuration file;

[0021] Acquire an entity file of the target device from a preset database according to the device identifier, wherein the entity file includes description information of data to be collected from the target device;

[0022] A data set is generated according to the entity files of the plurality of target devices.

[0023] In a possible implementation, controlling the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file includes:

[0024] Obtaining a network protocol address of an edge computing unit, wherein the edge computing unit is used to receive data uploaded by a target device in the industrial scenario;

[0025] Sending the deduplication configuration file to the edge computing unit according to the network protocol address;

[0026] The edge computing unit selectively collects data having an overlapping relationship among the data uploaded by the target device, and the overlapping relationship is determined based on the deduplication configuration file and the description information of the data uploaded by the target device.

[0027] In a second aspect, an embodiment of the present application provides an industrial data acquisition device, including:

[0028] An acquisition module, used to acquire a scene configuration file of an industrial scene, wherein the industrial scene includes a plurality of target devices;

[0029] A data collection module, used to determine the data collection to be collected for the industrial scene according to the scene configuration file, wherein the data collection includes description information of the data to be collected from the target device;

[0030] A relationship determination module, used to determine the description information of the associated relationship in the data set, and obtain a deduplication configuration file corresponding to the description information of the associated relationship;

[0031] A deduplication module is used to control the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0033] The memory stores computer-executable instructions;

[0034] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0036] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0037] The industrial data collection method, device, equipment, storage medium and program product provided in the embodiments of the present application relate to the field of data processing. The industrial data collection method includes: obtaining a scene configuration file of an industrial scene to determine the data set to be collected, and further determining the descriptive information with an associated relationship in the data set, and obtaining a deduplication configuration file corresponding to the descriptive information with an associated relationship, and then controlling the edge computing unit to collect the equipment data in the industrial scene based on the deduplication configuration file. In this way, the edge computing unit can dynamically filter the redundant data in the required collected data, so that this part of the redundant data does not need to occupy the bandwidth and storage space of the edge computing unit, which can not only improve the efficiency of industrial data collection, but also reduce the data transmission cost and edge storage cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0039] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0040] Figure 2 It is a flow chart of an industrial data collection method provided by an embodiment of the present application;

[0041] Figure 3 It is a schematic diagram of a process for obtaining a deduplication configuration file provided in an embodiment of the present application;

[0042] Figure 4 It is another flowchart of obtaining a deduplication configuration file provided in an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of a process for determining a data set provided in an embodiment of the present application;

[0044] Figure 6 This is a specific application diagram of an industrial data collection method provided by an embodiment of the present application;

[0045] Figure 7 It is a structural schematic diagram of an industrial data acquisition device provided in an embodiment of the present application;

[0046] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0047] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0049] The terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, product or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, product or device. In the absence of further restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or device including the elements. For example, if the words first, second, etc. are used to indicate names, they do not indicate any particular order.

[0050] In the Industrial Internet of Things, in order to realize the digital factory, the data of the equipment in the industrial scene needs to be collected and uploaded to the upper level. These devices include production equipment and various sensors in the industrial scene. The collection of equipment data can be done in a cloud-edge collaborative way, that is, the edge computing unit is deployed near the equipment, and the equipment is connected and the equipment data is obtained through the on-site digital network. The acquired data can be used at the edge computing unit level (including data analysis, calculation, etc.), or it can be further uploaded to the cloud (cloud server) through the northbound network for cloud service use.

[0051] The current device data collection method usually collects data on a device-by-device basis, and uploads the data between each device independently to the cloud in an indistinguishable manner. However, in the same scenario (such as a factory building), the device data obtained by edge computing may be duplicated. For example, the data of air conditioners and UPS (Uninterruptible Power Supply) both contain AC input voltage. If deduplication is not performed, the AC input voltage of the air conditioner and the AC input voltage of the UPS in this scenario will both be collected and uploaded. This method causes the edge computing unit to have a lot of redundant data during data acquisition and data transmission, consuming a lot of network resources.

[0052] In response to this problem, the inventors have discovered that there are some collection methods in the relevant technology that can filter out redundant data, but these methods are all implemented after the edge computing unit collects the data, that is, it is necessary to wait until the data reaches the edge computing unit or even upload it to the cloud storage before identifying the stored data to delete duplicate data. Although this method can alleviate some of the later storage pressure, it will still cause great pressure on the storage space and network transmission of the edge computing unit, consuming a lot of storage space and network resources.

[0053] To solve the above problems, the present application provides an industrial data collection method, device, equipment, storage medium and program product.

[0054] Figure 1 This is a schematic diagram of an application scenario provided by this application. Figure 1 As shown, there can be multiple devices in an industrial scene (for example, a factory or workshop). An edge computing unit can be deployed for multiple devices in the industrial scene. The edge computing unit can connect to the devices in the industrial scene through the on-site digital network to obtain data from the devices. If there are other industrial scenes (such as other factories), corresponding edge computing units can also be deployed to obtain device-related data. In addition, the edge computing unit can also upload the acquired data to the cloud through the northbound network.

[0055] The application scenarios involved above are only partial examples, and those skilled in the art can expand the application in specific business scenarios, and the embodiments of the present application do not impose specific restrictions on this. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation methods of the present application are not subject to any restrictions in this regard. On the contrary, the implementation methods of the present application can be applied to any applicable scenario.

[0056] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0057] Figure 2 Schematic diagram of a process flow of an industrial data collection method provided by an embodiment of the present application. Figure 2 As shown, the method includes:

[0058] Step S201, obtaining a scene configuration file of an industrial scene.

[0059] The industrial scene contains multiple target devices. The scene configuration file can be used to describe the relevant information of the industrial scene, such as the identification information (device ID) of the target device and the IP address and model of the edge computing unit.

[0060] The industrial data collection method provided in the embodiment of the present application can be applied to a deduplication system, which can run on the cloud.

[0061] Step S202: determining a data set to be collected for an industrial scene according to a scene configuration file.

[0062] The data set includes description information of the data to be collected from the target device, and the description information may be a semantic representation of the data characteristics related to the target device.

[0063] Exemplarily, the target device may be an air conditioner, and the edge computing unit needs to establish a connection with the air conditioner through a field network. The air conditioner may upload data such as temperature and input voltage to the edge computing unit through the field network. The description information of the air conditioner input voltage data may be [Ua] or [U_input], and the description information of the temperature data may be [Ta] or [T_input], etc.

[0064] The scene configuration file can directly include the description information of the data that the target device needs to upload. According to the scene configuration file, the description information of all the data that needs to be uploaded (such as temperature, input voltage, etc.) of all the target devices (such as air conditioners, sensors, etc.) in the industrial scene is integrated together, and the description information of all the data that the edge computing unit needs to obtain from the industrial scene can be obtained.

[0065] The scene configuration file may also include identification information of the target device, and the cloud can obtain the description information corresponding to the identification information from the preset database.

[0066] It should be noted that the description information integrated in the data set may include identification information for distinguishing the target device. For example, if the industrial scene includes target devices such as air conditioners and temperature sensors, the description information corresponding to the input voltage of the air conditioner may be [No. 1 air conditioner_Ua], and the description information corresponding to the temperature of the temperature sensor may be [Temperature sensor_Ta]. The identification information may be the name or number of the target device, etc.

[0067] Step S203, determining the description information with associated relationships in the data set, and obtaining a deduplication configuration file corresponding to the description information with associated relationships.

[0068] The association relationship may refer to a redundant relationship such as overlap or duplication. If there is an association relationship between the description information of two data, it can be considered that the two data do not need to be collected repeatedly.

[0069] For example, the description information of the target device data that may be involved can be obtained in advance, and whether there is a relationship such as duplication can be manually determined based on the data actually represented by the description information, and the description information with such a relationship can be recorded in a dedicated relationship data table. After obtaining the data set, the cloud can traverse all the description information in the data set to determine whether there are at least two description information with a relationship recorded in the relationship data table.

[0070] If the data set contains descriptive information with an associated relationship, a deduplication configuration file can be generated by writing a deduplication program based on the descriptive information, or the deduplication configuration file can be pre-generated and stored in a database, and the corresponding deduplication configuration file can be obtained from the database based on the mapping relationship of the relational data table.

[0071] Step S204: Control the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file.

[0072] Among them, the edge computing unit is used to receive data uploaded by target devices in industrial scenarios.

[0073] Specifically, a deduplication configuration file may be sent to an edge computing unit, and the edge computing unit selectively collects data when acquiring data from a target device by executing the deduplication configuration file, and receives non-duplicate parts of redundant data.

[0074] Exemplarily, the cloud can obtain the network protocol address of the edge computing unit, and send the deduplication configuration file to the edge computing unit according to the network protocol address; the edge computing unit selectively collects the data with overlapping relationship in the data uploaded by the target device. The overlapping relationship can be determined based on the deduplication configuration file and the description information of the data uploaded by the target device. When the target device uploads data to the edge computing unit through the on-site network, it can attach the description information of the data. The edge computing unit can obtain the description information with overlapping relationship according to the deduplication configuration file, and selectively receive the data uploaded by the target device according to the description information.

[0075] In the above embodiment, the data set to be collected can be determined by obtaining the scene configuration file of the industrial scene, and the descriptive information with associated relationships in the data set can be further determined, and the deduplication configuration file corresponding to the descriptive information with associated relationships can be obtained, and then the edge computing unit is controlled to collect the equipment data in the industrial scene based on the deduplication configuration file. In this way, the edge computing unit can dynamically filter the redundant data in the required collected data, so that this part of the redundant data does not need to occupy the bandwidth and storage space of the edge computing unit, which can not only improve the collection efficiency of industrial data, but also reduce the data transmission cost and edge storage cost.

[0076] In one embodiment, Figure 3As shown, the description information with an associated relationship in the data set is determined, and the deduplication configuration file corresponding to the description information with an associated relationship is obtained, including:

[0077] Step S301: searching from a preset deduplication rule library whether there is a deduplication rule related to at least two description information in a data set.

[0078] The deduplication rule library may be manually pre-written and stored, and the deduplication rule may include several deduplication rules. The deduplication rule may indicate that there is a redundant relationship such as overlap between the data represented by at least two description information, and the deduplication rule may also include a rule for deduplicating the data with redundant relationship.

[0079] Optionally, the deduplication rules may be written using a rule language such as Semantic Web Rule Language (Semantic Rule Language).

[0080] Step S302: if it exists, generate a deduplication function code according to the retrieved deduplication rule, and generate a deduplication configuration file according to the deduplication function code.

[0081] Specifically, after the relevant deduplication rules are retrieved, the corresponding function code can be generated according to the deduplication rules, and the function code can be converted into a deduplication configuration file that can be used by the edge computing unit according to the data processing format of the edge computing unit. If multiple deduplication rules are retrieved, the function code corresponding to each deduplication rule can be encapsulated into a function block, and the function blocks generated according to the multiple deduplication rules can be further formed into a function block linked list.

[0082] In some possible implementations, a deduplication configuration file is generated based on the deduplication function code, including: obtaining a compilation platform of an edge computing unit in an industrial scenario; processing the deduplication function code through the compilation platform to obtain a deduplication program that can be executed by the edge computing unit.

[0083] In this embodiment, the cloud can determine the redundant data to be deduplicated and can obtain the rules that can achieve deduplication of these data, generate executable functional codes according to the rules, and further compile the codes into executable deduplication programs through a compilation platform adapted to the edge computing unit. In this way, the edge computing unit can quickly achieve deduplication of the data uploaded by the device by receiving and executing the deduplication program, reducing the workload of the edge computing unit. The edge computing unit only needs to execute the deduplication program designed by the cloud, thereby reducing the resource occupation of the edge computing unit and improving the efficiency of data collection.

[0084] In one embodiment, Figure 4As shown, the description information with an associated relationship in the data set is determined, and the deduplication configuration file corresponding to the description information with an associated relationship is obtained, including:

[0085] Step S401: searching from a preset semantic relationship library whether there is semantic association information corresponding to at least two description information in a data set.

[0086] The semantic relationship library may include a number of semantic association information that is manually pre-written and stored, and the association information may indicate that there is a redundant relationship such as overlap between the data represented by at least two description information.

[0087] Specifically, after obtaining the data set, the description information in the data set may be traversed to query whether there is semantic association information in the semantic relationship library that simultaneously includes at least two or more description information in the data set.

[0088] Step S402: if it exists, generate a deduplication configuration file according to at least two description information corresponding to the semantic association information.

[0089] If relevant semantic association information is retrieved, multiple description information corresponding to the semantic association information can be written into a deduplication configuration file in a preset format. The deduplication configuration file can be read by the edge computing unit, which can generate a corresponding deduplication program based on the multiple description information contained in the file, so as to selectively collect data from the target device by executing the deduplication program to avoid receiving redundant data.

[0090] In this embodiment, after determining the redundant data (i.e., the data represented by the same semantic association information in the semantic relationship library), the cloud can write the description information of the redundant data into the deduplication configuration file in a preset format, and the edge computing unit can obtain the description information of the redundant data by reading the deduplication configuration file, so that the edge computing unit can deduplicate the data during the data collection process by writing and executing deduplication programs based on this information. In this way, the process of writing deduplication programs based on redundant data description information can be transferred to the edge computing unit for execution. Since the edge computing unit can be deployed in data collection scenes such as factories, the edge computing unit can write deduplication programs in real time based on the redundant data description information and the on-site conditions, so that the execution effect of the deduplication program is more in line with the real-time collection requirements on site, and the flexibility of data collection is improved.

[0091] In one embodiment, Figure 5 As shown, the data set to be collected for the industrial scene according to the scene configuration file includes:

[0092] Step S501: determining a device identifier of a target device in an industrial scene according to a scene configuration file.

[0093] Step S502: Acquire the entity file of the target device from a preset database according to the device identification.

[0094] Step S503: Generate a data set according to the ontology files of multiple target devices.

[0095] The ontology file may include description information of the device data. The description information may characterize the data type or data characteristics of the target device, and the description information may also include identification information for distinguishing different devices. Exemplarily, the format of the description information may be expressed as [device, hasDataOf, data description].

[0096] Specifically, the cloud can obtain a list of devices corresponding to the industrial scene based on the scene configuration file. The device list can include the device identifications of all target devices in the industrial scene. Based on the device list, the cloud can obtain the entity file of each device in the list from the database, thereby obtaining the description information of all data that need to be collected in the industrial scene based on the entity file, and integrating these description information into a data set.

[0097] In order to further demonstrate the beneficial effects and possible application scenarios of the present application solution, the specific application of the industrial data collection method in the present application solution is explained below with reference to an example.

[0098] Figure 6 This is a specific application diagram of an industrial data collection method provided by this application. Figure 6 As shown, the cloud service may include a deduplication rule library, a scenario configuration library, a device body library, a deduplication service, and a dynamic compilation service. The edge computing unit can be connected to the cloud service through a northbound network, which can be a wired or wireless network. The edge computing unit can be connected to the equipment in the industrial manufacturer through a field digital network (such as RS485, RS232, ETHERNET, etc.). The same scene can include multiple devices, and the scene can use an edge computing unit for industrial data collection.

[0099] When collecting data, the cloud service sends the collection configuration to the edge computing unit. The collection configuration may include the communication protocol of the device being collected, the parsing rules, and the list of data to be collected. The communication protocol is used for the edge computing unit to communicate with the device. Each data in the data list includes the data ID, collection address, data type, and data unit. The parsing rules are used to parse the value of each data from the native data obtained by the communication protocol. The edge computing unit uses the communication protocol to obtain the native data of the device, loads the parsing rules to complete the data parsing, and sends the collected data to the cloud application.

[0100] The scene configuration library of the cloud service may include multiple scene configuration files, each of which may describe all devices (device IDs) in a scene and the information of the edge computing unit of the scene (such as IP address and model, etc.). The device ontology library includes the ontology file of each device in the scene site, and each ontology file describes the device in the form of [device, hasDataOf, data]. The deduplication rule library includes analog deduplication function blocks, digital deduplication function blocks, alarm deduplication function blocks, and alarm delay deduplication function blocks. The deduplication service can be used to read the scene configuration file of a scene from the scene configuration library to obtain the device list in the scene. The deduplication service obtains the ontology file of each device from the device ontology library according to the device list, reads the ontology file, loads the data items of the device (such as description information), and then forms the data set required to be collected in the scene. According to the data in the data set (i.e., description information), all deduplication rules related to at least two data in the data set are retrieved from the deduplication rule library to form a rule list. According to the rule list, the dynamic compilation service obtains the deduplication rule function block corresponding to the rule list from the deduplication rule library to form a function block linked list. According to the model of the edge computing unit of the selected scenario, the compilation platform of the edge computing unit is obtained, and the function block list is linked and compiled using the compilation platform to generate a deduplication program that can be executed by the edge computing unit, and the program is sent to the edge computing unit through the IP address of the edge computing unit.

[0101] The edge computing unit can receive and load the deduplication program to obtain the configuration of data deduplication. For example, if the configuration is [data A and data B are repeated, obtain data A, and keep data B silent], the edge computing unit will not obtain and report the silent data.

[0102] The following is an example to illustrate the process of edge computing unit obtaining data from devices. This example is used to collect data in scene 1, which includes: device 001, device 002, edge computing unit (model A001, compiler A001_C0G4, IP address: 19X.XXX.0.55).

[0103] Among them, the entity files of device 001 are: [Device 001, hasDataOf, Ua], [Device 001, hasDataOf, Ub], [Device 001, hasDataOf, Uc], [Device 001, hasDataOf, Ia], [Device 001, hasDataOf, Ib], [Device 001, hasDataOf, Ic], [Device 001, hasDataOf, Uab].

[0104] The entity files of device 002 are: [Device 002, hasDataOf, Ua], [Device 002, hasDataOf,Ub], [Device 002, hasDataOf, Uc], [Device 002, hasDataOf, Uab], [Device 002, hasDataOf, Ubc], [Device 002, hasDataOf, Uac], [Device 002, hasDataOf, Iab].

[0105] The deduplication rule library contains deduplication rules written using SWRL rules, including the following deduplication rules:

[0106] Device(?d)^hasDataOf(?d,?Ua)^hasNumberOf(?d,?Num)^swrlb:greater(?Num,2)->useFirstDevice.

[0107] The above deduplication rule means that if there are more than two devices containing Ua data, the first device is used to collect Ua.

[0108] The device list obtained by the deduplication service is device 001 and device 002. According to device 001 and device 002, the ontology files of all devices are loaded, and the data set of scene A formed is {[device 001, Ua], [device 001, Ub], [device 001, Uc], [device 001, Ia], [device 001, Ib], [device 001, Ic], [device 001, Uab], [device 002, Ua], [device 002, Ub], [device 002, Uc], [device 002, Uab], [device 002, Ubc], [device 002, Uac], [device 002, Iab]}.

[0109] The deduplicated data set is: { [device 001, Ua], [device 001, Ub], [device 001, Uc], [device 001, Ia], [device 001, Ib], [device 001, Ic], [device 001, Uab], [device 002, Ubc], [device 002, Uac], [device 002, Iab]}.

[0110] By executing the deduplication program, the edge computing unit can obtain the above-mentioned deduplicated data set only from device 001 and device 002, that is, obtain Ua, Ub, Uc, Ia, Ib, Ic and Uab from device 001, and obtain Ubc, Uac, Iab from device 002.

[0111] It can be seen from the above examples that by applying the industrial data collection method of the embodiments of the present application, the data obtained by the edge computing unit from the device is greatly reduced, the redundant data that does not need to be repeatedly obtained is reduced, the data collection efficiency is improved, and the data transmission cost and edge storage cost can be reduced.

[0112] Figure 7 This is a schematic diagram of the structure of an industrial data acquisition device provided in an embodiment of the present application. Figure 7 As shown, the industrial data acquisition device 700 may include:

[0113] The acquisition module 701 is used to acquire a scene configuration file of an industrial scene, where the industrial scene includes multiple target devices.

[0114] The data collection module 702 is used to determine the data collection that needs to be collected for the industrial scene according to the scene configuration file, and the data collection includes description information of the data that needs to be collected from the target device.

[0115] The relationship determination module 703 is used to determine the description information with an associated relationship in the data set, and obtain the deduplication configuration file corresponding to the description information with an associated relationship.

[0116] The deduplication module 704 is used to control the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file.

[0117] In one embodiment, the relationship determination module 703 may include:

[0118] The first retrieval unit can be used to retrieve from a preset deduplication rule library whether there is a deduplication rule related to at least two description information in the data set.

[0119] The first generating unit can be used to generate a deduplication function code according to the retrieved deduplication rule when deduplication rules related to at least two description information in the data set are retrieved, and generate a deduplication configuration file according to the deduplication function code.

[0120] In one embodiment, the deduplication generation unit is also used to: obtain a compilation platform of the edge computing unit in the industrial scenario; process the deduplication function code through the compilation platform to obtain a deduplication program that can be executed by the edge computing unit.

[0121] In one embodiment, the relationship determination module 703 may include:

[0122] The second retrieval unit may be used to retrieve from a preset semantic relationship library whether there is semantic association information corresponding to at least two description information in the data set.

[0123] The second generating unit may be configured to generate a deduplication configuration file according to the at least two description information corresponding to the semantic association information when the semantic association information corresponding to the at least two description information in the data set is retrieved.

[0124] In one embodiment, the data collection module 702 may include:

[0125] The identification determination unit may be configured to determine the device identification of the target device in the industrial scene according to the scene configuration file.

[0126] The ontology acquisition unit may be used to acquire an ontology file of the target device from a preset database according to the device identification, wherein the ontology file includes description information of data to be collected from the target device.

[0127] The set generation unit can be used to generate a data set according to the ontology files of multiple target devices.

[0128] In one embodiment, the deduplication module 704 may include:

[0129] The address acquisition unit can be used to obtain the network protocol address of the edge computing unit, and the edge computing unit is used to receive data uploaded by the target device in the industrial scenario.

[0130] A deduplication sending unit can be used to send the deduplication configuration file to the edge computing unit according to the network protocol address.

[0131] The edge processing unit can be used to enable the edge computing unit to selectively collect data with overlapping relationship in the data uploaded by the target device, and the overlapping relationship is determined based on the deduplication configuration file and the description information of the data uploaded by the target device.

[0132] The industrial data acquisition device provided in this embodiment can be used to execute the technical solution in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0133] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0134] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0135] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 80 may include:

[0136] Processor 81, memory 82, and communication interface 83;

[0137] The memory 82 is used to store executable instructions of the processor 81; the executable instructions may be computer-executable instructions;

[0138] The processor 81 is configured to execute the technical solution in any of the aforementioned method embodiments by executing the executable instructions.

[0139] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0140] Optionally, when the memory 82 is a device independent of the processor 81, the electronic device 80 may further include:

[0141] The bus 84 , the memory 82 and the communication interface 83 are connected to the processor 81 via the bus 84 and communicate with each other. The communication interface 83 is used to communicate with other devices.

[0142] Optionally, the communication interface 83 may be implemented by a transceiver. The communication interface is used to implement communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0143] The bus 84 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0144] The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0145] The electronic device is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0146] An embodiment of the present application also provides a readable storage medium, which may be a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned method embodiments is implemented.

[0147] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when executed by a processor.

[0148] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0150] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0151] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0152] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. An industrial data collection method, characterized in that: Applied to deduplication systems, including: Obtaining a scene configuration file of an industrial scene, where the industrial scene includes multiple target devices; Determining a data set to be collected for the industrial scene according to the scene configuration file, wherein the data set includes description information of the data to be collected from the target device; Determine the description information with the associated relationship in the data set, and obtain the deduplication configuration file corresponding to the description information with the associated relationship; Based on the deduplication configuration file, the edge computing unit is controlled to collect data of multiple target devices in the industrial scene.

2. The industrial data collection method according to claim 1, characterized in that: The determining of the description information having an associated relationship in the data set and obtaining a deduplication configuration file corresponding to the description information having an associated relationship includes: Retrieve from a preset deduplication rule library whether there is a deduplication rule related to at least two description information in the data set; If it exists, a deduplication function code is generated according to the retrieved deduplication rule, and a deduplication configuration file is generated according to the deduplication function code.

3. The industrial data collection method according to claim 2, characterized in that: The generating a deduplication configuration file according to the deduplication function code comprises: Obtaining a compilation platform of an edge computing unit in the industrial scenario; The deduplication function code is processed by the compilation platform to obtain a deduplication program that can be executed by the edge computing unit.

4. The industrial data collection method according to any one of claims 1 to 3, characterized in that: The determining of the description information having an associated relationship in the data set and obtaining a deduplication configuration file corresponding to the description information having an associated relationship includes: Retrieve from a preset semantic relationship library whether there is semantic association information corresponding to at least two description information in the data set; If so, a deduplication configuration file is generated according to at least two description information corresponding to the semantic association information.

5. The industrial data collection method according to any one of claims 1 to 3, characterized in that: The step of determining the data set to be collected for the industrial scene according to the scene configuration file includes: Determine a device identifier of a target device in the industrial scene according to the scene configuration file; Acquire an entity file of the target device from a preset database according to the device identifier, wherein the entity file includes description information of data to be collected from the target device; A data set is generated according to the entity files of the plurality of target devices.

6. The industrial data collection method according to any one of claims 1 to 3, characterized in that: The controlling the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file includes: Obtaining a network protocol address of an edge computing unit, wherein the edge computing unit is used to receive data uploaded by a target device in the industrial scenario; Sending the deduplication configuration file to the edge computing unit according to the network protocol address; The edge computing unit selectively collects data having an overlapping relationship among the data uploaded by the target device, and the overlapping relationship is determined based on the deduplication configuration file and the description information of the data uploaded by the target device.

7. An industrial data acquisition device, characterized in that: include: An acquisition module, used to acquire a scene configuration file of an industrial scene, wherein the industrial scene includes a plurality of target devices; A data collection module, used to determine the data collection to be collected for the industrial scene according to the scene configuration file, wherein the data collection includes description information of the data to be collected from the target device; A relationship determination module, used to determine the description information of the associated relationship in the data set, and obtain a deduplication configuration file corresponding to the description information of the associated relationship; A deduplication module is used to control the edge computing unit to collect data of multiple target devices in the industrial scene based on the deduplication configuration file.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.