WO2023115584A1 - 连接配置方法、连接建立方法、装置、设备及存储介质 - Google Patents

连接配置方法、连接建立方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2023115584A1
WO2023115584A1 PCT/CN2021/141383 CN2021141383W WO2023115584A1 WO 2023115584 A1 WO2023115584 A1 WO 2023115584A1 CN 2021141383 W CN2021141383 W CN 2021141383W WO 2023115584 A1 WO2023115584 A1 WO 2023115584A1
Authority
WO
WIPO (PCT)
Prior art keywords
connection
information
cloud platform
configuration
iot
Prior art date
Application number
PCT/CN2021/141383
Other languages
English (en)
French (fr)
Inventor
张军
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2021/141383 priority Critical patent/WO2023115584A1/zh
Publication of WO2023115584A1 publication Critical patent/WO2023115584A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Definitions

  • the present application relates to the technical field of the Internet of Things, and in particular to a connection configuration method, a connection establishment method, a device, a device, and a storage medium.
  • IoT Internet of Things
  • connection between physical network devices is performed by a configuration device.
  • the user can configure the device to connect the IoT device to other IoT devices in the local area network to expand the scale and functions of the IoT.
  • connection configuration between the IoT devices is limited to the local LAN, which greatly limits the application scenarios of the IoT.
  • Embodiments of the present application provide a connection configuration method, a connection establishment method, a device, a device, and a storage medium. This solution can expand the application scenarios of the Internet of Things. Described technical scheme is as follows:
  • an embodiment of the present application provides a connection configuration method, the method is executed by a configuration device, and the method includes:
  • the configuration instruction is used to configure connection information in the attribute information of the target cluster of the Internet of Things device; the connection information includes parameters for establishing a connection with the cloud platform device.
  • an embodiment of the present application provides a connection configuration method, the method is executed by an Internet of Things device, and the method includes:
  • the connection information is configured in the attribute information of the target cluster of the Internet of Things device; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the embodiment of the present application provides a method for establishing a connection, the method is executed by a cloud platform device, and the method includes:
  • connection information is configured by the configuration device in the attribute information of the target cluster of the IoT device;
  • connection configuration device includes:
  • the configuration instruction sending module is configured to send a configuration instruction to the Internet of Things device, and the configuration instruction is used to configure connection information in the attribute information of the target cluster of the Internet of Things device; the connection information includes information for establishing with the cloud platform device Connection parameters.
  • connection configuration device includes:
  • the configuration instruction receiving module is used to receive the configuration instruction sent by the configuration device
  • a configuration module configured to configure connection information in the attribute information of the target cluster of the IoT device according to the configuration instruction; the connection information includes parameters for establishing a connection with the cloud platform device.
  • an embodiment of the present application provides an apparatus for establishing a connection, and the apparatus includes:
  • a connection request receiving module configured to receive a connection establishment request sent by the IoT device according to the connection information; the connection information is configured by the configuration device in the attribute information of the target cluster of the IoT device;
  • a connection establishment module configured to establish a connection with the IoT device.
  • an embodiment of the present application provides a computer device, the computer device includes a processor, a memory, and a transceiver, the memory stores a computer program, and the computer program is used to be executed by the processor to Implement the above connection configuration method or connection establishment method.
  • the embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the above connection configuration method.
  • the present application also provides a chip, which is configured to run in a computer device, so that the computer device executes the above connection configuration method or connection establishment method.
  • the present application provides a computer program product comprising computer instructions stored in a computer readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above connection configuration method or connection establishment method.
  • the present application provides a computer program, which is executed by a processor of a computer device, so as to implement the above connection configuration method or connection establishment method.
  • the configuration device can configure the parameters of IoT devices connected to the cloud platform device to the IoT device, so that the IoT device can establish a connection with the cloud platform device, thereby providing support for the remote communication of the subsequent IoT device, thereby expanding the application of the Internet of Things Scenes.
  • FIG. 1 is a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of Internet of Things interaction provided by an embodiment of the present application.
  • Fig. 3 is a flowchart of a connection configuration method provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a connection configuration method provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for establishing a connection provided by an embodiment of the present application.
  • FIG. 6 is a system framework diagram of connection configuration and establishment provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of a connection configuration and establishment method provided by an embodiment of the present application.
  • FIG. 8 is a sequence diagram of cloud connection configuration and establishment related to the embodiment shown in FIG. 7;
  • FIG. 9 is a sequence diagram of another cloud connection configuration and establishment related to the embodiment shown in FIG. 7;
  • Fig. 10 is a block diagram of a connection configuration device provided by an embodiment of the present application.
  • Fig. 11 is a block diagram of a connection configuration device provided by an embodiment of the present application.
  • Fig. 12 is a block diagram of a device for establishing a connection provided by an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the network architecture and business scenarios described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
  • the evolution of the technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
  • FIG. 1 shows a schematic diagram of a network architecture of the Internet of Things provided by an embodiment of the present application.
  • the network architecture of the Internet of Things may include: source device 110 (shown as source device 110a and source device 110b in FIG. 1 ), client device 120 (shown as client device 120a and client device 120b in FIG. 1 ), Proxy device 130 and configuration device 140;
  • the network architecture may also include cloud platform device 150;
  • the source device 110 may be a device for providing a server function corresponding to the Internet of Things protocol in the Internet of Things.
  • the source device can provide subscribed resources externally.
  • the source device 110 may be a smart home device, such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, a smart speaker, a smart switch, and the like.
  • a smart home device such as a smart lamp, a smart TV, a smart air conditioner, a smart refrigerator, a smart microwave oven, a smart rice cooker, a sweeping robot, a smart speaker, a smart switch, and the like.
  • the source device 110 may be an industrial production device, such as a lathe, an industrial robot, a solar panel, a wind generator, and the like.
  • the source device 110 may be a commercial service device, for example, an unmanned vending machine or the like.
  • the source device 110 may be an intelligent surveillance device, for example, a surveillance camera, an infrared sensor, a sound sensor, a temperature sensor, and the like.
  • the client device 120 may be a terminal device on the user side.
  • the client device 120 can be a smart controller, a smart remote control, a smart phone, a tablet computer, a smart watch, a smart TV, a gateway, etc.; or, the client device 120 can also be a personal computer, such as a desktop computer or a portable computer. , personal workstations, and more.
  • the client device 120 may also be another device that provides a server function corresponding to the Internet of Things protocol.
  • the client device 120 is a client entity (which may be a virtual entity) running on a terminal device.
  • the client device 120 may run on a terminal device for An application program (Application, APP) for performing operations such as access, control, and management.
  • Application Application, APP
  • the proxy device 130 is connected to the source device 110 and the client device 120 at the same time, and provides a service for the client device 120 to proxy subscribe resources to the source device 110 .
  • the above-mentioned source device 110 and client device 120 may be collectively referred to as IoT devices.
  • the configuration device 140 may be a terminal device on the user side.
  • configuration device 140 may be a smart phone, a tablet computer, a smart watch, a smart TV, and the like.
  • the configuration device 140 may also be a client entity (which may be a virtual entity) running on the basis of the terminal device. , the client device 120 and the proxy device 130 manage and configure the APP.
  • the cloud platform device 150 is a server deployed on the network side.
  • the server may be a single server, or the server may also be a server cluster composed of multiple servers.
  • the cloud platform device 150 may be a computer device that provides hardware support for the cloud platform.
  • the source device 110, the client device 120, the proxy device 130, and the configuration device 140 may be electronic devices that meet the same or different Internet of Things protocols, for example, they may be electronic devices that meet the requirements of the Connectivity Standards Alliance (Connectivity Standards Alliance).
  • Connectivity Standards Alliance Connectivity Standards Alliance
  • the Matter protocol or connected home working group (Connected Home over IP Working Group, CHIP) project via IP (Internet Protocol, Internet Protocol)) electronic equipment under the Alliance, CSA) (or Zigbee Alliance).
  • Matter is an IP-based IoT connectivity standard that addresses compatibility, security, and connectivity issues in the current smart home market.
  • FIG. 2 shows a schematic diagram of Internet of Things interaction provided by an embodiment of the present application.
  • Matter defines a technical solution for configuring IoT devices, including steps such as device discovery 201, device authentication 202, device configuration 203, and device operation 204.
  • the data model of Matter devices has the following characteristics:
  • the Matter device includes one or more endpoints Endpoint, represented by an Endpoint Number (Endpoint Number, which can also be abbreviated as endpoint-no).
  • a Matter device is a spotlight, and the spotlight has three bulbs, each bulb corresponds to an endpoint, that is, an actual physical device can include multiple endpoints (of course, it can only include one endpoint); another example, a The Matter device is a socket, which has 4 jacks, and each jack can correspond to an Endpoint.
  • Each Endpoint corresponds to one or more device types (Device Type), which are represented by Device Identity (Device ID).
  • a Matter device is an air conditioner, and the air conditioner includes a thermostat and a fan.
  • the above thermostat and fan correspond to the same Endpoint, the thermostat corresponds to one device type, and the fan corresponds to another device type. Fans can be controlled through the same Endpoint.
  • Each Endpoint includes a variety of clusters (Cluster), and the Cluster is divided into two types: Server and Client, and the corresponding Cluster IDs are the same.
  • Each Cluster includes a variety of attributes (Attribute), events (Event), and instructions (Command), which are represented by Attribute ID, Event ID, and Command ID. Attribute and Event have corresponding data types.
  • the IoT devices such as the source device 110, the client device 120, the proxy device 130, and the configuration device 140 can also be Zigbee devices.
  • the data model of the Zigbee device is similar to the data model structure of the Matter device. The difference is that there is no Event.
  • the requirements of the IoT system include device access to the cloud platform and remote communication of IoT devices.
  • the current Matter device configuration solution only provides configuration for local operation of the device, and does not provide configuration for connecting the device to the cloud platform.
  • the device configuration function is incomplete, and Matter devices cannot communicate remotely.
  • connection configuration scheme which can enable the IoT device to access the cloud platform device by configuring the IoT device, thereby providing support for the remote communication of the subsequent IoT device, and then Expand the application scenarios of the Internet of Things.
  • FIG. 3 shows a flow chart of a connection configuration method provided by an embodiment of the present application.
  • the method can be executed by a configuration device.
  • the configuration device can be the configuration device 140 in the network architecture shown in FIG. 1 ;
  • the method may include the following steps:
  • Step 301 sending a configuration instruction to the IoT device, the configuration instruction is used to configure connection information in the attribute information of the target cluster of the IoT device; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, so that the Internet of Things device can establish a connection with the cloud platform device, thereby providing Provide support for the remote communication of subsequent IoT devices, thereby expanding the application scenarios of the IoT.
  • FIG. 4 shows a flow chart of a connection configuration method provided by an embodiment of the present application.
  • the method can be executed by an IoT device.
  • the IoT device can be a source in the network architecture shown in FIG. 1
  • At least one of the device 110, the client device 120, and the proxy device 130; the method may include the following steps:
  • Step 401 receiving a configuration instruction sent by a configuration device.
  • Step 402 configure the connection information in the attribute information of the target cluster of the IoT device; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, so that the Internet of Things device can establish a connection with the cloud platform device, thereby providing Provide support for the remote communication of subsequent IoT devices, thereby expanding the application scenarios of the IoT.
  • FIG. 5 shows a flowchart of a method for establishing a connection provided by an embodiment of the present application.
  • the method can be executed by a cloud platform device.
  • the cloud platform device can be a cloud in the network architecture shown in FIG. 1 Platform device 150; the method may include the following steps:
  • Step 501 receiving a connection establishment request sent by the IoT device according to the connection information; the connection information is configured by the configuration device in the attribute information of the target cluster of the IoT device.
  • Step 502 establishing a connection with the IoT device.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, and the Internet of Things device can establish a connection with the cloud platform device based on the parameters. In this way, it provides support for the remote communication of subsequent Internet of Things devices, thereby expanding the application scenarios of the Internet of Things.
  • parameters for connecting the IoT device to the cloud platform device can be configured through the configuration device, so that the IoT device can establish a connection with the cloud platform device.
  • FIG. 6 shows a system frame diagram of connection configuration and establishment provided by an embodiment of the present application.
  • the configuration device 61 and the IoT device 62 are located in the same local area network, and the two communicate through the IoT protocol.
  • the cloud platform device 63 is located in the cloud.
  • the cloud platform device 63 can communicate with the configuration device 61 and the IoT device 62 through the Internet.
  • connection configuration and establishment can be as follows:
  • the configuration device 61 sends a configuration instruction to the IoT device 62 .
  • the IoT device 62 locally configures the connection information 64 for connecting to the cloud platform device 63 according to the configuration instruction.
  • the IoT device 62 establishes a connection with the cloud platform device 63 according to the connection information 64 .
  • the aforementioned IoT device 62 may serve as a server device or a client device in the Internet of Things, and communicate with the cloud platform device 63 .
  • FIG. 7 shows a flow chart of a connection configuration and establishment method provided by an embodiment of the present application.
  • the method can be interactively executed by a configuration device, a cloud platform device, and an Internet of Things device.
  • the configuration device and the cloud platform device can be respectively the configuration device 140 and the cloud platform device 150 in the network architecture shown in FIG. End device 120; the method may include the following steps:
  • the configuration device acquires connection information; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the above connection information includes address information of the cloud platform device.
  • the above address information of the cloud platform device may be a uniform resource identifier (Uniform Resource Identifier, URI) of the cloud platform device.
  • URI Uniform Resource Identifier
  • the above-mentioned address information of the cloud platform device may also include an Internet Protocol (Internet Protocol, IP) address (also called a logical address) of the cloud platform device.
  • Internet Protocol Internet Protocol, IP
  • the above address information of the cloud platform device may also include a Media Access Control (Media Access Control, MAC) address (that is, a physical address).
  • Media Access Control Media Access Control, MAC
  • connection information further includes at least one of access port information of the cloud platform device, identification information of the cloud platform device, and first verification information.
  • connection information may also include access port information and/or identification information (such as identification information Node ID) of the cloud platform device.
  • the parameters such as address information, access port information and/or identification information of the cloud platform device in the above connection information may be parameters pre-stored in the configuration device.
  • the above configuration device may be a user's mobile phone, and the user may download and install a configuration APP through the mobile phone, and the installation package of the configuration APP may carry parameters such as address information, access port information and/or identification information of the above cloud platform device.
  • the above-mentioned first verification information includes an access token used by the IoT device to access the cloud platform device.
  • the configuration device may apply to the cloud platform device in advance for the access token. For example, before the configuration device sends the configuration command to the IoT device, it can also send an access token acquisition request to the cloud platform device, and then the configuration device receives the access token returned by the cloud platform device.
  • the cloud platform device can receive the above access token acquisition request sent by the configuration device; the cloud platform device can generate an access token according to the above access token acquisition request, and send the access token to the configuration device.
  • the configuration device may establish a connection with the cloud platform device in advance.
  • the configuration device can request the cloud platform device to obtain the access token of the IoT device.
  • the cloud platform device can generate the above access token for the IoT device and return it to the configuration device .
  • the access token acquisition request includes the identification information of the IoT device; the cloud platform device can generate the access token according to the identification information of the IoT device.
  • the cloud platform device can generate the access token used by the IoT device according to the identification information of the IoT device.
  • the cloud platform device may generate an access token including the identification information of the IoT device according to a predetermined token generation algorithm.
  • the cloud platform device can generate an initial access token according to a predetermined token generation algorithm, and splice the initial access token with the identification information of the IoT device to obtain the access token of the IoT device.
  • the cloud platform device may use the identification information of the IoT device as an input parameter of the token generation algorithm, and directly generate an access token containing the identification information of the IoT device through the token generation algorithm.
  • the cloud platform device can also generate an access token according to a predetermined token generation algorithm, and bind the access token with the above-mentioned identification information of the IoT device, so that the access The token acts as an access token assigned to the IoT device for use.
  • the cloud platform device can also verify the validity of the IoT device through methods other than the access token during the subsequent legality verification process, for example, based on the The second verification information verifies the validity of the IoT device.
  • the cloud platform device verifies the validity of the IoT device based on the second verification information of the IoT device, before the configuration device sends the configuration command to the IoT device, it can also send the second verification information of the IoT device to The verification information is sent to the cloud platform device, so that the cloud platform device can complete the subsequent verification of legality; correspondingly, the cloud platform device can receive the second verification information of the IoT device sent by the configuration device.
  • the second verification information includes at least one of identification information and a device certificate.
  • the above-mentioned device certificate may also be referred to as a security certificate of the device.
  • the above identification information may be the identification of the device in the Internet of Things.
  • the second verification information set by relevant personnel may be pre-stored in the cloud platform device.
  • step 702 the configuration device sends a configuration instruction to the IoT device, and accordingly, the IoT device receives the configuration instruction; the configuration instruction is used to configure the above connection information in the attribute information of the target cluster in the IoT device.
  • the configuration device can establish a LAN connection based on the Internet of Things protocol, such as a Matter connection, with the Internet of Things device.
  • the configuration device can send the above configuration instructions to the IoT device based on the IoT protocol through a local area network connection with the IoT device.
  • the target cluster is the cloud platform connection cluster in the IoT device.
  • the target cluster may also be other clusters related to connecting to the cloud platform.
  • a cluster of devices in the Internet of Things may also be called a Cluster, a function set/cluster, a resource cluster, a resource set, and the like.
  • the above-mentioned configuration instruction may include the above-mentioned connection information.
  • step 703 the IoT device configures connection information according to the configuration instruction.
  • the above connection information can be configured in the IoT device according to the configuration instruction, so as to be used when subsequently accessing the cloud platform device.
  • the configuration instruction is used to configure an attribute including connection information in a cloud platform connection cluster (target cluster) of the Internet of Things device.
  • the attribute including the connection information may be configured in the cloud platform connection cluster of the Internet of Things device according to the configuration instruction.
  • the definition of the attribute (Attribute) corresponding to the cloud platform connection cluster is shown in Table 2 below.
  • the configuration device when sending the configuration instruction to the Internet of Things device, may send a write instruction to the Internet of Things device, where the write instruction is used to write the connection information in the attribute information of the target cluster.
  • the IoT device when receiving the configuration command, can receive the write command sent by the configuration device; when configuring the connection information according to the configuration command, the IoT device can write the connection information in the attribute information of the target cluster according to the write command. information.
  • the configuration device may also send a read instruction to the IoT device, where the read instruction is used to read the connection information from the target cluster; the configuration device may also receive the connection information returned by the IoT device.
  • the IoT device receives the read command sent by the configuration device; the IoT device can return connection information to the configuration device according to the read command.
  • the configuration device may also send a deletion instruction to the IoT device, where the deletion instruction is used to delete the connection information from the target cluster.
  • the IoT device can receive the deletion instruction sent by the configuration device, and delete the connection information from the target cluster according to the deletion instruction.
  • the above-mentioned write command, read command, and delete command may be commands defined in the cloud platform connection cluster.
  • the above-mentioned cloud platform connection cluster can be accessed and configured through a dedicated command (Command), and the definition of the dedicated command can be shown in Table 4 below.
  • AccessToken is a parameter that exists when the cloud platform device needs to verify the validity of the IoT device based on the access token; that is, when the cloud platform device passes the access token
  • the command parameters of the above WriteCloudLocation command may not include the AccessToken parameter.
  • the above-mentioned write instruction, read instruction, and delete instruction may also be general instructions in the Internet of Things protocol.
  • Step 704 the IoT device sends a connection establishment request to the cloud platform device according to the connection information; correspondingly, the cloud platform device receives the connection establishment request.
  • connection establishment request is used to request establishment of a connection with the cloud platform device.
  • the IoT device when the IoT device sends a connection establishment request to the cloud platform device according to the connection information, it may send a connection establishment request to the cloud platform device according to the address information of the cloud platform device; the connection establishment request includes access token.
  • connection information contains an access token
  • the cloud platform device needs to verify the validity of the IoT device based on the access token, and accordingly, the connection sent by the IoT device to the cloud platform device is established
  • the above access token can be included in the request.
  • the connection establishment request may also include identification information of the IoT device.
  • the IoT device when it sends a connection establishment request to the cloud platform device according to the connection information, it may send a connection establishment request to the cloud platform device according to the address information of the cloud platform device; the connection establishment request includes The second verification information of the IoT device.
  • the connection establishment request sent by the IoT device to the cloud platform device may include The second verification information of the IoT device.
  • the cloud platform device may verify the validity of the IoT device based on the connection establishment request.
  • the cloud platform device when the cloud platform device needs to verify the validity of the IoT device based on the access token, the cloud platform device can obtain the access token carried in the connection establishment request, and use the access token Check the validity.
  • the cloud platform device can query whether the access token carried in the connection establishment request already exists locally. If the access token carried in the connection establishment request already exists, and the access token is within the validity period, it is determined that the IoT device has passed the legal sex check.
  • the cloud platform device can query the access token of the IoT device according to the identification information of the IoT device carried in the connection establishment request. If the queried access token is within the validity period, the queried access token The card is compared with the access token carried in the connection establishment request, and if the two match, it is determined that the IoT device has passed the legitimacy check.
  • the cloud platform device when the cloud platform device performs legality verification through the second verification information of the IoT device, the cloud platform device can obtain the device information carried in the connection establishment request, and The second verification information of the carried IoT device is verified for legality.
  • the cloud platform device can query whether the second verification information of the IoT device already exists locally (it can be sent to the cloud platform device by the configuration device in advance), and if it exists, it is determined that the IoT device passes the legality verification.
  • the cloud platform device verifies the legitimacy of the device certificate carried in the connection establishment request according to the device certificate of the IoT device.
  • Step 706 after the validity verification of the IoT device is passed, the cloud platform device establishes a connection with the IoT device.
  • a connection between the cloud platform device and the IoT device can be established through interaction, for example, a secure session connection between the two can be established.
  • the cloud platform device can establish a connection with the IoT device. connect.
  • FIG. 8 shows a sequence diagram for configuring and establishing a cloud connection of an IoT device according to an embodiment of the present application.
  • the IoT device as a Matter device as an example, configure the device as an IoT device to obtain a Matter device access token, and configure the above-mentioned Matter device access token and cloud platform access address for the IoT device.
  • the IoT device is configured according to the Matter device
  • the access token and cloud platform access address are connected to the cloud platform.
  • the process can be as follows:
  • the configuration device configures the IoT device through the Matter configuration scheme. After the configuration is successful, the IoT device is assigned Matter identification information (Node Id) and joins the Matter local network.
  • Matter identification information Node Id
  • the configuration device obtains the Matter identification information of the IoT device, and requests a Matter device access token for the IoT device from the cloud platform, and the configuration device may provide the Matter identification information of the IoT device to the cloud platform in the above request.
  • the cloud platform assigns a Matter device access token to the IoT device according to the Matter identification information of the IoT device, and the Matter device access token is used to verify the validity of the IoT device when the IoT device connects to the cloud platform.
  • the cloud platform returns the Matter device access token to the IoT device.
  • the device configures the device to configure the parameters of the Internet of Things device to connect to the cloud platform.
  • the configured parameters include the access address of the cloud platform (such as the cloud platform URI) and the device access token.
  • the access port information of the cloud platform such as the cloud platform URI
  • the identification information of the cloud platform device such as the cloud platform URI
  • the configuration device is connected to the cluster through the cloud platform to configure the information of the Internet of Things device connected to the cloud.
  • configure the device In order to configure the cloud connection information of the IoT device, configure the device to send the WriteCloudLocation command for the cloud platform to connect to the cluster (a dedicated command for connecting the cloud platform to the cluster) to the IoT device.
  • the parameters of the WriteCloudLocation command include ServerAddress and AccessToken, and the optional command parameters also include ServerPort. and/or CloudID.
  • Another way to configure the information of the IoT device connected to the cloud is to configure the device to send a Write command (Matter general command) to set the cloud platform connection cluster attribute to the IoT device.
  • the Write command sets the attribute value corresponding to the cloud platform connection cluster attribute.
  • the set attributes include the ServerAddress attribute and the AccessToken attribute, and the optional command attributes further include the ServerPort attribute and/or the CloudID attribute.
  • the IoT device connects to the cloud platform according to the configured parameters for connecting to the cloud platform.
  • the IoT device connects to the cloud platform according to the access address of the cloud platform, and the IoT device provides the Matter device access token to the cloud platform.
  • the IoT device provides the cloud platform with the access port information of the cloud platform, the Identification information.
  • the IoT device obtains the information of the IoT device connecting to the cloud through the received WriteCloudLocation command (a dedicated command for connecting the cloud platform to the cluster) of the cloud platform connected to the cluster.
  • the parameters of the WriteCloudLocation command include ServerAddress and AccessToken, and optional command parameters include ServerPort and/or CloudID.
  • the IoT device obtains the information of the IoT device connected to the cloud through the cloud platform connection cluster attribute set by the received Write command.
  • the ServerAddress and AccessToken attributes of the cloud platform connected to the cluste provide The access address of the cloud platform and the access token of the Matter device, the optional attribute ServerPort provides the access port information of the cloud platform, and CloudID provides the identification information of the cloud platform device.
  • the cloud platform verifies whether the Matter device access token is an assigned Matter device access token and/or whether the Matter device access token is within the validity period, thereby verifying the validity of the Matter device access token.
  • FIG. 9 shows another sequence diagram for configuring and establishing a cloud connection of an Internet of Things device according to an embodiment of the present application.
  • the IoT device as a Matter device as an example, configure the device to configure the cloud platform access address for the IoT device, and the IoT device connects to the cloud platform according to the configured cloud platform access address.
  • the process can be as follows:
  • the configuration device configures the IoT device through the Matter configuration scheme. After the configuration is successful, the IoT device is assigned Matter identification information (Node Id) and joins the Matter local network.
  • Matter identification information Node Id
  • the device configure the device to configure the parameters of the Internet of Things device connected to the cloud, the configured parameters include the access address of the cloud platform (such as the cloud platform URI), and optionally the access port information of the cloud platform and the identification information of the cloud platform device can also be configured .
  • the cloud platform such as the cloud platform URI
  • the configuration device is connected to the cluster through the cloud platform to configure the information of the Internet of Things device connected to the cloud.
  • the device In order to configure the cloud-connected information of the IoT device, configure the device to send the WriteCloudLocation command (special command for connecting the cloud platform to the cluster) to the IoT device.
  • the parameters of the WriteCloudLocation command include ServerAddress, and the optional command parameters also include ServerPort and / or CloudID.
  • Another way to configure the information of the IoT device connected to the cloud is to configure the device to send a Write command (Matter general command) to set the cloud platform connection cluster attribute to the IoT device.
  • the Write command sets the attribute value corresponding to the cloud platform connection cluster attribute.
  • the set attributes include the ServerAddress attribute, and the optional command attributes further include the ServerPort attribute and/or the CloudID attribute.
  • the IoT device connects to the cloud platform according to the configured parameters for connecting to the cloud platform.
  • the IoT device connects to the cloud platform according to the access address of the cloud platform, and the IoT device provides the identification information of the Matter device to the cloud platform.
  • the IoT device provides the cloud platform with the access port information of the cloud platform, the Identification information.
  • the IoT device obtains the information of the IoT device connecting to the cloud through the received WriteCloudLocation command (a special command for connecting the cloud platform to the cluster) of the cloud platform connected to the cluster.
  • the parameters of the WriteCloudLocation command include ServerAddress, and the optional command parameters also include ServerPort and / or CloudID.
  • IoT devices obtain information about IoT devices connected to the cloud through the cloud platform connection cluster attribute set by the received Write command.
  • the ServerAddress attribute of the cloud platform connected to the cluste provides the cloud platform.
  • the access address, the optional attribute ServerPort provides the access port information of the cloud platform, and CloudID provides the identification information of the cloud platform device.
  • the cloud platform verifies the legitimacy of the IoT device.
  • Method 1 The cloud platform verifies whether the Matter identification information of the IoT device is valid, thereby verifying the legitimacy of the IoT device.
  • the Matter identification information of the IoT device stored on the cloud platform may be uploaded by the configuration device to the cloud platform after step 1 or step 2.
  • the IoT device provides the device certificate to the cloud platform.
  • the device certificate can be a device certificate
  • the cloud platform verifies whether the device certificate of the IoT device is valid, thereby verifying the legitimacy of the IoT device.
  • the IoT device After passing the verification, the IoT device successfully connects to the cloud platform.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, and the Internet of Things device can establish a connection with the cloud platform device based on the parameters. In this way, it provides support for the remote communication of subsequent Internet of Things devices, thereby expanding the application scenarios of the Internet of Things.
  • FIG. 10 shows a block diagram of a connection configuration device provided by an embodiment of the present application.
  • the apparatus has the functions executed by the configuration device in the method shown in FIG. 3 or FIG. 7 .
  • the subscription configuration device 1000 may include:
  • the configuration instruction sending module 1001 is configured to send a configuration instruction to the Internet of Things device, the configuration instruction is used to configure connection information in the attribute information of the target cluster of the Internet of Things device; the connection information includes information for connecting with the cloud platform device Parameters for establishing a connection.
  • the target cluster is a cloud platform connection in the IoT device.
  • connection information includes address information of the cloud platform device.
  • connection information further includes at least one of access port information of the cloud platform device, identification information of the cloud platform device, and first verification information.
  • the first verification information includes an access token used by the IoT device to access the cloud platform device.
  • the device further includes:
  • a token request sending module configured to send an access token acquisition request to the cloud platform device before the configuration instruction sending module 1001 sends the configuration instruction to the IoT device;
  • a token receiving module configured to receive the access token returned by the cloud platform device.
  • the access token acquisition request includes the identification information of the IoT device
  • the access token is generated by the cloud platform device according to the identification information of the IoT device.
  • the device further includes:
  • the device information sending module is configured to send the second verification information of the Internet of Things device to the cloud platform device before the configuration instruction sending module sends the configuration instruction to the Internet of Things device.
  • the second verification information includes at least one of identification information and a device certificate.
  • the configuration instruction sending module 1001 is configured to send a write instruction to the IoT device, and the write instruction is used to write the configuration instruction in the attribute information of the target cluster. connection information.
  • the device further includes:
  • a read instruction sending module configured to send a read instruction to the IoT device, where the read instruction is used to read the connection information from the target cluster;
  • a parameter receiving module configured to receive the connection information returned by the IoT device.
  • the device further includes:
  • a deletion instruction sending module configured to send a deletion instruction to the IoT device, where the deletion instruction is used to delete the connection information from the target cluster.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, so that the Internet of Things device can establish a connection with the cloud platform device, thereby providing Provide support for the remote communication of subsequent IoT devices, thereby expanding the application scenarios of the IoT.
  • FIG. 11 shows a block diagram of a connection configuration device provided by an embodiment of the present application.
  • the apparatus has the functions executed by the IoT device in the method shown in FIG. 4 or FIG. 7 above.
  • the subscription configuration device 1100 may include:
  • the configuration instruction receiving module 1101 is configured to receive the configuration instruction sent by the configuration device
  • the configuration module 1102 is configured to configure connection information in the attribute information of the target cluster of the IoT device according to the configuration instruction; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the device further includes:
  • a connection request module configured to send a connection establishment request to the cloud platform device according to the connection information, and the connection establishment request is used to request establishment of a connection with the cloud platform device.
  • the configuration module 1102 is configured to configure the attribute including the connection information in the target cluster of the Internet of Things device according to the configuration instruction.
  • connection information includes address information of the cloud platform device.
  • connection information further includes at least one of access port information of the cloud platform device, identification information of the cloud platform device, and first verification information.
  • the first verification information includes an access token used by the IoT device to access the cloud platform device.
  • connection request module is configured to send the connection establishment request to the cloud platform device according to the address information of the cloud platform device; the connection establishment request includes the access token.
  • connection request module is configured to send the connection establishment request to the cloud platform device according to the address information of the cloud platform device; the connection establishment request includes the object The second verification information of the networked device.
  • the second verification information includes at least one of identification information and a device certificate.
  • the configuration instruction receiving module 1101 is configured to receive the write instruction sent by the configuration device
  • the configuration module 1102 is configured to write the connection information in the attribute information of the target cluster according to the write instruction.
  • the device further includes:
  • a read instruction receiving module configured to receive the read instruction sent by the configuration device
  • a parameter return module configured to return the connection information to the configuration device according to the read instruction.
  • the device further includes:
  • a deletion instruction receiving module configured to receive the deletion instruction sent by the configuration device
  • a deletion module configured to delete the connection information from the target cluster according to the deletion instruction.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, so that the Internet of Things device can establish a connection with the cloud platform device, thereby providing Provide support for the remote communication of subsequent IoT devices, thereby expanding the application scenarios of the IoT.
  • FIG. 12 shows a block diagram of an apparatus for establishing a connection provided by an embodiment of the present application.
  • the apparatus has the functions executed by the cloud platform device in the method shown in FIG. 5 or FIG. 7 .
  • the connection establishment device 1200 may include:
  • a connection request receiving module 1201 configured to receive a connection establishment request sent by an IoT device according to connection information; the connection information is configured by the configuration device in the attribute information of the target cluster of the IoT device;
  • a connection establishment module 1202 configured to establish a connection with the IoT device.
  • connection establishing module 1202 is configured to:
  • the first verification information passes the legality verification, establish a connection with the IoT device.
  • the first verification information includes an access token.
  • the device further includes:
  • the token request receiving module is used to receive the access token acquisition request sent by the configuration device before the connection request receiving module receives the connection establishment request sent by the IoT device according to the connection information;
  • a token generation module configured to generate the access token according to the access token acquisition request
  • a token sending module configured to send the access token to the configuration device.
  • the access token acquisition request includes the identification information of the IoT device
  • the token generation module is configured to generate the access token according to the identification information of the IoT device.
  • connection establishing module 1202 is configured to:
  • the device further includes:
  • the device information receiving module is configured to receive the second verification information of the Internet of Things device sent by the configuration device before the connection request receiving module receives the connection establishment request sent by the Internet of Things device according to the connection information.
  • the second verification information includes at least one of identification information and a device certificate.
  • the configuration device can configure the parameters of the Internet of Things device to access the cloud platform device to the Internet of Things device, and the Internet of Things device can establish a connection with the cloud platform device based on the parameters. In this way, it provides support for the remote communication of subsequent Internet of Things devices, thereby expanding the application scenarios of the Internet of Things.
  • the device provided by the above embodiment realizes its functions, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • FIG. 13 shows a schematic structural diagram of a computer device 1300 provided by an embodiment of the present application.
  • the computer device 1300 may include: a processor 1301 , a receiver 1302 , a transmitter 1303 , a memory 1304 and a bus 1305 .
  • the processor 1301 includes one or more processing cores, and the processor 1301 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1302 and the transmitter 1303 can be implemented as a communication component, which can be a communication chip.
  • the communication chip can also be called a transceiver.
  • the memory 1304 is connected to the processor 1301 through the bus 1305 .
  • the memory 1304 may be used to store a computer program, and the processor 1301 is used to execute the computer program, so as to implement the various steps in the foregoing method embodiments.
  • volatile or non-volatile storage device includes but not limited to: magnetic disk or optical disk, electrically erasable and programmable Read Only Memory, Erasable Programmable Read Only Memory, Static Anytime Access Memory, Read Only Memory, Magnetic Memory, Flash Memory, Programmable Read Only Memory.
  • the transceiver 1302 is configured to send a configuration instruction to the Internet of Things device, and the configuration instruction is used in the target cluster of the Internet of Things device
  • the connection information is configured in the property information; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the process executed by the processor 1301 and/or the transceiver 1302 in the computer device 1300 may refer to the steps executed by the configuration device in any of the methods shown in FIG. 3 or FIG. 7 above.
  • the transceiver 1302 is configured to receive configuration instructions sent by the configuration device; the processor 1301 is configured in the The connection information is configured in the attribute information of the target cluster of the IoT device; the connection information includes parameters for establishing a connection with the cloud platform device.
  • the processes performed by the processor 1301 and/or the transceiver 1302 in the computer device 1300 can refer to the steps performed by the Internet of Things station device in any of the methods shown in FIG. 4 or FIG. 7 .
  • the transceiver 1302 is used to receive the connection establishment request sent by the IoT device according to the connection information; the connection information is provided by the configuration device in Configured in the attribute information of the target cluster of the IoT device; establish a connection with the IoT device.
  • the process executed by the processor 1301 and/or the transceiver 1302 in the computer device 1300 may refer to the various steps executed by the cloud platform device in any of the methods shown in FIG. 5 or FIG. 7 above.
  • the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned information in FIG. 3 , FIG. 4 , FIG. 5 or FIG. 7 .
  • all or part of the steps are performed by the configuration device, the Internet of Things device or the cloud platform device.
  • the present application also provides a chip, which is used to run in a computer device, so that the computer device executes the method shown in FIG. 3, FIG. 4, FIG. 5 or FIG. All or part of the steps performed by the cloud platform device.
  • the present application also provides a computer program product, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method shown in FIG. 3, FIG. 4, FIG. 5 or FIG. All or part of the steps performed by the IoT device or the cloud platform device.
  • the present application also provides a computer program, the computer program is executed by the processor of the computer device, so as to implement the method shown in Fig. 3, Fig. 4, Fig. 5 or Fig. All or part of the steps performed by the platform device.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware or any combination thereof.
  • the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

一种连接配置方法、连接建立方法、装置、设备及存储介质,属于物联网技术领域。所述方法包括:向物联网设备发送配置指令(301),所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。本方案为物联网设备的远程通信提供支持,进而扩展物联网的应用场景。

Description

连接配置方法、连接建立方法、装置、设备及存储介质 技术领域
本申请涉及物联网技术领域,特别涉及一种连接配置方法、连接建立方法、装置、设备及存储介质。
背景技术
随着物联网(Internet of Things,IoT)技术的不断发展,越来越多的物联网设备在智能家居、工业生产等诸多领域给用户的生产生活带来了极大的便利性。
在相关技术中,物理网设备之间的连接由配置设备执行。比如,当某个物联网设备安装时,用户可以通过配置设备配置物联网设备与本地局域网中的其他物联网设备进行连接,以扩充物联网的规模和功能。
然而,上述方案中,物联网设备之间的连接配置局限于本地局域网,导致物联网的应用场景受到很大限制。
发明内容
本申请实施例提供了一种连接配置方法、连接建立方法、装置、设备及存储介质。该方案能够扩展物联网的应用场景。所述技术方案如下:
一方面,本申请实施例提供了一种连接配置方法,所述方法由配置设备执行,所述方法包括:
向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
一方面,本申请实施例提供了一种连接配置方法,所述方法由物联网设备执行,所述方法包括:
接收配置设备发送的配置指令;
根据所述配置指令配置在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
一方面,本申请实施例提供了一种连接建立方法,所述方法云平台设备执行,所述方法包括:
接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;
建立与所述物联网设备之间的连接。
另一方面,本申请实施例提供了一种连接配置装置,所述装置包括:
配置指令发送模块,用于向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
另一方面,本申请实施例提供了一种连接配置装置,所述装置包括:
配置指令接收模块,用于接收配置设备发送的配置指令;
配置模块,用于根据所述配置指令在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
另一方面,本申请实施例提供了一种连接建立装置,所述装置包括:
连接请求接收模块,用于接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;
连接建立模块,用于建立与所述物联网设备之间的连接。
再一方面,本申请实施例提供了一种计算机设备,所述计算机设备包括处理器、存储器和收发器,所述存储器存储有计算机程序,所述计算机程序用于被所述处理器执行,以实现上述连接配置方法或者连接建立方法。
又一方面,本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述连接配置方法。
又一方面,本申请还提供了一种芯片,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行上述连接配置方法或者连接建立方法。
又一方面,本申请提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述连接配置方法或者连接建立方法。
又一方面,本申请提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述连接配置方法或者连接建立方法。
本申请实施例提供的技术方案可以带来如下有益效果:
配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,使得物联网设备可以与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实施例提供的物联网的网络架构的示意图;
图2是本申请一个实施例提供的物联网交互示意图;
图3是本申请一个实施例提供的连接配置方法的流程图;
图4是本申请一个实施例提供的连接配置方法的流程图;
图5是本申请一个实施例提供的连接建立方法的流程图;
图6是本申请一个实施例提供的连接配置及建立的系统框架图;
图7是本申请一个实施例提供的连接配置及建立方法的流程图;
图8是图7所示实施例涉及的一种云连接配置和建立的时序图;
图9是图7所示实施例涉及的另一种云连接配置和建立的时序图;
图10是本申请一个实施例提供的连接配置装置的框图;
图11是本申请一个实施例提供的连接配置装置的框图;
图12是本申请一个实施例提供的连接建立装置的框图;
图13是本申请一个实施例提供的计算机设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
请参考图1,其示出了本申请一个实施例提供的物联网的网络架构的示意图。该物联网的网络架构可以包括:源设备110(图1中示出为源设备110a和源设备110b)、客户端设备120(图1中示出为客户端设备120a和客户端设备120b)、代理设备130以及配置设备140;可选的,该网络架构还可以包括云平台设备150;
源设备110可以是在物联网中,用于提供物联网协议对应的服务端功能的设备。源设备可以对外提供可订阅的资源。
比如,源设备110可以是智能家居设备,例如,智能灯具、智能电视、智能空调、智能冰箱、智能微波炉、智能电饭煲、扫地机器人、智能音箱、智能开关等等。
或者,源设备110可以是工业生产设备,例如,车床、工业机器人、太阳能面板、风力发电机等等。
或者,源设备110可以是商业服务设备,例如,无人售货机等等。
或者,源设备110可以是智能监控设备,例如,监控摄像头、红外传感器、声音传感器、温度传感器等等。
在一种可能的实现方式中,客户端设备120可以是用户侧的终端设备。比如,客户端设备120可以是智能控制器、智能遥控器、智能手机、平板电脑、智能手表、智能电视、网关等等;或者,客户端设备120也可以是个人电脑,比如台式电脑、便携式计算机、个人工作站等等。
或者,客户端设备120也可以是另一个提供物联网协议对应的服务端功能的设备。
在另一种可能的实现方式中,客户端设备120是基于终端设备运行的客户端实体(可以是虚拟实体),例如,客户端设备120可以是运行在终端设备中,用于对物联网设备进行访问、控制、以及管理等操作的应用程序(Application,APP)。
在一种可能的实现方式中,上述代理设备130同时连接源设备110和客户端设备120,并为客户端设备120提供向源设备110代理订阅资源的服务。
在本申请实施例中,上述源设备110和客户端设备120可以统称为物联网设备。
配置设备140可以是用户侧的终端设备。比如,配置设备140可以是智能手机、平板电脑、智能手表、智能电视等等。
在另一种可能的实现方式中,配置设备140也可以是基于终端设备运行的客户端实体(可以是虚拟实体),例如,配置设备140可以是运行在智能手机中,用于对源设备110、客户端设备120以及代理设备130进行管理配置的APP。
云平台设备150是部署在网络侧的服务器。比如,该服务器可以是单个服务器,或者,该服务器也可以是由多台服务器组成的服务器集群。该云平台设备150可以是为云平台提供硬件支持的计算机设备。
在本申请实施例中,上述源设备110、客户端设备120、代理设备130、以及配置设备140可以是满足相同或者不同的物联网协议的电子设备,比如,可以是满足连接标准联盟(Connectivity Standards Alliance,CSA)(或称Zigbee联盟)下的Matter协议(或称通过IP(Internet Protocol,网际互联协议)连接家庭工作组(Connected Home over IP Working Group,CHIP)项目)的电子设备。
Matter是一种基于IP的物联网连接标准,解决当下智能家居市场存在的兼容性、安全性和连接性等问题。请参考图2,其示出了本申请一个实施例提供的物联网交互示意图。如图2所示,Matter定义了配置物联网设备的技术方案,包括设备发现201、设备认证202、设备配置203和设备操作204等步骤。
以上述源设备110、客户端设备120、代理设备130以及配置设备140等物联网设备是Matter设备为例,Matter设备的数据模型具有如下特点:
1)Matter设备包括一个或者多个端点Endpoint,使用端点号(Endpoint Number,也可以简写为endpoint-no)表示。
比如,一个Matter设备为射灯,该射灯有三个灯泡,则每个灯泡对应一个端点,也就是一个实际的物理设备可以包括多个端点(当然也可以只包括一个端点);再比如,一个Matter设备为插座,该插座有4个插孔,则每个插孔可以对应一个Endpoint。
2)每个Endpoint下对应一个或者多个设备类型(Device Type),使用设备标识(Device Identity,Device ID)表示。
比如,一个Matter设备为空调设备,该空调设备包括恒温器和风扇,其中,上述恒温器和风扇对应在同一个Endpoint下,恒温器对应一个设备类型,风扇对应另一个设备类型,且恒温器和风扇可以通过同一个Endpoint进行控制。
3)每个Endpoint包括多种簇(Cluster),Cluster分为服务端(Server)和客户端(Client)两种,且对应的Cluster ID相同。
4)每个Cluster包括多种属性(Attribute)、事件(Event)、指令(Command),分别使用Attribute ID、Event ID、Command ID表示,Attribute和Event具有相应的数据类型。
上述源设备110、客户端设备120、代理设备130以及配置设备140等物联网设备还可以是Zigbee设备,Zigbee设备的数据模型与Matter设备的数据模型结构类似,区别在于Zigbee设备的数据模型中没有Event。
物联网系统的需求包括设备接入云平台,进行物联网设备的远程通信。而目前Matter设备配置方案只提供设备本地操作的配置,不提供设备连接云平台的配置,设备配置功能不完整,Matter设备无法远程通信。
对于上述问题,本申请后续实施例提供了一种连接配置方案,可以通过对物联网设备进行配置,使得物联网设备能够接入云平台设备,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图3,其示出了本申请一个实施例提供的连接配置方法的流程图,该方法可以由配置设备执行,比如,该配置设备可以是图1所示的网络架构中的配置设备140;该方法可以包括如下几个步骤:
步骤301,向物联网设备发送配置指令,配置指令用于在物联网设备的目标簇的属性信息中配置连接信息;连接信息包括用于与云平台设备建立连接的参数。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,使得物联网设备可以与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图4,其示出了本申请一个实施例提供的连接配置方法的流程图,该方法可以由物联网设备执行,比如,该物联网设备可以是图1所示的网络架构中的源设备110、客户端设备120以及代理设备130中的至少一种;该方法可以包括如下几个步骤:
步骤401,接收配置设备发送的配置指令。
步骤402,根据配置指令配置在物联网设备的目标簇的属性信息中配置连接信息;连接信息包括用于与云平台设备建立连接的参数。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,使得物联网设备可以与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图5,其示出了本申请一个实施例提供的连接建立方法的流程图,该方法可以由云平台设备执行,比如,该云平台设备可以是图1所示的网络架构中的云平台设备150;该方法可以包括如下几个步骤:
步骤501,接收物联网设备根据连接信息发送的连接建立请求;连接信息是由配置设备在物联网设备的目标簇的属性信息中配置的。
步骤502,建立与物联网设备之间的连接。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,物联网设备可以基于该参数与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
通过本申请上述图3至图5所示的方案,可以通过配置设备为物联网设备配置连接云平台设备的参数,使得物联网设备可以与云平台设备建立连接。
请参考图6,其示出了本申请一个实施例提供的连接配置及建立的系统框架图。在一种可能的应用场景中,如图6所示,配置设备61和物联网设备62位于同一个局域网内,且两者之间通过物联网协议进行通信。云平台设备63位于云端。云平台设备63与配置设备61和物联网设备62之间可以通过互联网络进行通信。
在图6所示的系统框架中,连接配置及建立的过程可以如下:
S1,配置设备61向物联网设备62发送配置指令。
S2,物联网设备62根据该配置指令,在本地配置用于连接云平台设备63的连接信息64。
S3,物联网设备62根据该连接信息64,与云平台设备63建立连接。
其中,上述物联网设备62可以作为物联网中的服务端设备或者客户端设备,与云平台设备63进行通信。
请参考图7,其示出了本申请一个实施例提供的连接配置及建立方法的流程图,该方法可以由配置设备、云平台设备以及物联网设备交互执行。比如,该配置设备、云平台设备分别可以是图1所示的网络架构中的配置设备140、云平台设备150;上述物联网设备可以是图1所示的网络架构中的源设备110或者客户端设备120;该方法可以包括如下几个步骤:
步骤701,配置设备获取连接信息;连接信息包括用于与云平台设备建立连接的参数。
在一种可能的实现方式中,上述连接信息中包含云平台设备的地址信息。
其中,上述云平台设备的地址信息可以是云平台设备的统一资源标识符(Uniform Resource Identifier,URI)。
可选的,上述云平台设备的地址信息还可以包括云平台设备的网际协议(Internet Protocol,IP)地址(也称为逻辑地址)。
可选的,上述云平台设备的地址信息还可以包含介质访问控制(Media Access Control,MAC)地址(即物理地址)。
在一种可能的实现方式中,上述连接信息中还包含云平台设备的接入端口信息、云平台设备的标识信息、以及第一校验信息中的至少一种。
其中,除了上述IP地址之外,连接信息还可以包含云平台设备的接入端口信息和/或标识信息(比如标识信息Node ID)。
在本申请实施例的一个示例性的方案中,上述连接信息中的云平台设备的地址信息、接入端口信息和/或标识信息等参数,可以是预先存储在配置设备中的参数。比如,上述配置设备可以是用户的手机,用户可以通过手机下载安装配置APP,该配置APP的安装包中可以携带上述云平台设备的地址信息、接入端口信息和/或标识信息等参数。
在一种可能的实现方式中,上述第一校验信息包含物联网设备接入云平台设备所使用的访问令牌。
在本申请实施例的一种可能的实现方式中,为了便于物联网设备接入云平台设备时的安全性校验(鉴权),配置设备可以预先向云平台设备申请该物联网设备使用的访问令牌。比如,配置设备在向物联网设备发送配置指令之前,还可以向云平台设备发送访问令牌获取请求,之后,配置设备接收云平台设备返回的访问令牌。
相应的,云平台设备可以接收配置设备发送的上述访问令牌获取请求;云平台设备可以 根据上述访问令牌获取请求,生成访问令牌,并将访问令牌发送给配置设备。
在本申请实施例中,配置设备可以预先与云平台设备建立连接。在对物联网设备进行配置的过程中,配置设备可以向云平台设备请求获取物联网设备的访问令牌,相应的,云平台设备可以为物联网设备生成上述访问令牌,并返回给配置设备。
在一种可能的实现方式中,访问令牌获取请求中包含物联网设备的标识信息;云平台设备可以根据物联网设备的标识信息,生成访问令牌。
在本申请实施例中,云平台设备可以根据物联网设备的标识信息,来生成物联网设备所使用的访问令牌。
在一个示例性的方案中,云平台设备可以按照预定的令牌生成算法,生成包含上述物联网设备的标识信息的访问令牌。比如,云平台设备可以按照预定的令牌生成算法生成一个初始的访问令牌,并将该初始的访问令牌与物联网设备的标识信息拼接,得到物联网设备的访问令牌。或者,云平台设备可以将物联网设备的标识信息作为令牌生成算法的输入参数,通过令牌生成算法直接生成包含物联网设备的标识信息的访问令牌。
或者,在另一个示例性的方案中,云平台设备也可以按照预定的令牌生成算法生成一个访问令牌,并将该访问令牌与上述物联网设备的标识信息绑定,以将该访问令牌作为分配给物联网设备使用的访问令牌。
在另一种可能的实现方式中,云平台设备在后续的合法性校验过程中,也可以通过访问令牌之外的方式对物联网设备进行合法性校验,比如,基于物联网设备的第二校验信息对物联网设备进行合法性校验。
其中,在云平台设备基于物联网设备的第二校验信息对物联网设备进行合法性校验的情况下,配置设备在向物联网设备发送配置指令之前,还可以将物联网设备的第二校验信息发送给云平台设备,以便云平台设备后续可以完整合法性校验;相应的,云平台设备可以接收配置设备发送的,物联网设备的第二校验信息。
在一种可能的实现方式中,上述第二校验信息包括标识信息以及设备证书中的至少一种。其中,上述设备证书也可以称为设备的安全证书。
其中,上述的标识信息,可以是设备在物联网中的标识。
其中,云平台设备中可以预先存储有相关人员设置的第二校验信息。
步骤702,配置设备向物联网设备发送配置指令,相应的,物联网设备接收该配置指令;该配置指令用于在物联网设备中的目标簇的属性信息中配置上述连接信息。
在本申请实施例中,配置设备可以与物联网设备之间建立基于物联网协议的局域网连接,比如Matter连接。相应的,配置设备可以通过与物联网设备之间的局域网连接,基于物联网协议向物联网设备发送上述配置指令。
在本申请实施例中,目标簇是在物联网设备中的云平台连接簇。或者,目标簇还可以是与连接云平台相关的其他簇。
在本申请实施例中,物联网中的设备的簇也可以被称为Cluster、功能集/集群、资源簇、资源集等等。
其中,上述配置指令中可以包含上述连接信息。
步骤703,物联网设备根据配置指令配置连接信息。
在本申请实施例中,物联网设备接收到上述配置指令之后,即可以根据配置指令,在物联网设备中配置上述连接信息,以便后续接入云平台设备时使用。
在一种可能的实现方式中,配置指令用于在物联网设备的云平台连接簇(目标簇)中配置包含连接信息的属性。相应的,物联网设备在根据配置指令配置连接信息时,可以根据配置指令,在物联网设备的云平台连接簇中配置包含连接信息的属性。
云平台连接簇(cluster)的定义如下述表1所示。
表1
Identifier Name
0x002D 云平台接入
当云平台设备通过访问令牌进行合法性校验时,云平台连接簇对应的属性(Attribute)的定义如下述表2所示。
表2
ID 名称 必选/可选 描述
0 ServerAddress 必选 云平台的接入地址,如云平台URI
1 AccessToken 必选 物联网设备的访问令牌
2 ServerPort 可选 云平台的接入端口信息
3 CloudID 可选 云平台设备的标识信息
当云平台设备通过访问令牌之外的其它方式进行合法性校验时,云平台连接簇对应的属性的定义如下述表3所示。
表3
ID 名称 必选/可选 描述
0 ServerAddress 必选 云平台的接入地址,如云平台URI
1 ServerPort 可选 云平台的接入端口信息
2 CloudID 可选 云平台设备的标识信息
在一种可能的实现方式中,在向物联网设备发送配置指令时,配置设备可以向物联网设备发送写入指令,该写入指令用于在目标簇的属性信息中写入连接信息。相应的,在接收配置指令时,物联网设备可以接收配置设备发送的写入指令;在根据配置指令配置连接信息时,物联网设备可以根据写入指令,在目标簇的属性信息中写入连接信息。
在一种可能的实现方式中,配置设备还可以向物联网设备发送读取指令,该读取指令用于从目标簇中读取连接信息;配置设备还可以接收物联网设备返回的连接信息。相应的,物联网设备接收配置设备发送的读取指令;物联网设备可以根据读取指令,向配置设备返回连接信息。
在一种可能的实现方式中,配置设备还可以向物联网设备发送删除指令,删除指令用于从目标簇中删除连接信息。相应的,物联网设备可以接收配置设备发送的删除指令,并根据删除指令,从目标簇中删除连接信息。
在本申请实施例所示的方案中,上述的写入指令、读取指令、以及删除指令,可以是云平台连接簇中定义的命令。
也就是说,在本申请实施例中,上述云平台连接簇可以通过专用的命令(Command)进行访问和配置,该专用的命令的定义可以如下述表4所示。
表4
Figure PCTCN2021141383-appb-000001
其中,上述表4中WriteCloudLocation命令的命令参数中,AccessToken是在云平台设备需要根据访问令牌对物联网设备进行合法性校验的情况下存在的参数;也就是说,当云平台 设备通过访问令牌之外的其它方式对物联网设备进行合法性校验时,上述WriteCloudLocation命令的命令参数中可以不包含AccessToken参数。
在另一种可能的实现方式中,上述写入指令、读取指令、以及删除指令等,也可以是物联网协议中的通用指令。
步骤704,物联网设备根据连接信息,向云平台设备发送连接建立请求;相应的,云平台设备接收该连接建立请求。
其中,该连接建立请求用于请求建立与云平台设备之间的连接。
在一种可能的实现方式中,物联网设备在根据连接信息,向云平台设备发送连接建立请求时,可以根据云平台设备的地址信息,向云平台设备发送连接建立请求;连接建立请求中包含访问令牌。
在本申请实施例中,当连接信息中包含访问令牌时,云平台设备需要根据该访问令牌对物联网设备进行合法性校验,相应的,物联网设备向云平台设备发送的连接建立请求中可以包含上述访问令牌。可选的,该连接建立请求中还可以包含物联网设备的标识信息。
在一种可能的实现方式中,物联网设备在根据连接信息,向云平台设备发送连接建立请求时,可以根据云平台设备的地址信息,向云平台设备发送连接建立请求;连接建立请求中包含物联网设备的第二校验信息。
在本申请实施例中,在云平台设备通过物联网设备的第二校验信息,对物联网设备进行安全性校验的情况下,物联网设备向云平台设备发送的连接建立请求中可以包含物联网设备的第二校验信息。
步骤705,云平台设备可以基于上述连接建立请求,对物联网设备进行合法性校验。
在一个示例性的方案中,当云平台设备需要根据该访问令牌对物联网设备进行合法性校验时,云平台设备可以获取连接建立请求中携带的访问令牌,并对该访问令牌进行合法性校验。
比如,云平台设备可以查询本地是否已经存在连接建立请求中携带的访问令牌,若已经存在连接建立请求中携带的访问令牌,且该访问令牌处于有效期内,则确定物联网设备通过合法性校验。
或者,云平台设备可以根据连接建立请求中携带的,该物联网设备的标识信息,查询该物联网设备的访问令牌,若查询到的访问令牌处于有效期内,则将查询到的访问令牌与连接建立请求中携带的访问令牌进行比对,若两者匹配,则确定物联网设备通过合法性校验。
在一个示例性的方案中,在云平台设备通过物联网设备的第二校验信息进行合法性校验的情况下,云平台设备可以获取连接建立请求中携带的设备信息,并对连接建立请求携带的物联网设备的第二校验信息进行合法性校验。
比如,云平台设备可以查询本地是否已经存在(可以由配置设备预先发送给云平台设备)物联网设备的第二校验信息,若已经存在,则确定物联网设备通过合法性校验。
或者,当上述设备信息中包含设备证书时,云平台设备根据物联网设备的设备证书,对连接建立请求中携带的设备证书进行合法性验证。
步骤706,对物联网设备在合法性验证通过后,云平台设备建立与物联网设备之间的连接。
其中,在上述对物联网设备的合法性验证通过后,云平台设备和物联网设备之间可以通过交互建立连接,比如,建立两者之间的安全会话连接。
在本申请实施例中,在对物联网设备发送的连接建立请求中携带的访问令牌或者第二校验信息通过合法性校验的情况下,云平台设备可以建立与物联网设备之间的连接。
在一个示例性的方案中,请参考图8,其示出了本申请实施例涉及的一种用于物联网设备的云连接配置和建立的时序图。以物联网设备为Matter设备为例,配置设备为物联网设备获取Matter设备访问令牌,并对物联网设备配置上述Matter设备访问令牌和云平台接入地 址,物联网设备根据配置的Matter设备访问令牌和云平台接入地址接入到云平台。该过程可以如下:
S81,配置设备通过Matter配置方案配置物联网设备,配置成功后,物联网设备被分配Matter标识信息(Node Id),加入Matter本地网络。
S82,配置设备获取物联网设备的Matter标识信息,从云平台为物联网设备请求Matter设备访问令牌,配置设备可以在上述请求中向云平台提供物联网设备的Matter标识信息。
S83,云平台根据物联网设备的Matter标识信息为物联网设备分配Matter设备访问令牌,该Matter设备访问令牌用于物联网设备连接云平台时对物联网设备的有效性进行验证。
S84,云平台向物联网设备返回Matter设备访问令牌。
S85,配置设备配置物联网设备连接云平台的参数,配置的参数包括云平台的接入地址(如云平台URI)和设备访问令牌,可选的还可以配置云平台的接入端口信息、云平台设备的标识信息。
进一步地,配置设备通过云平台连接cluster配置物联网设备连云的信息。
为了配置物联网设备连云的信息,配置设备向物联网设备发送云平台连接cluster的WriteCloudLocation命令(云平台连接cluster专用命令),WriteCloudLocation命令的参数包括ServerAddress和AccessToken,可选的命令参数还包括ServerPort和/或CloudID。
另外一种配置物联网设备连云的信息的方式,配置设备向物联网设备发送设置云平台连接cluster属性的Write命令(Matter通用命令),Write命令设置云平台连接cluster属性对应的属性值,具体设置的属性包括ServerAddress属性和AccessToken属性,可选的命令属性还包括ServerPort属性和/或CloudID属性。
S86,物联网设备根据配置的连接云平台的参数,连接云平台。
物联网设备根据云平台的接入地址连接云平台,物联网设备向云平台提供Matter设备访问令牌,可选地,物联网设备向云平台提供云平台的接入端口信息、云平台设备的标识信息。
进一步地,物联网设备通过收到的云平台连接cluster的WriteCloudLocation命令(云平台连接cluster专用命令)获取物联网设备连云的信息,WriteCloudLocation命令的参数包括ServerAddress和AccessToken,可选的命令参数还包括ServerPort和/或CloudID。
另外一种获取物联网设备连云的信息的方式,物联网设备通过收到的Write命令设置的云平台连接cluster属性获取物联网设备连云的信息,云平台连接cluste的ServerAddress和AccessToken属性提供了云平台的接入地址和Matter设备访问令牌,可选的属性ServerPort提供云平台的接入端口信息,CloudID提供云平台设备的标识信息。
S87,云平台校验Matter设备访问令牌的有效性。
S88,云平台校验通过后,物联网设备成功连接云平台。
例如,云平台校验Matter设备访问令牌是否为分配的Matter设备访问令牌和/或Matter设备访问令牌是否在有效期内,从而校验Matter设备访问令牌的有效性。
在另一个示例性的方案中,请参考图9,其示出了本申请实施例涉及的另一种用于物联网设备的云连接配置和建立的时序图。以物联网设备为Matter设备为例,配置设备为物联网设备配置云平台接入地址,物联网设备根据配置的云平台接入地址接入到云平台。该过程可以如下:
S91,配置设备通过Matter配置方案配置物联网设备,配置成功后,物联网设备被分配Matter标识信息(Node Id),加入Matter本地网络。
S92,配置设备配置物联网设备连云的参数,配置的参数包括云平台的接入地址(如云平台URI),可选的还可以配置云平台的接入端口信息、云平台设备的标识信息。
进一步地,配置设备通过云平台连接cluster配置物联网设备连云的信息。
为了配置物联网设备连云的信息,配置设备向物联网设备发送云平台连接cluster的 WriteCloudLocation命令(云平台连接cluster专用命令),WriteCloudLocation命令的参数包括ServerAddress,可选的命令参数还包括ServerPort和/或CloudID。
另外一种配置物联网设备连云的信息的方式,配置设备向物联网设备发送设置云平台连接cluster属性的Write命令(Matter通用命令),Write命令设置云平台连接cluster属性对应的属性值,具体设置的属性包括ServerAddress属性,可选的命令属性还包括ServerPort属性和/或CloudID属性。
S93,物联网设备根据配置的连接云平台的参数,连接云平台。
物联网设备根据云平台的接入地址连接云平台,物联网设备向云平台提供Matter设备的标识信息,可选地,物联网设备向云平台提供云平台的接入端口信息、云平台设备的标识信息。
进一步地,物联网设备通过收到的云平台连接cluster的WriteCloudLocation命令(云平台连接cluster专用命令)获取物联网设备连云的信息,WriteCloudLocation命令的参数包括ServerAddress,可选的命令参数还包括ServerPort和/或CloudID。
另外一种获取物联网设备连云的信息的方式,物联网设备通过收到的Write命令设置的云平台连接cluster属性获取物联网设备连云的信息,云平台连接cluste的ServerAddress属性提供了云平台的接入地址,可选的属性ServerPort提供云平台的接入端口信息,CloudID提供云平台设备的标识信息。
S94,云平台校验物联网设备的合法性。
方式1:云平台校验物联网设备的Matter标识信息是否有效,从而校验物联网设备的合法性。云平台存储的物联网设备的Matter标识信息可以是在步骤1或步骤2之后,由配置设备向云平台上传的。
方式2:物联网设备向云平台提供设备凭证,例如,设备凭证可以是设备证书,云平台校验物联网设备的设备证书是否有效,从而校验物联网设备的合法性。
S95,校验通过后物联网设备成功连接云平台。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,物联网设备可以基于该参数与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图10,其示出了本申请一个实施例提供的连接配置装置的框图。该装置具有实现上述图3或图7所示的方法中,由配置设备执行的功能。如图10所示,该订阅配置装置1000可以包括:
配置指令发送模块1001,用于向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
在一种可能的实现方式中,所述目标簇是在所述物联网设备中的云平台连接。
在一种可能的实现方式中,所述连接信息中包含所述云平台设备的地址信息。
在一种可能的实现方式中,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
在一种可能的实现方式中,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
在一种可能的实现方式中,所述装置还包括:
令牌请求发送模块,用于在所述配置指令发送模块1001向物联网设备发送配置指令之前,向所述云平台设备发送访问令牌获取请求;
令牌接收模块,用于接收所述云平台设备返回的所述访问令牌。
在一种可能的实现方式中,所述访问令牌获取请求中包含所述物联网设备的标识信息;
所述访问令牌是所述云平台设备根据所述物联网设备的标识信息生成的。
在一种可能的实现方式中,所述装置还包括:
设备信息发送模块,用于在所述配置指令发送模块向物联网设备发送配置指令之前,将所述物联网设备的第二校验信息发送给所述云平台设备。
在一种可能的实现方式中,所述第二校验信息包括标识信息以及设备证书中的至少一种。
在一种可能的实现方式中,所述配置指令发送模块1001,用于向所述物联网设备发送写入指令,所述写入指令用于在所述目标簇的属性信息中写入所述连接信息。
在一种可能的实现方式中,所述装置还包括:
读指令发送模块,用于向所述物联网设备发送读取指令,所述读取指令用于从所述目标簇中读取所述连接信息;
参数接收模块,用于接收所述物联网设备返回的所述连接信息。
在一种可能的实现方式中,所述装置还包括:
删除指令发送模块,用于向所述物联网设备发送删除指令,所述删除指令用于从所述目标簇中删除所述连接信息。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,使得物联网设备可以与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图11,其示出了本申请一个实施例提供的连接配置装置的框图。该装置具有实现上述图4或图7所示的方法中,由物联网设备执行的功能。如图11所示,该订阅配置装置1100可以包括:
配置指令接收模块1101,用于接收配置设备发送的配置指令;
配置模块1102,用于根据所述配置指令配置在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
在一种可能的实现方式中,所述装置还包括:
连接请求模块,用于根据所述连接信息,向所述云平台设备发送连接建立请求,所述连接建立请求用于请求建立与所述云平台设备之间的连接。
在一种可能的实现方式中,所述配置模块1102,用于根据所述配置指令,在所述物联网设备的目标簇中配置包含所述连接信息的属性。
在一种可能的实现方式中,所述连接信息中包含所述云平台设备的地址信息。
在一种可能的实现方式中,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
在一种可能的实现方式中,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
在一种可能的实现方式中,所述连接请求模块,用于根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含所述访问令牌。
在一种可能的实现方式中,所述连接请求模块,用于根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含所述物联网设备的第二校验信息。
在一种可能的实现方式中,所述第二校验信息包括标识信息以及设备证书中的至少一种。
在一种可能的实现方式中,所述配置指令接收模块1101,用于接收所述配置设备发送的写入指令;
所述配置模块1102,用于根据所述写入指令,在所述目标簇的属性信息中写入所述连 接信息。
在一种可能的实现方式中,所述装置还包括:
读指令接收模块,用于接收所述配置设备发送的读取指令;
参数返回模块,用于根据所述读取指令,向所述配置设备返回所述连接信息。
在一种可能的实现方式中,所述装置还包括:
删除指令接收模块,用于接收所述配置设备发送的删除指令;
删除模块,用于根据所述删除指令,从所述目标簇中删除所述连接信息。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,使得物联网设备可以与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
请参考图12,其示出了本申请一个实施例提供的连接建立装置的框图。该装置具有实现上述图5或图7所示的方法中,由云平台设备执行的功能。如图12所示,该连接建立装置1200可以包括:
连接请求接收模块1201,用于接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;
连接建立模块1202,用于建立与所述物联网设备之间的连接。
在一种可能的实现方式中,所述连接建立模块1202,用于,
对所述连接建立请求包含的第一校验信息进行合法性校验;
在所述第一校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
在一种可能的实现方式中,所述第一校验信息包括访问令牌。
在一种可能的实现方式中,所述装置还包括:
令牌请求接收模块,用于在所述连接请求接收模块接收物联网设备根据连接信息发送的连接建立请求之前,接收所述配置设备发送的访问令牌获取请求;
令牌生成模块,用于根据所述访问令牌获取请求,生成所述访问令牌;
令牌发送模块,用于将所述访问令牌发送给所述配置设备。
在一种可能的实现方式中,所述访问令牌获取请求中包含所述物联网设备的标识信息;
所述令牌生成模块,用于根据所述物联网设备的标识信息,生成所述访问令牌。
在一种可能的实现方式中,所述连接建立模块1202,用于,
对所述连接建立请求包含的所述物联网设备的第二校验信息进行合法性校验;
在所述第二校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
在一种可能的实现方式中,所述装置还包括:
设备信息接收模块,用于在所述连接请求接收模块接收物联网设备根据连接信息发送的连接建立请求之前,接收所述配置设备发送的,所述物联网设备的第二校验信息。
在一种可能的实现方式中,所述第二校验信息包括标识信息以及设备证书中的至少一种。
综上所述,在本申请实施例所示的方案中,配置设备可以将物联网设备接入云平台设备的参数配置给物联网设备,物联网设备可以基于该参数与云平台设备建立连接,从而为后续物联网设备的远程通信提供支持,进而扩展物联网的应用场景。
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
请参考图13,其示出了本申请一个实施例提供的计算机设备1300的结构示意图。该计算机设备1300可以包括:处理器1301、接收器1302、发射器1303、存储器1304和总线1305。
处理器1301包括一个或者一个以上处理核心,处理器1301通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。
接收器1302和发射器1303可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。
存储器1304通过总线1305与处理器1301相连。
存储器1304可用于存储计算机程序,处理器1301用于执行该计算机程序,以实现上述方法实施例中的各个步骤。
此外,存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器,可擦除可编程只读存储器,静态随时存取存储器,只读存储器,磁存储器,快闪存储器,可编程只读存储器。
在一个示例性的方案中,当计算机设备1300实现为配置设备时,所述收发器1302,用于向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
其中,上述计算机设备1300中的处理器1301和/或收发器1302执行的过程可以参考上述图3或图7任一所示的方法中,由配置设备执行的各个步骤。
在另一个示例性的方案中,当计算机设备1300实现为物联网设备时,所述收发器1302,用于接收配置设备发送的配置指令;所述处理器1301根据所述配置指令配置在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
其中,上述计算机设备1300中的处理器1301和/或收发器1302执行的过程可以参考上述图4或图7任一所示的方法中,由物联网台设备执行的各个步骤。
在另一个示例性的方案中,当计算机设备1300实现为云平台设备时,所述收发器1302,用于接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;建立与所述物联网设备之间的连接。
其中,上述计算机设备1300中的处理器1301和/或收发器1302执行的过程可以参考上述图5或图7任一所示的方法中,由云平台设备执行的各个步骤。
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述图3、图4、图5或者图7所示的方法中,由配置设备、物联网设备或者云平台设备执行的全部或者部分步骤。
本申请还提供了一种芯片,该芯片用于在计算机设备中运行,以使得计算机设备执行上述图3、图4、图5或者图7所示的方法中,由配置设备、物联网设备或者云平台设备执行的全部或者部分步骤。
本申请还提供了一种计算机程序产品,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得计算机设备执行上述图3、图4、图5或者图7所示的方法中,由配置设备、物联网设备或者云平台设备执行的全部或者部分步骤。
本申请还提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述图3、图4、图5或者图7所示的方法中,由配置设备、物联网设备或者云平台设备执行的全部或者部分步骤。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。

Claims (69)

  1. 一种连接配置方法,其特征在于,所述方法由配置设备执行,所述方法包括:
    向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
  2. 根据权利要求1所述的方法,其特征在于,所述目标簇是在所述物联网设备中的云平台连接簇。
  3. 根据权利要求1或2所述的方法,其特征在于,所述连接信息中包含所述云平台设备的地址信息。
  4. 根据权利要求3所述的方法,其特征在于,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
  5. 根据权利要求4所述的方法,其特征在于,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
  6. 根据权利要求5所述的方法,其特征在于,所述向物联网设备发送配置指令之前,还包括:
    向所述云平台设备发送访问令牌获取请求;
    接收所述云平台设备返回的所述访问令牌。
  7. 根据权利要求6所述的方法,其特征在于,所述访问令牌获取请求中包含所述物联网设备的标识信息;
    所述访问令牌是所述云平台设备根据所述物联网设备的标识信息生成的。
  8. 根据权利要求5所述的方法,其特征在于,所述向物联网设备发送配置指令之前,还包括:
    将所述物联网设备的第二校验信息发送给所述云平台设备。
  9. 根据权利要求8所述的方法,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  10. 根据权利要求1至9任一所述的方法,其特征在于,所述向物联网设备发送配置指令,包括:
    向所述物联网设备发送写入指令,所述写入指令用于在所述目标簇的属性信息中写入所述连接信息。
  11. 根据权利要求1至9任一所述的方法,其特征在于,所述方法还包括:
    向所述物联网设备发送读取指令,所述读取指令用于从所述目标簇中读取所述连接信息;
    接收所述物联网设备返回的所述连接信息。
  12. 根据权利要求1至9任一所述的方法,其特征在于,所述方法还包括:
    向所述物联网设备发送删除指令,所述删除指令用于从所述目标簇中删除所述连接信息。
  13. 一种连接配置方法,其特征在于,所述方法由物联网设备执行,所述方法包括:
    接收配置设备发送的配置指令;
    根据所述配置指令在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    根据所述连接信息,向所述云平台设备发送连接建立请求,所述连接建立请求用于请求建立与所述云平台设备之间的连接。
  15. 根据权利要求14所述的方法,其特征在于,所述根据所述配置指令在所述物联网设备的目标簇的属性信息中配置连接信息,包括:
    根据所述配置指令,在所述物联网设备的目标簇中配置包含所述连接信息的属性。
  16. 根据权利要求14或15所述的方法,其特征在于,所述连接信息中包含所述云平台设备的地址信息。
  17. 根据权利要求16所述的方法,其特征在于,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
  18. 根据权利要求17所述的方法,其特征在于,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
  19. 根据权利要求18所述的方法,其特征在于,所述根据所述连接信息,向所述云平台设备发送连接建立请求,包括:
    根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含所述访问令牌。
  20. 根据权利要求16或17所述的方法,其特征在于,所述根据所述连接信息,向所述云平台设备发送连接建立请求,包括:
    根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含第二校验信息。
  21. 根据权利要求20所述的方法,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  22. 根据权利要求13至21任一所述的方法,其特征在于,所述接收配置设备发送的配置指令,包括:
    接收所述配置设备发送的写入指令;
    所述根据所述配置指令在所述物联网设备的目标簇的属性信息中配置连接信息,包括:
    根据所述写入指令,在所述目标簇的属性信息中写入所述连接信息。
  23. 根据权利要求13至21任一所述的方法,其特征在于,所述方法还包括:
    接收所述配置设备发送的读取指令;
    根据所述读取指令,向所述配置设备返回所述连接信息。
  24. 根据权利要求13至21任一所述的方法,其特征在于,所述方法还包括:
    接收所述配置设备发送的删除指令;
    根据所述删除指令,从所述目标簇中删除所述连接信息。
  25. 一种连接建立方法,其特征在于,所述方法由云平台设备执行,所述方法包括:
    接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;
    建立与所述物联网设备之间的连接。
  26. 根据权利要求25所述的方法,其特征在于,所述建立与所述物联网设备之间的连接,包括:
    对所述连接建立请求包含的第一校验信息进行合法性校验;
    在所述第一校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
  27. 根据权利要求26所述的方法,其特征在于,所述第一校验信息包括访问令牌。
  28. 根据权利要求27所述的方法,其特征在于,所述接收物联网设备根据连接信息发送的连接建立请求之前,还包括:
    接收所述配置设备发送的访问令牌获取请求;
    根据所述访问令牌获取请求,生成所述访问令牌;
    将所述访问令牌发送给所述配置设备。
  29. 根据权利要求28所述的方法,其特征在于,所述访问令牌获取请求中包含所述物联网设备的标识信息;
    所述根据所述访问令牌获取请求,生成所述访问令牌,包括:
    根据所述物联网设备的标识信息,生成所述访问令牌。
  30. 根据权利要求25所述的方法,其特征在于,所述建立与所述物联网设备之间的连接,包括:
    对所述连接建立请求包含的所述物联网设备的第二校验信息进行合法性校验;
    在所述第二校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
  31. 根据权利要求30所述的方法,其特征在于,所述接收物联网设备根据连接信息发送的连接建立请求之前,还包括:
    接收所述配置设备发送的,所述物联网设备的第二校验信息。
  32. 根据权利要求30或31所述的方法,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  33. 一种连接配置装置,其特征在于,所述装置包括:
    配置指令发送模块,用于向物联网设备发送配置指令,所述配置指令用于在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
  34. 根据权利要求33所述的装置,其特征在于,所述目标簇是在所述物联网设备中的云平台连接簇。
  35. 根据权利要求33或34所述的装置,其特征在于,所述连接信息中包含所述云平台设备的地址信息。
  36. 根据权利要求35所述的装置,其特征在于,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
  37. 根据权利要求36所述的装置,其特征在于,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
  38. 根据权利要求37所述的装置,其特征在于,所述装置还包括:
    令牌请求发送模块,用于在所述配置指令发送模块向物联网设备发送配置指令之前,向所述云平台设备发送访问令牌获取请求;
    令牌接收模块,用于接收所述云平台设备返回的所述访问令牌。
  39. 根据权利要求38所述的装置,其特征在于,所述访问令牌获取请求中包含所述物联网设备的标识信息;
    所述访问令牌是所述云平台设备根据所述物联网设备的标识信息生成的。
  40. 根据权利要求37所述的装置,其特征在于,所述装置还包括:
    校验信息发送模块,用于在所述配置指令发送模块向物联网设备发送配置指令之前,将所述物联网设备的第二校验信息发送给所述云平台设备。
  41. 根据权利要求40所述的装置,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  42. 根据权利要求33至41任一所述的装置,其特征在于,
    所述配置指令发送模块,用于向所述物联网设备发送写入指令,所述写入指令用于在所述目标簇的属性信息中写入所述连接信息。
  43. 根据权利要求33至41任一所述的装置,其特征在于,所述装置还包括:
    读指令发送模块,用于向所述物联网设备发送读取指令,所述读取指令用于从所述目标簇中读取所述连接信息;
    参数接收模块,用于接收所述物联网设备返回的所述连接信息。
  44. 根据权利要求33至41任一所述的装置,其特征在于,所述装置还包括:
    删除指令发送模块,用于向所述物联网设备发送删除指令,所述删除指令用于从所述目标簇中删除所述连接信息。
  45. 一种连接配置装置,其特征在于,所述装置包括:
    配置指令接收模块,用于接收配置设备发送的配置指令;
    配置模块,用于根据所述配置指令配置在所述物联网设备的目标簇的属性信息中配置连接信息;所述连接信息包括用于与云平台设备建立连接的参数。
  46. 根据权利要求45所述的装置,其特征在于,所述装置还包括:
    连接请求模块,用于根据所述连接信息,向所述云平台设备发送连接建立请求,所述连接建立请求用于请求建立与所述云平台设备之间的连接。
  47. 根据权利要求46所述的装置,其特征在于,
    所述配置模块,用于根据所述配置指令,在所述物联网设备的目标簇中配置包含所述连接信息的属性。
  48. 根据权利要求46或47所述的装置,其特征在于,所述连接信息中包含所述云平台设备的地址信息。
  49. 根据权利要求48所述的装置,其特征在于,所述连接信息中还包含所述云平台设备的接入端口信息、所述云平台设备的标识信息、以及第一校验信息中的至少一种。
  50. 根据权利要求49所述的装置,其特征在于,所述第一校验信息包含所述物联网设备接入所述云平台设备所使用的访问令牌。
  51. 根据权利要求50所述的装置,其特征在于,
    所述连接请求模块,用于根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含所述访问令牌。
  52. 根据权利要求48或49所述的装置,其特征在于,
    所述连接请求模块,用于根据所述云平台设备的地址信息,向所述云平台设备发送所述连接建立请求;所述连接建立请求中包含第二校验信息。
  53. 根据权利要求52所述的装置,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  54. 根据权利要求45至53任一所述的装置,其特征在于,
    所述配置指令接收模块,用于接收所述配置设备发送的写入指令;
    所述配置模块,用于根据所述写入指令,在所述目标簇的属性信息中写入所述连接信息。
  55. 根据权利要求45至53任一所述的装置,其特征在于,所述装置还包括:
    读指令接收模块,用于接收所述配置设备发送的读取指令;
    参数返回模块,用于根据所述读取指令,向所述配置设备返回所述连接信息。
  56. 根据权利要求45至53任一所述的装置,其特征在于,所述装置还包括:
    删除指令接收模块,用于接收所述配置设备发送的删除指令;
    删除模块,用于根据所述删除指令,从所述目标簇中删除所述连接信息的属性。
  57. 一种连接建立装置,其特征在于,所述装置包括:
    连接请求接收模块,用于接收物联网设备根据连接信息发送的连接建立请求;所述连接信息是由配置设备在所述物联网设备的目标簇的属性信息中配置的;
    连接建立模块,用于建立与所述物联网设备之间的连接。
  58. 根据权利要求57所述的装置,其特征在于,所述连接建立模块,用于,
    对所述连接建立请求包含的第一校验信息进行合法性校验;
    在所述第一校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
  59. 根据权利要求58所述的装置,其特征在于,所述第一校验信息包括访问令牌。
  60. 根据权利要求59所述的装置,其特征在于,所述装置还包括:
    令牌请求接收模块,用于在所述连接请求接收模块接收物联网设备根据连接信息发送的连接建立请求之前,接收所述配置设备发送的访问令牌获取请求;
    令牌生成模块,用于根据所述访问令牌获取请求,生成所述访问令牌;
    令牌发送模块,用于将所述访问令牌发送给所述配置设备。
  61. 根据权利要求59所述的装置,其特征在于,所述访问令牌获取请求中包含所述物联网设备的标识信息;
    所述令牌生成模块,用于根据所述物联网设备的标识信息,生成所述访问令牌。
  62. 根据权利要求57所述的装置,其特征在于,所述连接建立模块,用于,
    对所述连接建立请求包含的所述物联网设备的第二校验信息进行合法性校验;
    在所述第二校验信息通过合法性校验的情况下,建立与所述物联网设备之间的连接。
  63. 根据权利要求62所述的装置,其特征在于,所述装置还包括:
    设备信息接收模块,用于在所述连接请求接收模块接收物联网设备根据连接信息发送的连接建立请求之前,接收所述配置设备发送的,所述物联网设备的第二校验信息。
  64. 根据权利要求62或63所述的装置,其特征在于,所述第二校验信息包括标识信息以及设备证书中的至少一种。
  65. 一种计算机设备,其特征在于,所述计算机设备包括处理器、存储器和收发器;
    所述存储器中存储有计算机程序,所述处理器执行所述计算机程序,以使得所述计算机设备实现如上述权利要求1至24任一所示的连接配置方法,或者,实现如上述权利要求25至32任一所示的连接建立方法。
  66. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至24任一所示的连接配置方法,或者,实现如上述权利要求25至32任一所示的连接建立方法。
  67. 一种芯片,其特征在于,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行如权利要求1至24任一所示的连接配置方法,或者,实现如上述权利要求25至32任一所示的连接建立方法。
  68. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,并执行所述计算机指令,使得所述计算机设备执行如权利要求1至24任一所示的连接配置方法,或者,实现如上述权利要求25至32任一所示的连接建立方法。
  69. 一种计算机程序,其特征在于,所述计算机程序由计算机设备的处理器执行,以实现如权利要求1至24任一所示的连接配置方法,或者,实现如上述权利要求25至32任一所示的连接建立方法。
PCT/CN2021/141383 2021-12-24 2021-12-24 连接配置方法、连接建立方法、装置、设备及存储介质 WO2023115584A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/141383 WO2023115584A1 (zh) 2021-12-24 2021-12-24 连接配置方法、连接建立方法、装置、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/141383 WO2023115584A1 (zh) 2021-12-24 2021-12-24 连接配置方法、连接建立方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023115584A1 true WO2023115584A1 (zh) 2023-06-29

Family

ID=86901094

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141383 WO2023115584A1 (zh) 2021-12-24 2021-12-24 连接配置方法、连接建立方法、装置、设备及存储介质

Country Status (1)

Country Link
WO (1) WO2023115584A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312230A1 (en) * 2014-04-25 2015-10-29 Electronics And Telecommunications Research Institute Apparatus and method for transferring network access information of smart household appliances
CN108632355A (zh) * 2018-04-04 2018-10-09 青岛海尔科技有限公司 一种家电网络选路方法、装置、可读存储介质及设备
KR20190041802A (ko) * 2017-10-13 2019-04-23 주식회사 케이티 액세스 포인트, 홈 게이트웨이 및 홈 네트워크 시스템과, 상기 홈 네트워크 시스템에서의 ip 통신 수행 방법
CN111131316A (zh) * 2019-12-31 2020-05-08 青岛海尔科技有限公司 用于通信的方法、装置、家电设备及服务器
CN111130957A (zh) * 2019-12-17 2020-05-08 广东美的厨房电器制造有限公司 家电设备配网方法及装置
CN111726238A (zh) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 家电设备及其配网方法、控制方法、计算机存储介质
CN113347741A (zh) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 网关设备的上线方法及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150312230A1 (en) * 2014-04-25 2015-10-29 Electronics And Telecommunications Research Institute Apparatus and method for transferring network access information of smart household appliances
KR20190041802A (ko) * 2017-10-13 2019-04-23 주식회사 케이티 액세스 포인트, 홈 게이트웨이 및 홈 네트워크 시스템과, 상기 홈 네트워크 시스템에서의 ip 통신 수행 방법
CN108632355A (zh) * 2018-04-04 2018-10-09 青岛海尔科技有限公司 一种家电网络选路方法、装置、可读存储介质及设备
CN111726238A (zh) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 家电设备及其配网方法、控制方法、计算机存储介质
CN111130957A (zh) * 2019-12-17 2020-05-08 广东美的厨房电器制造有限公司 家电设备配网方法及装置
CN111131316A (zh) * 2019-12-31 2020-05-08 青岛海尔科技有限公司 用于通信的方法、装置、家电设备及服务器
CN113347741A (zh) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 网关设备的上线方法及系统

Similar Documents

Publication Publication Date Title
US10965473B2 (en) Smart object identification in the digital home
US10116602B2 (en) System and methods for device to device control
US9923978B2 (en) Automated network service discovery and communication
US20220166668A1 (en) Preconfigured device representations
US10091278B1 (en) Data exchange services
CN115486038B (zh) 物联网配置方法、装置、计算机设备及存储介质
US11082430B1 (en) Device authorizations using certificates and service access policy templates
CN104506448A (zh) 一种物联网自适应的智能路由器
CN104253792A (zh) 基板管理控制器虚拟系统及方法
WO2023115584A1 (zh) 连接配置方法、连接建立方法、装置、设备及存储介质
WO2021134562A1 (zh) 配置设备更换方法、装置、设备及存储介质
CN112152827A (zh) 物联网设备的管理方法、装置、网关及可读存储介质
WO2023124485A1 (zh) 配网方法、用户设置方法、服务器、控制终端及存储介质
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
WO2022006825A1 (zh) 物联网中的设备接入方法、装置、计算机设备及存储介质
WO2023108653A1 (zh) 订阅权限信息处理方法、装置、计算机设备及存储介质
WO2023082113A1 (zh) 对桥接设备进行配置的方法、装置、设备及存储介质
CN107807619A (zh) 基于虚拟服务器模块的智能家居控制系统及其工作方法
JP2022070222A (ja) コンピュータ実装方法、デバイスプロビジョニングシステムおよびコンピュータプログラム(モノのインターネットデバイスのプロビジョニング)
US11533222B2 (en) Auto-enrollment of IoT endpoints
WO2023184559A1 (zh) 设备共享方法、装置、设备、存储介质及程序产品
WO2023130405A1 (zh) 设备配置方法、装置、计算机设备及存储介质
WO2024031681A1 (zh) 设备绑定方法、装置、设备、存储介质及程序产品
WO2023092504A1 (zh) 订阅控制方法、装置、计算机设备及存储介质
WO2023065354A1 (zh) 信息上报方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21968713

Country of ref document: EP

Kind code of ref document: A1