CN114374602A - Master control equipment configuration method and device, cloud server and storage medium - Google Patents

Master control equipment configuration method and device, cloud server and storage medium Download PDF

Info

Publication number
CN114374602A
CN114374602A CN202111652738.2A CN202111652738A CN114374602A CN 114374602 A CN114374602 A CN 114374602A CN 202111652738 A CN202111652738 A CN 202111652738A CN 114374602 A CN114374602 A CN 114374602A
Authority
CN
China
Prior art keywords
model
internet
control
equipment
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111652738.2A
Other languages
Chinese (zh)
Inventor
叶龙
马涛
姜红梅
田涵朴
倪志明
黄亚杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Super Wisdom Shanghai Internet Of Things Technology Co ltd
Henan Zilian Internet Of Things Technology Co ltd
Original Assignee
Super Wisdom Shanghai Internet Of Things Technology Co ltd
Henan Zilian Internet Of Things Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Super Wisdom Shanghai Internet Of Things Technology Co ltd, Henan Zilian Internet Of Things Technology Co ltd filed Critical Super Wisdom Shanghai Internet Of Things Technology Co ltd
Priority to CN202111652738.2A priority Critical patent/CN114374602A/en
Publication of CN114374602A publication Critical patent/CN114374602A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The invention provides a master control device configuration method and device, a cloud server and a storage medium, and relates to the technical field of Internet of things. The configuration method of the master control equipment comprises the following steps: generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the Internet of things equipment; and issuing a control model to the target main control equipment so that the target main control equipment accesses the Internet of things equipment based on the control model and processes the Internet of things equipment based on the control model. According to the object model capable of representing the functional attributes of the Internet of things equipment, the control model for the Internet of things equipment is generated, the control model is issued to the target main control equipment, the target main control equipment does not need to be upgraded, the configuration of the target main control equipment can be achieved, and the efficiency of configuring the target main control equipment is improved.

Description

Master control equipment configuration method and device, cloud server and storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a configuration method and device of a master control device, a cloud server and a storage medium.
Background
The internet of things is that information of some objects or processes is collected in real time through various devices and technologies, so that ubiquitous connection between objects and people is achieved, and intelligent sensing, identification and management of the objects or the processes are achieved. The control of the devices in the internet of things has also become a research hotspot.
In the related art, the master control device is upgraded, and then the master control device can be configured, specifically, the information of the device can be added into the master control device, so that the master control device allows the device to be accessed, and after the device is accessed into the master control device, the terminal can control the device through the master control device.
However, in the related art, when the main control device is configured, the main control device needs to be upgraded, which reduces the efficiency of configuring the main control device.
Disclosure of Invention
The present invention aims to provide a method and an apparatus for configuring a master control device, a cloud server, and a storage medium, so as to solve the problem in the related art that when the master control device is configured, the master control device needs to be upgraded, which reduces the efficiency of configuring the master control device.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for configuring a master device, where the method includes:
generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing functional attributes of the Internet of things equipment;
and issuing the control model to target main control equipment so that the target main control equipment is accessed to the Internet of things equipment based on the control model and is processed based on the control model.
Optionally, the control model includes: the business model is used for enabling the target master control equipment to be accessed into the Internet of things equipment and generating a business instruction of the Internet of things equipment according to a control instruction;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating a business model of the Internet of things equipment according to the object model.
Optionally, the generating a service model of the internet of things device according to the object model includes:
and generating the business model according to the equipment capability corresponding to the object model and the target business.
Optionally, the control model further includes: a first instruction model, configured to enable the master control device to convert the service instruction into a transmission instruction supported by the internet of things device;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating the first instruction model of the Internet of things equipment according to the object model.
Optionally, the control instruction is an instruction sent by a target terminal;
alternatively, the control model comprises: the second instruction model is used for enabling the main control equipment to generate the control instruction according to instruction code information sent by the Internet of things control equipment;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating the second instruction model of the Internet of things equipment according to the object model.
Optionally, the generating a first instruction model of the internet of things device according to the object model includes:
and generating the first instruction model according to the protocol of the object model and the transmission protocol supported by the Internet of things equipment.
Optionally, the issuing the control model to the target master control device includes:
and determining the main control equipment supporting the Internet of things equipment as the target main control equipment according to the version information of the plurality of preset main control equipment.
Optionally, before generating the control model for the internet of things device according to the object model of the internet of things device, the method further includes:
receiving a to-be-controlled instruction aiming at the Internet of things equipment, which is sent by a target terminal, wherein the to-be-controlled instruction represents that the target terminal needs to control the Internet of things equipment;
before the issuing the control model to the target master control device, the method further includes:
and taking the main control equipment corresponding to the target terminal as the target main control equipment.
In a second aspect, an embodiment of the present invention further provides a device for configuring a master device, where the device includes:
the generating module is used for generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the Internet of things equipment;
and the issuing module is used for issuing the control model to target main control equipment so that the target main control equipment is accessed to the Internet of things equipment based on the control model and is processed based on the control model.
Optionally, the control model includes: the business model is used for enabling the target master control equipment to be accessed into the Internet of things equipment and generating a business instruction of the Internet of things equipment according to a control instruction;
the generating module is further used for generating a business model of the Internet of things equipment according to the object model.
Optionally, the generating module is further configured to generate the service model according to the device capability and the target service corresponding to the object model.
Optionally, the control model further includes: a first instruction model, configured to enable the master control device to convert the service instruction into a transmission instruction supported by the internet of things device;
the generating module is further configured to generate the first instruction model of the internet of things device according to the object model.
Optionally, the control instruction is an instruction sent by a target terminal;
alternatively, the control model comprises: the second instruction model is used for enabling the main control equipment to generate the control instruction according to instruction code information sent by the Internet of things control equipment;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating the second instruction model of the Internet of things equipment according to the object model.
Optionally, the generating module is further configured to generate the first instruction model according to a protocol of the object model and a transmission protocol supported by the internet of things device.
Optionally, the issuing module is further configured to determine, according to version information of a plurality of preset master control devices, that the master control device supporting the internet of things device is the target master control device.
Optionally, the apparatus further comprises:
the control device comprises a receiving module, a control module and a control module, wherein the receiving module is used for receiving a command to be controlled aiming at the Internet of things equipment, which is sent by a target terminal, and the command to be controlled represents that the target terminal needs to control the Internet of things equipment;
the device further comprises:
and the determining module is used for taking the main control equipment corresponding to the target terminal as the target main control equipment.
In a third aspect, an embodiment of the present invention further provides a cloud server, including: a memory and a processor, where the memory stores a computer program executable by the processor, and the processor implements the configuration method of the master control device according to any one of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is read and executed, the method for configuring a master control device according to any of the foregoing first aspects is implemented.
The invention has the beneficial effects that: the embodiment of the invention provides a master control device configuration method, which comprises the following steps: generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the Internet of things equipment; and issuing a control model to the target main control equipment so that the target main control equipment accesses the Internet of things equipment based on the control model and processes the Internet of things equipment based on the control model. According to the object model capable of representing the functional attributes of the Internet of things equipment, the control model for the Internet of things equipment is generated, the control model is issued to the target main control equipment, the target main control equipment does not need to be upgraded, the configuration of the target main control equipment can be achieved, and the efficiency of configuring the target main control equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a configuration system of a master control device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a configuration method of a master control device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a configuration method of a master control device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a configuration apparatus of a master control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a cloud server according to an embodiment of the present invention.
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.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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 application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
The internet of things is that information of some objects or processes is collected in real time through various devices and technologies, so that ubiquitous connection between objects and people is achieved, and intelligent sensing, identification and management of the objects or the processes are achieved. The control of the devices in the internet of things has also become a research hotspot.
In the related art, the master control device is upgraded, and then the master control device can be configured, specifically, the information of the device can be added into the master control device, so that the master control device allows the device to be accessed, and after the device is accessed into the master control device, the terminal can control the device through the master control device. However, in the related art, when the main control device is configured, the main control device needs to be upgraded, which reduces the efficiency of configuring the main control device.
In view of the above technical problems in the related art, an embodiment of the present application provides a method for configuring a master control device, in which a control model for an internet of things device is generated according to an object model that can characterize a functional attribute of the internet of things device, and the control model is issued to a target master control device, so that the target master control device can be configured without upgrading the target master control device, and efficiency of configuring the target master control device is improved.
Fig. 1 is a schematic structural diagram of a master control device configuration system according to an embodiment of the present invention, and as shown in fig. 1, the master control device configuration system may include: the system comprises at least one master control device 101, at least one internet of things device 102 and a cloud server 103; the cloud server 103 is in communication connection with each master control device 101, each master control device 101 may correspond to at least one internet of things device 102, and each master control device 101 is in communication connection with at least one corresponding internet of things device 102.
In some embodiments, the cloud server 103 generates a control model for the internet of things device 102 according to a physical model of the internet of things device 102, wherein the physical model is used for characterizing functional attributes of the device; issuing a control model to target main control equipment; the target master control device is in communication connection with the internet of things device 102 based on the control model, and processes the internet of things device 102 based on the control model.
It should be noted that the target master device may be any one master device 101 in the at least one master device 101. Optionally, the master control device 101 may be any one of the following: host, local server, gateway server, etc.; of course, the main control device 101 may also be other devices having a processing function, which is not specifically limited in this embodiment of the application.
Of course, as shown in fig. 1, the master device configuration system may further include: at least one terminal 104, each master control device 101 corresponds to at least one terminal 104, and each master control device 101 is connected with the corresponding at least one terminal 104 in a communication manner. When both the internet of things device 102 and the terminal 104 are in communication connection with the same main control device 101, the terminal 104 can control the internet of things device 102 through the main control device 101.
In the embodiment of the present application, the terminal 104 may be any one of the following: desktop computers, notebook computers, tablet computers, smart phones, handheld remote control devices, and the like.
In addition, the communication connection manner in this embodiment may be a wireless communication connection or a wired communication connection, which is not specifically limited in this embodiment.
The following explains a configuration method of a master control device provided in the embodiment of the present application, with the cloud server 103 as an execution subject.
Fig. 2 is a schematic flowchart of a configuration method of a master control device according to an embodiment of the present invention, and as shown in fig. 2, the method may include:
s101, generating a control model for the Internet of things equipment according to the object model of the Internet of things equipment.
The object model is used for representing the functional attributes of the Internet of things equipment. The functional attributes or the device capabilities of the internet of things devices can be described through an object model.
In addition, the object model and the control model may be in the form of a plug-in, may also be data in a database, and may also be in other forms, which is not specifically limited in the embodiment of the present application. At least one type of model may be included in the control model.
In some embodiments, the cloud server may generate a control model for the internet of things device according to the object model of the internet of things device by using a preset control model generation rule.
In practical application, the internet of things equipment can be any equipment with the internet of things function; for example, the internet of things device may be an intelligent household device with an internet of things function, for example, the internet of things device may be a switch, a socket, a lamp, a refrigerator, an air conditioner, a television, a curtain, a washing machine, a water dispenser, or the like.
S102, issuing a control model to the target main control equipment so that the target main control equipment accesses the Internet of things equipment based on the control model and processes the Internet of things equipment based on the control model.
The cloud server can issue the control model to the target master control device, and the target master control device can receive the return control model.
In the embodiment of the application, the target master control device may establish a communication connection with the internet of things device based on the control model; and controlling and/or maintaining the equipment of the Internet of things based on the control model. Wherein, maintain thing networking device and include: and maintaining the heartbeat online state of the equipment of the Internet of things and the state synchronization of the equipment of the Internet of things.
In summary, an embodiment of the present invention provides a method for configuring a master device, including: generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the Internet of things equipment; and issuing a control model to the target main control equipment so that the target main control equipment accesses the Internet of things equipment based on the control model and processes the Internet of things equipment based on the control model. According to the object model capable of representing the functional attributes of the Internet of things equipment, the control model for the Internet of things equipment is generated, the control model is issued to the target main control equipment, the target main control equipment does not need to be upgraded, the configuration of the target main control equipment can be achieved, and the efficiency of configuring the target main control equipment is improved.
Optionally, the control model includes: a business model; the business model is used for enabling the target main control equipment to be accessed into the Internet of things equipment and generating a business instruction of the Internet of things equipment according to the control instruction.
The process of generating the control model for the internet of things device according to the object model of the internet of things device in the S101 may include:
and generating a business model of the Internet of things equipment according to the object model.
The service model may be used to describe a specific service of the master control device. The form of the service model may also be a plug-in, may also be data in a database, and may also be in other forms, which is not specifically limited in this application embodiment.
In some embodiments, the target master control device may be communicatively connected to the internet of things device according to a service model, and the target master control device may determine whether the internet of things device can be identified and determine whether communication mechanisms of the target master control device and the internet of things device are consistent based on the service model; and when the equipment capable of identifying the Internet of things is determined based on the business model and the communication mechanisms of the target main control equipment and the equipment of the Internet of things are determined to be consistent, the equipment of the Internet of things is in communication connection.
In some embodiments, the target master device may obtain a control instruction, where the control instruction may include: the target master control equipment determines whether the identifier of the Internet of things equipment is in a manageable equipment identifier list or not based on a business model and determines whether the functional attribute to be controlled exists in an attribute list or not based on the business model; and if the identifier of the Internet of things equipment is determined to be in the manageable equipment identifier list, the functional attribute to be controlled exists in the attribute list, and a service instruction of the Internet of things equipment is generated according to the control instruction.
Optionally, the control instruction is an instruction sent by the target terminal.
It should be noted that, the target terminal may determine a control instruction in response to a control operation input by a user, and send the control instruction to the target main control device, and the target main control device may receive the control instruction; of course, the target main control device may also have display and operation functions, and the target main control device may determine the control instruction in response to the control operation input by the user, which is not specifically limited in the embodiment of the present application.
For example, the target terminal may control the switch 1 to be opened, and the control command may be { "deviceId":1, "properties": { "powerSwitch": "on" }, where "deviceId":1 represents the identifier of the internet of things device to be controlled, and "powerSwitch" represents the functional attribute of the control switch.
In addition, the target terminal can send the control instruction to the target main control equipment; the target main control equipment retrieves the service model after receiving the control instruction, finds that the service model has a powerSwitch attribute, and can send a control instruction { "deviceId" to the internet of things equipment: 1, "properties": { "powerSwitch": "on" } and waits for the reply of the Internet of things equipment; the target main control device can receive information fed back by the internet of things device and returns an execution result to the target terminal.
In the embodiment of the application, the target master control device may retrieve the service model of the to-be-controlled internet-of-things device according to the control instruction in the process of retrieving the service model according to the control instruction.
Optionally, the control model includes: and the second instruction model is used for enabling the main control equipment to generate a control instruction according to the instruction code information sent by the Internet of things control equipment.
The process of generating the control model for the internet of things device according to the object model of the internet of things device in the S101 may include:
and generating a second instruction model of the Internet of things equipment according to the object model.
The instruction code information may include: the instruction codes and the identification of the Internet of things equipment.
It should be noted that both the internet of things control device and the internet of things device may be zigbee devices, for example, the internet of things control device may be a panel device, and the internet of things device may be a controlled device, for example, the smart home device that can be controlled in the foregoing.
In some embodiments, the internet of things control device may send instruction code information to the target master control device, and the target master control device may determine a control attribute according to an instruction code in the instruction code information and an identifier of the internet of things device by using a second instruction model, and generate a control instruction according to the identifier and the control attribute of the internet of things device.
Correspondingly, the target main control equipment retrieves the service model according to the control instruction, finds that the service model has the corresponding control attribute, and can send the service instruction generated according to the control instruction to the internet of things equipment and wait for the reply of the internet of things equipment; the target main control device can receive information fed back by the internet of things device and returns an execution result to the target terminal.
For example, the internet of things control device may be a panel device P, the internet of things device may be a device D, the panel device P grants a control authority of the device D, and the panel device P may send an identifier id (123) and an instruction code (001) of the device D to the target master control device; the target main control device may receive the id (123) and the instruction code (001), and determine that the device D is a zero-fire switch according to the id (123) by using the second instruction model, and determine that, for the zero-fire switch, when the instruction code is 001, the corresponding control attribute is "powerSwitch": "on" (open switch); the target master device may determine, according to the identifier id (123) and the control attribute ("powerSwitch": on ") of the device D, that the control instruction is: { "deviceld": 123, "properties": { "powerSwitch": on "}).
Or, the target main control device determines that the device D is a curtain motor according to the id (123) by using a second instruction model, and determines that the corresponding control attribute is ' motorSwitch ': on ' (curtain motor is opened) when the instruction code is 001 for the curtain motor; the target master device may determine, according to the identifier id (123) and the control attribute ("motorSwitch": on ") of the device D, that the corresponding control instruction is: { "deviceld": 123, "properties": { "motorSwitch": on "}).
Correspondingly, after determining the control instruction, the target master control device searches for the service model, finds that the service model has a powerSwitch attribute, and the target master control device can send the control instruction { "deviceId":1, "properties": { "powerSwitch": "on" } and waits for the reply of the Internet of things equipment; the target main control device can receive information fed back by the internet of things device and returns an execution result to the target terminal.
It should be noted that, when the panel-type device controls other internet of things devices, because the attributes of the other internet of things devices are not visible in the first instruction model of the panel-type device, the attributes of the controlled internet of things devices cannot be mapped in the first instruction model of the panel-type device, an intermediate second instruction model is needed to establish a control mapping between the panel-type device and the controlled internet of things devices, and the conversion from the instruction codes of the panel-type device to the control instructions is realized.
Optionally, the process of generating a service model of the internet of things device according to the object model may include: and generating a business model according to the equipment capability corresponding to the object model and the target business.
The Internet of things equipment is provided with a corresponding object model, and the object model can reflect the equipment capacity of the Internet of things equipment and comprises various functional attributes corresponding to the Internet of things equipment.
For example, the internet of things device may be a zero-fire one-way switch device, and the device capability may include: a switch attribute (powerSwitch), a backlight attribute (backlight), a power outage recovery attribute (powerrecovery); the switch attribute has the capability of triggering linkage (is Trigger) and the capability of serving as an execution Condition (is Condition) in intellectualization; the switch and backlight attributes can be provided as an intelligent Action (is Action) capability.
Additionally, the target service may include a combination of at least one of: the method comprises the steps of judging whether a first instruction model path, splitting information, certain attribute are enabled or not and configuring the capability of the equipment of the Internet of things.
It should be noted that the first instruction model path of the internet of things device is used for representing a first instruction model used when the current device performs instruction conversion; the splitting information of the Internet of things equipment is used for representing the number of paths of sub-equipment into which the Internet of things equipment can be split after being connected to the network; the method comprises the steps that whether a certain attribute of the Internet of things equipment is enabled or not is judged, and when the attribute is only supported by the high-version equipment, the low-version equipment does not have the attribute and the capability after being connected to the network; the configuration of the capabilities of the internet of things devices is used to indicate whether an attribute has the capability to trigger linkages and conditions.
Optionally, the control model further includes: the first instruction model is used for enabling the main control equipment to convert the service instruction into a transmission instruction supported by the Internet of things equipment.
In some embodiments, the target master control device may obtain a control instruction, where the control instruction may be an instruction directly sent by the target terminal, or a control instruction generated by the target master control device according to instruction code information sent by the internet of things control device; the target main control equipment retrieves a corresponding service model according to the control instruction, and if the identification of the Internet of things equipment in the control instruction is determined to be in the manageable equipment identification list based on the service model, and the functional attribute to be controlled in the control instruction is determined to be in the attribute list, the control instruction is converted into the service instruction; if the first instruction model is found based on the service model, the target main control device adopts the first instruction model to convert the service instruction into a transmission instruction supported by the Internet of things device.
Correspondingly, the target main control device receives the execution result of the internet of things device, can convert the execution result supported by the internet of things device into the execution result supported by the target terminal, and sends the execution result to the target terminal.
For example, when the target terminal control switch 1 is turned on, the target terminal may send a control message { "deviceId":1, "properties": { "powerSwitch": "on" }; after receiving the control message, the target master control device searches the service model, finds a first instruction model (switch _ zf _ light.lua) corresponding to the switch 1, and has a powerSwitch attribute; with the first instruction model, the "powerSwitch": "on" is converted to a zigbee instruction frame: 010c 00000001010601000123; the target master control device can send the zigbee frame to the internet of things device and wait for the reply of the internet of things device; the target main control equipment receives information fed back by the Internet of things equipment, the fed back information is a zigbee instruction, and the zigbee instruction is converted into { "deviceId":1, "properties": { "powerSwitch": and (5) returning the result to the target terminal.
The process of generating the control model for the internet of things device according to the object model of the internet of things device in the S101 may include:
and generating a first instruction model of the Internet of things equipment according to the object model.
It should be noted that, information of the first instruction model path may be specified in the business model, and if the configuration business model specifies the path of the first instruction model, the first instruction model needs to be generated according to the object model; or when the functional attribute of the object model is a preset functional attribute, generating a first instruction model of the internet of things device according to the object model.
In this embodiment of the present application, the first instruction model may exist in the form of a file, and a path of the first instruction model may be set in the business model; the second instruction model may also exist separately in file form.
Optionally, the process of generating the first instruction model of the internet of things device according to the object model may include:
and generating a first instruction model according to the protocol of the object model and the transmission protocol supported by the Internet of things equipment.
The generated first instruction model can convert an instruction supported by the target terminal into an instruction supported by the internet of things device, and can also convert the instruction supported by the internet of things device into an instruction supported by the target terminal.
In this embodiment of the application, the protocol of the object model may be a protocol supported by the target terminal, and the transmission protocol supported by the internet of things device may be a protocol supported by the controlled device. Optionally, the transmission protocol supported by the internet of things device may be a Zigbee communication protocol.
Optionally, issuing a control model to the target master control device includes:
and determining the main control equipment supporting the Internet of things equipment as target main control equipment according to the version information of the plurality of preset main control equipment.
In some embodiments, the cloud server may determine target version information of the support networking device according to version information of a plurality of preset master control devices, and use a master control device whose version information is the target version information as the target master control device.
Certainly, the cloud server may also use the master control device of at least one target area in the multiple areas as the target master control device; the cloud server can also take the main control equipment indicated by the configuration information as target main control equipment according to preset configuration information; this is not particularly limited by the embodiments of the present application.
Optionally, fig. 3 is a schematic flowchart of a configuration method of a master control device according to an embodiment of the present invention, and as shown in fig. 3, before a process of generating a control model for an internet of things device according to an object model of the internet of things device in S101, the method may further include:
s201, receiving a to-be-controlled instruction which is sent by a target terminal and aims at the equipment of the Internet of things.
The command to be controlled represents that the target terminal needs to control the Internet of things equipment.
In addition, a communication connection can be established between the target terminal and the cloud server.
In the embodiment of the application, when a user needs to control the internet of things equipment by using a target terminal, the internet of things equipment can be selected on the target terminal, the target terminal can respond to the selection operation to generate a command to be controlled for the internet of things equipment, and the command to be controlled for the internet of things equipment is sent to the cloud server; the cloud server can receive a command to be controlled for the internet of things device.
Optionally, the target terminal may be a terminal with a management authority.
Before the process of issuing the control model to the target master device in S102, the method may include:
s202, the main control equipment corresponding to the target terminal is used as target main control equipment.
In some embodiments, the cloud server may determine a master device that the target terminal may communicate with, and may serve as the target master device. After the control model is issued to the target master control device, the target terminal can control the internet of things device based on the control model in the target master control device.
The embodiment of the invention provides a master control device configuration method, which comprises the following steps: generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the Internet of things equipment; and issuing a control model to the target main control equipment so that the target main control equipment accesses the Internet of things equipment based on the control model and processes the Internet of things equipment based on the control model. According to the object model capable of representing the functional attributes of the Internet of things equipment, the control model for the Internet of things equipment is generated, the control model is issued to the target main control equipment, the target main control equipment does not need to be upgraded, the configuration of the target main control equipment can be achieved, and the efficiency of configuring the target main control equipment is improved.
Moreover, the network access configuration can be directly carried out on the target main control equipment, the target main control equipment does not need to be upgraded, the application efficiency and the efficiency are improved, and the configuration time of the target main control equipment is shortened.
For specific implementation processes and technical effects, reference is made to relevant contents of the above method, and details of the main control device configuration apparatus, the cloud server, the storage medium, and the like for executing the main control device configuration method provided by the present application are not described below.
Fig. 4 is a schematic structural diagram of a configuration apparatus of a master control device according to an embodiment of the present invention, and as shown in fig. 4, the configuration apparatus may include:
the generating module 401 is configured to generate a control model for the internet of things device according to an object model of the internet of things device, where the object model is used to represent a functional attribute of the internet of things device;
an issuing module 402, configured to issue the control model to a target master control device, so that the target master control device accesses the internet of things device based on the control model, and processes the internet of things device based on the control model.
Optionally, the control model includes: the business model is used for enabling the target master control equipment to access the Internet of things equipment and generating a business instruction of the Internet of things equipment;
the generating module 401 is further configured to generate a service model of the internet of things device according to the object model.
Optionally, the generating module 401 is further configured to generate the service model according to the device capability and the target service corresponding to the object model.
Optionally, the control model further includes: a first instruction model, configured to enable the master control device to convert the service instruction into a transmission instruction supported by the internet of things device;
the generating module 401 is further configured to generate the first instruction model of the internet of things device according to the object model.
Optionally, the control instruction is an instruction sent by a target terminal;
alternatively, the control model comprises: the second instruction model is used for enabling the main control equipment to generate the control instruction according to instruction code information sent by the Internet of things control equipment;
the generating module 401 is further configured to generate the second instruction model of the internet of things device according to the object model.
Optionally, the generating module 401 is further configured to generate the first instruction model according to a protocol of the object model and a transmission protocol supported by the internet of things device.
Optionally, the issuing module 402 is further configured to determine, according to version information of a plurality of preset master control devices, that a master control device supporting the internet of things device is the target master control device.
Optionally, the apparatus further comprises:
the control device comprises a receiving module, a control module and a control module, wherein the receiving module is used for receiving a command to be controlled aiming at the Internet of things equipment, which is sent by a target terminal, and the command to be controlled represents that the target terminal needs to control the Internet of things equipment;
the device further comprises:
and the determining module is used for taking the main control equipment corresponding to the target terminal as the target main control equipment.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 5 is a schematic structural diagram of a cloud server according to an embodiment of the present invention, and as shown in fig. 5, the cloud server may include: a processor 501 and a memory 502.
The memory 502 is used for storing programs, and the processor 501 calls the programs stored in the memory 502 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A master control device configuration method, the method comprising:
generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing functional attributes of the Internet of things equipment;
and issuing the control model to target main control equipment so that the target main control equipment is accessed to the Internet of things equipment based on the control model and is processed based on the control model.
2. The method of claim 1, wherein the control model comprises: the business model is used for enabling the target master control equipment to be accessed into the Internet of things equipment and generating a business instruction of the Internet of things equipment according to a control instruction;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating a business model of the Internet of things equipment according to the object model.
3. The method of claim 2, wherein generating the business model of the internet of things device according to the object model comprises:
and generating the business model according to the equipment capability corresponding to the object model and the target business.
4. The method of claim 2, wherein the control model further comprises: the first instruction model is used for enabling the main control equipment to convert the service instruction into a transmission instruction supported by the Internet of things equipment;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating the first instruction model of the Internet of things equipment according to the object model.
5. The method according to claim 2 or 4, wherein the control command is a command sent by a target terminal;
alternatively, the control model comprises: the second instruction model is used for enabling the main control equipment to generate the control instruction according to instruction code information sent by the Internet of things control equipment;
the thing model according to thing networking device generates to the control model of thing networking device includes:
and generating the second instruction model of the Internet of things equipment according to the object model.
6. The method of claim 4, wherein generating the first instruction model of the IOT device from the object model comprises:
and generating the first instruction model according to the protocol of the object model and the transmission protocol supported by the Internet of things equipment.
7. The method of claim 1, wherein the issuing the control model to a target master device comprises:
and determining the main control equipment supporting the Internet of things equipment as the target main control equipment according to the version information of the plurality of preset main control equipment.
8. The method of claim 1, wherein prior to the generating a control model for the internet of things device from the object model of the internet of things device, the method further comprises:
receiving a to-be-controlled instruction aiming at the Internet of things equipment, which is sent by a target terminal, wherein the to-be-controlled instruction represents that the target terminal needs to control the Internet of things equipment;
before the issuing the control model to the target master control device, the method further includes:
and taking the main control equipment corresponding to the target terminal as the target main control equipment.
9. A master device configuration apparatus, the apparatus comprising:
the generating module is used for generating a control model for the Internet of things equipment according to an object model of the Internet of things equipment, wherein the object model is used for representing the functional attributes of the equipment;
and the issuing module is used for issuing the control model to target main control equipment so that the target main control equipment is accessed to the Internet of things equipment based on the control model and is processed based on the control model.
10. A cloud server, comprising: a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor implements the master control device configuration method according to any one of claims 1 to 8 when executing the computer program.
11. A storage medium, wherein the storage medium stores thereon a computer program, and when the computer program is read and executed, the computer program implements the master control device configuration method according to any one of claims 1 to 8.
CN202111652738.2A 2021-12-30 2021-12-30 Master control equipment configuration method and device, cloud server and storage medium Pending CN114374602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111652738.2A CN114374602A (en) 2021-12-30 2021-12-30 Master control equipment configuration method and device, cloud server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111652738.2A CN114374602A (en) 2021-12-30 2021-12-30 Master control equipment configuration method and device, cloud server and storage medium

Publications (1)

Publication Number Publication Date
CN114374602A true CN114374602A (en) 2022-04-19

Family

ID=81141386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111652738.2A Pending CN114374602A (en) 2021-12-30 2021-12-30 Master control equipment configuration method and device, cloud server and storage medium

Country Status (1)

Country Link
CN (1) CN114374602A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086367A (en) * 2022-05-30 2022-09-20 陕西翰林亿讯智能科技有限公司 Content distribution system and method based on intelligent lamp
CN115134391A (en) * 2022-05-30 2022-09-30 青岛海尔智慧生活电器有限公司 Equipment control method and device of non-Internet-of-things equipment
CN116170481A (en) * 2023-02-03 2023-05-26 武汉慧联无限科技有限公司 Access method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019037660A1 (en) * 2017-08-24 2019-02-28 阿里巴巴集团控股有限公司 Device control method, device, terminal device and operating system
CN109587242A (en) * 2018-12-05 2019-04-05 华润置地控股有限公司 Platform of internet of things system and its cloud platform and local terminal
CN110351257A (en) * 2019-06-27 2019-10-18 绿漫科技有限公司 A kind of distribution Internet of Things safety access system
CN110351378A (en) * 2019-07-17 2019-10-18 深圳市智物联网络有限公司 A kind of control method and system of internet of things equipment
CN111770014A (en) * 2020-06-17 2020-10-13 上海乾隆节能科技有限公司 Data information processing method, edge gateway and system for processing data information
CN112051744A (en) * 2019-08-15 2020-12-08 河南紫联物联网技术有限公司 Intelligent terminal, and recommendation method and system for intelligent home application
CN112737935A (en) * 2020-12-29 2021-04-30 欧普照明股份有限公司 Gateway-based data processing method, edge gateway and control system
US20210399943A1 (en) * 2020-06-18 2021-12-23 Shenzhen Chenbei Technology Co., Ltd. Network configuration method of internet of things devices and related devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019037660A1 (en) * 2017-08-24 2019-02-28 阿里巴巴集团控股有限公司 Device control method, device, terminal device and operating system
CN109587242A (en) * 2018-12-05 2019-04-05 华润置地控股有限公司 Platform of internet of things system and its cloud platform and local terminal
CN110351257A (en) * 2019-06-27 2019-10-18 绿漫科技有限公司 A kind of distribution Internet of Things safety access system
CN110351378A (en) * 2019-07-17 2019-10-18 深圳市智物联网络有限公司 A kind of control method and system of internet of things equipment
CN112051744A (en) * 2019-08-15 2020-12-08 河南紫联物联网技术有限公司 Intelligent terminal, and recommendation method and system for intelligent home application
CN111770014A (en) * 2020-06-17 2020-10-13 上海乾隆节能科技有限公司 Data information processing method, edge gateway and system for processing data information
US20210399943A1 (en) * 2020-06-18 2021-12-23 Shenzhen Chenbei Technology Co., Ltd. Network configuration method of internet of things devices and related devices
CN112737935A (en) * 2020-12-29 2021-04-30 欧普照明股份有限公司 Gateway-based data processing method, edge gateway and control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086367A (en) * 2022-05-30 2022-09-20 陕西翰林亿讯智能科技有限公司 Content distribution system and method based on intelligent lamp
CN115134391A (en) * 2022-05-30 2022-09-30 青岛海尔智慧生活电器有限公司 Equipment control method and device of non-Internet-of-things equipment
CN116170481A (en) * 2023-02-03 2023-05-26 武汉慧联无限科技有限公司 Access method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114374602A (en) Master control equipment configuration method and device, cloud server and storage medium
CN111413883A (en) Control method and control device for household electrical appliance and computer storage medium
EP2804393B1 (en) Remote control method, intelligent terminal and intelligent remote control system
EP3896916A1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN109246604B (en) Intelligent device safety binding method, server, intelligent device and user side device
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
US9514641B2 (en) Smart remote control
CN112073471B (en) Control method and device of equipment, storage medium and electronic device
CN106789480B (en) Household appliance data adaptation method and device, intelligent terminal and data adaptation system
US8769030B2 (en) Device event notification registration through direct interaction with mobile device
WO2016193417A1 (en) Home appliance control method and control system
CN111130891A (en) Server management device and method, electronic equipment and storage medium
CN109905431B (en) Message processing method and system, storage medium and electronic equipment
CN111897462B (en) Intelligent display control method and device in intelligent household APP
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
US20200065740A1 (en) Task management method, terminal, and non-transitory computer-readable information recording medium
CN112637024A (en) Control method, control device, electronic equipment and storage medium
CN105577489A (en) Electrical appliance identification method in intelligent home system
CN112685115A (en) International cue language generating method, system, computer equipment and storage medium
US20230136504A1 (en) Method for generating application for controlling external electronic device and electronic apparatus for supporting the same
JP6909984B2 (en) Home appliance management server, home appliance management method, and program
CN114280953A (en) Scene mode creating method and device, electronic equipment and storage medium
JP6320569B2 (en) Home control device and home control system
CN112817593A (en) Control page display method and device, storage medium and electronic device
CN108206784B (en) Network topology generation method and device for smart home

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination