An access management method, device and equipment of an Internet of Things platform heterogeneous device and a storage medium

By building communication and data models in the IoT platform, heterogeneous devices are registered and authenticated, which solves the problems of high system complexity and maintenance costs caused by heterogeneous device access, and simplifies device access and reduces costs.

CN116015816BActive Publication Date: 2026-05-01上海顺舟智能科技股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
上海顺舟智能科技股份有限公司
Filing Date
2022-12-19
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The differences in communication models among heterogeneous devices in IoT platforms lead to high system complexity and high maintenance costs.

Method used

Heterogeneous devices are registered by pre-building communication and data models. Access requests from devices to be connected are received for authentication. Once a legitimate device is identified, its data and communication models are matched for access management.

Benefits of technology

This reduces the system complexity of IoT platforms and the cost of device access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116015816B_ABST
    Figure CN116015816B_ABST
Patent Text Reader

Abstract

The application discloses an access management method and device for heterogeneous devices of an Internet of Things platform, equipment and a storage medium. The method comprises the following steps: registering the heterogeneous devices based on a pre-constructed communication model and a data model; receiving an access request of a to-be-connected device, and matching the access request with the registered heterogeneous devices to perform identity authentication on the to-be-connected device; when it is determined that the to-be-connected device is a legal device, determining a matched data model and a matched communication model of the to-be-connected device, and performing access management on the to-be-connected device based on the matched data model and the matched communication model. The above embodiment registers the heterogeneous devices through the communication model and the data model, performs identity authentication on the to-be-connected device, and performs access management on the legal device and the matched data model and the matched communication model, so that the system complexity and the device access cost of the Internet of Things platform are obviously reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, and storage medium for access management of heterogeneous devices on an Internet of Things (IoT) platform. Background Technology

[0002] With the rapid development of IoT technology, a massive number of smart devices need to connect to cloud platform systems. The differentiated communication models of such a large number of heterogeneous devices have become one of the key issues that urgently need to be addressed.

[0003] Due to differences in device structure, the communication components and models used vary significantly. The solution is to divide different types of devices into independent subsystems, processing and modeling them separately. Figure 1a As shown, the SAAS software service unit and the pass platform service unit are displayed. If device A is connected, a unit specifically for processing device A needs to be set up. If device B is connected, a unit specifically for processing device B also needs to be set up. Therefore, a special system needs to be designed to handle heterogeneous device access to the platform, which results in high complexity of the overall system and high maintenance costs. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and storage medium for managing access to heterogeneous devices on an Internet of Things (IoT) platform, thereby reducing the system complexity and device access costs of the IoT platform.

[0005] According to a first aspect of the present invention, an access management method for heterogeneous devices on an Internet of Things (IoT) platform is provided, comprising: registering heterogeneous devices based on a pre-built communication model and a data model;

[0006] Receive an access request from a device to be connected, and match the access request with registered heterogeneous devices to authenticate the device to be connected;

[0007] When the device to be connected is determined to be a legitimate device, a data model and a communication model that match the device to be connected are determined, and access management is performed on the device to be connected based on the matching data model and the matching communication model.

[0008] According to another aspect of the present invention, an access management device for heterogeneous devices on an Internet of Things (IoT) platform is provided, comprising: a heterogeneous device registration module for registering heterogeneous devices based on a pre-built communication model and a data model;

[0009] An authentication module is used to receive access requests from devices to be connected, and to match the access requests with registered heterogeneous devices to authenticate the devices to be connected.

[0010] The access management module is used to determine the data model and communication model that match the device to be connected when the device to be connected is determined to be a legitimate device, and to perform access management on the device to be connected based on the matching data model and the matching communication model.

[0011] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0012] At least one processor; and

[0013] A memory communicatively connected to the at least one processor; wherein,

[0014] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method described in any embodiment of the present invention.

[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the method described in any embodiment of the present invention.

[0016] The technical solution of this invention registers heterogeneous devices through communication models and data models, authenticates devices to be connected, and manages access for legitimate devices with matching data models and matching communication models, which significantly reduces the system complexity and device access cost of the Internet of Things platform.

[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1a This is an example diagram of existing technology;

[0020] Figure 1b This is a flowchart of an access management method for heterogeneous devices on an Internet of Things platform according to Embodiment 1 of the present invention;

[0021] Figure 1cThis is a schematic diagram of an application scenario for heterogeneous devices on an Internet of Things platform according to Embodiment 1 of the present invention;

[0022] Figure 2 This is a flowchart of another method for access management of heterogeneous devices on an Internet of Things platform according to Embodiment 2 of the present invention;

[0023] Figure 3 This is a schematic diagram of the access management device for heterogeneous devices on an Internet of Things platform according to Embodiment 3 of the present invention;

[0024] Figure 4 This is a schematic diagram of the structure of the electronic device provided in Embodiment 4 of the present invention. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] Example 1

[0028] Figure 1b This invention provides a flowchart of an access management method for heterogeneous devices on an IoT platform, as shown in Embodiment 1. This embodiment is applicable to situations where heterogeneous devices are connected to an IoT platform. The method can be executed by an access management device for heterogeneous devices on the IoT platform, which can be implemented in hardware and / or software. Figure 1b As shown, the method includes:

[0029] S101 registers heterogeneous devices based on pre-built communication and data models.

[0030] The communication model can be used to define a common communication model for heterogeneous devices and store it in a database for easy access later.

[0031] Heterogeneous devices can be various devices with different structures used to access the Internet of Things (IoT) platform, thereby facilitating interaction between the heterogeneous devices and the IoT platform.

[0032] Optionally, heterogeneous devices may include hard-connect devices, soft-connect devices, transparent devices, and sub-devices.

[0033] Among them, hard-connect devices can directly establish connections and exchange data with the IoT platform via transmission protocols such as TCP (Transmission Control Protocol) and UDP (User Datagram Protocol); soft-connect devices can directly establish connections and exchange data with other third-party platforms, and the platform needs to communicate indirectly with the device through the external interface of the third-party platform; transparent transmission devices themselves cannot communicate directly with the platform and need to communicate with the platform through the communication link of the gateway, such as wireless Zigbee devices and devices connected through the gateway's serial port. The gateway does not process the raw uplink and downlink data of the transparent transmission device in any way, but supports the gateway to "package" the raw data of the transparent transmission device during uplink and "unpack" it during downlink; the sub-devices themselves do not communicate directly with the platform, but are managed and communicated directly with by the gateway. The platform communicates indirectly with the sub-devices through the gateway's communication link and data interaction protocol.

[0034] Data models can be used to define the attributes and functions of heterogeneous devices and store them in a database.

[0035] In this embodiment, the Internet of Things platform may include a SaaS software service unit and a PaaS platform service unit.

[0036] In this embodiment, the SAAS software service unit can be used for preliminary preparation work. When a user adds a new device to the IoT platform, the new device can be registered based on the pre-built communication model and data model. The PAAS platform service unit can be used for unified access management of the connected devices.

[0037] Optionally, registering heterogeneous devices based on pre-built communication and data models includes: receiving user association instructions through the device management unit in the SaaS, associating each heterogeneous device with a specified communication model according to the association instructions, and obtaining the first attribute information of the heterogeneous devices based on the association results; receiving communication link identifiers of each heterogeneous device entered by the user through the device management unit; constructing data models of each heterogeneous device through the data model management unit in the SaaS, wherein the data models contain the functions of the heterogeneous devices; and registering the heterogeneous devices in the database according to the first attribute information, communication link identifiers, and functions.

[0038] The device management unit can be used to associate heterogeneous devices with a specified communication model according to association instructions, and to receive communication link identifiers of each heterogeneous device entered by the user. Since each heterogeneous device interacts with the IoT platform through a communication link, each communication link can include a communication link identifier. It should be noted that the communication link identifier is different for different heterogeneous devices; that is, each heterogeneous device has a corresponding communication link identifier.

[0039] Optionally, the communication link identifier of a hard-connected device is represented by the unique identifier of the hard-connected device; the communication link identifier of a soft-connected device is represented by the identifier of the associated third-party platform; the communication link identifier of a pass-through device is represented by the unique identifier of the pass-through device, or by a combination of the unique identifier of the pass-through device and the unique identifier of the associated gateway; the communication link identifier of a sub-device is represented by a four-tuple of the sub-device, wherein the four-tuple includes the link identifier of the associated gateway, the channel number of the associated gateway and the sub-device, the sub-device address, and the sub-device protocol.

[0040] In this embodiment, the communication link identifier of a hard-connected device can be represented by its unique identifier, such as MAC address or IMEI. The communication link identifier of a soft-connected device can be represented by the identifier of the associated third-party platform, such as a long integer or string. Based on its characteristics, the communication link identifier of a pass-through device can be divided into two categories: one uses the device's unique identifier, such as the device address and manufacturer-defined serial number; the other combines the device's unique identifier with the unique identifier of the associated gateway. This latter approach is suitable when the device's own unique identifier is insufficient to guarantee the uniqueness of the communication link identifier on the platform. The communication link identifier of a sub-device can be represented by a four-tuple, where the elements of the four-tuple can include the gateway's link identifier, channel number, sub-device address, and sub-device protocol. Specifically, the channel number defines the channel through which the sub-device interacts with the gateway, the sub-device address is its internal address within the gateway, and the sub-device protocol defines its protocol type. The platform and gateway can exchange data between the sub-devices based on the sub-device's four-tuple link identifier.

[0041] In this embodiment, if the device management unit in the SaaS receives the user's association instruction, it can associate each heterogeneous device with the specified communication model according to the association instruction. Based on the association result, it can obtain information such as the communication platform, communication platform protocol, device access protocol, and device access link protocol of the heterogeneous device. The device management unit receives the communication link identifier of each heterogeneous device entered by the user, and registers the heterogeneous device in the database based on the communication platform, communication platform protocol, device access protocol, device access link protocol, communication link identifier, and function, and saves it in the database.

[0042] In this embodiment, the communication model created by the user in advance includes communication model 1 and communication model 2. When heterogeneous device A registers for access, it can be associated with communication model 1. At this time, heterogeneous device A has the information such as communication platform, communication platform protocol, device access protocol and device access link protocol that communication model 1 possesses.

[0043] In addition, a data model of heterogeneous device A is constructed through the data management unit, the data model is associated with heterogeneous device A, and the functions of heterogeneous device A are determined using the associated data model. At this point, heterogeneous device A has information such as communication platform, communication platform protocol, device access protocol, device access link protocol, communication link identifier, and functions.

[0044] S102, receive the access request from the device to be connected, and match the access request with the registered heterogeneous devices to authenticate the device to be connected.

[0045] The registered heterogeneous devices can be legitimate devices, i.e., devices that have passed authentication and whose identity information is contained in the database. Optionally, receiving access requests from devices to be connected and matching them with registered heterogeneous devices may include: receiving access requests from devices to be connected through a designated access terminal in the PAAS, wherein the designated access terminal is configured with second attribute information; extracting the communication link identifier of the device to be connected from the access request; and matching it with registered heterogeneous devices in the database based on the second attribute information and the communication link identifier.

[0046] The second attribute information can be pre-configured and may include information such as the communication platform, communication platform protocol, device access protocol, and device access link protocol.

[0047] In this embodiment, if a designated access terminal in PAAS receives an access request from a device to be connected, it queries the database for the first attribute information, communication link identifier, and function of the heterogeneous device according to the access request, and matches it with the heterogeneous devices registered in the database according to the second attribute information and communication link identifier, and determines whether the device to be connected is a legitimate device based on the matching result.

[0048] In this embodiment, if the access request of the device to be connected, A, contains communication link identification information a, and the access terminal X is configured with information such as communication platform b1, communication platform protocol c1, device access protocol d1, and device access link protocol e1, and the above information such as b1, c1, d1, and e1 is used as the second attribute information of the device to be connected, then a matching query is performed on the heterogeneous devices registered in the database based on the second attribute information of the device to be connected and the communication link identification information a. When it is determined that a heterogeneous device consistent with the second attribute information and communication link identification information a of the device to be connected is found in the database, it is said that the device to be connected, A, is determined to be a legitimate device, that is, the identity verification is confirmed to be successful.

[0049] S103, when the device to be connected is determined to be a legitimate device, the data model and communication model that match the device to be connected are determined, and access management of the device to be connected is performed based on the matching data model and communication model.

[0050] Optionally, before determining the matching data model and communication model with the device to be connected, the process may further include: receiving data sent by the device to be connected through a specified access terminal; and managing the access of the device to be connected based on the matching data model and communication model, which may include: processing the data based on the functions in the matching data model to obtain the processed data; determining a specified channel according to the matching communication model, and transmitting the processed data to the SAAS through a unified access interface via the specified channel to achieve access management of the device to be connected.

[0051] In this embodiment, it can be based on Figure 1c The diagram illustrates an application scenario for heterogeneous devices on an IoT platform. The Software Service Unit (SaaS) can register heterogeneous devices based on pre-built communication and data models. The designated access point of the Platform Service Unit (PAAS) can receive access requests from devices seeking connection, process the data based on the functions in the matched data model, and obtain the processed data. A designated channel is determined according to the matched communication model, and the processed data is transmitted to the SaaS through a unified access interface via this designated channel. Specifically... Figure 1c The Class A device access terminal can receive data sent by the device A to be connected. Based on the functions in the matched data model, it processes and transforms the data sent by device A, obtains the processed data, determines channel 1 as the designated channel according to the matched communication model, and transmits the processed data to the SaaS through the unified data channel access interface using channel 1. Further, as an example, Figure 1c The N-type device access terminal can receive data sent by the device N to be connected, process and transform the data based on the functions in the matched data model, obtain the processed data, determine channel N as the designated channel according to the matched communication model, and transmit the processed data to the SaaS through the unified data channel access interface via channel N. Channel 1, channel 2, and channel N in the figure are only one implementation method, and this embodiment does not specifically limit them.

[0052] This invention registers heterogeneous devices through communication and data models, authenticates devices to be connected, and manages access for legitimate devices with matching data and communication models, significantly reducing the system complexity and device access cost of the IoT platform.

[0053] Example 2

[0054] Figure 2 This is a flowchart of an access management method for heterogeneous devices on an IoT platform according to Embodiment 2 of the present invention. Before registering heterogeneous devices based on a pre-built communication model and data model, this embodiment further includes customizing the communication model according to communication model definition instructions. For example... Figure 2 As shown, the method includes:

[0055] S201 receives the user's communication model definition instructions through the communication model management unit in SAAS.

[0056] The communication model definition instruction can be used to customize the communication model.

[0057] S202, construct a communication model according to the communication model definition instructions, wherein the communication model includes a communication platform, a communication platform protocol, a device access protocol, and a device access link protocol.

[0058] Among them, the communication platform can be a platform used to identify the communication access of the device, such as a proprietary XX access platform and an operator XX platform; the communication platform protocol can be an external interface protocol provided by the communication access platform to the service end; the device access protocol can be a protocol used to identify the data interaction between the device and the communication platform or the data interaction between the device (transparent transmission device and sub-device) and the gateway; the device access link protocol can be a link protocol (such as TCP) used to identify the communication between the device and the communication platform or the link protocol (such as 485 serial port) used to identify the communication between the device (transparent transmission device and sub-device) and the gateway.

[0059] In this embodiment, the communication model definition instruction can create at least one communication template. Specifically, the content of communication template 1 may include information such as communication platform b1, communication platform protocol c1, device access protocol d1, and device access link protocol e1. The content of communication template 2 may include information such as communication platform b2, communication platform protocol c2, device access protocol d2, and device access link protocol e2. Of course, this embodiment is only an example and does not limit the specific number of communication templates created. The specific number can be determined according to the user's actual needs.

[0060] S203 registers heterogeneous devices based on pre-built communication and data models.

[0061] S204: Receive the access request from the device to be connected, and match the access request with the registered heterogeneous devices to authenticate the device to be connected.

[0062] S205, when the device to be connected is determined to be a legitimate device, determine the data model and communication model that match the device to be connected, and perform access management on the device to be connected based on the matching data model and communication model.

[0063] The embodiments of the present invention can construct a communication model through communication model definition instructions, register heterogeneous devices according to the communication model and data model, authenticate the devices to be connected, and manage the access of legitimate devices with matching data models and matching communication models, which significantly reduces the system complexity and device access cost of the Internet of Things platform.

[0064] Example 3

[0065] Figure 3 This is a schematic diagram of the access management device for heterogeneous devices on an Internet of Things (IoT) platform, provided in Embodiment 3 of the present invention. Figure 3As shown, the device includes: a heterogeneous device registration module 310, an authentication module 320, and an access management module 330.

[0066] Among them, the heterogeneous device registration module 310 is used to register heterogeneous devices based on a pre-built communication model and data model;

[0067] The authentication module 320 is used to receive the access request from the device to be connected, and match the access request with the registered heterogeneous devices to authenticate the device to be connected.

[0068] The access management module 330 is used to determine the data model and the communication model that match the device to be connected when it is determined that the device to be connected is a legitimate device, and to perform access management on the device to be connected based on the matching data model and the matching communication model.

[0069] Optionally, the device further includes a receiving instruction module for receiving communication model definition instructions from the user through the communication model management unit in the SAAS;

[0070] The model building module is used to build the communication model according to the communication model definition instructions, wherein the communication model includes a communication platform, a communication platform protocol, a device access protocol, and a device access link protocol.

[0071] Optionally, the heterogeneous device registration module 310 is specifically used to receive the user's association instruction through the device management unit in the SAAS, associate each heterogeneous device with a specified communication model according to the association instruction, and obtain the first attribute information of the heterogeneous device according to the association result.

[0072] The device management unit receives the communication link identifiers of each heterogeneous device entered by the user.

[0073] The data model of each heterogeneous device is constructed through the data model management unit in the SaaS, wherein the data model includes the functions of the heterogeneous device;

[0074] The heterogeneous device is registered in the database based on the first attribute information, the communication link identifier, and the function.

[0075] Optionally, the authentication module 320 is specifically used to receive the access request of the device to be connected through a designated access terminal in the PAAS, wherein the designated access terminal is configured with second attribute information;

[0076] Extract the communication link identifier of the device to be connected from the access request;

[0077] The second attribute information and the communication link identifier are matched with the heterogeneous devices registered in the database.

[0078] Optionally, before determining the data model and communication model that match the device to be connected, the access management module 303 is further configured to: receive data sent by the device to be connected through the designated access terminal;

[0079] The access management of the device to be connected based on the matched data model and the matched communication model includes:

[0080] The data is processed based on the functions in the matched data model to obtain the processed data;

[0081] The designated channel is determined according to the matching communication model, and the processed data is transmitted to the SAAS through the designated channel via a unified access interface to realize access management of the device to be connected.

[0082] Optionally, the heterogeneous devices include hard-connect devices, soft-connect devices, transparent transmission devices, and sub-devices.

[0083] Optionally, the communication link identifier of the hard-connected device is represented by the unique identifier of the hard-connected device;

[0084] The communication link identifier of the soft direct connection device is represented by the identifier of the associated third-party platform;

[0085] The communication link identifier of the transparent transmission device is represented by the unique identifier of the transparent transmission device, or by a combination of the unique identifier of the transparent transmission device and the unique identifier of the associated gateway;

[0086] The communication link identifier of the sub-device is represented by a four-tuple of the sub-device, wherein the four-tuple includes the link identifier of the associated gateway, the channel number of the associated gateway and the sub-device, the sub-device address, and the sub-device protocol.

[0087] The access management device for heterogeneous devices on the Internet of Things platform provided in this embodiment of the invention can execute the access management method for heterogeneous devices on the Internet of Things platform provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0088] Example 4

[0089] Figure 4A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0090] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0091] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0092] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as access management methods for heterogeneous devices on an IoT platform.

[0093] In some embodiments, the access management method for heterogeneous devices on an IoT platform can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the access management method for heterogeneous devices on an IoT platform described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the access management method for heterogeneous devices on an IoT platform by any other suitable means (e.g., by means of firmware).

[0094] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0095] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0096] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0097] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0098] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0099] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0100] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0101] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for managing the access of heterogeneous devices on an Internet of Things (IoT) platform, characterized in that, Applied to IoT platforms; The IoT platform includes a Software Service Unit (SaaS) and a Platform Service Unit (PAAS); the method includes: Register heterogeneous devices based on pre-built communication and data models; Receive an access request from a device to be connected, and match the access request with registered heterogeneous devices to authenticate the device to be connected; When the device to be connected is determined to be a legitimate device, a data model and a communication model that match the device to be connected are determined, and access management is performed on the device to be connected based on the matching data model and the matching communication model. The registration of heterogeneous devices based on a pre-built communication model and data model includes: The device management unit in the SaaS receives the user's association instruction and associates each heterogeneous device with the specified communication model according to the association instruction. Based on the association result, the first attribute information of the heterogeneous device is obtained. The device management unit receives the communication link identifiers of each heterogeneous device entered by the user. The data model of each heterogeneous device is constructed through the data model management unit in the SaaS, wherein the data model includes the functions of the heterogeneous device; The heterogeneous device is registered in the database based on the first attribute information, the communication link identifier, and the function; The step of receiving an access request from a device to be connected and matching the access request with registered heterogeneous devices includes: The access request from the device to be connected is received through a designated access terminal in the PAAS, wherein the designated access terminal is configured with second attribute information; Extract the communication link identifier of the device to be connected from the access request; The second attribute information and the communication link identifier are matched with the heterogeneous devices registered in the database.

2. The method according to claim 1, characterized in that, Before registering heterogeneous devices based on the pre-built communication and data models, the following is also included: The communication model definition instruction from the user is received through the communication model management unit in the SaaS. The communication model is constructed according to the communication model definition instructions, wherein the communication model includes a communication platform, a communication platform protocol, a device access protocol, and a device access link protocol.

3. The method according to claim 1, characterized in that, Before determining the data model and communication model that match the device to be connected, the method further includes: receiving data sent by the device to be connected through the designated access terminal; The access management of the device to be connected based on the matched data model and the matched communication model includes: The data is processed based on the functions in the matched data model to obtain the processed data; The designated channel is determined according to the matching communication model, and the processed data is transmitted to the SAAS through the designated channel via a unified access interface to realize access management of the device to be connected.

4. The method according to claim 1, characterized in that, The heterogeneous devices include hard-connect devices, soft-connect devices, transparent transmission devices, and sub-devices.

5. The method according to claim 4, characterized in that, The communication link identifier of the hardwired device is represented by the unique identifier of the hardwired device; The communication link identifier of the soft direct connection device is represented by the identifier of the associated third-party platform; The communication link identifier of the transparent transmission device is represented by the unique identifier of the transparent transmission device, or by a combination of the unique identifier of the transparent transmission device and the unique identifier of the associated gateway; The communication link identifier of the sub-device is represented by a four-tuple of the sub-device, wherein the four-tuple includes the link identifier of the associated gateway, the channel number of the associated gateway and the sub-device, the sub-device address, and the sub-device protocol.

6. An access management device for heterogeneous devices on an Internet of Things (IoT) platform, characterized in that, Configured on an IoT platform; The IoT platform includes a Software Service Unit (SaaS) and a Platform Service Unit (PAAS); the device includes: The heterogeneous device registration module is used to register heterogeneous devices based on pre-built communication and data models. An authentication module is used to receive access requests from devices to be connected, and to match the access requests with registered heterogeneous devices to authenticate the devices to be connected. The access management module is used to determine the data model and communication model that match the device to be connected when the device to be connected is determined to be a legitimate device, and to perform access management on the device to be connected based on the matching data model and the matching communication model. The heterogeneous device registration module is specifically used for: The device management unit in the SaaS receives the user's association instruction and associates each heterogeneous device with the specified communication model according to the association instruction. Based on the association result, the first attribute information of the heterogeneous device is obtained. The device management unit receives the communication link identifiers of each heterogeneous device entered by the user. The data model of each heterogeneous device is constructed through the data model management unit in the SaaS, wherein the data model includes the functions of the heterogeneous device; The heterogeneous device is registered in the database based on the first attribute information, the communication link identifier, and the function; Specifically, the authentication module is used for: The access request from the device to be connected is received through a designated access terminal in the PAAS, wherein the designated access terminal is configured with second attribute information; Extract the communication link identifier of the device to be connected from the access request; The second attribute information and the communication link identifier are matched with the heterogeneous devices registered in the database.

7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the method of any one of claims 1-5.

Citation Information

Patent Citations

  • Service providing method and device, electronic equipment and storage medium

    CN111240861A

  • Self-adaptive access method and system for heterogeneous equipment of Internet of Things platform

    CN111585958A