Configuration method, device, computer equipment and system for acquiring equipment data
By acquiring and deploying configuration models, the problem of low device configuration efficiency in the Internet of Things is solved, fast and efficient device data collection is achieved, and it adapts to the configuration needs of multiple devices and device combination usage scenarios, saving time and human resources. .
Patent Information
- Application Number
- CN202310212575.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
Existing IoT configuration methods have low configuration efficiency when faced with a large number of devices of the same type, and cannot adapt to the dynamic configuration needs of device combinations, especially for complex devices such as programmable logic controllers (PLCs) and device combinations. There are limitations to the configuration in the scenario.
Provides a configuration method for obtaining device data. By obtaining the configuration model, including default configuration, configuring network parameters, and deploying the configuration model to obtain device data, the model server is used to quickly obtain the configured configuration model to avoid repeated configuration work. Support The gateway periodically checks and downloads the configuration model to collect device data, and modifies the default configuration to reduce configuration workload.
It achieves fast and efficient device data collection, avoids complex and repeated configurations, improves the efficiency of IoT access, adapts to the configuration needs of multiple devices and device combination usage scenarios, and saves time and human resources.
Smart Images

Figure CN118573554A
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things, and in particular, to a configuration method, apparatus, computer equipment and storage medium for acquiring device data. Background Art
[0002] There are a large number of devices in the factory. These devices need to be configured through various communication protocols to access the Internet of Things (IoT) network to send out the device's own operating data. Due to the complexity of device types and the large number of devices, how to simplify the protocol configuration and improve the configuration and access efficiency of a large number of devices with the same type of protocol, so as to obtain the device's operating data, is a problem that needs to be solved. Summary of the invention
[0003] The present invention summary section is provided to introduce some selected concepts in a simplified form, which will be further described in the following detailed description section. The present invention summary section is not intended to identify any key features or essential features of the claimed subject matter, nor is it intended to be used to help determine the scope of the claimed subject matter.
[0004] Based on this, the present application provides a configuration method for obtaining device data, including: obtaining a configuration model, the configuration model including a default configuration; the default configuration is used to obtain the device data; configuring network parameters of the configuration model; wherein the network parameters are used to transmit the device data; and deploying the configuration model to obtain the device data.
[0005] The above method can avoid a large amount of repetitive configuration work, save time and improve efficiency.
[0006] Furthermore, the obtaining of the configuration model includes: obtaining the configuration model through a model server.
[0007] The above method can quickly obtain the configured configuration model and quickly obtain the configuration model corresponding to the device.
[0008] Furthermore, the default configuration includes: gateway protocol type and device data type.
[0009] The above method can avoid complicated and repetitive configuration work. After the content that needs to be configured is configured once by default, it can be reused, which is convenient and fast.
[0010] Furthermore, the deploying the configuration model includes: uploading the configuration model to a gateway server so that the gateway loads the configuration model.
[0011] The above method allows the gateway to periodically check the gateway server. When the gateway finds that there is a device that meets the configuration model among the devices connected to it, it can download the configuration model from the gateway server and then collect data from the device.
[0012] Furthermore, after obtaining the configuration model, the method further includes: modifying a default configuration of the configuration model.
[0013] The above method can be modified based on the default configuration, which will greatly reduce the configuration workload and achieve the purpose of saving time and improving efficiency.
[0014] Furthermore, the method further includes: obtaining operation data of the gateway.
[0015] The above method can be used to analyze whether the current gateway is acquiring device data, so as to facilitate further adjustment and judgment of the gateway's collection of device data.
[0016] The present application also provides a configuration device for acquiring device data, including: an acquisition module, used to acquire a configuration model, the configuration model includes a default configuration; the default configuration is used to acquire the device data; a configuration module, used to configure network parameters of the configuration model; wherein the network parameters are used to transmit the device data; and a deployment module, used to deploy the configuration model to acquire the device data.
[0017] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the above method when executing the computer program.
[0018] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above method is implemented.
[0019] The present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the method described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Implementations of the present disclosure are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate the same or similar parts.
[0021] Figure 1 It is a schematic diagram of an application scenario system according to one embodiment of the present application.
[0022] Figure 2 It is a schematic diagram of the process of a configuration method for acquiring device data according to an embodiment of the present application.
[0023] Figure 3 is a schematic diagram of a configuration apparatus for acquiring device data according to an embodiment of the present application.
[0024] Figure 4 is a schematic diagram of a system for acquiring device data according to an embodiment of the present application.
[0025] Figure 5 is a schematic diagram of a computer device for acquiring device data according to an embodiment of the present application.
[0026] The reference numerals are as follows:
[0027] 100: System
[0028] 101-103: Module
[0029] 111: Module
[0030] 121: Module
[0031] 131: Module
[0032] 132: Module
[0033] 133: Module
[0034] S201-S203: Steps 300: Device
[0035] 301: Module
[0036] 302: Module
[0037] 303: Module
[0038] 304: Module
[0039] 305: Module
[0040] 400: System
[0041] 402: Gateway
[0042] 500: Computer equipment
[0043] 502: Processor
[0044] 504: Memory DETAILED DESCRIPTION
[0045] In the following description, a large number of specific details are set forth for the purpose of explanation. However, it is to be understood that the implementation of the present invention can be implemented without these specific details. In other examples, well-known circuits, structures and techniques are not shown in detail to avoid affecting the understanding of the description.
[0046] References throughout the specification to "an implementation," "implementation," "exemplary implementations," "some implementations," "various implementations," etc., indicate that the implementation of the invention being described may include certain features, structures, or characteristics, however, it does not mean that every implementation must include these certain features, structures, or characteristics. Furthermore, some implementations may have some, all, or none of the features described for other implementations.
[0047] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0048] There are two existing IoT configuration methods: point-by-point configuration and fixed device type configuration. The former method can achieve configuration flexibility. It uses a point-by-point configuration method to configure the necessary parameters for each data point of the device. The disadvantage of this is that it places high demands on the configurator. The meaning and structural hierarchy of each point of the device must be clearly understood, otherwise the configuration will fail, and for a large number of devices of the same type, the efficiency of repeated configuration is very low. Fixed device type configuration has great limitations and is only applicable to special protocols and single-point devices such as CNC machine tools. It cannot adapt to the random dynamic configuration of general devices such as programmable logic controllers (PLCs), let alone configuration in device combination scenarios.
[0049] like Figure 1As shown, the application scenario of the embodiment of the present application is that in a factory production line, there are multiple different devices (101, 102, 103), and it is necessary to collect real-time operating data of these devices, such as real-time data such as the rotation speed of motor equipment, for various application software monitoring or later statistical reports. Therefore, first, the Internet of Things acquisition gateway (111) will be placed next to the production line equipment, and the Internet of Things acquisition gateway (111) connects the devices (101, 102, 103) and the network (121). Subsequently, in another Internet of Things configuration software (132) that is connected to the network (121), the device model is downloaded from the cloud platform server (131), the corresponding parameters are configured, and then uploaded to the public server (133). The IoT collection gateway (111) periodically consults the public server (133) through the network (121). When it is found that the relevant device model matches the currently connected device (101, 102, 103), the device model is downloaded from the public server (133) to the IoT collection gateway (111), so that the data of the corresponding device (101, 102, 103) can be collected, and then the collected data is uploaded to the data bus or network (121) and provided to the IoT configuration software (132) or other applications for use. In the implementation of the present application, the IoT configuration software (132) plays the role of a configurator. The following implementation of the present application mainly describes a quick and convenient configuration method from the perspective of the IoT configuration software (132) for obtaining real-time operating data of multiple devices.
[0050] Figure 2 An embodiment of a configuration method for acquiring device data is shown, comprising:
[0051] Step S201: Acquire a configuration model, wherein the configuration model includes a default configuration; the default configuration is used to acquire the device data.
[0052] Specifically, the configuration model is obtained, and the configuration model includes parameters of the default configuration. The default configuration indicates that it can be used directly without reconfiguration. The default configuration can be used to obtain data of the device. The configuration model represents a set of configurations, and the set includes multiple configuration parameters. The configuration parameters have been configured and do not need to be reconfigured. The devices include devices connected in industrial Internet of Things applications, such as machine tools, robotic arms, etc. The machine tools, robotic arms and other devices will generate data after being connected to the Internet of Things, and will also generate data during operation. The default configuration included in the configuration model is used to obtain data generated after the above-mentioned devices are connected to the Internet of Things.
[0053] In some implementations, the configuration model may be a configuration model that combines configuration models of multiple devices, or may be referred to as a configuration model set. For example, it may be a configuration model that combines configuration models of several devices into one.
[0054] Step S202: configuring the network parameters of the configuration model; wherein the network parameters are used to transmit the device data.
[0055] Specifically, the configuration model is configured with network parameters. The network parameters can be used to transmit the data of the device obtained through the configuration model, or can be used to find the communication parameters of the device in the network, and the device is used to send its own data to the network through the network parameters. The network parameters can include conventional Internet Protocol (IP) and port parameters, domain names, etc. The network parameters can be used to transmit the data of the device.
[0056] Step S203: deploy the configuration model to obtain the device data.
[0057] Specifically, the configuration model that completes the configuration of network parameters is deployed to obtain the data of the device. The deployment process is to deploy the configuration model on corresponding hardware, execution machine or some medium, so that through the configuration of the configuration model, the hardware or execution machine can obtain, capture or collect the data of the device.
[0058] The above method can avoid repeating the same configuration work, save time and improve efficiency.
[0059] Furthermore, the obtaining of the configuration model includes: obtaining the configuration model through a model server.
[0060] Specifically, the configuration model can be obtained by downloading the configuration model through a model server. In some embodiments, the model server provides multiple configuration models, and can also provide different configuration models for a single device. The user can view the configuration model that best suits the device from the model server and download it. In some embodiments, the device model corresponding to the configuration model needs to be consistent with the device model for data collection. The configuration model in the model server can be updated regularly or irregularly. In some embodiments, the model server can be a server located in the cloud.
[0061] The above method can quickly obtain the configured configuration model and quickly obtain the configuration model corresponding to the device.
[0062] Furthermore, the default configuration includes: gateway protocol type and device data type.
[0063] Specifically, the gateway protocol type refers to whether the gateway or device uses a parallel or serial network connection when connecting to the Internet of Things. The protocol type is a protocol used for network support and acquisition of device data. The device data type is the type of data that needs to be collected for different devices. In some embodiments, such as machine tool equipment, the device data type includes load, current, voltage, speed, temperature, etc.; for robotic arm equipment, the device data type includes the rotation angle of each axis, etc. In addition, in some embodiments, the default configuration also includes data acquisition protocols, etc. For example, different equipment brands and interfaces require different data acquisition protocols for collection; for different equipment, the data acquisition protocols may also be different, for example, machine tool equipment has a separate data acquisition protocol, and robotic arm equipment has a separate data acquisition protocol.
[0064] The above method can avoid complicated and repetitive configuration work. You only need to configure the content once by default and then you can reuse it, which is convenient and fast.
[0065] Furthermore, deploying the configuration model includes: uploading the configuration model to a gateway server so that the gateway loads the configuration model.
[0066] Specifically, the configuration model is deployed, including uploading the configuration model to a gateway server, which may also be referred to as a public server. Then, the gateway may periodically or non-periodically consult the gateway server. When it is found that there is a device that conforms to the configuration model among the devices connected to the gateway, the configuration model is downloaded from the gateway server to the gateway to complete the loading of the configuration model, so that the gateway can start to obtain the data of the corresponding device according to the configuration model. In some embodiments, the gateway may send the acquired device data to the data bus, so that it can be used and analyzed by other application devices or application software. In some embodiments, the configuration method for acquiring device data does not need to be run simultaneously with the subsequent gateway acquiring device data. That is to say, usually, the configuration method for acquiring device data and the gateway acquiring device data can be completed independently and do not affect each other. The implementation method of the present application allows the gateway to consult and update the configuration model on the gateway server regularly or irregularly. After acquiring the corresponding configuration model, the gateway can acquire device data according to the instructions provided by the configuration model. The configuration method for acquiring device data is a preliminary work. After the configuration model is deployed on the gateway server, the gateway queries the gateway server and downloads the model to acquire device data. The two processes are independent of each other.
[0067] The above method allows the gateway to periodically check the gateway server. When the gateway finds that there is a device that meets the configuration model among the devices connected to it, it downloads the configuration model from the gateway server and then collects data from the device.
[0068] Furthermore, after obtaining the configuration model, the method further includes: modifying a default configuration of the configuration model.
[0069] Specifically, after obtaining the configuration model, the default configuration of the configuration model can be modified to perform personalized and specialized modifications, and the modification can include adding, editing, deleting, etc. to the default configuration. Modifications based on the default configuration will greatly reduce the workload of configuration, thereby saving time and improving efficiency.
[0070] Furthermore, the method further includes: obtaining operation data of the gateway.
[0071] Specifically, it may also include obtaining the operation data of the gateway. The operation data of the gateway includes the real-time status of the gateway, such as the power-off status or the operation status of the gateway. Obtaining the operation data of the gateway can be used to analyze whether the current gateway is working, or to analyze whether the current gateway is acquiring the data of the device, so as to facilitate further adjustment and judgment of the situation of the gateway for device data collection.
[0072] In some implementations, the configuration model may also be referred to as a device model. In order to reduce the technical complexity of device IoT configuration, improve the efficiency of IoT access configuration, and ensure configuration flexibility, the implementation of the present application proposes an IoT configuration method based on a device model, the basic principle of which is to create a device model for the same type of equipment or a device unit or device collection that meets the requirements on site, such as adding a three-color light and a water and electricity meter to a CNC machine tool to form a complete machine tool business entity, but it also involves a more complex protocol combination.
[0073] Specifically, the device model contains general properties and IoT parameters of the device or a composite set of the device. During the configuration process, the default parameters of the device model need to be defined for the first time. Then, in the process of adding device entities of the same type, the device entities of this type are automatically loaded according to the selected device model, and the default parameters contained in the device model will also be loaded, avoiding repeated creation of parameters such as communication parameters and point information, and certain IoT properties in the device model can also be edited to achieve flexible custom configuration. The implementation method of the present application implements the model type of industrial service levels and devices in industrial applications by defining an abstract device model. The efficiency of IoT configuration will be greatly improved through the management and expansion of the device model library.
[0074] In some embodiments, the configuration method can be executed by software. For example, the software can be called IoT configuration software, or IoT device configuration software, which is equipped with a cloud-based device model management service. As an important software of the industrial Internet platform, IoT device configuration software has a device model service, especially on the cloud platform; the service adopts a Server-Client structure, and the service is managed and maintained by the cloud platform. The IoT configuration software can view the device model information provided by the server when connected to the Internet, and can download it to the local through the network. The downloaded device model can be edited and maintained by the IoT configuration software, and can be used as a template to further create a new device model.
[0075] Specifically, the device model exists in the IoT configuration software in the form of a JS object notation (JSON) format data or file, which defines the protocol type, network connection parameters, and device built-in variable parameters required for the IoT acquisition gateway (referred to as the gateway) to connect to the device. This data or file is transmitted between the IoT configuration software, the device model server, and the IoT acquisition gateway (gateway), realizing the steps of device model management, device communication configuration, and IoT acquisition.
[0076] Specifically, the IoT configuration software and the IoT acquisition gateway (gateway) are used together. One IoT configuration software can control multiple IoT acquisition gateways (gateways). The device model file required for the gateway connection device process is configured through the IoT configuration software. The device model file contains the IoT acquisition gateway (gateway) specified by the connected device, the required protocol type, network target IP and port parameters, and parameters that need to be read from the device side. The IoT acquisition gateway (gateway) establishes a connection with the device based on the parameters and periodically reads the device parameters. Subsequently, the IoT acquisition gateway (gateway) reports the read device parameters and the heartbeat status of the gateway itself to the data bus, and any other data consumer application or device obtains the data from the data bus for use. In addition, the IoT configuration software can obtain the real-time status of the gateway through the data bus.
[0077] In some implementations, the staff needs to connect the equipment on the factory production line to the network, hoping to collect the real-time operation data of the equipment (such as motor speed) for various application software to monitor or use these data to make statistical reports. So the staff first places the IoT acquisition gateway (gateway) next to the production line equipment, connects the IoT acquisition gateway (gateway) to the equipment and the network respectively, and is also responsible for connecting the equipment to the network (one implementation method can be to connect the IoT configuration software and register the gateway information on the IoT configuration software). After opening the IoT configuration software, the staff begins to configure the parameters of the gateway connection device process. Of course, this process does not need to be done from scratch in most cases, because the device model store provided by the cloud platform may have a device model that is consistent with the device that the staff wants to connect. The staff can download it (purchase or free), and then configure the network address and port of the device, establish a binding relationship between the device and the IoT acquisition gateway (gateway) that is closest to it and has a network connection, or download a similar device model to edit the model (such as deleting some unnecessary parameters or adding some additional parameters), and then use it after configuring the network parameters. After the staff has configured the device model, click the deployment configuration button on the software, and the device model will be saved to the public service. Each registered IoT collection gateway (gateway) will periodically check the service. Once a device model related to itself is found, it will pull the device model and connect the device and collect data according to the configuration. After the gateway collects the data, it completes the necessary data cleaning and normalization processing, and uses a unified data protocol to upload the data and gateway status to the data bus through message queue telemetry transmission (Message Queuing Telemetry Transport, MQTT) for the IoT configuration software to manage the gateway status and gateway firmware upgrades. Other applications can use the real-time data of these devices through the data bus.
[0078] Figure 3 A configuration device 300 for acquiring device data is provided. The device 300 includes: an acquisition module (301) for acquiring a configuration model, wherein the configuration model includes a default configuration; the default configuration is used to acquire the device data; a configuration module (302) for configuring network parameters of the configuration model; wherein the network parameters are used to transmit the device data; and a deployment module (303) for deploying the configuration model to acquire the device data.
[0079] Furthermore, the acquisition module (301) is also used to: acquire the configuration model through a model server.
[0080] Furthermore, the default configuration includes: gateway protocol type and device data type.
[0081] Furthermore, the deployment module (303) is also used to upload the configuration model to the gateway server so that the gateway loads the configuration model.
[0082] Furthermore, it also includes a modification module (304) for modifying the default configuration of the configuration model.
[0083] Furthermore, it also includes: a gateway data module (305) for obtaining the operation data of the gateway.
[0084] It should be noted that the device may include more or fewer modules to implement the described functions. Figure 3 At least one module in the exemplary device 200 may be further divided into a plurality of different sub-modules, each sub-module being used to perform at least a portion of the operations described herein in conjunction with the corresponding module. In addition, in some examples, the device 300 may also include additional modules for performing other operations already described in the specification. In addition, those skilled in the art will appreciate that the exemplary device 200 may be implemented using software, hardware, firmware, or any combination thereof.
[0085] Figure 4 A system 400 for acquiring device data is provided. The system 400 includes: a gateway 402 and the configuration device 300 described above.
[0086] There may be several gateways 402, which are deployed in the Internet of Things. This application does not limit the number and form. In some embodiments, the system 400 may include: the configuration device, the gateway, the data bus, the gateway firmware library service, and the model server.
[0087] The configuration device can also be called IoT configuration software, the gateway can also be called IoT acquisition gateway, and the model server can also be called cloud device model service, and their functions are consistent with those described in the method implementation. The gateway firmware library service is used to upgrade the gateway firmware, acquisition protocol, etc. to ensure the normal operation of the gateway.
[0088] Figure 5 A computer device is provided. According to one embodiment, the computer device 500 may include a processor 502, and the processor 502 executes a computer program stored in a memory 504. When the computer program is executed by the processor, the above method is implemented.
[0089] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0090] Those of ordinary skill in the art can understand that all or part of the processes in the methods for implementing the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the various embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0091] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above steps are implemented.
[0092] The present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the above method.
[0093] Furthermore, the computer program can be stored and run in the cloud to perform the method. Furthermore, the components of the program can be deployed on multiple devices and the cloud. For example, the corresponding steps can be deployed and run on a local or local computer, or run on different cloud devices, and transmit signals through a communication connection, or can also be deployed and run on a local or local computer. This application does not limit the manner or method, and can flexibly deploy and deploy corresponding technologies to make full use of equipment and technologies such as the cloud, big data, and supercomputing capabilities to execute and complete the method.
[0094] Some implementations of the present disclosure may include articles. Articles may include storage media, which are used to store logic. Examples of storage media may include one or more types of computer-readable storage media capable of storing electronic data, including volatile memory or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, writable or rewritable memory, and the like. Examples of logic may include various software units, such as software components, programs, applications, computer programs, applications, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, processes, software interfaces, application program interfaces (APIs), instruction sets, computing codes, computer codes, code segments, computer code segments, words, values, symbols, or any combination thereof. In some implementations, for example, articles may store executable computer program instructions, which, when executed by a processor, cause the processor to perform the methods and / or operations described herein. Executable computer program instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, and the like. Executable computer program instructions can be implemented according to a predefined computer language, method or syntax for commanding a computer to perform a specific function. The instructions can be implemented using any appropriate high-level, low-level, object-oriented, visual, compiled and / or interpreted programming language.
[0095] What has been described above includes examples of the disclosed architecture. It is certainly not possible to describe every conceivable combination of components and / or methods, but those skilled in the art will appreciate that many other combinations and arrangements are possible. Therefore, the novel architecture is intended to encompass all such substitutions, modifications and variations that fall within the spirit and scope of the appended claims.
Claims
1. A configuration method for obtaining device data, wherein: include: Acquire a configuration model, wherein the configuration model includes a default configuration; the default configuration is used to acquire the device data; configuring network parameters of the configuration model; wherein the network parameters are used to transmit the device data; The configuration model is deployed to obtain the device data.
2. The method of claim 1, wherein: The obtaining of the configuration model comprises: The configuration model is obtained through a model server.
3. The method of claim 1, wherein: The default configuration includes: Gateway protocol type and device data type.
4. The method of claim 1, wherein: The deploying the configuration model includes: The configuration model is uploaded to the gateway server so that the gateway loads the configuration model.
5. The method of claim 1, wherein: After obtaining the configuration model, the method further includes: Modify the default configuration of the configuration model.
6. The method of claim 4, wherein: Also includes: Obtaining operation data of the gateway.
7. A configuration device (200) for acquiring device data, wherein: include: An acquisition module (201) is used to acquire a configuration model, wherein the configuration model includes a default configuration; The default configuration is used to obtain the device data; A configuration module (202), configured to configure network parameters of the configuration model; wherein the network parameters are used to transmit the device data; A deployment module (203) is used to deploy the configuration model to obtain the device data.
8. The device (200) of claim 7, wherein: The acquisition module (201) is further used for: The configuration model is obtained through a model server.
9. The device (200) of claim 7, wherein: The default configuration includes: Gateway protocol type and device data type.
10. The device (200) of claim 7, wherein: The deployment module (203) is further used for: The configuration model is uploaded to the gateway server so that the gateway loads the configuration model.
11. The device (200) of claim 7, wherein: Also includes: A modification module (204) is used to modify the default configuration of the configuration model.
12. The device (200) of claim 10, wherein: Also includes: The gateway data module (205) is used to obtain the operation data of the gateway.
13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
15. A computer program product tangibly stored on a computer readable medium and comprising computer executable instructions which, when executed, cause at least one processor to perform the method according to any one of claims 1-6.
16. A system for acquiring device data, wherein: It comprises a gateway and a configuration device for acquiring device data as described in claims 7-12.
