Device control method and apparatus
Abstract
The present application provides a device control method and apparatus. The method comprises: uploading a resource packet of a first device to an Internet of Things platform; receiving a configuration file of the first device sent by the Internet of Things platform, wherein the configuration file is generated by the Internet of Things platform according to second attribute information of the first device when it is determined that the first device accesses the Internet of Things platform according to first attribute information of the first device in the resource package; and parsing the second attribute information of the first device from the configuration file, such that a second device controls the first device according to function information of the first device corresponding to the second attribute information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 53 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A device control method, comprising: uploading a resource pack of a first device to an Internet of Things (IoT) platform; receiving a configuration file of the first device transmitted from the IoT platform, wherein the configuration file is generated by the IoT platform based on second attribute information of the first device when the first device accesses the IoT platform, and whether the first device accesses the IoT platform is determined by the IoT platform based on first attribute information of the first device in the resource pack; and parsing the second attribute information of the first device from the configuration file, wherein the second attribute information is used for controlling, by a second device, the first device based on function information of the first device corresponding to the second attribute information, and the second attribute information is pre-associated with the function information.
- Claim 2Depends on #1
The device control method of claim 1, further comprising: storing the second attribute information in a background of a server; when an instruction for querying the second attribute information transmitted from the second device is received, querying the second attribute information of the first device in the background of the server based on the instruction; and returning the queried second attribute information of the first device to the second device for controlling, by the second device, the first device based on the function information corresponding to the second attribute information.
- Claim 3Depends on #2
The device control method of claim 2, wherein querying the second attribute information of the first device in the background of the server based on the instruction comprises: querying a number of the first device in the instruction from the background of the server; obtaining the second attribute information of the first device corresponding to the number of the first device when the number is queried, wherein the number is pre-associated with the second attribute information; querying a manufacturer and a subtype of a parent type of the first device in the instruction from the background of the server when the number is not queried; obtaining the second attribute information of the first device corresponding to both the manufacturer and the subtype when both the manufacturer and the subtype are queried, wherein both the manufacturer and the subtype are pre-associated with the second attribute information; querying the parent type of the first device in the instruction from the backgr
- Claim 4Depends on #1
The device control method of claim 1, wherein uploading the resource pack of the first device to the IoT platform comprises: when a software version of the second device is updated, uploading a resource pack corresponding to the updated software version to the IoT platform for the IoT platform to update a gray-box testing status in the background of the server when the IoT platform performs a gray-box testing based on the resource pack corresponding to the updated software version, wherein the software version is pre-associated with the resource pack; and receiving the configuration file of the first device transmitted from the IoT platform comprises: when the gray-box testing status in the background is a completed status, receiving an updated configuration file of the first device transmitted from the IoT platform, wherein the updated configuration file is generated by the IoT platform based on the second attribute information of the first device when it is determined, based on the f
- Claim 5Depends on #1
The device control method of claim 1, wherein receiving the configuration file of the first device transmitted from the IoT platform comprises: receiving a modified configuration file of the first device transmitted from the IoT platform when the second attribute information of the first device is modified, wherein the modified configuration file is generated by the IoT platform based on a modified second attribute information of the first device when the first device is accessed to the IoT platform.
- Claim 6Independent Claim
A device control method, comprising: receiving a resource pack of a first device transmitted from a server; generating a configuration file of the first device based on second attribute information of the first device when it is determined, based on first attribute information of the first device in the resource pack, that the first device accesses an Internet of Things (IoT) platform; and transmitting the configuration file to the server, wherein when the server parses the second attribute information of the first device from the configuration file, the second attribute information is used for controlling, by a second device, the first device based on function information of the first device corresponding to the second attribute information, and the second attribute information is pre-associated with the function information.
- Claim 7Depends on #6
The device control method of claim 6, wherein generating the configuration file of the first device based on the second attribute information of the first device when it is determined, based on first attribute information of the first device in the resource pack, that the first device accesses the IoT platform comprises: when a software version of the second device is updated, performing gray-box testing based on the resource pack corresponding to the updated software version uploaded by the server, wherein the software version is pre-associated with the resource pack; and generating a configuration file of the first device based on the second attribute information of the first device when the gray-box testing status is a completed status, and it is determined, based on the first attribute information of the first device in the resource pack corresponding to the updated software version, that the first device accesses the IoT platform.
- Claim 8Independent Claim
A device control apparatus, comprising: an uploading module for uploading a resource pack of a first device to an Internet of Things (IoT) platform; a first receiving module for receiving a configuration file of the first device transmitted from the IoT platform, wherein the configuration file is generated by the IoT platform based on second attribute information of the first device when the first device accesses the IoT platform, and whether the first device accesses the IoT platform is determined by the IoT platform based on first attribute information of the first device in the resource pack; and a parsing module for parsing the second attribute information of the first device from the configuration file, wherein the second attribute information is used for controlling, by a second device, the first device based on function information of the first device corresponding to the second attribute information, and the second attribute information is pre-associated with the function infor
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION The present application is a U.S. national stage of PCT International Application No. PCT/CN2022/110538, filed on Aug. 5 2022, which claims priority to Chinese Patent Application No. 202111010426.1, filed on Aug. 31, 2021, entitled “ Device Control Method and Apparatus ” , each of which is hereby incorporated by reference in its entirety. FIELD The present application relates to the field of device control, and in particular, to device control methods and apparatuses. BACKGROUND In the prior art, when home appliances are controlled under the Internet of Things (IoT), different types of controlled devices and control devices need to be accessed to a same IoT platform to interact with each other through the IoT platform. However, when the controlled devices and the control devices are accessed to the same IoT platform, the IoT platform simultaneously plays functions of entering and managing the attribute information of the controlled devices, and functions of querying the attribute information of the controlled devices by the control devices, etc. The resources of the IoT platform are prone to exceed limits due to the large number of devices accessed to the IoT platform, which results in difficulty in accurate control of home appliances. SUMMARY The present application provides device control methods and apparatuses which solve a problem of low accuracy of device control due to high resource pressure of the Internet of Things (IoT) platform when controlled devices and control devices are accessed to the same IoT platform in the prior art, relieve the resource pressure on the IoT platform and improve the accuracy of device control. The present application provides a device control method, performed by a server, including: uploading a resource pack of a first device to an Internet of Things (IoT) platform; receiving a configuration file of the first device transmitted from the IoT platform, where the configuration file is generated
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (53)
Non-Patent Literature (10)
- H. Cai, L. D. Xu, B. Xu, C. Xie, S. Qin and L. Jiang,
- “
- IoT-Based Configurable Information Service Platform for Product Lifecycle Management,
- ”
- in IEEE Transactions on Industrial Informatics, vol. 10, No. 2, pp. 1558-1567, May 2014. (Year: 2014).
- M. -O. Pahl and L. Donini,
- “
- Giving IoT Services an Identity and Changeable Attributes,
- ”
- 2019 IFIP/IEEE Symposium on Integrated Network and Service Management (IM), Arlington, VA, USA, 2019, pp. 455-461. (Year: 2019).