Disclosure of Invention
The present invention is directed to solving the problems described above.
According to a first aspect of the present invention, an intelligent device management method is applied to a network management device, and the method includes:
when detecting that the intelligent device accesses, obtaining an equipment model document corresponding to the intelligent device from the cloud platform, wherein the equipment model document at least comprises: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
and converting the collected data of the intelligent equipment into a standard data structure according to the corresponding relation, and uploading the standard data structure to the cloud platform.
Preferably, the method further comprises:
receiving equipment data which are sent by a cloud platform and aim at a standard data structure of intelligent equipment;
and converting the equipment data into a data format specified by a protocol used by the intelligent equipment according to the corresponding relation, and sending the data format to the intelligent equipment.
Preferably, the method further comprises:
receiving device data sent to the intelligent device by other devices in the same local area network with the intelligent device, and acquiring device model documents corresponding to the other devices;
converting the equipment data into a standard data structure according to the equipment model documents of other equipment;
and converting the equipment data of the standard data structure into a format of a protocol corresponding to the intelligent equipment, and sending the format to the intelligent equipment.
The invention also provides an intelligent equipment management method, which is applied to the cloud platform and comprises the following steps:
receiving a request of network management equipment, wherein the request carries information of newly accessed intelligent equipment;
issuing an equipment model document corresponding to the intelligent equipment to the network management equipment, wherein the equipment model document at least comprises: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
and receiving the device data of the intelligent device which is reported by the network management device and converted into the standard data structure according to the corresponding relation.
Preferably, the method further comprises:
receiving a configuration instruction, creating a standard data structure according to the configuration instruction, wherein the standard data structure comprises the attribute and method information of a type device, and allocating a unique identifier for the standard data structure;
and generating an equipment model document corresponding to the standard data structure, and describing the attribute and method information of the type equipment in the equipment model document.
Preferably, the method further comprises:
and issuing the device data of the standard data structure aiming at the intelligent device and an indication command to the network management device, wherein the indication command is used for indicating the network management device to convert the device data into a format of a protocol used by the intelligent device and sending the format to the intelligent device.
The present invention also provides a network management device, comprising:
the service module is used for acquiring an equipment model document corresponding to the intelligent equipment from the cloud platform when the access of the intelligent equipment is detected, wherein the equipment model document at least comprises: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
and the application end module is used for converting the collected data of the intelligent equipment into a standard data structure according to the corresponding relation and uploading the standard data structure to the cloud platform.
Preferably, the apparatus further comprises:
and the equipment end module is used for receiving the equipment data which is sent by the cloud platform and aims at the standard data structure of the intelligent equipment, converting the equipment data into a data format specified by a protocol used by the intelligent equipment according to the corresponding relation, and sending the data format to the intelligent equipment.
Preferably, the application module is further configured to receive device data sent to the intelligent device by another device in the same local area network as the intelligent device, obtain a device model document corresponding to the other device, convert the device data into a standard data structure according to the device model document of the other device, convert the device data of the standard data structure into a format of a protocol corresponding to the intelligent device, and send the format to the intelligent device.
The invention also provides a cloud platform, comprising:
the request receiving module is used for receiving a request of the network management equipment, wherein the request carries information of newly accessed intelligent equipment;
the service providing module is used for issuing an equipment model document corresponding to the intelligent equipment to the network management equipment, wherein the equipment model document at least comprises: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
and the data management module is used for receiving the equipment data of the intelligent equipment which is converted into the standard data structure according to the corresponding relation and reported by the network management equipment.
Preferably, the method further comprises the following steps:
the model management module is used for receiving the configuration instruction, creating a standard data structure according to the configuration instruction, wherein the standard data structure comprises the attribute and method information of a type device, and allocating a unique identifier for the standard data structure;
and the document management module is used for generating an equipment model document corresponding to the standard data structure, and describing the attribute and method information of the type equipment in the equipment model document.
Preferably, the data management module is further configured to issue device data of a standard data structure for the intelligent device and an instruction command to the network management device, where the instruction command is used to instruct the network management device to convert the device data into a format of a protocol used by the intelligent device and send the format to the intelligent device.
The invention also provides an intelligent equipment management system which comprises the cloud platform, the network management equipment and the intelligent equipment newly accessed into the network management equipment.
The invention also provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the above method.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method when executing the program.
The invention provides an intelligent device management method, a platform, a system, a medium and a device, when detecting that an intelligent device is accessed, an equipment model document corresponding to the intelligent device is obtained from a cloud platform, and the equipment model document at least comprises the following components: and the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure converts the collected data of the intelligent equipment into the standard data structure according to the corresponding relation, and uploads the standard data structure to the cloud platform. The device model-based compatible management of different intelligent devices is realized, and the problem that the existing control mode of the internet of things device cannot adapt to the management requirements of a plurality of different types of devices in the internet of things is solved.
Other characteristic features and advantages of the invention will become apparent from the following description of exemplary embodiments, which is to be read in connection with the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The existing Bluetooth and ZigBee do not realize remote control, but part of WiFi of a third party can only support small-cycle equipment control, the existing integration mode is a mode of pushing on a server side, and then receiving and issuing are carried out by an integrated app, a uniform integration control method is not available, and the management requirements of various types of equipment in an Internet of things cannot be met.
In order to solve the above problems, embodiments of the present invention provide an intelligent device management method, a platform, a system, a medium, and a device.
First, a first embodiment of the present invention will be described with reference to the drawings.
The invention provides an intelligent device management method, wherein a network management device (such as a special internet of things gateway) can support access of various intelligent devices of different types, the intelligent devices are managed through a cloud platform, and the flow of completing intelligent device management by using the method is shown in figure 1 and comprises the following steps:
101, a cloud platform receives a configuration instruction and creates a standard data structure;
in this step, a user sends a configuration instruction to the cloud platform to instruct the cloud platform to create a standard data structure, wherein the standard data structure contains the attribute and method information of a type device and assigns a unique identifier to the standard data structure.
102, generating an equipment model document corresponding to the standard data structure, and describing the attribute and method information of the type equipment in the equipment model document;
in the embodiment of the present invention, the related attribute information includes:
current state of the device: power-on and power-off states, running states, and the like;
device self-detection state: normal, abnormal, etc.;
state of environment detection: temperature, weight, body fat, humidity, air quality, health status, etc.
The related method information comprises the following steps: on-off control of the device, temperature regulation, timed execution of a certain command, and group commands of various command sets, etc.
103, when detecting that the intelligent device is accessed, the network management device acquires a device model document corresponding to the intelligent device from the cloud platform;
in this step, the network management device accepts the access of a new intelligent device, and the device model document at least includes any one or more of the following information:
interface information of the intelligent equipment, corresponding relation between an intelligent equipment protocol and a standard data structure template.
Step 104, the network management equipment converts the collected data of the intelligent equipment into a standard data structure according to the corresponding relation and uploads the standard data structure to the cloud platform;
in this step, the network management device can convert device data of different types of intelligent devices using different protocols into a standard data structure based on the device model document, and the cloud platform receives the device data of the standard data structure. On the basis, data interaction between the intelligent equipment and the cloud platform and data interaction between different types of intelligent equipment can be realized.
The second embodiment of the present invention will be described with reference to the accompanying drawings
An embodiment of the present invention provides an intelligent device management method, where a network management device (e.g., a dedicated internet of things gateway) can support access to a plurality of different types of intelligent devices, and manage the intelligent devices through a cloud platform, and a process of completing management of the intelligent devices by using the method is shown in fig. 2, and includes:
steps 201 to 203 are the same as steps 101 to 103 in the first embodiment of the present invention, and are not described herein again.
And 204, the network management equipment receives the equipment data of the standard data structure aiming at the intelligent equipment, which is issued by the cloud platform, converts the equipment data into a format of a protocol corresponding to the intelligent equipment according to the equipment model document, and sends the format to the intelligent equipment.
In this step, the network management device converts the device data of the unified standard data structure received from the cloud platform into a format of a protocol of the intelligent device serving as a final receiving object based on the device model document, and then sends the device data to the corresponding intelligent device.
The third embodiment of the present invention will be described with reference to the accompanying drawings
An embodiment of the present invention provides an intelligent device management method, where a network management device (such as a dedicated internet of things gateway) can support access to a plurality of different types of intelligent devices, and manage the intelligent devices through a cloud platform, and a process of completing management of the intelligent devices by using the method is shown in fig. 3, where the process includes:
steps 301 to 303 are the same as steps 101 to 103 in the first embodiment of the present invention, and are not described herein again.
Step 304, the network management device receives device data sent to the intelligent device by other devices in the same local area network with the intelligent device, and obtains device model documents corresponding to the other devices;
in the step, the network management equipment is connected with a plurality of intelligent equipment, and different intelligent equipment has different access modes to the network management equipment (such as Bluetooth, ZigbBee or WiFi). Specifically, when there is an intelligent device that needs to send data to another intelligent device, the device data is first sent to the network management device.
305, the network management equipment converts the equipment data into a standard data structure according to the equipment model documents of other equipment;
in this step, the network management device converts the device data into a standard data structure according to the device model documents of the other devices from which the device data originates.
Generally, after an intelligent device is newly connected to a network management device, the network management device will request the cloud platform to obtain a device model document of the intelligent device. Optionally, when data transmission is needed, or when the device model document needs to be updated, acquisition may be requested from the cloud platform.
Step 306, the network management device converts the device data of the standard data structure into a protocol format of the intelligent device according to the device model document of the intelligent device, and sends the protocol format to the intelligent device;
in this step, after the device data sent by the other devices is converted into the standard data structure, the device data is converted into the protocol format of the intelligent device according to the device model document of the intelligent device which is the destination of the device data sending, and finally, the protocol format is sent to the destination intelligent device.
The fourth embodiment of the present invention will be described below with reference to the drawings.
An embodiment of the present invention provides an intelligent device management apparatus, whose structure is shown in fig. 4, including:
the service module 401 is configured to, when detecting that the smart device is accessed, obtain, to the cloud platform, a device model document corresponding to the smart device, where the device model document at least includes: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
and the application module 402 is configured to convert the collected data of the smart device into a standard data structure according to the corresponding relationship, and upload the standard data structure to the cloud platform.
Preferably, the apparatus further comprises:
the device side module 403 is configured to receive device data of a standard data structure for the intelligent device, which is issued by the cloud platform, convert the device data into a data format specified by a protocol used by the intelligent device according to the correspondence, and send the data format to the intelligent device.
Preferably, the application module 403 is further configured to receive device data sent to the intelligent device by another device in the same local area network as the intelligent device, obtain a device model document corresponding to the other device, convert the device data into a standard data structure according to the device model document of the other device, convert the device data of the standard data structure into a format of a protocol corresponding to the intelligent device, and send the format to the intelligent device.
An embodiment of the present invention further provides a cloud platform, a structure of which is shown in fig. 5, including:
a request receiving module 501, configured to receive a request of a network management device, where the request carries information of a newly-accessed intelligent device;
the service providing module 502 is configured to issue an equipment model document corresponding to the intelligent device to the network management device, where the equipment model document at least includes: the corresponding relation between the data format specified by the protocol used by the intelligent equipment and the standard data structure;
the data management module 503 is configured to receive device data of the intelligent device that is converted into the standard data structure according to the correspondence, where the device data is reported by the network management device.
Preferably, the cloud platform further comprises:
the model management module 504 is configured to receive a configuration instruction, create a standard data structure according to the configuration instruction, where the standard data structure includes attribute and method information of a type device, and allocate a unique identifier to the standard data structure;
and the document management module 505 is configured to generate an equipment model document corresponding to the standard data structure, where the attribute and method information of the type equipment are described in the equipment model document.
Preferably, the data management module 503 is further configured to issue device data of a standard data structure for the intelligent device and an instruction command to the network management device, where the instruction command is used to instruct the network management device to convert the device data into a format of a protocol used by the intelligent device and send the format to the intelligent device.
The embodiment of the invention also provides an intelligent device management system which comprises the cloud platform, the network management device and the intelligent device newly accessed into the network management device.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method provided in the first embodiment of the present invention.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method provided in the first embodiment of the present invention are implemented.
Next, example five of the present invention will be explained.
The embodiment of the invention provides an intelligent equipment management method and an intelligent equipment management device, wherein the intelligent equipment management device is integrated and modularized through a Universal Gateway (UGW), and the integrated modularization is divided into the following steps: the device comprises an equipment end module, an application end module and a service (Server) module, wherein the equipment end module is responsible for providing data of a standard data structure for intelligent equipment of a third party to be transmitted in, the Server module sends the data to a cloud platform, the application end module pulls equipment data from the cloud platform and then sends the equipment data to the application end module (specifically, the equipment data can be analyzed and sent down in an APP form, such as an application end APP), and therefore equipment integration modularization and remote control are achieved.
1. Firstly, a standard data structure is created on a cloud platform, the standard data structure comprises all attributes and methods of one type of intelligent equipment or one type of intelligent equipment, a uniform TypeID is provided as a unique identifier, and the standard data structure is created.
2. After the standard data structure is successfully created, a corresponding device model document is generated, which contains all the information (attributes and methods) of the device.
3. According to the generated device model document, a device side module (specifically, the device side module can be realized in an APP form, such as a device side APP) is integrated with a UGW module, the intelligent device of the third party is converted into a standard data structure according to the provided method and the provided interface, and specifically, the device data received from the intelligent device of the third party is converted into data in a standard data format.
4. The device data collected by the device side module can be reported to the cloud platform through the UGW module at any time.
5. The application module also needs to integrate the UGW module according to the device model document, continuously acquires standard data structures on a small cycle (namely short-range wireless communication and communication between devices in a local area network) and a large cycle (communication between the devices in the local area network and a remote device and a cloud platform) according to the service provided by the UGW module, and provides the standard data structures to the application module. And data interaction between the intelligent devices and the cloud platform are realized.
6. And after the application terminal module acquires the equipment data, the data is distributed to the corresponding intelligent equipment, and the instruction is controlled through the protocol of each intelligent equipment.
In addition, the application module can also save the collected device data and provide the device data for a user to perform big data analysis.
The embodiment of the invention provides an intelligent device management method, a platform, a system, a medium and a device, when the access of an intelligent device is detected, a device model document corresponding to the intelligent device is acquired from a cloud platform, and the device model document at least comprises the following components: and converting the collected data of the intelligent equipment into a standard data structure according to the corresponding relation, and uploading the standard data structure to the cloud platform. The device model-based compatible management of different intelligent devices is realized, and the problem that the existing control mode of the internet of things device cannot adapt to the management requirements of a plurality of different types of devices in the internet of things is solved. The device models corresponding to different intelligent devices or different types of intelligent devices are created and managed through the cloud platform, the compatibility and flexibility of the system are greatly improved, the configuration of the device models can be added, modified or deleted according to actual requirements, an integration mode of cross-protocol device remote control is realized, and the real Internet of things device management based on the cloud platform is realized on the basis.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.