Access method, device and system of internet of things equipment

By building a unified device function model library and dynamic configuration, the problems of repetitive development and poor compatibility in traditional IoT device access methods are solved, enabling efficient and flexible management of device access and improving the maintainability and scalability of the system.

CN121037429BActive Publication Date: 2026-03-31BEIJING YINGZHI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-29
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Traditional IoT device access methods require customized development, resulting in a large amount of repetitive work, poor system maintainability, difficulty in compatibility with multiple devices, high maintenance difficulty, and limitations on the platform's scalability and compatibility.

Method used

By building a unified device function model library and combining it with the unique identification information of IoT devices, dynamic configuration and function point assembly are achieved, supporting zero-code access and automated management of various devices.

Benefits of technology

Significantly shorten the device access cycle, reduce development workload and maintenance costs, improve system maintainability, scalability and compatibility, and achieve flexible and efficient management of device access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121037429B_ABST
    Figure CN121037429B_ABST
Patent Text Reader

Abstract

The present disclosure provides an access method and device of an Internet of Things (IoT) equipment and an IoT system, and relates to the technical field of IoT. The method is applied to an IoT gateway, and comprises: obtaining configuration data of an IoT equipment to be accessed according to unique identification information of the IoT equipment to be accessed; performing function point assembly of a thing model according to the configuration data in combination with a device function model library to obtain a target thing model of the IoT equipment to be accessed; and sending the target thing model to a terminal to enable the terminal to control the IoT equipment to be accessed based on the target thing model. The present disclosure constructs a device function model library of unified abstract device capabilities, and performs function point assembly of a thing model in combination with unique identification information of an IoT equipment to be accessed, thereby realizing dynamic configuration. The present disclosure can effectively solve the problems of low multiplexing, poor compatibility and high maintenance difficulty in a traditional equipment access mode, greatly shortens an access period, and reduces equipment access development workload and maintenance cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet of Things (IoT) technology, and in particular to an IoT device access method, apparatus, and IoT system. Background Technology

[0002] As the scale of IoT business continues to expand, the application scenarios of various devices in different projects are becoming increasingly diverse. The types of devices and communication protocols connected to device management platforms are also showing a diversified growth trend. In traditional device access methods, each new type of device requires customized development for its unique functionalities and communication protocols, including functional encapsulation. Traditional device access methods involve a large amount of repetitive development work, requiring the construction of a complete access link for each device from scratch. As the number of connected devices increases, the codebase expands rapidly, leading to an exponential decline in system maintainability and severely restricting the platform's long-term evolution capabilities. Summary of the Invention

[0003] This disclosure aims to at least partially address one of the technical problems in the related art.

[0004] Therefore, the first aspect of this disclosure proposes an access method for an Internet of Things (IoT) device, which is applied to an IoT gateway and includes the following steps:

[0005] Based on the service instructions sent by the terminal, determine the IoT devices to be connected;

[0006] Based on the unique identifier of the IoT device to be connected, the configuration data of the IoT device to be connected is obtained from the cloud server;

[0007] Based on the configuration data and a pre-built device function model library, the function points of the object model are assembled to obtain the target object model of the IoT device to be connected.

[0008] The target object model is sent to the terminal so that the terminal can control the IoT device to be connected based on the target object model.

[0009] In some embodiments of this disclosure, determining the IoT device to be accessed based on a service instruction sent by the terminal includes: in response to receiving a service instruction sent by the terminal, determining multiple accessible IoT devices by scanning; sending the multiple accessible IoT devices to the terminal in a list format, so that the terminal can determine the IoT device to be accessed from the multiple accessible IoT devices based on user operation; and receiving device information of the IoT device to be accessed sent by the terminal for determining the IoT device to be accessed.

[0010] In some embodiments of this disclosure, determining the IoT device to be accessed based on the service instruction sent by the terminal includes: in response to receiving the service instruction sent by the terminal, determining a plurality of accessible IoT devices by scanning; and determining the plurality of accessible IoT devices as the IoT device to be accessed.

[0011] In some embodiments of this disclosure, the configuration data includes a target identifier code corresponding to the target function point information of the IoT device to be connected, the device function model library includes multiple identifier codes corresponding to function point information, and function point configuration information corresponding to each identifier code; the step of assembling the function points of the object model according to the configuration data and the pre-built device function model library includes: filtering function points in the device function model library according to the target identifier code corresponding to the target function point information, and determining the target function point configuration information corresponding to the target identifier code; and assembling the function points of the object model based on the target function point configuration information.

[0012] In some embodiments of this disclosure, the step of assembling the function points of the object model based on the target function point configuration information includes: performing protocol conversion on the target function point configuration information according to the protocol type of the IoT device to be connected; and assembling the function points of the object model based on the protocol-converted target function point configuration information.

[0013] In some embodiments of this disclosure, the configuration data includes a target identifier code corresponding to the target function point information of the IoT device to be connected, and the device function model library includes identifier codes corresponding to multiple function point information, as well as function point configuration information corresponding to each identifier code under multiple protocol types; the step of assembling the function points of the object model based on the configuration data and the pre-built device function model library includes: filtering function points in the device function model library according to the target identifier code corresponding to the target function point information and the target protocol type of the IoT device to be connected, and determining the target function point configuration information corresponding to the target identifier code and the target protocol type; and assembling the function points of the object model based on the target function point configuration information.

[0014] A second aspect of this disclosure provides an access method for an Internet of Things (IoT) device, the method being applied to a terminal, the method comprising the following steps:

[0015] According to the user's access operation instructions, a business instruction is sent to the IoT gateway so that the IoT gateway can determine the IoT device to be accessed, and obtain the configuration data of the IoT device to be accessed from the cloud server according to the unique identification information of the IoT device to be accessed. Based on the configuration data and the pre-built device function model library, the functional points of the object model are assembled to obtain the target object model of the IoT device to be accessed.

[0016] Receive the target object model of the IoT device to be connected sent by the IoT gateway;

[0017] The target object model is deployed on the terminal;

[0018] The target object model is used to control the IoT device to be connected.

[0019] In some embodiments of this disclosure, the method further includes: receiving a plurality of accessible IoT devices sent by the IoT gateway in a list format; determining the IoT device to be accessed from the plurality of accessible IoT devices based on user operations; and sending the device information of the IoT device to be accessed to the IoT gateway for determining the IoT device to be accessed.

[0020] A third aspect of this disclosure provides an access device for an Internet of Things (IoT) device, the device being applied to an IoT gateway, the device comprising:

[0021] The determination module is used to determine the IoT devices to be connected based on the business instructions sent by the terminal.

[0022] The acquisition module is used to acquire the configuration data of the IoT device to be connected from the cloud server based on the unique identification information of the IoT device to be connected;

[0023] The functional assembly module is used to assemble the functional points of the object model according to the configuration data and the pre-built device functional model library, so as to obtain the target object model of the IoT device to be connected.

[0024] The sending module is used to send the target object model to the terminal, so that the terminal can control the IoT device to be connected based on the target object model.

[0025] A fourth aspect of this disclosure provides an access device for an Internet of Things (IoT) device, the device being applied to a terminal, the device comprising:

[0026] The sending module sends a service instruction to the IoT gateway according to the user's access operation instruction, so that the IoT gateway determines the IoT device to be connected, and obtains the configuration data of the IoT device to be connected from the cloud server according to the unique identification information of the IoT device to be connected. Based on the configuration data and the pre-built device function model library, the functional points of the object model are assembled to obtain the target object model of the IoT device to be connected.

[0027] The receiving module is used to receive the target object model of the IoT device to be connected sent by the IoT gateway;

[0028] A deployment module is used to deploy the target object model on the terminal;

[0029] The control module is used to control the IoT device to be connected based on the target object model.

[0030] A fifth aspect of this disclosure provides an Internet of Things (IoT) system, characterized in that the IoT system includes an IoT gateway and a terminal; wherein the IoT gateway is used to perform the method described in the first aspect above; and the terminal is used to perform the method described in the second aspect above.

[0031] A sixth aspect of this disclosure provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0032] The memory stores computer-executed instructions;

[0033] The processor executes computer execution instructions stored in the memory to implement the method described in the first aspect or the method described in the second aspect.

[0034] A seventh aspect of this disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in the first aspect or the method described in the second aspect.

[0035] An eighth aspect of this disclosure provides a computer program product including a computer program that, when executed by a processor, implements the method described in the first aspect or the method described in the second aspect.

[0036] The IoT device access method disclosed herein achieves dynamic configuration by constructing a unified abstract device capability functional model library and assembling the functional points of the unique identification information object model of the IoT device to be accessed. This effectively solves the problems of low reusability, poor compatibility, and high maintenance difficulty in traditional device access methods, significantly shortening the access cycle, reducing device access development workload and maintenance costs, and substantially improving the maintainability, scalability, and compatibility of IoT devices.

[0037] Additional aspects and advantages of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this disclosure. Attached Figure Description

[0038] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which:

[0039] Figure 1 This is a schematic flowchart illustrating an access method for an IoT device applied to an IoT gateway, provided in an embodiment of this disclosure.

[0040] Figure 2 This is an architecture diagram of a solution for enabling device access via an IoT service SDK, provided in an embodiment of this disclosure.

[0041] Figure 3 This is a schematic flowchart illustrating an access method for an IoT device applied to a terminal, provided in an embodiment of this disclosure.

[0042] Figure 4 This is a schematic diagram of an access device for an IoT device applied to an IoT gateway, provided as an embodiment of this disclosure.

[0043] Figure 5 A schematic diagram of an access device for an Internet of Things (IoT) device applied to a terminal, provided as an embodiment of this disclosure;

[0044] Figure 6 This is an interactive schematic diagram of an Internet of Things (IoT) system provided in an embodiment of this disclosure. Detailed Implementation

[0045] Embodiments of this disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.

[0046] Specifically, the following description, with reference to the accompanying drawings, outlines an IoT device access method, apparatus, and IoT system according to embodiments of the present disclosure.

[0047] Figure 1 This is a flowchart illustrating an access method for an IoT device applied to an IoT gateway, provided by an embodiment of this disclosure. Figure 1 As shown, the access method for this IoT device may include the following steps:

[0048] Step 101: Based on the service instructions sent by the terminal, determine the IoT devices to be connected.

[0049] In some embodiments of this disclosure, when an IoT gateway receives a service instruction sent by a terminal, it can identify multiple accessible IoT devices by scanning and identify all of these accessible IoT devices as IoT devices to be accessed.

[0050] Alternatively, in other embodiments of this disclosure, the scanned accessible IoT devices can be provided to the user for selection, enabling the user-specified device to access the network. In one implementation, when the IoT gateway receives a service instruction from the terminal, it can identify multiple accessible IoT devices through scanning and send a list of these devices to the terminal, allowing the terminal to determine the IoT device to be accessed from among the multiple accessible IoT devices based on user operation. After determining the IoT device to be accessed from the multiple accessible IoT devices, the terminal sends the device information of the IoT device to be accessed to the IoT gateway. The IoT gateway determines the IoT device to be accessed based on the received device information of the IoT device to be accessed.

[0051] Step 102: Obtain the configuration data of the IoT device to be connected from the cloud server based on the unique identification information of the IoT device to be connected.

[0052] The cloud server has pre-obtained configuration data for multiple IoT devices, as well as unique identifiers for each device. The configuration data can be understood as the functional information of each IoT device, specifying its features such as on / off functionality, mode adjustment, brightness adjustment, and color temperature adjustment. By dynamically configuring device functions in the cloud, the required device functions can be flexibly integrated.

[0053] Step 103: Based on the configuration data and the pre-built device function model library, assemble the function points of the object model to obtain the target object model of the IoT device to be connected.

[0054] It should be noted that the device function model library includes identification codes corresponding to multiple function points, as well as function point configuration information corresponding to each identification code. This is used to achieve a unified abstraction of device capabilities and is inherently compatible with various types of devices. Function point configuration information can be understood as function code (or interface code within a function point).

[0055] In some embodiments of this disclosure, the configuration data may include target identifier codes corresponding to the target function point information of the IoT device to be connected (each function point information corresponds to one identifier code). Based on the target identifier codes corresponding to the target function point information of the IoT device to be connected, function points are filtered in the device function model library to determine the target function point configuration information corresponding to the target identifier codes. Based on the target function point configuration information, the function points of the object model are assembled. The object model is an abstract mapping of the IoT device to be connected and has the functions of the IoT device to be connected. The terminal can control the IoT device to be connected by controlling the object model.

[0056] In some embodiments of this disclosure, the communication protocols of the IoT devices to be connected may differ. Therefore, after filtering function points in the device function model library, the target function point configuration information can be converted according to the protocol type of the IoT device to be connected. Based on the converted target function point configuration information, the function points of the object model can be assembled to ensure compatibility with IoT devices using different protocols.

[0057] Alternatively, in another implementation of this disclosure, when constructing the device function model library, the function point configuration information for the same function point under different protocol types can be considered. That is, the device function model library includes identification codes corresponding to multiple function point information, and function point configuration information corresponding to each identification code under multiple protocol types. Based on the target identification code corresponding to the target function point information and the target protocol type of the IoT device to be connected, function points are filtered in the device function model library to determine the target function point configuration information corresponding to the target identification code and the target protocol type. Based on the target function point configuration information, the function points of the object model are assembled.

[0058] Optionally, after obtaining the configuration data of the IoT device to be connected from the cloud server, the configuration data can be customized based on user needs. In one implementation, the IoT gateway can obtain the user's modification instruction for the configuration data and modify the configuration data sent from the cloud based on the modification instruction. For example, device 1 includes function point 1, function point 2, and function point 3. If the user only needs function point 1 and function point 2, they can send a modification instruction to the IoT gateway through the terminal. After receiving the user's modification instruction, the IoT gateway can modify the configuration data so that device 1 includes function point 1 and function point 2.

[0059] Step 104: Send the target object model to the terminal so that the terminal can control the IoT device to be connected based on the target object model.

[0060] Taking device access via IoT Service SDK (Internet of Things Service Software Development Kit) as an example, Figure 2This is an architecture diagram of a device access solution implemented through an IoT service SDK, as provided in this embodiment. The application layer Launcher (equivalent to a terminal) sends business commands to the IoT service (Internet of Things gateway). The IoT service determines the IoT devices to be accessed, including device 1, device 2, and device 3, through scanning based on the business commands. Based on the unique identifier information of the IoT devices to be accessed, it obtains the configuration data of the IoT devices to be accessed from the cloud server and determines the corresponding function point information for each IoT device. The IoT service parses the configuration data and, based on the configuration data, accesses a pre-built device function model library (i.e.,...). Figure 2 The system filters and assembles functions within a functional set (of available components) to achieve dynamic configuration and real-time updates to device access strategies, resulting in a target object model for each IoT device to be connected. The standardized device function model library boasts high compatibility and can adapt to various attribute data transformations via an adapter. The target object model is then sent to the application layer launcher, enabling the launcher to control the functions of the IoT devices to be connected through the object model.

[0061] This example achieves a unified abstraction of device capabilities by establishing a standardized device function model library, and adopts a modular functional component architecture (such as...). Figure 2 The functional assembly module (including configuration parsing, function filtering, and function assembly) automatically completes the intelligent assembly of functional components, supports flexible function combinations and expansions, and new device access can be completed simply through configuration, achieving zero-code access for new devices without modifying the core code. It provides an access solution with minimal or no development required, eliminating the need for OTA upgrades, and automatically supports multiple device access, keeping the system always simple and robust.

[0062] The table below compares the traditional access solution with the standardized access solution provided in this disclosure. Compared to the traditional development model, it can significantly reduce the access development workload by more than 80%, while greatly improving the maintainability and scalability of the system, shortening the project delivery cycle by more than 60%. It not only solves the current pain points of device access but also builds a future-oriented IoT device management architecture for users. Through standardized, modular, and configurable design principles, the system maintains an elegant architecture and efficient operation and maintenance experience even during large-scale expansion.

[0063]

[0064] By implementing the embodiments of this disclosure, dynamic configuration is achieved by constructing a unified abstract device capability device function model library and assembling the function points of the unique identification information object model of the IoT device to be connected. This effectively solves the problems of low reusability, poor compatibility, and high maintenance difficulty in traditional device access methods, greatly shortens the access cycle, reduces the workload of device access development and maintenance costs, and significantly improves the maintainability, scalability, and compatibility of IoT devices.

[0065] Figure 3 This is a schematic flowchart illustrating an access method for an IoT device applied to a terminal, provided by an embodiment of this disclosure. Figure 3 As shown, the access method for this IoT device may include the following steps:

[0066] Step 301: Based on the user's access operation instruction, send a business instruction to the IoT gateway so that the IoT gateway can determine the IoT device to be accessed, and obtain the configuration data of the IoT device to be accessed from the cloud server based on the unique identification information of the IoT device to be accessed. Based on the configuration data and the pre-built device function model library, assemble the function points of the object model to obtain the target object model of the IoT device to be accessed.

[0067] Optionally, in some embodiments of this disclosure, the terminal may also receive a list of multiple accessible IoT devices sent by the IoT gateway, and determine the IoT device to be accessed from the multiple accessible IoT devices based on user operations, and send the device information of the IoT device to be accessed to the IoT gateway to determine the IoT device to be accessed, thereby realizing targeted device access.

[0068] Step 302: Receive the target object model of the IoT device to be connected from the IoT gateway.

[0069] Step 303: Deploy the target object model on the terminal.

[0070] Step 304: Control the IoT device to be connected based on the target object model.

[0071] By implementing the embodiments of this disclosure, dynamic configuration is achieved by constructing a unified abstract device capability device function model library and assembling the function points of the unique identification information object model of the IoT device to be connected. This effectively solves the problems of low reusability, poor compatibility, and high maintenance difficulty in traditional device access methods, greatly shortens the access cycle, reduces the workload of device access development and maintenance costs, and significantly improves the maintainability, scalability, and compatibility of IoT devices.

[0072] Figure 4 This is a schematic diagram of an access device for an IoT device applied to an IoT gateway, provided as an embodiment of this disclosure. Figure 4As shown, the access device for the Internet of Things (IoT) device may include: a determination module 401, an acquisition module 402, a function assembly module 403, and a transmission module 404.

[0073] The determination module 401 is used to determine the IoT device to be connected based on the business instructions sent by the terminal.

[0074] In some embodiments of this disclosure, the determining module 401 is specifically configured to: in response to receiving a service instruction sent by a terminal, determine multiple accessible IoT devices by scanning; send the multiple accessible IoT devices to the terminal in the form of a list, so that the terminal can determine the IoT device to be accessed from the multiple accessible IoT devices based on user operation; and receive device information of the IoT device to be accessed sent by the terminal, for the purpose of determining the IoT device to be accessed.

[0075] In some embodiments of this disclosure, the determining module 401 is specifically used to: in response to receiving a service instruction sent by the terminal, determine multiple accessible IoT devices by scanning; and determine the multiple accessible IoT devices as IoT devices to be accessed.

[0076] The acquisition module 402 is used to obtain the configuration data of the IoT device to be connected from the cloud server based on the unique identification information of the IoT device to be connected.

[0077] The functional assembly module 403 is used to assemble the functional points of the object model according to the configuration data and the pre-built device functional model library to obtain the target object model of the IoT device to be connected.

[0078] In some embodiments of this disclosure, the configuration data may include a target identifier code corresponding to the target function point information of the IoT device to be connected, and the device function model library includes identifier codes corresponding to multiple function point information, as well as function point configuration information corresponding to each identifier code. The function assembly module 403 is specifically used for: filtering function points in the device function model library according to the target identifier code corresponding to the target function point information, determining the target function point configuration information corresponding to the target identifier code; and assembling function points of the object model based on the target function point configuration information.

[0079] In some embodiments of this disclosure, the function assembly module 403 may also be used to: perform protocol conversion on the target function point configuration information according to the protocol type of the IoT device to be connected; and perform function point assembly on the object model based on the target function point configuration information after protocol conversion.

[0080] In some embodiments of this disclosure, the configuration data includes target identifier codes corresponding to the target function point information of the IoT device to be connected, and the device function model library includes identifier codes corresponding to multiple function point information, as well as function point configuration information corresponding to each identifier code under multiple protocol types. The function assembly module 403 is specifically used for: filtering function points in the device function model library according to the target identifier codes corresponding to the target function point information and the target protocol type of the IoT device to be connected, and determining the target function point configuration information corresponding to the target identifier codes and target protocol types; and assembling function points for the object model based on the target function point configuration information.

[0081] The sending module 404 is used to send the target object model to the terminal so that the terminal can control the IoT device to be connected based on the target object model.

[0082] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0083] Figure 5 This is a schematic diagram of an access device for an Internet of Things (IoT) device applied to a terminal, provided as an embodiment of this disclosure. Figure 5 As shown, the access device for the Internet of Things (IoT) device may include: a sending module 501, a receiving module 502, a deployment module 503, and a control module 504.

[0084] The sending module 501 sends a service instruction to the IoT gateway according to the user's access operation instruction, so that the IoT gateway can determine the IoT device to be accessed, and obtain the configuration data of the IoT device to be accessed from the cloud server according to the unique identification information of the IoT device to be accessed. Based on the configuration data and the pre-built device function model library, the functional points of the object model are assembled to obtain the target object model of the IoT device to be accessed.

[0085] The receiving module 502 is used to receive the target object model of the IoT device to be connected sent by the IoT gateway.

[0086] Deployment module 503 is used to deploy the target object model on the terminal.

[0087] The control module 504 is used to control the IoT devices to be connected based on the target object model.

[0088] In some embodiments of this disclosure, in such Figure 5Based on the illustrated embodiment, the access device for the IoT device applied to the terminal may further include a determining module; wherein, the determining module is used to: receive a list of multiple accessible IoT devices sent by the IoT gateway; determine the IoT device to be accessed from the multiple accessible IoT devices based on user operations; and send the device information of the IoT device to be accessed to the IoT gateway for determining the IoT device to be accessed.

[0089] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0090] Figure 6 This is a schematic diagram illustrating the interaction of an Internet of Things (IoT) system provided in an embodiment of this disclosure. Figure 6 As shown, the IoT system includes an IoT gateway and terminals.

[0091] The terminal sends a service command to the IoT gateway based on user operation (S1). Based on the service command, the IoT gateway determines the IoT device to be connected (S2) and sends a configuration data request for the IoT device to the cloud server according to the unique identifier of the IoT device to be connected (S3). The cloud server sends the configuration data of the IoT device to the IoT gateway (S4). The IoT gateway assembles the functional points of the object model according to the configuration data and a pre-built device function model library to obtain the target object model of the IoT device to be connected (S5). The IoT gateway sends the target object model to the terminal (S6), and the terminal controls the IoT device to be connected based on the target object model (S7).

[0092] To implement the above embodiments, this disclosure also proposes an electronic device, including: a processor and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the access method for the Internet of Things device provided in any of the foregoing embodiments.

[0093] To implement the above embodiments, this disclosure also proposes a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the IoT device access method provided in any of the foregoing embodiments.

[0094] To implement the above embodiments, this disclosure also proposes a computer program product, including a computer program that, when executed by a processor, implements the IoT device access method provided in any of the foregoing embodiments.

[0095] In the foregoing descriptions of the embodiments, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0096] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0097] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain.

[0098] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0099] It should be understood that various parts of this disclosure can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0100] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0101] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0102] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.

Claims

1. An access method of an Internet of Things device, characterized by, The method is applied to an Internet of Things gateway, and the method comprises the following steps: Based on the service instruction sent by the terminal, determine the Internet of Things device to be accessed; According to the unique identification information of the Internet of Things device to be accessed, obtain the configuration data of the Internet of Things device to be accessed from the cloud server; According to the configuration data and the pre-constructed device function model library, assemble the function points of the object model to obtain the target object model of the Internet of Things device to be accessed; Send the target object model to the terminal, so that the terminal controls the Internet of Things device to be accessed based on the target object model; The configuration data comprises a target identification code corresponding to the target function point information of the Internet of Things device to be accessed, the device function model library comprises identification codes corresponding to multiple function point information, and function point configuration information corresponding to each identification code; according to the configuration data and the pre-constructed device function model library, assembling the function points of the object model comprises: According to the target identification code corresponding to the target function point information, filter the function points in the device function model library to determine the target function point configuration information corresponding to the target identification code; Based on the target function point configuration information, assemble the function points of the object model.

2. The method of claim 1, wherein, Based on the service instruction sent by the terminal, determine the Internet of Things device to be accessed, comprising: In response to receiving the service instruction sent by the terminal, determine multiple accessible Internet of Things devices by scanning; Send the multiple accessible Internet of Things devices to the terminal in the form of a list, so that the terminal determines the Internet of Things device to be accessed from the multiple accessible Internet of Things devices based on user operation; Receive the device information of the Internet of Things device to be accessed sent by the terminal, which is used to determine the Internet of Things device to be accessed.

3. The method of claim 1, wherein, Based on the service instruction sent by the terminal, determine the Internet of Things device to be accessed, comprising: In response to receiving the service instruction sent by the terminal, determine multiple accessible Internet of Things devices by scanning; Determine the multiple accessible Internet of Things devices as the Internet of Things device to be accessed.

4. The method of claim 1, wherein, According to the target function point configuration information, perform protocol conversion according to the protocol type of the Internet of Things device to be accessed; Based on the target function point configuration information after protocol conversion, assemble the function points of the object model. The configuration data comprises a target identification code corresponding to the target function point information of the Internet of Things device to be accessed, the device function model library comprises identification codes corresponding to multiple function point information, and function point configuration information corresponding to each identification code under multiple protocol types; according to the configuration data and the pre-constructed device function model library, assembling the function points of the object model comprises:

5. The method of claim 1, wherein, According to the target identification code corresponding to the target function point information and the target protocol type of the Internet of Things device to be accessed, filter the function points in the device function model library to determine the target function point configuration information corresponding to the target identification code and the target protocol type; According to the target function point configuration information, perform protocol conversion according to the protocol type of the Internet of Things device to be accessed; Based on the target function point configuration information after protocol conversion, assemble the function points of the object model. Assemble the function points of the object model based on the target function point configuration information.

6. An access method of an Internet of Things device, characterized by, The method is applied to a terminal, and the method comprises the following steps: According to the access operation instruction of a user, a service instruction is sent to an Internet of Things gateway, so that the Internet of Things gateway determines a to-be-accessed Internet of Things device, and configuration data of the to-be-accessed Internet of Things device is acquired from a cloud server according to unique identification information of the to-be-accessed Internet of Things device; function point assembly of an object model is performed according to the configuration data and in combination with a pre-constructed device function model library, so that a target object model of the to-be-accessed Internet of Things device is obtained; The target object model of the to-be-accessed Internet of Things device sent by the Internet of Things gateway is received; The target object model is deployed on the terminal; The to-be-accessed Internet of Things device is controlled based on the target object model; The configuration data comprises a target identification code corresponding to target function point information of the to-be-accessed Internet of Things device, the device function model library comprises identification codes corresponding to multiple function point information, and each identification code corresponds to function point configuration information; the function point assembly of the object model according to the configuration data and in combination with the pre-constructed device function model library comprises: According to the target identification code corresponding to the target function point information, function point screening is performed in the device function model library, so that target function point configuration information corresponding to the target identification code is determined; The function point assembly of the object model is performed based on the target function point configuration information.

7. The method of claim 6, wherein, Further comprising: A plurality of accessible Internet of Things devices sent in a list form by the Internet of Things gateway are received; The to-be-accessed Internet of Things device is determined from the plurality of accessible Internet of Things devices based on user operation; Device information of the to-be-accessed Internet of Things device is sent to the Internet of Things gateway, so as to determine the to-be-accessed Internet of Things device.

8. An access device of an Internet of Things device, the access device comprising: The device is applied to an Internet of Things gateway, and the device comprises: A determination module configured to determine a to-be-accessed Internet of Things device based on a service instruction sent by a terminal; An acquisition module configured to acquire configuration data of the to-be-accessed Internet of Things device from a cloud server according to unique identification information of the to-be-accessed Internet of Things device; A function assembly module configured to perform function point assembly of an object model according to the configuration data and in combination with a pre-constructed device function model library, so as to obtain a target object model of the to-be-accessed Internet of Things device; A sending module configured to send the target object model to the terminal, so that the terminal controls the to-be-accessed Internet of Things device based on the target object model; The configuration data comprises a target identification code corresponding to target function point information of the to-be-accessed Internet of Things device, the device function model library comprises identification codes corresponding to multiple function point information, and each identification code corresponds to function point configuration information; the function point assembly of the object model according to the configuration data and in combination with the pre-constructed device function model library comprises: According to the target identification code corresponding to the target function point information, function point screening is performed in the device function model library, so that target function point configuration information corresponding to the target identification code is determined; The function point assembly of the object model is performed based on the target function point configuration information. Assemble the function points of the thing model based on the target function point configuration information.

9. An access device of an Internet of Things device, the access device comprising: The device is applied to a terminal, and the device comprises: The sending module sends a service instruction to the Internet of Things gateway according to the access operation instruction of the user, so that the Internet of Things gateway determines a to-be-accessed Internet of Things device, and acquires configuration data of the to-be-accessed Internet of Things device from a cloud server according to unique identification information of the to-be-accessed Internet of Things device, assembles function points of a thing model according to the configuration data and a pre-constructed device function model library, and obtains a target thing model of the to-be-accessed Internet of Things device; The receiving module receives the target thing model of the to-be-accessed Internet of Things device sent by the Internet of Things gateway; The deployment module deploys the target thing model in the terminal; The control module controls the to-be-accessed Internet of Things device based on the target thing model; The configuration data comprises a target identification code corresponding to target function point information of the to-be-accessed Internet of Things device, the device function model library comprises identification codes corresponding to multiple function point information, and each identification code corresponds to function point configuration information; the assembling of the function points of the thing model according to the configuration data and the pre-constructed device function model library comprises: According to the target identification code corresponding to the target function point information, function points are screened in the device function model library to determine target function point configuration information corresponding to the target identification code; The function points of the thing model are assembled based on the target function point configuration information.

10. An Internet of Things system, characterized by The Internet of Things system comprises an Internet of Things gateway and a terminal; wherein the Internet of Things gateway is configured to execute the method according to any one of claims 1-5; The terminal is configured to execute the method according to any one of claims 6-7.

11. An electronic device, comprising: Comprise: A processor and a memory connected to the processor in communication; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to implement the method according to any one of claims 1-5, or implement the method according to any one of claims 6-7.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method according to any one of claims 1-5, or implement the method according to any one of claims 6-7.

13. A computer program product, characterised in that, The computer program is executed by the processor to implement the method according to any one of claims 1-5, or implement the method according to any one of claims 6-7.

Citation Information

Patent Citations

  • An access method and a device of an Internet of Things device

    CN109040200A

  • Data processing method, Internet of Things system, electronic equipment and computer storage medium

    CN115102981A