CN116055538A - A control method, device, terminal device, and storage medium for an Internet of Things device - Google Patents
A control method, device, terminal device, and storage medium for an Internet of Things device Download PDFInfo
- Publication number
- CN116055538A CN116055538A CN202310037599.5A CN202310037599A CN116055538A CN 116055538 A CN116055538 A CN 116055538A CN 202310037599 A CN202310037599 A CN 202310037599A CN 116055538 A CN116055538 A CN 116055538A
- Authority
- CN
- China
- Prior art keywords
- control
- data
- internet
- things
- target
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Human Computer Interaction (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域technical field
本发明涉及电数据处理领域,尤其涉及一种物联网设备的控制方法、装置、终端设备及存储介质。The present invention relates to the field of electrical data processing, and in particular to a control method, device, terminal device and storage medium of an Internet of Things device.
背景技术Background technique
现有技术的物联网设备的控制是通过建立服务器和物联网设备之间的无线或有线连接,从通过识别用户下发的指令并转化为直接指令控制物联网设备的运行。The control of the Internet of Things devices in the prior art is to establish a wireless or wired connection between the server and the Internet of Things devices, and to control the operation of the Internet of Things devices by identifying instructions issued by users and converting them into direct instructions.
但现有的物联网设备有许多种类,存在不同的协议,因此需要不同的服务器接入不同的物联网设备,从而进行物联网设备的控制,但不同服务器控制不同物联网设备浪费了服务器的算力,且同一个服务器无法适应多个不同类型物联网设备控制逻辑,导致现有物联网设备的控制效率较低。However, there are many types of existing IoT devices with different protocols. Therefore, different servers need to be connected to different IoT devices to control the IoT devices. However, different servers controlling different IoT devices waste the computing power of the server. The same server cannot adapt to the control logic of multiple different types of IoT devices, resulting in low control efficiency of existing IoT devices.
因此,亟需物联网设备的控制策略,来解决当前物联网设备控制效率低问题。Therefore, a control strategy for IoT devices is urgently needed to solve the problem of low control efficiency of IoT devices.
发明内容Contents of the invention
本发明实施例提供一种物联网设备的控制方法、装置、终端设备及存储介质,以提高物联网设备的控制效率。Embodiments of the present invention provide a control method, device, terminal device, and storage medium for an Internet of Things device, so as to improve the control efficiency of the Internet of Things device.
为了解决上述问题,本发明一实施例提供一种物联网设备的控制方法,包括:In order to solve the above problems, an embodiment of the present invention provides a method for controlling an Internet of Things device, including:
响应用户在人机交互界面对目标物联网设备所执行的功能选定操作,通过物模型接收所述目标物联网设备的种类数据和设备编码;Responding to the function selection operation performed by the user on the target IoT device on the human-computer interaction interface, receiving the type data and device code of the target IoT device through the object model;
根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素;其中,所述设备控制要素包括:设备控制事件和设备属性;According to the type data, match the device control elements corresponding to the type data in the device model library; wherein, the device control elements include: device control events and device attributes;
根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,将所述控制指令和所述设备编码结合生成设备控制数据;According to the function selection operation, determine the control instruction corresponding to the function selection operation through the device control event and the device attribute, and combine the control instruction and the device code to generate device control data;
将所述设备控制数据通过所述物模型传输给所述目标物联网设备,以使所述目标物联网设备根据所述设备控制数据执行对应的控制功能。The device control data is transmitted to the target Internet of Things device through the object model, so that the target Internet of Things device executes a corresponding control function according to the device control data.
作为上述方案的改进,在所述通过物模型接收所述目标物联网设备的种类数据和设备编码之前,还包括:As an improvement to the above solution, before the said object model receives the type data and device code of the target IoT device, it further includes:
通过物模型接收所述目标物联网设备传输的接入信息;receiving the access information transmitted by the target IoT device through the object model;
对所述接入信息进行判断;Judging the access information;
若接入信息为预设的SDK数据,则判断接入成功,并通过物模型接收目标物联网设备传输的种类数据和设备编码;If the access information is the preset SDK data, it is judged that the access is successful, and the type data and device code transmitted by the target IoT device are received through the object model;
若接入信息不为预设的SDK数据,则判断接入失败,并取消目标物联网设备的接入。If the access information is not the preset SDK data, it is judged that the access fails, and the access of the target IoT device is canceled.
作为上述方案的改进,所述根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素,具体为:As an improvement of the above solution, according to the type data, match the device control elements corresponding to the type data in the equipment model library, specifically:
所述种类数据包括:类型、品牌和型号;The type data includes: type, brand and model;
根据所述目标物联网设备的类型、设备和型号,在设备模型库中匹配与目标物联网设备的类型、品牌和型号相对应的库文件名;其中,所述设备模型库包括若干硬件厂商对应物联网设备的设备控制事件、设备状态和设备属性,并以若干硬件厂商对应物联网设备的类型、品牌和型号进行库文件名的命名;According to the type, device and model of the target Internet of Things device, match the library file name corresponding to the type, brand and model of the target Internet of Things device in the device model library; wherein, the device model library includes a number of hardware manufacturers corresponding Device control events, device status, and device attributes of IoT devices, and the library file names are named after several hardware manufacturers corresponding to the types, brands, and models of IoT devices;
根据所述库文件名,在所述设备模型库中调取所述目标物联网设备对应的设备控制要素;其中,所述设备控制要素还包括:设备状态。According to the library file name, the device control element corresponding to the target IoT device is called from the device model library; wherein, the device control element further includes: a device state.
作为上述方案的改进,所述根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,具体为:As an improvement of the above solution, according to the function selection operation, the control instruction corresponding to the function selection operation is determined through the device control event and the device attribute, specifically:
在所述设备控制要素中提取获得所述设备控制事件;extracting and obtaining the device control event from the device control element;
根据所述功能选定操作,在所述设备控制事件中确定所述功能选定操作对应的控制编码,在所述设备属性中确定控制参数;According to the function selection operation, determine the control code corresponding to the function selection operation in the device control event, and determine the control parameters in the device attribute;
结合所述控制编码和控制参数,生成所述功能选定操作对应的控制指令。A control instruction corresponding to the function selection operation is generated by combining the control code and the control parameter.
作为上述方案的改进,所述将所述设备控制数据通过所述物模型传输给所述目标物联网设备,具体为:将所述设备控制数据传输给所述物模型,以使所述物模型根据所述设备编码将所述设备控制数据传输给所述目标物联网设备。As an improvement to the above solution, the transmitting the device control data to the target IoT device through the object model is specifically: transmitting the device control data to the object model, so that the object model Transmitting the device control data to the target IoT device according to the device code.
作为上述方案的改进,在所述将所述设备控制数据传输给所述目标物联网设备之后,还包括:As an improvement to the above solution, after the device control data is transmitted to the target IoT device, the method further includes:
响应用户在人机交互界面对目标物联网设备执行的展示功能,通过所述物模型接收所述目标物联网设备所传输的设备状态;Responding to the display function performed by the user on the target IoT device on the human-computer interaction interface, receiving the device status transmitted by the target IoT device through the object model;
根据所述目标物联网设备所传输的设备状态,更新所述设备控制要素中的设备状态;updating the device status in the device control element according to the device status transmitted by the target IoT device;
将所述设备控制要素中更新后的设备状态,传输给所述人机交互界面,以使所述人机交互界面根据所述更新后的设备状态进行显示。The updated device state in the device control element is transmitted to the human-computer interaction interface, so that the human-computer interaction interface displays according to the updated device state.
作为上述方案的改进,所述通过物模型接收所述目标物联网设备的种类数据和设备编码,具体为:根据预设的交互格式,通过物模型接收所述目标物联网设备传输的种类数据和设备编码。As an improvement to the above solution, the receiving the type data and device code of the target IoT device through the object model is specifically: receiving the type data and device code transmitted by the target Internet of Things device through the object model according to a preset interaction format equipment number.
相应的,本发明一实施例还提供了一种物联网设备的控制装置,包括:数据接收模块、数据匹配模块、结果生成模块和设备控制模块;Correspondingly, an embodiment of the present invention also provides a control device for an Internet of Things device, including: a data receiving module, a data matching module, a result generating module, and a device control module;
所述数据接收模块,用于响应用户在人机交互界面对目标物联网设备所执行的功能选定操作,通过物模型接收所述目标物联网设备的种类数据和设备编码;The data receiving module is used to receive the type data and device code of the target IoT device through the object model in response to the function selection operation performed by the user on the target IoT device on the human-computer interaction interface;
所述数据匹配模块,用于根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素;其中,所述设备控制要素包括:设备控制事件和设备属性;The data matching module is configured to match the device control elements corresponding to the type data in the device model library according to the type data; wherein, the device control elements include: device control events and device attributes;
所述结果生成模块,用于根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,将所述控制指令和所述设备编码结合生成设备控制数据;The result generation module is configured to determine the control instruction corresponding to the function selection operation through the device control event and the device attribute according to the function selection operation, and combine the control instruction with the device code Generate device control data;
所述设备控制模块,用于将所述设备控制数据通过所述物模型传输给所述目标物联网设备,以使所述目标物联网设备根据所述设备控制数据执行对应的控制功能。The device control module is configured to transmit the device control data to the target IoT device through the object model, so that the target IoT device executes a corresponding control function according to the device control data.
作为上述方案的改进,在所述通过物模型接收所述目标物联网设备的种类数据和设备编码之前,还包括:As an improvement to the above solution, before the said object model receives the type data and device code of the target IoT device, it further includes:
通过物模型接收所述目标物联网设备传输的接入信息;receiving the access information transmitted by the target IoT device through the object model;
对所述接入信息进行判断;Judging the access information;
若接入信息为预设的SDK数据,则判断接入成功,并通过物模型接收目标物联网设备传输的种类数据和设备编码;If the access information is the preset SDK data, it is judged that the access is successful, and the type data and device code transmitted by the target IoT device are received through the object model;
若接入信息不为预设的SDK数据,则判断接入失败,并取消目标物联网设备的接入。If the access information is not the preset SDK data, it is judged that the access fails, and the access of the target IoT device is canceled.
作为上述方案的改进,所述数据匹配模块,包括:库文件匹配单元和设备控制要素调取单元;As an improvement of the above solution, the data matching module includes: a library file matching unit and a device control element calling unit;
所述种类数据包括:类型、品牌和型号;The type data includes: type, brand and model;
所述库文件匹配单元,用于根据所述目标物联网设备的类型、设备和型号,在设备模型库中匹配与目标物联网设备的类型、品牌和型号相对应的库文件名;其中,所述设备模型库包括若干硬件厂商对应物联网设备的设备控制事件、设备状态和设备属性,并以若干硬件厂商对应物联网设备的类型、品牌和型号进行库文件名的命名;The library file matching unit is used to match the library file name corresponding to the type, brand and model of the target Internet of Things device in the device model library according to the type, device and model of the target Internet of Things device; wherein, the The device model library includes device control events, device status and device attributes corresponding to IoT devices from several hardware manufacturers, and the library file name is named after the type, brand and model of IoT devices corresponding to several hardware manufacturers;
所述设备控制要素调取单元,用于根据所述库文件名,在所述设备模型库中调取所述目标物联网设备对应的设备控制要素;其中,所述设备控制要素还包括:设备状态。The device control element calling unit is configured to call the device control element corresponding to the target IoT device in the device model library according to the library file name; wherein, the device control element further includes: a device state.
作为上述方案的改进,所述根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,具体为:As an improvement of the above solution, according to the function selection operation, the control instruction corresponding to the function selection operation is determined through the device control event and the device attribute, specifically:
在所述设备控制要素中提取获得所述设备控制事件;extracting and obtaining the device control event from the device control element;
根据所述功能选定操作,在所述设备控制事件中确定所述功能选定操作对应的控制编码,在所述设备属性中确定控制参数;According to the function selection operation, determine the control code corresponding to the function selection operation in the device control event, and determine the control parameters in the device attribute;
结合所述控制编码和控制参数,生成所述功能选定操作对应的控制指令。A control instruction corresponding to the function selection operation is generated by combining the control code and the control parameter.
作为上述方案的改进,所述将所述设备控制数据通过所述物模型传输给所述目标物联网设备,具体为:将所述设备控制数据传输给所述物模型,以使所述物模型根据所述设备编码将所述设备控制数据传输给所述目标物联网设备。As an improvement to the above solution, the transmitting the device control data to the target IoT device through the object model is specifically: transmitting the device control data to the object model, so that the object model Transmitting the device control data to the target IoT device according to the device code.
作为上述方案的改进,在所述将所述设备控制数据传输给所述目标物联网设备之后,还包括:As an improvement to the above solution, after the device control data is transmitted to the target IoT device, the method further includes:
响应用户在人机交互界面对目标物联网设备执行的展示功能,通过所述物模型接收所述目标物联网设备所传输的设备状态;Responding to the display function performed by the user on the target IoT device on the human-computer interaction interface, receiving the device status transmitted by the target IoT device through the object model;
根据所述目标物联网设备所传输的设备状态,更新所述设备控制要素中的设备状态;updating the device status in the device control element according to the device status transmitted by the target IoT device;
将所述设备控制要素中更新后的设备状态,传输给所述人机交互界面,以使所述人机交互界面根据所述更新后的设备状态进行显示。The updated device state in the device control element is transmitted to the human-computer interaction interface, so that the human-computer interaction interface displays according to the updated device state.
作为上述方案的改进,所述通过物模型接收所述目标物联网设备的种类数据和设备编码,具体为:根据预设的交互格式,通过物模型接收所述目标物联网设备传输的种类数据和设备编码。As an improvement to the above solution, the receiving the type data and device code of the target IoT device through the object model is specifically: receiving the type data and device code transmitted by the target Internet of Things device through the object model according to a preset interaction format equipment number.
相应的,本发明一实施例还提供了一种计算机终端设备,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如本发明所述的一种物联网设备的控制方法。Correspondingly, an embodiment of the present invention also provides a computer terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor executes the The computer program realizes a control method of an Internet of Things device as described in the present invention.
相应的,本发明一实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如本发明所述的一种物联网设备的控制方法。Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the computer-readable storage medium is controlled The device executes a method for controlling an Internet of Things device according to the present invention.
由上可见,本发明具有如下有益效果:As can be seen from the above, the present invention has the following beneficial effects:
本发明提供了一种物联网设备的控制方法,在用户进行功能选定操作后,通过物模型接收目标物联网设备的种类数据和设备编码,从而根据种类数据在设备模型库中匹配设备控制要素中的设备控制事件,确定设备控制指令,从而结合设备编码生成设备控制数据,并基于物模型将设备控制数据传输给目标物联网设备,以执行控制功能,从而实现物联网设备的控制。本发明通过物模型进行不同物联网设备的数据传输,并通过设备模型库进行设备控制要素的获取,从而结合设备控制要素和设备编码进行不同物联网设备的控制,创建了新的控制逻辑,且能够应对不同物联网设备的控制,提高了物联网设备的控制效率。The invention provides a method for controlling an Internet of Things device. After the user performs a function selection operation, the type data and device code of the target Internet of Things device are received through the object model, so that the device control elements are matched in the device model library according to the type data The device control event in the device is determined to determine the device control command, thereby generating device control data combined with the device code, and based on the object model, the device control data is transmitted to the target IoT device to perform the control function, thereby realizing the control of the IoT device. The present invention transmits data of different Internet of Things devices through the object model, and obtains device control elements through the device model library, thereby combining device control elements and device codes to control different Internet of Things devices, creating a new control logic, and It can cope with the control of different IoT devices and improves the control efficiency of IoT devices.
附图说明Description of drawings
图1是本发明一实施例提供的物联网设备的控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling an Internet of Things device provided by an embodiment of the present invention;
图2是本发明一实施例提供的物联网设备的控制装置的结构示意图;FIG. 2 is a schematic structural diagram of a control device for an Internet of Things device provided by an embodiment of the present invention;
图3是本发明一实施例提供的一种终端设备结构示意图。Fig. 3 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例一Embodiment one
参见图1,图1是本发明一实施例提供的一种物联网设备的控制方法的流程示意图,如图1所示,本实施例包括步骤101至步骤104,各步骤具体如下:Referring to FIG. 1, FIG. 1 is a schematic flowchart of a method for controlling an Internet of Things device provided by an embodiment of the present invention. As shown in FIG. 1, this embodiment includes
在本实施例中,业务网关用于执行本发明权要所述的物联网设备的控制方法。In this embodiment, the service gateway is used to execute the method for controlling the Internet of Things device described in the claims of the present invention.
步骤101:响应用户在人机交互界面对目标物联网设备所执行的功能选定操作,通过物模型接收所述目标物联网设备的种类数据和设备编码。Step 101: Responding to the function selection operation performed by the user on the target IoT device on the human-computer interaction interface, receiving the type data and device code of the target IoT device through the object model.
在本实施例中,在所述通过物模型接收所述目标物联网设备的种类数据和设备编码之前,还包括:In this embodiment, before the object model receives the type data and device code of the target IoT device, it further includes:
通过物模型接收所述目标物联网设备传输的接入信息;receiving the access information transmitted by the target IoT device through the object model;
对所述接入信息进行判断;Judging the access information;
若接入信息为预设的SDK数据,则判断接入成功,并通过物模型接收目标物联网设备传输的种类数据和设备编码;If the access information is the preset SDK data, it is judged that the access is successful, and the type data and device code transmitted by the target IoT device are received through the object model;
若接入信息不为预设的SDK数据,则判断接入失败,并取消目标物联网设备的接入。If the access information is not the preset SDK data, it is judged that the access fails, and the access of the target IoT device is canceled.
在一具体的实施例中,在接入新的目标物联网设备时,先判断设备是否能通过厂家提供SDK进行接入,从而判断是否接入成功。In a specific embodiment, when accessing a new target IoT device, it is first determined whether the device can be accessed through the SDK provided by the manufacturer, so as to determine whether the access is successful.
当接入成功时,根据接入新的目标物联网设备获取对应的类型(灯、空调、广播…)、品牌和型号。When the access is successful, obtain the corresponding type (light, air conditioner, radio...), brand and model according to the new target IoT device.
当接入失败时,则取消接入。When the access fails, the access is canceled.
在一具体的实施例中,在获取目标物联网设备时,通过获取目标物联网设备的外形图像,并在设备图库中进行匹配,根据匹配结果获取目标物联网设备的品牌、类型和型号。In a specific embodiment, when acquiring the target IoT device, the outline image of the target IoT device is acquired and matched in the device gallery, and the brand, type and model of the target IoT device are acquired according to the matching result.
在本实施例中,所述通过物模型接收所述目标物联网设备的种类数据和设备编码,具体为:根据预设的交互格式,通过物模型接收所述目标物联网设备传输的种类数据和设备编码。In this embodiment, the receiving the type data and device code of the target IoT device through the object model specifically includes: receiving the type data and device code transmitted by the target IoT device through the object model according to a preset interaction format equipment number.
在一具体的实施例中,业务网关与物模型的交互则使用标准的交互格式来传输设备的事件、状态、属性。In a specific embodiment, the interaction between the service gateway and the object model uses a standard interaction format to transmit the event, state, and attribute of the device.
步骤102:根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素;其中,所述设备控制要素包括:设备控制事件和设备属性。Step 102: According to the type data, match the device control elements corresponding to the type data in the device model library; wherein, the device control elements include: device control events and device attributes.
在本实施例中,所述根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素,具体为:In this embodiment, according to the type data, matching the device control elements corresponding to the type data in the device model library is specifically:
所述种类数据包括:类型、品牌和型号;The type data includes: type, brand and model;
根据所述目标物联网设备的类型、设备和型号,在设备模型库中匹配与目标物联网设备的类型、品牌和型号相对应的库文件名;其中,所述设备模型库包括若干硬件厂商对应物联网设备的设备控制事件、设备状态和设备属性,并以若干硬件厂商对应物联网设备的类型、品牌和型号进行库文件名的命名;According to the type, device and model of the target Internet of Things device, match the library file name corresponding to the type, brand and model of the target Internet of Things device in the device model library; wherein, the device model library includes a number of hardware manufacturers corresponding Device control events, device status, and device attributes of IoT devices, and the library file names are named after several hardware manufacturers corresponding to the types, brands, and models of IoT devices;
根据所述库文件名,在所述设备模型库中调取所述目标物联网设备对应的设备控制要素;其中,所述设备控制要素还包括:设备状态。According to the library file name, the device control element corresponding to the target IoT device is called from the device model library; wherein, the device control element further includes: a device state.
在一具体的实施例中,人机交互界面调用设备控制要素的功能接口,来操控所有设备的事件控制、状态显示和属性显示;In a specific embodiment, the human-computer interaction interface invokes the functional interface of the device control elements to control the event control, status display and attribute display of all devices;
设备状态:设备的在离线、工作状态(灯:开/关,广播:播放/空闲,门:开/闭/常开/常闭等);Device status: offline and working status of the device (light: on/off, broadcast: play/idle, door: open/close/normally open/normally closed, etc.);
设备控制事件:控制编码、设备主动上送、异常触发事件,(门:开门/关门/强开门/离线);Device control events: control codes, active sending of devices, abnormal trigger events, (door: open/close/forced open/offline);
设备属性:设备控制下发参数,门:开或者关;Device attributes: device control delivery parameters, door: open or close;
在一具体的实施例中,通过设备控制要素,业务网关与物联网设备的交互就只剩下设备编码(设备唯一值)和设备控制要素,例如:设备编码和设备主动上送状态;设备编码和设备主动、异常上送事件;设备编码和设备属性进行控制。In a specific embodiment, through the device control element, only the device code (device unique value) and device control elements are left for the interaction between the service gateway and the IoT device, such as: device code and device actively sending status; device code Events are sent actively and abnormally by the device; device code and device attributes are controlled.
在一具体的实施例中,根据类型、品牌和型号可以在设备模型库中定位到一款设备的设备控制事件、状态、属性。In a specific embodiment, the device control event, state, and attribute of a device can be located in the device model library according to the type, brand and model.
步骤103:根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,将所述控制指令和所述设备编码结合生成设备控制数据。Step 103: According to the function selection operation, determine the control instruction corresponding to the function selection operation through the device control event and the device attribute, and combine the control instruction and the device code to generate device control data.
在本实施例中,所述根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,具体为:In this embodiment, according to the function selection operation, the control instruction corresponding to the function selection operation is determined through the device control event and the device attribute, specifically:
在所述设备控制要素中提取获得所述设备控制事件;extracting and obtaining the device control event from the device control element;
根据所述功能选定操作,在所述设备控制事件中确定所述功能选定操作对应的控制编码,在所述设备属性中确定控制参数;According to the function selection operation, determine the control code corresponding to the function selection operation in the device control event, and determine the control parameters in the device attribute;
结合所述控制编码和控制参数,生成所述功能选定操作对应的控制指令。A control instruction corresponding to the function selection operation is generated by combining the control code and the control parameter.
在一具体的实施例中,在获取到设备控制要素中的设备控制事件后,能够了解控制目的和控制功能,并获得控制编码,在基于设备属性中进行控制参数的获取,从而结合控制编码和控制参数生成控制指令。In a specific embodiment, after obtaining the device control event in the device control element, the control purpose and control function can be understood, and the control code can be obtained, and the control parameter can be obtained based on the device attribute, so as to combine the control code and The control parameters generate control instructions.
步骤104:将所述设备控制数据通过所述物模型传输给所述目标物联网设备,以使所述目标物联网设备根据所述设备控制数据执行对应的控制功能。Step 104: Transmit the device control data to the target IoT device through the object model, so that the target IoT device executes a corresponding control function according to the device control data.
在本实施例中,所述将所述设备控制数据通过所述物模型传输给所述目标物联网设备,具体为:将所述设备控制数据传输给所述物模型,以使所述物模型根据所述设备编码将所述设备控制数据传输给所述目标物联网设备。In this embodiment, the transmitting the device control data to the target IoT device through the object model is specifically: transmitting the device control data to the object model, so that the object model Transmitting the device control data to the target IoT device according to the device code.
在本实施例中,在所述将所述设备控制数据传输给所述目标物联网设备之后,还包括:In this embodiment, after the device control data is transmitted to the target IoT device, it further includes:
响应用户在人机交互界面对目标物联网设备执行的展示功能,通过所述物模型接收所述目标物联网设备所传输的设备状态和设备属性;Responding to the display function performed by the user on the target IoT device on the human-computer interaction interface, receiving the device status and device attributes transmitted by the target IoT device through the object model;
根据所述目标物联网设备所传输的设备状态和设备属性,更新所述设备控制要素中的设备状态和设备属性;updating the device status and device attributes in the device control element according to the device status and device attributes transmitted by the target IoT device;
将所述设备控制要素中更新后的设备状态和设备属性,传输给所述人机交互界面,以使所述人机交互界面根据所述更新后的设备状态和设备属性进行显示。The updated device status and device attributes in the device control elements are transmitted to the human-computer interaction interface, so that the human-computer interaction interface displays according to the updated device status and device attributes.
在一具体的实施例中,物联网设备将操控结果、状态结果等信息通过设备接入口反馈到物模型,物模型根据设备编码调用对应业务网关子系统的接口,业务网关将数据入库。In a specific embodiment, the IoT device feeds back information such as manipulation results and status results to the object model through the device access port, and the object model calls the interface of the corresponding service gateway subsystem according to the device code, and the service gateway stores the data into the database.
在一具体的实施例中,人机交互界面的功能控制显示,具体为:查询接入设备时,可以根据设备的品牌、型号、类型,在设备模型库中匹配产品事先录入的三要素表(设备控制事件、设备属性和设备状态);In a specific embodiment, the function control display of the human-computer interaction interface is specifically: when inquiring about the access device, it can match the three-element table ( Device Control Events, Device Properties, and Device Status);
对用户的选择进行判断:Judge the user's choice:
若用户选择设备控制事件,则人机交互界面根据业务网关返回的控制项进行列表数据展示,只展示目标物联网设备控制项具备的操控功能;If the user selects the device control event, the human-computer interaction interface will display the list data according to the control items returned by the service gateway, and only display the control functions of the target IoT device control items;
若用户选择设备属性,则人机交互界面根据业务网关返回的设备属性进行展示;If the user selects the device attribute, the human-computer interaction interface will be displayed according to the device attribute returned by the business gateway;
若用户选择设备状态,则人机交互界面根据业务网关返回的设备状态进行展示。If the user selects the device status, the human-computer interaction interface will be displayed according to the device status returned by the service gateway.
在一具体的实施例中,本申请的具体使用流程,具体为:In a specific embodiment, the specific use process of this application is specifically:
用户在人机交互界面中设备列表中选中某一个物联网设备对应的设备图标作为目标物联网设备,并进入目的选项(设备控制事件、设备属性和设备状态);The user selects the device icon corresponding to a certain IoT device in the device list in the human-computer interaction interface as the target IoT device, and enters the purpose options (device control events, device properties and device status);
人机交互界面展示用户选择的设备控制事件选项对应的内容,执行用户所选择的功能:开灯;The human-computer interaction interface displays the content corresponding to the device control event option selected by the user, and executes the function selected by the user: turn on the light;
业务网关通过物模型获取目标物联设备的品牌、类型、型号和设备编码;The business gateway obtains the brand, type, model and device code of the target IoT device through the object model;
业务网关根据设备的品牌、型号、类型在设备模型中找到目标物联网设备三要素对应的设备控制事件;The service gateway finds the device control event corresponding to the three elements of the target IoT device in the device model according to the brand, model, and type of the device;
基于设备控制事件和设备属性获得控制目标物联网设备所需的控制编码、控制参数;Obtain control codes and control parameters required to control target IoT devices based on device control events and device attributes;
业务网关根据设备控制事件的结构将控制编码、设备编码、控制参数进行统一的组装,获得控制指令;According to the structure of the device control event, the service gateway will uniformly assemble the control code, device code, and control parameters to obtain control instructions;
将控制指令下发给到物模型,物模型根据设备编码,将统一组装的参数传输到目标物联网设备。The control command is sent to the object model, and the object model transmits the uniformly assembled parameters to the target IoT device according to the device code.
目标物联网设备执行对应的控制。The target IoT device executes the corresponding control.
本实施例过物模型接收目标物联网设备的种类数据和设备编码,从而根据种类数据在设备模型库中匹配设备控制要素中的设备控制事件,确定设备控制指令,从而结合设备编码生成设备控制数据,并基于物模型将设备控制数据传输给目标物联网设备,以执行控制功能,从而实现物联网设备的控制。本实施例通过让设备接入模型化,能够缩短系统的整体开发时间,抽象公共的设备操控模型,把模型作为参数传入,减少业务的定制开发工作。本实施例有利于实现设备的统一管理,且能够实时查看到设备运行的结果。In this embodiment, the object model receives the type data and device code of the target IoT device, so as to match the device control event in the device control element in the device model library according to the type data, determine the device control instruction, and generate device control data in combination with the device code , and based on the object model, the device control data is transmitted to the target IoT device to perform the control function, thereby realizing the control of the IoT device. In this embodiment, the overall development time of the system can be shortened by allowing the device access to be modeled, and the public device control model can be abstracted, and the model can be passed in as a parameter, thereby reducing the custom development work of the business. This embodiment is beneficial to realize the unified management of the equipment, and can check the running result of the equipment in real time.
实施例二Embodiment two
参见图2,图2是本发明一实施例提供的一种物联网设备的控制装置的结构示意图,包括:数据接收模块201、数据匹配模块202、结果生成模块203和设备控制模块204;Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a control device for an Internet of Things device provided by an embodiment of the present invention, including: a data receiving module 201, a data matching module 202, a result generating module 203, and a device control module 204;
所述数据接收模块201,用于响应用户在人机交互界面对目标物联网设备所执行的功能选定操作,通过物模型接收所述目标物联网设备的种类数据和设备编码;The data receiving module 201 is configured to receive the type data and device code of the target IoT device through the object model in response to the function selection operation performed by the user on the target IoT device on the human-computer interaction interface;
所述数据匹配模块202,用于根据所述种类数据,在设备模型库中匹配所述种类数据对应的设备控制要素;其中,所述设备控制要素包括:设备控制事件和设备属性;The data matching module 202 is configured to match the device control elements corresponding to the type data in the device model library according to the type data; wherein, the device control elements include: device control events and device attributes;
所述结果生成模块203,用于根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,将所述控制指令和所述设备编码结合生成设备控制数据;The result generation module 203 is configured to determine a control instruction corresponding to the function selection operation through the device control event and the device attribute according to the function selection operation, and encode the control instruction and the device combined to generate device control data;
所述设备控制模块204,用于将所述设备控制数据通过所述物模型传输给所述目标物联网设备,以使所述目标物联网设备根据所述设备控制数据执行对应的控制功能。The device control module 204 is configured to transmit the device control data to the target IoT device through the object model, so that the target IoT device executes a corresponding control function according to the device control data.
作为上述方案的改进,在所述通过物模型接收所述目标物联网设备的种类数据和设备编码之前,还包括:As an improvement to the above solution, before the said object model receives the type data and device code of the target IoT device, it further includes:
通过物模型接收所述目标物联网设备传输的接入信息;receiving the access information transmitted by the target IoT device through the object model;
对所述接入信息进行判断;Judging the access information;
若接入信息为预设的SDK数据,则判断接入成功,并通过物模型接收目标物联网设备传输的种类数据和设备编码;If the access information is the preset SDK data, it is judged that the access is successful, and the type data and device code transmitted by the target IoT device are received through the object model;
若接入信息不为预设的SDK数据,则判断接入失败,并取消目标物联网设备的接入。If the access information is not the preset SDK data, it is judged that the access fails, and the access of the target IoT device is canceled.
作为上述方案的改进,所述数据匹配模块202,包括:库文件匹配单元和设备控制要素调取单元;As an improvement of the above solution, the data matching module 202 includes: a library file matching unit and a device control element calling unit;
所述种类数据包括:类型、品牌和型号;The type data includes: type, brand and model;
所述库文件匹配单元,用于根据所述目标物联网设备的类型、设备和型号,在设备模型库中匹配与目标物联网设备的类型、品牌和型号相对应的库文件名;其中,所述设备模型库包括若干硬件厂商对应物联网设备的设备控制事件、设备状态和设备属性,并以若干硬件厂商对应物联网设备的类型、品牌和型号进行库文件名的命名;The library file matching unit is used to match the library file name corresponding to the type, brand and model of the target Internet of Things device in the device model library according to the type, device and model of the target Internet of Things device; wherein, the The device model library includes device control events, device status and device attributes corresponding to IoT devices from several hardware manufacturers, and the library file name is named after the type, brand and model of IoT devices corresponding to several hardware manufacturers;
所述设备控制要素调取单元,用于根据所述库文件名,在所述设备模型库中调取所述目标物联网设备对应的设备控制要素;其中,所述设备控制要素还包括:设备状态。The device control element calling unit is configured to call the device control element corresponding to the target IoT device in the device model library according to the library file name; wherein, the device control element further includes: a device state.
作为上述方案的改进,所述根据所述功能选定操作,通过所述设备控制事件和所述设备属性确定所述功能选定操作对应的控制指令,具体为:As an improvement of the above solution, according to the function selection operation, the control instruction corresponding to the function selection operation is determined through the device control event and the device attribute, specifically:
在所述设备控制要素中提取获得所述设备控制事件;extracting and obtaining the device control event from the device control element;
根据所述功能选定操作,在所述设备控制事件中确定所述功能选定操作对应的控制编码,在所述设备属性中确定控制参数;According to the function selection operation, determine the control code corresponding to the function selection operation in the device control event, and determine the control parameters in the device attribute;
结合所述控制编码和控制参数,生成所述功能选定操作对应的控制指令。A control instruction corresponding to the function selection operation is generated by combining the control code and the control parameter.
作为上述方案的改进,所述将所述设备控制数据通过所述物模型传输给所述目标物联网设备,具体为:将所述设备控制数据传输给所述物模型,以使所述物模型根据所述设备编码将所述设备控制数据传输给所述目标物联网设备。As an improvement to the above solution, the transmitting the device control data to the target IoT device through the object model is specifically: transmitting the device control data to the object model, so that the object model Transmitting the device control data to the target IoT device according to the device code.
作为上述方案的改进,在所述将所述设备控制数据传输给所述目标物联网设备之后,还包括:As an improvement to the above solution, after the device control data is transmitted to the target IoT device, the method further includes:
响应用户在人机交互界面对目标物联网设备执行的展示功能,通过所述物模型接收所述目标物联网设备所传输的设备状态;Responding to the display function performed by the user on the target IoT device on the human-computer interaction interface, receiving the device status transmitted by the target IoT device through the object model;
根据所述目标物联网设备所传输的设备状态,更新所述设备控制要素中的设备状态;updating the device status in the device control element according to the device status transmitted by the target IoT device;
将所述设备控制要素中更新后的设备状态,传输给所述人机交互界面,以使所述人机交互界面根据所述更新后的设备状态进行显示。The updated device state in the device control element is transmitted to the human-computer interaction interface, so that the human-computer interaction interface displays according to the updated device state.
作为上述方案的改进,所述通过物模型接收所述目标物联网设备的种类数据和设备编码,具体为:根据预设的交互格式,通过物模型接收所述目标物联网设备传输的种类数据和设备编码。As an improvement to the above solution, the receiving the type data and device code of the target IoT device through the object model is specifically: receiving the type data and device code transmitted by the target Internet of Things device through the object model according to a preset interaction format equipment number.
本实施例通过数据接收模块响应用户对目标物联网设备执行的功能选定操作,并通过物模型接收目标物联网设备的种类数据和设备编码,通过数据匹配模块基于种类数据获取目标物联网设备的控制指令,通过结果生成模块将控制指令和设备编码结合生成设备控制数据,最后通过设备控制模块通过物模型将设备控制数据传输给目标物联网设备,从而实现目标物联网设备的功能控制。本实施例通过物模型进行不同物联网设备的数据传输,并通过设备模型库进行设备控制要素的获取,从而结合设备控制要素和设备编码进行不同物联网设备的控制,创建了新的控制逻辑,且能够应对不同物联网设备的控制,提高了物联网设备的控制效率。In this embodiment, the data receiving module responds to the function selection operation performed by the user on the target IoT device, and receives the type data and device code of the target IoT device through the object model, and obtains the target IoT device based on the type data through the data matching module. Control instructions, combine the control instructions and device codes to generate device control data through the result generation module, and finally transmit the device control data to the target IoT device through the device control module through the object model, so as to realize the functional control of the target IoT device. In this embodiment, the data transmission of different Internet of Things devices is carried out through the object model, and the device control elements are obtained through the device model library, so as to combine the device control elements and device codes to control different Internet of Things devices, and create a new control logic. And it can cope with the control of different Internet of Things devices, which improves the control efficiency of the Internet of Things devices.
实施例三Embodiment three
参见图3,图3是本发明一实施例提供的终端设备结构示意图。Referring to FIG. 3 , FIG. 3 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention.
该实施例的一种终端设备包括:处理器301、存储器302以及存储在所述存储器302中并可在所述处理器301上运行的计算机程序。所述处理器301执行所述计算机程序时实现上述各个物联网设备的控制方法在实施例中的步骤,例如图1所示的物联网设备的控制方法的所有步骤。或者,所述处理器执行所述计算机程序时实现上述各装置实施例中各模块的功能,例如:图2所示的物联网设备的控制装置的所有模块。A terminal device in this embodiment includes: a processor 301 , a memory 302 , and a computer program stored in the memory 302 and operable on the processor 301 . When the processor 301 executes the computer program, it realizes the steps in the above embodiments of the control method of each Internet of Things device, for example, all the steps of the control method of the Internet of Things device shown in FIG. 1 . Alternatively, when the processor executes the computer program, the functions of the modules in the above-mentioned device embodiments are implemented, for example, all modules of the control device for the Internet of Things device shown in FIG. 2 .
另外,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如上任一实施例所述的物联网设备的控制方法。In addition, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute The method for controlling an IoT device as described in any one of the above embodiments.
本领域技术人员可以理解,所述示意图仅仅是终端设备的示例,并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram is only an example of a terminal device, and does not constitute a limitation to the terminal device, and may include more or less components than those shown in the figure, or combine certain components, or different components, For example, the terminal device may also include an input and output device, a network access device, a bus, and the like.
所称处理器301可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器301是所述终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分。The so-called processor 301 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor 301 is the control center of the terminal device, and connects various parts of the entire terminal device with various interfaces and lines.
所述存储器302可用于存储所述计算机程序和/或模块,所述处理器301通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器302内的数据,实现所述终端设备的各种功能。所述存储器302可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 302 can be used to store the computer programs and/or modules, and the processor 301 realizes by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory 302 Various functions of the terminal equipment. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) and the like; the storage data area can store Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disk, internal memory, plug-in hard disk, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card , flash card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
其中,所述终端设备集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。Wherein, if the modules/units integrated in the terminal equipment are realized in the form of software function units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physically separated. A unit can be located in one place, or it can be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. It can be understood and implemented by those skilled in the art without creative effort.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。The above description is a preferred embodiment of the present invention, and it should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also considered Be the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310037599.5A CN116055538A (en) | 2023-01-09 | 2023-01-09 | A control method, device, terminal device, and storage medium for an Internet of Things device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310037599.5A CN116055538A (en) | 2023-01-09 | 2023-01-09 | A control method, device, terminal device, and storage medium for an Internet of Things device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116055538A true CN116055538A (en) | 2023-05-02 |
Family
ID=86125168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310037599.5A Pending CN116055538A (en) | 2023-01-09 | 2023-01-09 | A control method, device, terminal device, and storage medium for an Internet of Things device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116055538A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116300510A (en) * | 2023-05-11 | 2023-06-23 | 深圳开鸿数字产业发展有限公司 | Device control method, edge computing device, and storage medium |
CN119109925A (en) * | 2024-10-31 | 2024-12-10 | 上海华立软件系统有限公司 | Smart Energy Interaction System |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495584A (en) * | 2018-12-18 | 2019-03-19 | 浩云科技股份有限公司 | Internet of things equipment cut-in method, device, equipment and medium |
CN111079383A (en) * | 2018-10-19 | 2020-04-28 | 北京奇虎科技有限公司 | Data interaction method, device and system for cloud platform and equipment of Internet of things |
CN112783717A (en) * | 2020-12-25 | 2021-05-11 | 三盟科技股份有限公司 | Object model management method, system, computer equipment and storage medium |
CN113572799A (en) * | 2020-04-29 | 2021-10-29 | 北京金山云网络技术有限公司 | Method and device for accessing equipment to control platform and server |
CN114374602A (en) * | 2021-12-30 | 2022-04-19 | 河南紫联物联网技术有限公司 | Main control device configuration method, device, cloud server and storage medium |
-
2023
- 2023-01-09 CN CN202310037599.5A patent/CN116055538A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079383A (en) * | 2018-10-19 | 2020-04-28 | 北京奇虎科技有限公司 | Data interaction method, device and system for cloud platform and equipment of Internet of things |
CN109495584A (en) * | 2018-12-18 | 2019-03-19 | 浩云科技股份有限公司 | Internet of things equipment cut-in method, device, equipment and medium |
CN113572799A (en) * | 2020-04-29 | 2021-10-29 | 北京金山云网络技术有限公司 | Method and device for accessing equipment to control platform and server |
CN112783717A (en) * | 2020-12-25 | 2021-05-11 | 三盟科技股份有限公司 | Object model management method, system, computer equipment and storage medium |
CN114374602A (en) * | 2021-12-30 | 2022-04-19 | 河南紫联物联网技术有限公司 | Main control device configuration method, device, cloud server and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116300510A (en) * | 2023-05-11 | 2023-06-23 | 深圳开鸿数字产业发展有限公司 | Device control method, edge computing device, and storage medium |
CN119109925A (en) * | 2024-10-31 | 2024-12-10 | 上海华立软件系统有限公司 | Smart Energy Interaction System |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021008412A1 (en) | Control method and system for internet of things device | |
CN113127609B (en) | Voice control method, device, server, terminal equipment and storage medium | |
WO2021008414A1 (en) | Alarm method for internet of things device, and related apparatus | |
WO2021008413A1 (en) | Fault prompting method for internet of things device, and related apparatus | |
CN116055538A (en) | A control method, device, terminal device, and storage medium for an Internet of Things device | |
CN110557284B (en) | Data aggregation method and device based on client gateway | |
CN113168334A (en) | Data processing method, apparatus, electronic device and readable storage medium | |
CN114416075A (en) | Business processing method and device | |
CN113296987A (en) | Interface calling method and device for calling module, computer equipment and storage medium | |
CN112988872B (en) | Interface document management method and device, storage medium and electronic equipment | |
CN111970192B (en) | Information editing method and device based on session group | |
CN115131144A (en) | Information processing method and device for transaction business system | |
EP4339871A1 (en) | Internet of vehicles-based digital commodity processing method, apparatus, and medium | |
CN111722994A (en) | A method and device for responding to a task request | |
CN112380411B (en) | Sensitive word processing method, device, electronic equipment, system and storage medium | |
WO2016206437A1 (en) | Rom package generation method and device | |
CN114143187A (en) | Intelligent platform interface network address management method, system, terminal and storage medium | |
CN113282028A (en) | Equipment state feedback method, system and device in operation scene and storage medium | |
CN114942792B (en) | Device access method, device and electronic device | |
CN113687845A (en) | Service processing method, device and system | |
CN116132214B (en) | Event transmission method, device, equipment and medium based on event bus model | |
CN110502501A (en) | Database operation method, device, equipment and storage medium | |
CN116582639B (en) | Conference control method, terminal device and storage medium | |
US12107725B2 (en) | Method and apparatus for remote customization of function, device, and storage medium | |
CN117135011B (en) | Method for adapting gateway to multiple cloud platforms based on MQTT communication and gateway system |
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 |