Data control system and method of industrial equipment, terminal equipment and storage medium

Automatically parsing and updating the object dictionary table through the data control system of industrial equipment, the problem of inefficient manual update efficiency when the communication protocol of industrial equipment is changed is solved, automatic protocol adaptation is realized, and data control efficiency and system stability are improved.

CN118938753APending Publication Date: 2024-11-12深圳市三旺通信股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411138748.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When existing industrial equipment replaces or updates communication protocols, it is necessary to manually update the object dictionary table, which leads to inefficiency and error proneness, which increases the complexity and cost of system maintenance.

Method used

Design a data control system for industrial equipment. Through the table processing module and data control module, the industrial gateway can automatically parse and update the internal object dictionary table, and perform data reading/writing control based on the device object dictionary table and pre-configured protocol header information. Implement automatic protocol adaptation.

Benefits of technology

It reduces system downtime and human errors caused by manual configuration, improves system stability and reliability, improves data control efficiency and accuracy, and reduces the complexity and cost of system maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118938753A_ABST
    Figure CN118938753A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of control, and discloses a data control system and method of industrial equipment, terminal equipment and a storage medium, and the data control system comprises a table processing module and a data control module; the table processing module is configured to process a data table sent by the industrial equipment by the industrial gateway, and automatically update an internal object dictionary table of the industrial gateway according to a processing result to obtain an updated object dictionary table; the data table comprises an equipment object dictionary table; and the data control module is configured for the industrial gateway to perform read / write control on the data of the industrial equipment according to the updated object dictionary table and the pre-configured protocol header information. The industrial gateway provided by the invention can automatically detect and adapt to the communication protocol change of the industrial equipment without artificial interference, and can reduce the possibility of system downtime and human errors caused by manual configuration through automatic updating, thereby improving the stability and reliability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to a data control system, method, terminal device and storage medium for industrial equipment. Background Art

[0002] The data exchange between industrial gateways and industrial devices usually relies on predefined communication protocols. However, when industrial devices replace or update their communication protocols, the industrial gateway needs to manually update its internal object dictionary table to adapt and match the new communication rules; among them, the object dictionary table (ObjectDictionary), which describes the internal data structure and communication rules of the device. This manual reconfiguration process is not only time-consuming and inefficient, but also prone to errors, which will increase the complexity and cost of system maintenance. Summary of the invention

[0003] In view of this, embodiments of the present application provide a data control system, method, terminal device and storage medium for industrial equipment, which can effectively solve the problem of low efficiency in manually updating the object dictionary table.

[0004] In a first aspect, an embodiment of the present application provides a data control system for industrial equipment, which is applied to an industrial gateway, including:

[0005] A table processing module, configured for the industrial gateway to process the data table sent by the industrial device, and automatically update the internal object dictionary table of the industrial gateway according to the processing result to obtain an updated object dictionary table; the data table includes a device object dictionary table;

[0006] The data control module is configured so that the industrial gateway can perform read / write control on the data of the industrial device according to the updated object dictionary table and preconfigured protocol header information.

[0007] In some embodiments, the device object dictionary table includes the data type, data description and data address of the industrial device; the data table also includes device information of the industrial device.

[0008] In some embodiments, the table processing module includes a parsing unit and an updating unit;

[0009] The parsing unit is used to parse the data table to obtain the device object dictionary table;

[0010] The updating unit is used to automatically update the internal object dictionary table according to the device object dictionary table to obtain the updated object dictionary table.

[0011] In some embodiments, the industrial gateway reads, writes, or controls data of the industrial device according to the updated object dictionary table and preconfigured protocol header information, including:

[0012] The industrial gateway sends a data request; the data request includes a device address, a function code, a function address and a control type;

[0013] The industrial device receives the data request, responds to the data request, and performs read / write control;

[0014] When performing read control, the industrial gateway receives and reports response data according to the protocol header information to realize data collection; the response data is data information generated in response to the data request.

[0015] In a second aspect, an embodiment of the present application provides a data control system for industrial equipment, which is applied to industrial equipment, including:

[0016] A receiving module, configured to receive a configuration request sent by the industrial gateway;

[0017] a table generation module, configured to generate a data table in response to the configuration request, wherein the data table includes a device object dictionary table of the industrial device;

[0018] The transmission module is configured to send the data table to the industrial gateway, and the data table is used to instruct the industrial gateway to automatically update the internal object dictionary table of the industrial gateway.

[0019] In a third aspect, an embodiment of the present application provides a data control method for industrial equipment, which is applied to an industrial gateway, including:

[0020] Sending a configuration request to the industrial device;

[0021] receiving a data table, wherein the data table includes a device object dictionary table of the industrial device; the data table is generated by the industrial device in response to the configuration request;

[0022] Automatically update the internal object dictionary table of the industrial gateway according to the data table to obtain an updated object dictionary table;

[0023] The data of the industrial device is read / written controlled according to the updated object dictionary table and the preconfigured protocol header information.

[0024] In some embodiments, the updating process of the internal object dictionary table of the industrial gateway according to the data table to obtain the updated object dictionary table includes:

[0025] Parsing the data table to obtain the device object dictionary table;

[0026] The internal object dictionary table of the industrial gateway is automatically updated according to the device object dictionary table to obtain an updated object dictionary table.

[0027] In a fourth aspect, an embodiment of the present application provides a data control method for industrial equipment, which is applied to industrial equipment, including:

[0028] Receive the configuration request sent by the industrial gateway;

[0029] generating a data table in response to the configuration request, the data table including a device object dictionary table of the industrial device;

[0030] The data table is sent to the industrial gateway, and the data table is used to instruct the industrial gateway to automatically update the internal object dictionary table of the industrial gateway.

[0031] In a fifth aspect, an embodiment of the present application provides a terminal device, the terminal device comprising a processor and a memory, the memory storing a computer program, and the processor being used to execute the computer program to implement the above-mentioned data control method for industrial equipment.

[0032] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed on a processor, implements the above-mentioned data control method for industrial equipment.

[0033] The embodiments of the present application have the following beneficial effects:

[0034] The present application proposes a data control system for industrial equipment, in which the industrial equipment generates a data table containing a device object dictionary table according to a request from an industrial gateway, so that the industrial gateway can automatically update the internal object dictionary table of the industrial gateway based on the device object dictionary table in the data table; the industrial gateway can automatically detect and adapt to changes in the communication protocol of the industrial equipment without human interference, and through automatic updates, it can reduce system downtime and the possibility of human errors caused by manual configuration, thereby improving the stability and reliability of the system, and further improving the efficiency and accuracy of data control. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1A schematic diagram of a data control system for industrial equipment in an embodiment of the present application is shown;

[0037] Figure 2 A schematic diagram showing the principle structure of a table processing module in an embodiment of the present application is shown;

[0038] Figure 3 A flow chart of a data control method for industrial equipment in an embodiment of the present application is shown;

[0039] Figure 4 A schematic diagram of the update process in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0041] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0042] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0043] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0044] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0045] The present application proposes an industrial gateway with an automatic protocol adaptation function, which can automatically update the internal object dictionary table of the industrial gateway according to the device object dictionary table provided by the industrial equipment, thereby realizing rapid control of the data of the industrial equipment.

[0046] The data control system of the industrial equipment is described below with reference to some specific embodiments.

[0047] Figure 1 The schematic diagram of the principle structure of the data control system of the industrial equipment of the embodiment of the present application is shown. Exemplarily, the data control system of the industrial equipment includes a connection establishment module, a receiving module, a table generation module, a transmission module, a table processing module and a data control module.

[0048] The connection establishment module of the present application is used to establish a connection between the industrial gateway and the industrial equipment; in some embodiments, during the process of establishing a connection between the industrial gateway and the industrial equipment, the industrial gateway supports multiple connection methods, such as WiFi, USB, serial Ethernet, Bluetooth, etc., that is, the industrial gateway establishes a connection with the industrial equipment through WiFi, USB, serial Ethernet, Bluetooth, etc., and after the connection is established, the industrial gateway will send a configuration request to the industrial equipment to obtain the device object dictionary table of the industrial equipment.

[0049] For example, taking industrial equipment based on the Modbus RTU protocol as an example, the industrial gateway establishes a connection with the Modbus RTU device through the RS-485 or RS-232 serial interface. After the connection is established, the industrial gateway will first send a Modbus RTU request frame (such as a read holding register request with function code 03) to test the connection and detect the response of the device, and then send a configuration request to the industrial device to obtain the device object dictionary table of the industrial device.

[0050] The receiving module of the industrial equipment of the present application is configured to receive a configuration request sent by an industrial gateway; the table generation module is configured for the industrial equipment to generate a data table according to the request of the industrial gateway, and the data table includes a device object dictionary table.

[0051] After the industrial gateway of the present application establishes a connection with the industrial device, the industrial device will generate a data table containing a device object dictionary table based on the configuration request of the industrial gateway, so that the industrial gateway can automatically update its internal object dictionary table based on the device object dictionary table in the data table. Through automatic updating, the system downtime and the possibility of human errors caused by manual configuration can be reduced, thereby improving the stability and reliability of the system, and further improving the efficiency and accuracy of data read / write control.

[0052] In some embodiments, the device object dictionary table includes data types, data descriptions, and data addresses of all data of each industrial device; as another implementation, the device object dictionary table also includes data units, etc., as shown in the following table.

[0053] Data address Data Types Data Description Data Unit 0000 Holding Temperature readings Celsius 0001 Holding Pressure readings Pascal 0002 Coil Heating control switch

[0054] In this table, the holding register at address 0000 is used to store temperature data, the holding register at address 0001 is used to store pressure readings, and the coil at address 0002 is used to control the heater. Information such as these addresses, types, and parameter descriptions can be found in the documentation of the industrial device, or, if supported by the industrial device, can be obtained by sending a specific query command.

[0055] It should be noted that the data address usually refers to the access address of the data in the industrial device, such as the register address, memory address, etc. The data address is used to indicate the specific data location that the industrial gateway needs to read or write to the industrial device. After the connection is established, the industrial gateway will send a configuration request (such as a read holding register request with function code 03) to the industrial device. The industrial device will form a data table with the device object dictionary table and the current device information according to the configuration request, and send it to the Modbus RTU device through the serial interface, so that the gateway can understand the communication rules and data structure of the current industrial device through the device object dictionary table.

[0056] The table processing module of the industrial gateway of the present application is configured for the industrial gateway to process the data table, and automatically update the internal object dictionary table of the industrial gateway according to the processing result to obtain an updated object dictionary table.

[0057] In some embodiments, the table processing module is as follows: Figure 2 As shown, it includes a parsing unit and an updating unit; the parsing unit is used to parse the data table to obtain a device object dictionary table; the updating unit is used to automatically update the internal object dictionary table according to the device object dictionary table to obtain an updated object dictionary table.

[0058] Exemplarily, after the industrial gateway receives the data table sent by the industrial device, the parsing unit will first verify the integrity and correctness of the data frame (such as performing a CRC check), and after the verification is passed, the industrial gateway parses the data table to obtain a device object dictionary table; when there are multiple industrial devices, in order to identify different device object dictionary tables, the device information, such as the device address, will also be parsed; then the update unit automatically updates the internal object dictionary table of the industrial gateway based on the device object dictionary table obtained by the parsing. During the update, if there is a conflict or difference between the device object dictionary table and the internal object dictionary table, the industrial gateway will resolve the conflict or replace the old data. During the update, it also includes configuring the protocol reporting field. After all updates are completed, the updated object dictionary table can be obtained; wherein, the protocol reporting field includes the timing reporting method and reporting frequency, or the parameter change reporting method.

[0059] After receiving the data table sent by the industrial equipment, the industrial gateway of the present application will first verify the validity of the data table. After the verification is valid, the industrial gateway will parse the device object dictionary table in the data table, and update the internal object dictionary table of the industrial gateway according to the device object dictionary table obtained by the analysis and the protocol reporting field configured by the industrial gateway. The process of updating the internal object dictionary table of the industrial gateway according to the device object dictionary table and the protocol reporting field configured by the industrial gateway does not require manual intervention, and can achieve rapid adaptation of the industrial equipment communication protocol.

[0060] In some embodiments, the industrial gateway provides configurable json protocol header information, which includes protocol shell, protocol type, data format and communication parameters, etc.; wherein, the protocol shell is customized by the customer, for example, company name, product name, etc.; the protocol type can be selected according to the actual needs of the customer, such as Modbus, OPC UA, HOSTLINK, etc.; the data format includes multiple, such as JSON, XML, binary, etc., to meet different data transmission requirements; communication parameters include IP address, port number, communication rate (such as 9600bps, 115200bps, etc.), check mode (such as no check, even check, odd check, etc.), data bits (such as 7 bits, 8 bits, etc.), stop bits (such as 1 bit, 2 bits, etc.).

[0061] In order to better complete automatic updates, the industrial gateway of the present application also includes configuring a protocol reporting field for the internal object dictionary table or the updated object dictionary table. The protocol reporting field is configurable, and the method of scheduled reporting or parameter change reporting can be selected, and a specific reporting frequency or threshold can be set; so that the industrial gateway sends data requests according to the time point in the protocol reporting field, and collects and reports data according to the specified reporting method and frequency.

[0062] The data control module of the present application is configured so that the industrial gateway can read / write the data of the industrial equipment according to the updated object dictionary table and the protocol header information. That is to say, after the industrial gateway updates the internal object dictionary table, it will read / write the data of the Modbus RTU device according to the updated object dictionary table, that is, the industrial gateway constructs the Modbus RTU request frame, reads or writes the register of the Modbus RTU device, and receives the response frame of the Modbus RTU device; the industrial gateway parses the response frame and obtains the required data, thereby realizing the data read / write control process.

[0063] In some embodiments, the industrial gateway sends a data request, which includes a device address, a function code, a function address, and a control type. When performing read control, the checksum (CRC) calculated based on the specific content of the data request forms the response data together with the requested data, and is sent to the Modbus RTU device through the serial interface; when performing write control, write control is performed according to the specific content of the request.

[0064] For example, when it is necessary to read the temperature reading in the holding register of a certain industrial device at function address 0000, assuming that the device address of the certain industrial device is 01, and the function code (Function Code) is 03, that is, reading the holding register, then the constructed data request includes the device address 01, function code 03, function address 0000, that is, the starting address of the register to be read, and the control type is the number of registers and byte order, where the number of registers 0001 is the number of registers to be read during reading, and the byte order is big endian or little endian, depending on the agreement between the device and the gateway; the industrial device parses the received data request and returns response data containing the temperature reading to the industrial gateway.

[0065] For example, when the heater needs to be controlled, assuming that the state of the coil (i.e., the heater) with the function address 0002 is to be controlled to be on, the constructed data request includes the function address of 01, the function code of 05, i.e., writing a single coil, the function address of 0002, i.e., the address of the coil to be controlled, and the control type of FF00, i.e., the on state, where FF represents 255 in hexadecimal, i.e., all 1s in binary. The industrial equipment parses the received data request and turns the heater on or off according to the data request.

[0066] After the application automatically updates the internal object dictionary table of the industrial gateway to obtain the updated object dictionary table, the industrial gateway can control the data of the industrial equipment according to the new updated object dictionary table. Based on the updated object dictionary table, the data control process does not need to be reconfigured, and the automation of data collection is realized.

[0067] When the communication protocol of industrial equipment changes, the industrial gateway of the present application can adaptively configure the communication protocol changes of the industrial equipment without manual reconfiguration, thereby reducing the complexity and cost of system maintenance; in addition, automated configuration and data control reduce manual intervention and improve the efficiency and accuracy of data control.

[0068] The data control method for industrial equipment is described below in conjunction with some specific embodiments.

[0069] Figure 3 A flow chart of a data control method for industrial equipment according to an embodiment of the present application is shown. Exemplarily, the data control method for industrial equipment includes the following steps:

[0070] S100, the industrial gateway establishes a connection with the industrial equipment.

[0071] In some embodiments, the industrial gateway establishes a connection with the industrial equipment through WiFi, USB, serial Ethernet, Bluetooth, etc. The industrial gateway in this application supports multiple connection methods and can adapt to the communication needs of different industrial equipment.

[0072] To ensure the effectiveness of the connection, after the connection is successfully established, the industrial gateway first initializes the communication module according to the Modbus TCP protocol in the json protocol header information, and then sends a request to test the connection and detect the response of the device.

[0073] S200, the industrial gateway sends a configuration request to the industrial device.

[0074] In some embodiments, the industrial gateway establishes a connection with a Modbus RTU device via an RS-485 or RS-232 serial interface, and after detecting a successful response from the device, sends a configuration request to the industrial device to obtain a device object dictionary table of the industrial device.

[0075] In some embodiments, the customer pre-configures the json protocol header information in the web interface of the industrial gateway, and the protocol header signal includes the protocol shell, protocol type, data format and communication parameters. For example, the customer configuration selects the Modbus TCP protocol, the data format is binary, and the communication parameters are set to IP address 192.168.1.100 and port number 502. A register with an address of 0x0001 is set for the internal object dictionary table of the industrial gateway, the data type is integer, the reporting method is timed reporting, and the frequency is once per minute.

[0076] When the scheduled reporting time is reached, the industrial gateway will construct a request packet in the format of the Modbus protocol, namely a configuration request. The configuration request includes the device address and port number of the target device and the register address to be read, namely the data address.

[0077] S300, the industrial device generates a data table in response to the configuration request and sends the data table; the data table includes a device object dictionary table.

[0078] In some embodiments, the industrial device generates a data table including a device object dictionary table according to the configuration request of the industrial gateway. The device object dictionary table includes the data type, data description and data address of all data of each industrial device; as another implementation, the device object dictionary table also includes data units, etc. The industrial device forms a data table with the device object dictionary table and the current device information, and sends it to the Modbus RTU device through the serial interface, so that the gateway can understand the communication rules and data structure of the current industrial device through the device object dictionary table.

[0079] S400, the industrial gateway receives the data table, and updates the internal object dictionary table of the industrial gateway according to the data table to obtain an updated object dictionary table;

[0080] After the industrial gateway of this application receives the data form, Figure 4 As shown, the data table is first parsed to obtain a device object dictionary table; then the internal object dictionary table of the industrial gateway is automatically updated according to the device object dictionary table to obtain an updated object dictionary table.

[0081] Exemplarily, after receiving the data table sent by the industrial equipment, the industrial gateway will first verify the validity of the data table. After the verification is valid, the industrial gateway converts it according to the set data format (binary), that is, parses the device object dictionary table in the data table, and automatically updates the internal object dictionary table of the industrial gateway based on the parsed device object dictionary table; when updating, if there is a conflict or difference between the device object dictionary table and the internal object dictionary table, the industrial gateway will resolve the conflict or replace the old data. After the update is completed, the updated object dictionary table can be obtained, and the update also includes.

[0082] This application updates the internal object dictionary table of the industrial gateway through a configurable JSON protocol header and the parsed device object dictionary table. Customers can customize the acquisition protocol by themselves without the need for developers to manually write or modify code, which can greatly reduce the development workload and improve development efficiency.

[0083] Through automatic updating, the present application can reduce system downtime and the possibility of human error caused by manual configuration, thereby improving the stability and reliability of the system, and further improving the efficiency and accuracy of data read / write control.

[0084] S500, the industrial gateway performs read / write control on the data of the industrial device according to the updated object dictionary table and the pre-configured protocol header information.

[0085] The industrial gateway of the present application sends a data request, which includes a device address, a function code, a function address, and a control type. The industrial device receives the data request and responds to the data request to perform read / write control.

[0086] Specifically, when performing read control, the industrial device calculates the checksum (CRC) based on the specific content of the data request and the requested data to form the response data, and sends it to the Modbus RTU device through the serial interface; the industrial gateway receives and reports the response data according to the specified reporting method (regular reporting) and frequency (once per minute); the reported protocol shell is consistent with the web interface configuration json protocol header. When performing write control, the industrial device is written according to the specific content of the data request.

[0087] It can be understood that the method of this embodiment corresponds to the data control system of the industrial equipment in the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0088] This application uses configurable json protocol headers and device object dictionary tables to allow customers to customize collection protocols without developers having to manually write or modify code, which greatly reduces development workload, reduces the difficulty and cost of development and maintenance, and improves development efficiency; at the same time, the use of standardized json format and web interface settings can also improve the maintainability and scalability of the system. In addition, customers can quickly define new collection protocols and reporting methods through simple settings, so that the system can quickly adapt to new collection protocols and reporting requirements customized by customers, thereby quickly responding to changes in customer needs.

[0089] The present application also provides a terminal device. Exemplarily, the terminal device includes a processor and a memory, wherein the memory stores a computer program, and the processor runs the computer program to enable the terminal device to execute the functions of each module in the above-mentioned data control method of industrial equipment or the above-mentioned data control system of industrial equipment.

[0090] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0091] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0092] The present application also provides a computer-readable storage medium for storing the computer program used in the above-mentioned terminal device. For example, the computer-readable storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0093] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0094] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0095] If the functions are implemented in the form of software function modules and sold or used as independent products, they 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0096] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A data control system for industrial equipment, characterized in that: Applied to industrial gateways, including: A table processing module, configured for the industrial gateway to process the data table sent by the industrial device, and automatically update the internal object dictionary table of the industrial gateway according to the processing result to obtain an updated object dictionary table; the data table includes a device object dictionary table; The data control module is configured so that the industrial gateway can perform read / write control on the data of the industrial device according to the updated object dictionary table and preconfigured protocol header information.

2. The data control system for industrial equipment according to claim 1, characterized in that: The device object dictionary table includes the data type, data description and data address of the industrial device; the data table also includes the device information of the industrial device.

3. The data control system for industrial equipment according to claim 1, characterized in that: The table processing module includes a parsing unit and an updating unit; The parsing unit is used to parse the data table to obtain the device object dictionary table; The updating unit is used to automatically update the internal object dictionary table according to the device object dictionary table to obtain the updated object dictionary table.

4. The data control system for industrial equipment according to claim 1, characterized in that: The industrial gateway reads, writes, or controls data of the industrial device according to the updated object dictionary table and preconfigured protocol header information, including: The industrial gateway sends a data request; the data request includes a device address, a function code, a function address and a control type; The industrial device receives the data request, responds to the data request, and performs read / write control; When performing read control, the industrial gateway receives and reports response data according to the protocol header information to realize data collection; the response data is data information generated in response to the data request.

5. A data control system for industrial equipment, applied to industrial equipment, characterized in that: include: A receiving module, configured to receive a configuration request sent by the industrial gateway; a table generation module, configured to generate a data table in response to the configuration request, wherein the data table includes a device object dictionary table of the industrial device; The transmission module is configured to send the data table to the industrial gateway, and the data table is used to instruct the industrial gateway to automatically update the internal object dictionary table of the industrial gateway.

6. A data control method for industrial equipment, applied to an industrial gateway, characterized in that: include: Sending a configuration request to the industrial device; receiving a data table, wherein the data table includes a device object dictionary table of the industrial device; the data table is generated by the industrial device in response to the configuration request; Automatically update the internal object dictionary table of the industrial gateway according to the data table to obtain an updated object dictionary table; The data of the industrial device is read / written controlled according to the updated object dictionary table and the preconfigured protocol header information.

7. The data control method for industrial equipment according to claim 6, characterized in that: The updating process of the internal object dictionary table of the industrial gateway according to the data table to obtain the updated object dictionary table includes: Parsing the data table to obtain the device object dictionary table; The internal object dictionary table of the industrial gateway is automatically updated according to the device object dictionary table to obtain an updated object dictionary table.

8. A data control method for industrial equipment, applied to industrial equipment, characterized in that: include: Receive the configuration request sent by the industrial gateway; generating a data table in response to the configuration request, the data table including a device object dictionary table of the industrial device; The data table is sent to the industrial gateway, and the data table is used to instruct the industrial gateway to automatically update the internal object dictionary table of the industrial gateway.

9. A terminal device, characterized in that: The terminal device comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the data control method for industrial equipment according to any one of claims 5 to 8.

10. A computer-readable storage medium, characterized in that: The computer program is stored therein, and when the computer program is executed on a processor, the data control method for industrial equipment according to any one of claims 5 to 8 is implemented.