WO2022104806A1 - Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage - Google Patents

Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage Download PDF

Info

Publication number
WO2022104806A1
WO2022104806A1 PCT/CN2020/130938 CN2020130938W WO2022104806A1 WO 2022104806 A1 WO2022104806 A1 WO 2022104806A1 CN 2020130938 W CN2020130938 W CN 2020130938W WO 2022104806 A1 WO2022104806 A1 WO 2022104806A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
network
gateway
capability set
request
Prior art date
Application number
PCT/CN2020/130938
Other languages
English (en)
Chinese (zh)
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 CN202080106374.5A priority Critical patent/CN116349269A/zh
Priority to PCT/CN2020/130938 priority patent/WO2022104806A1/fr
Publication of WO2022104806A1 publication Critical patent/WO2022104806A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the embodiments of the present application relate to the Internet of Things technology, and in particular, to a control method, apparatus, device, and storage medium for heterogeneous network devices.
  • the devices used by users and the devices that need to be managed may belong to different networks.
  • the existing technology only the devices connected by the same network technology under the same gateway can be controlled and managed.
  • a control scheme for heterogeneous network devices is a control scheme for heterogeneous network devices.
  • Embodiments of the present application provide a method, apparatus, device, and storage medium for controlling a heterogeneous network device, and provide a technical solution for controlling a device in a heterogeneous network.
  • the embodiments of the present application may provide a method for controlling heterogeneous network devices, which is applied to terminal devices, and the method includes:
  • sub-device control request includes an access identifier of the sub-device in the first network, a service identifier and an instance identifier;
  • the embodiments of the present application may provide a method for controlling heterogeneous network devices, which is applied to a gateway device, and the method includes:
  • sub-device control request sent by a terminal device, where the sub-device control request includes an access identifier of the sub-device in the first network, a service identifier, and an instance identifier;
  • the gateway device communicates with the terminal device through the first network, and the gateway device communicates with the sub-device through the second network .
  • the embodiments of the present application may provide a method for controlling a heterogeneous network device, which is applied to a cloud service device, and the method includes:
  • sub-device authentication request includes the identification and identity information of the sub-device
  • the embodiments of the present application may provide a control apparatus for heterogeneous network equipment, including: a processing module, a sending module, and a receiving module;
  • the processing module is configured to generate a sub-device control request, where the sub-device control request includes an access identifier of the sub-device in the first network, a service identifier and an instance identifier;
  • the sending module is configured to send the sub-device control request to the gateway device; wherein the gateway device communicates with the control apparatus of the heterogeneous network device through the first network, and the gateway device communicates with the sub-device communicate over the second network.
  • the embodiments of the present application may provide a control apparatus for heterogeneous network equipment, including: a processing module, a receiving module, and a sending module;
  • the receiving module is configured to receive a sub-device control request sent by the terminal device, where the sub-device control request includes an access identifier, a service identifier and an instance identifier of the sub-device in the first network;
  • the sending module is configured to send an operation request to the sub-device according to the sub-device control request; wherein, the control device of the heterogeneous network device communicates with the terminal device through the first network, and the heterogeneous network device communicates with the terminal device through the first network.
  • the control device of the network device communicates with the sub-device through the second network.
  • the embodiments of the present application may provide a control apparatus for heterogeneous network equipment, including:
  • a receiving module configured to receive a sub-device authentication request sent by the gateway device, where the sub-device authentication request includes the identification and identity information of the sub-device;
  • a processing module configured to authenticate the sub-device according to the sub-device authentication request, and generate an access identifier in the first network for the sub-device after the authentication is passed;
  • a sending module configured to send the access identifier of the sub-device in the first network to the gateway device.
  • an embodiment of the present application may provide a terminal device, including:
  • processors memories, receivers and transmitters
  • the memory stores computer-executable instructions
  • the processor executes the computer-executed instructions stored in the memory, so that the processor executes the method for controlling a heterogeneous network device provided by the first aspect.
  • an embodiment of the present application may provide a gateway device, including:
  • processors memories, receivers and transmitters
  • the memory stores computer-executable instructions
  • the processor executes the computer-executed instructions stored in the memory, so that the processor executes the method for controlling a heterogeneous network device provided by the second aspect.
  • an embodiment of the present application may provide a cloud service device, including:
  • processors memories, receivers and transmitters
  • the memory stores computer-executable instructions
  • the processor executes the computer-executed instructions stored in the memory, so that the processor executes the method for controlling a heterogeneous network device provided by the third aspect.
  • embodiments of the present application may provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the foregoing first aspect Provided is a control method for heterogeneous network devices.
  • the embodiments of the present application may provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the foregoing second A control method of a heterogeneous network device provided by the aspect.
  • embodiments of the present application may provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the third A control method of a heterogeneous network device provided by the aspect.
  • an embodiment of the present application may provide a chip, including: a processing module and a communication interface, where the processing module is configured to execute the control method for a heterogeneous network device provided in any of the foregoing aspects.
  • embodiments of the present application may provide a computer program product, including a computer program, which, when executed by a processor, implements the control method for a heterogeneous network device provided in any of the foregoing aspects.
  • a gateway device with heterogeneous gateway capability is used to establish terminal devices and sub-devices that communicate in the first network and the second network respectively.
  • the terminal device needs to control the sub-device, it can control the sub-device by sending a sub-device control request to the gateway device, and the gateway device sends an operation request to the sub-device according to the sub-device control request. , realizes the control of equipment without network access, and provides a technical solution for the control of heterogeneous network equipment.
  • FIG. 1 is a schematic diagram of an application scenario of a method for controlling a heterogeneous network device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a network architecture of a method for controlling a heterogeneous network device provided by an embodiment of the present application
  • Embodiment 3 is a schematic flowchart of Embodiment 1 of a method for controlling a heterogeneous network device provided by an embodiment of the present application;
  • Embodiment 4 is a schematic flowchart of Embodiment 2 of a method for controlling a heterogeneous network device provided by an embodiment of the present application;
  • FIG. 5 is a schematic flowchart of Embodiment 3 of a method for controlling a heterogeneous network device provided by an embodiment of the present application;
  • FIG. 6 is a schematic flowchart of Embodiment 4 of a method for controlling a heterogeneous network device provided by an embodiment of the present application;
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application;
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application;
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal device provided in this embodiment.
  • FIG. 11 is a schematic structural diagram of a gateway device provided in this embodiment.
  • FIG. 12 is a schematic structural diagram of a cloud service device provided in this embodiment.
  • the prior art does not provide a control scheme for devices in a heterogeneous network. Based on this, the present application provides a control solution for heterogeneous network devices.
  • the overall idea of this scheme is based on the design of gateway equipment, which has a bridging function.
  • the gateway equipment can be used as the terminal equipment of the control end and the sub-equipment in the heterogeneous network that needs to be controlled.
  • the bridging device between the sub-devices is controlled by the gateway device.
  • FIG. 1 is a schematic diagram of an application scenario of a method for controlling a heterogeneous network device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a network architecture of the method for controlling a heterogeneous network device provided by an embodiment of the present application.
  • the scenario includes at least: a gateway device (also referred to as a gateway, gateway device) as a bridge device, a terminal device as a control end, and one or more sub-devices to be controlled.
  • the communication network between the terminal device and the gateway device is different from the communication network between the gateway device and the sub-devices.
  • Gateway devices support communication over networks of different protocols.
  • the terminal device may be a user's mobile phone, a tablet computer, or other smart devices capable of running applications.
  • Sub-devices can be any device in the IoT scenario, such as smart home appliances such as tablet computers, air conditioners, refrigerators, and speakers, and can also be smart home systems, vehicles, and other devices that can establish a communication connection with the gateway.
  • smart home appliances such as tablet computers, air conditioners, refrigerators, and speakers
  • smart home systems, vehicles, and other devices that can establish a communication connection with the gateway.
  • the scenario also includes a cloud service device, and the cloud service device may also be called a cloud or a cloud server.
  • gateway Service on the device model of the gateway (Gateway) device; that is to say, the device with the gateway Service has the ability to bridge other protocol devices to access the network.
  • the Service identifies that the device it carries has the Gateway capability, and its specific capabilities are as follows:
  • FIG. 3 is a schematic flowchart of Embodiment 1 of a method for controlling heterogeneous network devices provided by an embodiment of the present application.
  • the implementation of this solution involves three devices: a terminal device, a gateway device, and a sub-device, wherein, The terminal device and the gateway device communicate through a first network, and the gateway device and the sub-device communicate through a second network, and the first network and the second network are communication networks with different protocols respectively.
  • the control method of the heterogeneous network device specifically includes the following steps:
  • S101 Generate a sub-device control request, where the sub-device control request includes an access identifier, a service identifier, and an instance identifier of the sub-device in the first network.
  • the terminal device can obtain relevant information of the sub-device, and control the sub-device through the gateway device.
  • a sub-device control request can be generated according to the user's operation or a preset command.
  • the request needs to include at least the access identifier, service identifier and instance identifier of the sub-device in the first network.
  • a service refers to an independent functional group, which can be reused in different types of application terminals, and a service identifier is a unique identifier assigned to the service, which is used when controlling sub-devices .
  • the same device can have the same two services.
  • Instance identifiers are used to identify methods, properties or events within a service.
  • a property is the smallest unit that describes the state and function of a terminal device (or an application terminal), and an action is used to implement a specific function of a service, which cannot be accomplished by reading and writing a single property.
  • An event is a specific information attribute identifier that the terminal device actively reports to the hub.
  • the above operations, attributes and events actually refer to different capabilities, and an instance identifier (iid) can be set as a unique identifier for different specific instances. That is, the above instance identifier is the identifier of any operation that needs to be controlled, or any attribute, or any event.
  • the terminal device at least needs to obtain the device capability set of the sub-device in the first network, and then according to the device capability set of the sub-device in the first network The capability set is used to generate the sub-device control request.
  • the device capability set includes basic information and capability information of the sub-device, and the capability information includes attributes, methods and events.
  • the basic information of the sub-device includes the access identifier. It can also include basic product information such as the device type, manufacturer, and model of the sub-device.
  • S102 Send a sub-device control request to the gateway device.
  • the terminal device After the terminal device generates the sub-device control request, it sends the sub-device control request to the gateway device through the first network.
  • the gateway device receives the sub-device control request sent by the terminal device, and the sub-device control request includes the access ID, service ID and instance ID of the sub-device in the first network; the instance ID is any of the methods, attributes and events. An indicator of ability.
  • S103 Send an operation request to the sub-device according to the sub-device control request.
  • the gateway device may determine the product identification of the sub-device according to the access identification in the first network included therein. At the same time, the gateway device can determine the operation content that actually needs to control the execution of the sub-device according to the service identifier and the instance identifier, and further generate an operation request.
  • the gateway device After generating the operation request, the gateway device sends the operation request to the sub-device through the second network, so as to realize the control of the heterogeneous network device.
  • the sub-device executes the corresponding operation according to the operation request, and returns a response message to the gateway device through the second network after the execution is completed.
  • the gateway device can convert the response message into a response message in the first network, and return the response message to the terminal device through the first network.
  • a gateway device with heterogeneous gateway capability is used to establish a connection between a terminal device and sub-devices that communicate in the first network and the second network respectively.
  • the gateway device can send a sub-device control request to the gateway device, and the gateway device can send an operation request to the sub-device according to the sub-device control request to control the sub-device, so as to realize the control of the device without network access, and provide A technical solution for heterogeneous network device control.
  • FIG. 4 is a schematic flowchart of Embodiment 2 of a method for controlling a heterogeneous network device provided by an embodiment of the present application.
  • this solution includes a discovery gateway device and scanning sub-devices in the method for controlling a heterogeneous network device. , and three processes of configuring sub-devices, which can be executed continuously. It can also be executed separately under the trigger of certain conditions, which is not limited in this solution.
  • control method for a heterogeneous network device includes the following steps:
  • the terminal device determines the gateway device.
  • a suitable gateway device which can be implemented in at least the following ways:
  • a device with gateway capability is determined as the gateway device through a broadcast message, and the broadcast message is used to discover a device with gateway capability in the first network.
  • the terminal device sends a broadcast message, and then determines a device with gateway capability as the gateway device according to the received response message.
  • the terminal device can send a broadcast message locally through an installed application program (application, APP), where the broadcast message is used to discover a gateway-capable device existing in the local network, that is, a gateway device.
  • application application
  • any device in the network After any device in the network receives the broadcast message, it determines whether it has the gateway capability, and determines that the gateway device with the gateway capability returns a response to the terminal device.
  • the terminal device can determine the gateway device according to the received response. The number can be one or more.
  • the capability of the device registered in the cloud service device is obtained from the cloud service device; according to the capabilities of the multiple devices, a device with gateway capability is determined as the gateway device.
  • the terminal device can interact with the cloud, and each device is registered in the cloud after accessing the network, that is to say, the cloud includes the capability information of each gateway device, etc., and the terminal device can be obtained from the cloud service device. The ability to access different devices, thereby determining the gateway device.
  • the terminal device can obtain the above information from the cloud through the installed APP. After each new device is registered to the cloud platform, the APP device can obtain the capabilities of the device from the cloud.
  • the terminal device can obtain multiple devices in the current network by sending a broadcast message, and then directly establish a connection with each target device, obtain the capability information of the device through unicast, and then discover the gateway of the target device.
  • S202 Send a scan sub-device request to the gateway device.
  • the terminal device needs to discover the sub-devices through the gateway device, that is, scan the sub-devices.
  • the terminal device sends a scanning sub-device request for acquiring the product identifier of the sub-device to be connected to the network to the gateway through the first network.
  • the scanning sub-device request sent by the terminal device is received.
  • the terminal device can send a scan sub-device request to the gateway device. If there are multiple gateway devices in the network, the terminal device needs to call All gateway devices initiate a request to scan the heterogeneous network devices to be accessed.
  • S203 According to the request for scanning the sub-device, call the sub-device scanning function to scan the sub-device, and obtain the product identifier of the sub-device and the signal strength of the sub-device.
  • the gateway device invokes the device scanning function to scan, and can obtain product identifiers of sub-devices that have not yet been connected, and can detect the signal strength of each sub-device.
  • the terminal device sends a scan subdevice request to the gateway device through the installed APP; calls the scanSubdevices action of the gateway device.
  • the method is identified by its Service ID and iid (method identifier).
  • the gateway device will initiate a scanning process. During this process, you can find the product identifiers of the sub-devices that are not added to the heterogeneous network where the gateway is located, and the signal strength (Received Signal Strength Indication, rssi) obtained by the device to be connected to the heterogeneous network. .
  • the terminal device invokes the sub-device scanning function of multiple gateway devices, the product identifiers and corresponding rssi values of the sub-devices to be accessed and different gateway devices are acquired.
  • S204 Receive the product identifier of the sub-device and the signal strength of the sub-device returned by the gateway device.
  • all gateway devices return the scanned product identification and signal strength of the sub-devices to the terminal device to complete the scanning process of the sub-devices.
  • S205 Send a sub-device authentication request to the gateway device.
  • the terminal device After the terminal device obtains the product identifier and signal strength of the sub-device returned by the gateway device, based on the product identifier of the sub-device and the signal strength of the sub-device, the terminal device sends to the gateway device a message indicating that the gateway device is paired with The sub-device makes a request for authentication.
  • the terminal device calls multiple gateway devices to scan sub-devices, that is, the number of gateway devices is determined to be multiple, then according to the product identifiers of the sub-devices, it will be obtained from the multiple gateway devices.
  • the received gateway device with the highest signal strength sends the sub-device authentication request.
  • S206 Authenticate and access the sub-device according to the sub-device authentication request, and acquire the access identifier in the first network allocated by the cloud service device to the sub-device.
  • the gateway device After receiving the sub-device authentication request, the gateway device verifies the sub-device based on the product identification of the sub-device and other basic information to confirm the legitimacy of the sub-device, and the sub-device also authenticates the cloud. , to complete the verification process of both parties, and the sub-device accesses the gateway device through another protocol, that is, the second network.
  • the terminal device can select the gateway device with the highest rssi to execute the authentication sub-device setupSubdevice action (if there is only one gateway device, directly select the gateway device).
  • the Gateway device After receiving the above request, the Gateway device firstly connects the to-be-connected sub-device in the heterogeneous network to the heterogeneous network to which the Gateway belongs. Then, the authentication between the sub-device and the access network is initiated, including sub-device authentication and cloud authentication. In total, the authentication process is that the cloud confirms that the device is legal, and the device confirms that the cloud is legal. After the authentication is completed, the cloud accessing the network (that is, the first network) will assign an access identifier to the sub-device, and the access identifier is an identifier of the sub-device in the network to be accessed (the first network).
  • the cloud that is, the cloud service device
  • the gateway device interacts with the gateway device, and receives the sub-device authentication request sent by the gateway device.
  • the sub-device authentication request includes the identification and identity information of the sub-device; the sub-device is authenticated according to the sub-device authentication request.
  • S207 Send the access identifier of the sub-device in the first network to the terminal device.
  • This step is an optional step.
  • the gateway device may also send the obtained access identifier of the sub-device in the first network to the terminal device, and the terminal device receives the sent by the gateway device. the access identifier of the sub-device in the first network.
  • the gateway device will return the access identifier of the sub-device in the first network obtained from the cloud to the APP of the terminal device through the first network.
  • the APP can use the access identifier to confirm whether the sub-device is successfully connected.
  • the gateway device After completing the configuration and access process of the sub-device, the gateway device needs to generate a virtual device on the gateway device for the sub-device, and the terminal device can indirectly control the sub-device by operating the virtual device, that is, the virtual device can control the first network and the second network. Messages are converted between networks. Or the gateway device generates a device capability set (profile) that can be identified by the first network for the sub-device, that is, a capability description file, and the profile includes the basic information and capability information of the sub-device, specifically, the basic information of the sub-device.
  • the information includes an access identifier in the first network, at least one of information such as manufacturer, product category, and model, and the capability information includes attributes, methods, events, and the like. The process is described below through specific implementations.
  • FIG. 5 is a schematic flowchart of Embodiment 3 of a method for controlling a heterogeneous network device provided by an embodiment of the present application.
  • the subsequent terminal device controls the sub-device, it needs to obtain information about the location of the sub-device in the first network.
  • the capability set in the device capability set can be obtained by the terminal device from the gateway device or directly interacted with the cloud. Therefore, this embodiment briefly introduces the process after the sub-device is connected, including acquiring the capability set of the sub-device in the first network, and creating and updating the status of the shadow device.
  • control method of the heterogeneous network device further includes the following steps:
  • S301 Generate a device capability set of the sub-device in the first network according to the device type of the sub-device and the device capability set in the second network.
  • the gateway device has two ways to obtain the device capability set of the sub-device in the first network device.
  • the gateway device can obtain the device capability set of the sub-device according to the device type of the sub-device and the device capability of the sub-device in the second network. set and other information, and locally generate the device capability set in the first network.
  • the gateway device can complete the generation of the capability set of the sub-device in the current protocol, that is, the sub-device in the first network, according to the device type of the sub-device.
  • the current stage mainly involves ZigBee devices and Bluetooth (bluetooth, BT) devices, and the matching of ZigBee devices or BT devices with the device types in the first building is realized by generating the device capability set in the first network.
  • the service identifier belonging to the first network then determining the service identifier belonging to the first network, and correspondingly generating unique identifiers such as specific attributes, events and methods to obtain capability information.
  • the relevant content may be sent to the cloud, and the cloud will generate the device capability set, specifically as steps S302-S304.
  • S302 Send the device type of the sub-device and the device capability set of the sub-device in the second network to the cloud service device.
  • the gateway device sends a capability set generation request to the cloud service device, and the cloud service device receives the capability set generation request sent by the gateway device, where the capability set generation request includes the device type of the sub-device and the The device capability set of the sub-device in the second network.
  • S303 Generate a device capability set in the first network for the sub-device according to the capability set generation request.
  • the cloud device In this step, the cloud device generates a corresponding device capability set in the first network according to the received information and the access identifier of the sub-device in the first network and the capability information in the second network.
  • the device capability set of the device in the first network includes basic information and capability information of the sub-device, the capability information includes attributes, methods and events, and the basic information of the sub-device includes access in the first network logo.
  • S304 Send the device capability set of the sub-device in the first network to the gateway device.
  • the cloud server device returns the generated device capability set of the sub-device in the first network to the gateway device, and the gateway device receives the device capability of the sub-device in the first network returned by the cloud service device set.
  • the gateway device may also generate a virtual device locally according to the device capability set of the sub-device in the first network.
  • the Gateway device automatically generates a device capability set (profile) identifiable by the first network locally according to the device type of the sub-device; the newly generated profile should include the device type of the sub-device , contains the service identifier and the instance identifier in the service, and assigns a unique instance identifier to each attribute, method, and event.
  • profile device capability set
  • the Gateway device obtains from the cloud a device capability set recognizable by the sub-device on the first network and an access identifier of the sub-device.
  • the request needs to carry the device type of the sub-device and the device capability set (profile) identifiable by the sub-device on the second network; the cloud generates a corresponding profile identifiable by the first network according to the acquired profile identifiable by the second network and Send to gateway.
  • Gateway can generate a virtual device on it according to the received information. After the cloud platform generates a new profile, it can also generate a shadow device according to automatically generating a shadow device or waiting for a command from the Gateway, and the shadow device is used as the mapping of the child device in the first network.
  • Shadow device creation and status update process
  • S401 Generate a shadow device mapped by the sub-device in the first network according to the device capability set of the sub-device in the first network.
  • S403 Send the current state of the sub-device to the cloud service device.
  • the current state of the sub-device sent by the gateway device is received.
  • the cloud service device may locally generate a mapping of the sub-device in the first network, that is, the shadow device.
  • the gateway device By interacting with the sub-device through the second network, the current state of the sub-device can be acquired and sent to the cloud service device to update the state of the shadow device.
  • the gateway device For example, if the gateway device generates the device capability set of the sub-device in the first network locally, a request to create a shadow device is sent to the specific interface of the cloud; the request carries the generated device capability of the sub-device in the first network.
  • Set profile
  • the profile contains the basic information of the device and the capability information (methods, attributes, events) of the device).
  • the Gateway device obtains the current state of the child device and synchronizes the current state with the shadow device. When doing a full update, you need to set the full update flag to true; when the state changes later, you need to turn off the full update flag.
  • both the gateway device and the cloud service device have acquired the device capability set of the sub-device in the first network.
  • the terminal device controls the sub-device, it can obtain the sub-device from the gateway device or the cloud service device.
  • a set of device capabilities in the first network is
  • FIG. 6 is a schematic flowchart of Embodiment 4 of a method for controlling heterogeneous network devices provided by an embodiment of the present application.
  • the terminal device after completing the access of sub-devices, the terminal device also needs to After acquiring several other pieces of information, the gateway device can control the sub-devices.
  • the terminal device mainly includes several processes of acquiring the sub-device list, acquiring the device capability set, and sub-device control.
  • control method for a heterogeneous network device includes the following steps:
  • S501 Send a list acquisition request to the gateway device.
  • the list acquisition request sent by the terminal device to the gateway device is used to acquire the device list of the heterogeneous network bridged by the gateway device.
  • S502 Acquire a list of sub-devices according to the list acquisition request.
  • the gateway device After the gateway device receives the list acquisition request, it will have accessed the gateway device through a network different from the first network, and has registered in the cloud to obtain one or more sub-devices with access identifiers in the first network device Summarize to obtain a sub-device list, where the sub-device list includes at least one access identifier of a sub-device that belongs to a different network from the terminal device.
  • S503 Send the sub-device list to the terminal device.
  • the gateway device After the gateway device obtains the list of sub-devices, it sends it to the terminal device through a network.
  • the terminal device controls the sub-devices, it needs to interact with the gateway to obtain the sub-device list, so that the user can select the sub-device to be controlled when controlling or setting a control command.
  • an APP installed on a terminal device can obtain a list of heterogeneous network devices that it is responsible for bridging from the Gateway device, that is, a list of sub-devices.
  • Sub-devices are heterogeneous network devices that the Gateway device is responsible for bridging. Specifically, it can be implemented by calling the method of getSubDeviceList.
  • S504 Send a device capability set acquisition request to the gateway device.
  • the device capability set acquisition request is used to acquire the device capability set of the sub-device in the first network.
  • S505 Acquire the device capability set of the sub-device in the first network according to the device capability set acquisition request.
  • the gateway device receives the device capability set acquisition request, if the gateway device has obtained the device capability set of the sub-device in the first network device in advance, it can directly acquire the sub-device from the locally stored content A set of device capabilities in the first network.
  • the device capability set of the sub-device in the first network can also be acquired through the two methods provided in the embodiment shown in FIG. 5.
  • the two methods of acquiring the device capability set in FIG. The execution is performed before the acquisition of the device capability set, but in a specific implementation, it is not limited to be executed when the terminal device needs to acquire. There is no restriction on this program.
  • the device capability set of the sub-device in the first network includes basic information and capability information of the sub-device, and the capability information includes attributes, methods and events.
  • the information includes an access identifier in the first network.
  • S506 Send the device capability set of the sub-device in the first network to the terminal device.
  • the gateway device returns the acquired device capability set to the terminal device through the first network, and the terminal device receives the device capability set of the sub-device to be controlled in the first network.
  • the terminal device can interact with the gateway to obtain the device capability set of the sub-device in the first network, so that the user can select the sub-device to be controlled when controlling or setting a control command.
  • the APP on the terminal device can also send a request for acquiring the capability set of the heterogeneous network device to the Gateway device.
  • the Gateway device responds to the APP according to the device capability set (Profile) that can be identified by the first network obtained by the steps disclosed in the foregoing embodiments.
  • Profile includes: basic information of sub-devices (access ID, manufacturer, etc.) and capability information (attributes, methods, events).
  • S507 Send a sub-device control request to the gateway device.
  • S508 Send an operation request to the sub-device according to the sub-device control request
  • control process of the sub-device is similar to the specific implementation process in the embodiment shown in FIG. 3 , and details are not repeated here.
  • the virtual device in the gateway device can convert the received sub-device control request into an operation request for the sub-device, and send the operation request to the sub-device.
  • the sub-device executes the corresponding operation according to the operation request, and returns a response message to the gateway device after the execution is completed.
  • the virtual device in the gateway device can convert the response message into a response message in the first network, and return the response message to the terminal device through the first network.
  • control methods for heterogeneous network devices involve the terminal device discovering the gateway device, sub-device scanning, sub-device access authentication, the terminal device acquiring the sub-device list and the device capability set, and The process in which the terminal device controls the sub-devices in the heterogeneous network through the gateway device.
  • a connection between a terminal device and a sub-device communicating in the first network and the second network is established through a gateway device with heterogeneous gateway capabilities.
  • the terminal device needs to control the sub-device, it can pass the gateway device to the gateway device.
  • a sub-device control request is sent, and the gateway device sends an operation request to the sub-device according to the sub-device control request, so as to control the sub-device, realize the control of the device without network access, and provide a technical solution for heterogeneous network device control. Further, a solution for upgrading the device under the scenario of cross-platform access of the device is also provided.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application.
  • the control apparatus 10 for heterogeneous network equipment includes: a processing module 11 , a sending module 12 and a receiving module 13;
  • the processing module 11 is configured to generate a sub-device control request, where the sub-device control request includes an access identifier, a service identifier and an instance identifier of the sub-device in the first network;
  • the sending module 12 is configured to send the sub-device control request to the gateway device; wherein, the gateway device communicates with the control device of the heterogeneous network device through the first network, and the gateway device communicates with the sub-device.
  • the devices communicate over the second network.
  • the instance identifier is used to identify methods, properties or events within a service.
  • processing module 11 is specifically configured to:
  • the device capability set includes basic information and capability information of the sub-device, the capability information includes attributes, methods and events, and the basic information of the sub-device includes the access identifier.
  • control apparatus 10 for heterogeneous network devices
  • the sending module 12 is further configured to send a list acquisition request to the gateway device; the list acquisition request is used to acquire the device list of the heterogeneous network bridged by the gateway device;
  • the receiving module 13 is further configured to receive the sub-device list sent by the gateway device, where the sub-device list includes at least one access identifier of a sub-device that belongs to a different network from the control apparatus of the heterogeneous network device. .
  • control apparatus 10 for heterogeneous network devices
  • the sending module 12 is further configured to send a device capability set acquisition request to the gateway device, where the device capability set acquisition request is used to acquire the device capability set of the sub-device in the first network;
  • the receiving module 13 is further configured to receive the device capability set of the sub-device in the first network sent by the gateway device.
  • control apparatus 10 for heterogeneous network devices
  • the sending module 12 is further configured to send a scanning sub-device request to the gateway device, where the scanning sub-device request is used to obtain the product identifier of the sub-device to be connected to the network;
  • the receiving module 13 is further configured to receive the product identification of the sub-device and the signal strength of the sub-device returned by the gateway device;
  • the sending module 12 is further configured to send a sub-device authentication request to the gateway device according to the identifier of the sub-device and the signal strength of the sub-device, where the sub-device authentication request is used to instruct the gateway device to The sub-device is authenticated.
  • the receiving module 13 is further configured to receive the access identifier of the sub-device in the first network sent by the gateway device.
  • control apparatus 10 for heterogeneous network devices
  • the processing module 11 is further configured to determine a device with gateway capability as the gateway device through a broadcast message, and the broadcast message is used to discover the device with gateway capability in the first network;
  • the processing module 11 is further configured to acquire the capability of the device registered in the cloud service device from the cloud service device;
  • the processing module 11 is further configured to determine a device with gateway capability as the gateway device according to the capabilities of the multiple devices.
  • the sending module 12 is specifically configured to:
  • the sub-device authentication request is sent to the gateway device with the highest signal strength obtained from the multiple gateway devices.
  • the apparatus for controlling heterogeneous network equipment provided in any of the foregoing embodiments is used to execute the technical solution on the terminal device (APP) side in any of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • APP terminal device
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application.
  • the control apparatus 20 for heterogeneous network equipment includes: a processing module 21 , a receiving module 22 and a sending module twenty three;
  • the receiving module 22 is configured to receive a sub-device control request sent by the terminal device, where the sub-device control request includes an access identifier, a service identifier and an instance identifier of the sub-device in the first network;
  • the sending module 23 is configured to send an operation request to the sub-device according to the sub-device control request; wherein, the control apparatus of the heterogeneous network device communicates with the terminal device through the first network, and the The control apparatus of the heterogeneous network device communicates with the sub-device through the second network.
  • the instance identifier is used to identify methods, properties or events within a service.
  • the receiving module 22 is further configured to receive a list acquisition request sent by the terminal device, where the list acquisition request is used to acquire all The device list of the heterogeneous network bridged by the gateway device;
  • the processing module 21 is configured to obtain a list of sub-devices according to the list obtaining request, where the list of sub-devices includes at least one access of sub-devices that belong to a different network from the terminal device that is authenticated and accessed by the gateway device. identification;
  • the sending module 23 is further configured to send the sub-device list to the terminal device.
  • control apparatus 20 for heterogeneous network devices In another specific implementation manner of the control apparatus 20 for heterogeneous network devices,
  • the receiving module 22 is further configured to receive a device capability set acquisition request sent by the terminal device, where the device capability set acquisition request is used to acquire the device capability set of the sub-device in the first network;
  • the processing module 21 is further configured to acquire the device capability set of the sub-device in the first network according to the device capability set acquisition request, where the device capability set includes basic information and capability information of the sub-device, The capability information includes attributes, methods and events, and the basic information of the sub-device includes an access identifier in the first network;
  • the sending module 23 is further configured to send the device capability set of the sub-device in the first network to the terminal device.
  • control apparatus 20 for heterogeneous network devices In another specific implementation manner of the control apparatus 20 for heterogeneous network devices,
  • the receiving module 22 is further configured to receive a scan sub-device request sent by the terminal device;
  • the processing module 21 is further configured to call the sub-device scanning function to scan the sub-device according to the scanning sub-device request, and obtain the product identification of the sub-device and the signal strength of the sub-device;
  • the sending module 23 is further configured to send the product identification of the sub-device and the signal strength of the sub-device to the terminal device;
  • the receiving module 22 is further configured to receive a sub-device authentication request sent by the terminal device;
  • the processing module 21 is further configured to authenticate and access the sub-device according to the sub-device authentication request, and obtain the access identifier in the first network allocated by the cloud service device to the sub-device.
  • the sending module 23 is further configured to send the access identifier of the sub-device in the first network to the Terminal Equipment.
  • the processing module 21 is specifically configured to:
  • a device capability set of the sub-device in the first network is generated according to the device type of the sub-device and the device capability set in the second network.
  • the sending module 23 is further configured to send the device type of the sub-device and the location of the sub-device to the cloud service device. a device capability set in the second network;
  • the receiving module 22 is further configured to receive a device capability set of the sub-device in the first network returned by the cloud service device.
  • the processing module 21 is further configured to generate a virtual device according to a device capability set of the sub-device in the first network.
  • the receiving module 22 is further configured to acquire the current state of the sub-device
  • the sending module 23 is further configured to send the current state of the sub-device to the cloud service device.
  • control apparatus for a heterogeneous network device provided by any of the foregoing embodiments is used to execute the technical solution on the gateway device (gateway) side in any of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a control apparatus for heterogeneous network equipment provided by an embodiment of the present application.
  • the control apparatus 30 for heterogeneous network equipment includes:
  • a receiving module 31 configured to receive a sub-device authentication request sent by the gateway device, where the sub-device authentication request includes the identification and identity information of the sub-device;
  • a processing module 32 configured to authenticate the sub-device according to the sub-device authentication request, and generate an access identifier in the first network for the sub-device after the authentication is passed;
  • the sending module 33 is configured to send the access identifier of the sub-device in the first network to the gateway device.
  • the receiving module 31 is further configured to receive a capability set generation request sent by the gateway device, where the capability set generation request includes the device type of the sub-device and the sub-device in the second network. device capability set;
  • the processing module 32 is further configured to generate a request according to the capability set, and generate a device capability set in the first network for the sub-device, where the device capability set includes basic information and capability information of the sub-device , the capability information includes attributes, methods and events, and the basic information of the sub-device includes an access identifier in the first network;
  • the sending module 33 is further configured to send the device capability set of the sub-device in the first network to the gateway device.
  • the processing module 32 is further configured to generate the said sub-device according to the device capability set of the sub-device in the first network.
  • the shadow device to which the child device is mapped in the first network is further configured to generate the said sub-device according to the device capability set of the sub-device in the first network.
  • the receiving module 31 is further configured to receive the current state of the sub-device sent by the gateway device;
  • the processing module 32 is further configured to update the state of the shadow device according to the current state of the sub-device.
  • control device for a heterogeneous network device provided by any of the foregoing embodiments is used to execute the technical solution on the cloud service device (cloud) side in any of the foregoing method embodiments, and its implementation principles and technical effects are similar, and details are not repeated here. .
  • FIG. 10 is a schematic structural diagram of a terminal device provided in this embodiment. As shown in FIG. 10 , the terminal device 100 includes:
  • processor 111 memory 112, receiver 113 and transmitter 114;
  • the memory 112 stores computer-executed instructions
  • the processor 111 executes the computer-executed instructions stored in the memory 112, so that the processor 111 executes the technical solutions on the terminal device side in any of the foregoing method embodiments.
  • FIG. 10 is a simple design of a terminal device.
  • the embodiments of the present application do not limit the number of processors and memories in the terminal device.
  • FIG. 10 only uses 1 as an example for description.
  • the memory, the processor, the receiver, and the transmitter may be connected through a bus, or may be connected in other ways.
  • the memory can be integrated inside the processor.
  • the terminal equipment provided in this application also includes other devices such as a communication interface, which is not limited in this solution.
  • FIG. 11 is a schematic structural diagram of a gateway device provided in this embodiment. As shown in FIG. 11 , the gateway device 200 includes:
  • processor 211 memory 212, receiver 213 and transmitter 214;
  • the memory 212 stores computer-executed instructions
  • the processor 211 executes the computer-executed instructions stored in the memory 212, so that the processor 211 executes the technical solution on the gateway device side in any of the foregoing method embodiments.
  • FIG. 11 is a simple design of a gateway device.
  • the embodiments of the present application do not limit the number of processors and memories in the gateway device.
  • FIG. 11 only uses 1 as an example for description.
  • the memory, the processor, the receiver, and the transmitter may be connected through a bus, or may be connected in other ways.
  • the memory can be integrated inside the processor.
  • the gateway device provided in this application also includes other devices such as a communication interface, which is not limited in this solution.
  • FIG. 12 is a schematic structural diagram of a cloud service device provided in this embodiment. As shown in FIG. 12 , the cloud service device 300 includes:
  • the memory 312 stores computer-executable instructions
  • the processor 311 executes the computer-executed instructions stored in the memory 312, so that the processor 311 executes the technical solution on the cloud service device side in any of the foregoing method embodiments.
  • FIG. 12 is a simple design of a gateway device. This embodiment of the present application does not limit the number of processors and memories in the cloud service device. FIG. 12 only uses 1 as an example for description.
  • the memory, the processor, the receiver, and the transmitter may be connected through a bus, or may be connected in other ways.
  • the memory can be integrated inside the processor.
  • the cloud service device provided by this application also includes other devices such as a communication interface, which is not limited in this solution.
  • the processor may be a chip.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the terminal in any of the foregoing method embodiments The technical solution of the equipment.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the gateway in any of the foregoing method embodiments The technical solution of the equipment.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, are used to implement the cloud in any of the foregoing method embodiments.
  • An embodiment of the present application further provides a chip, including: a processing module and a communication interface, where the processing module is used to implement the solution of the terminal device in any of the foregoing method embodiments.
  • An embodiment of the present application further provides a chip, including: a processing module and a communication interface, where the processing module is used to implement the solution of the gateway device in any of the foregoing method embodiments.
  • An embodiment of the present application further provides a chip, including: a processing module and a communication interface, where the processing module is used to implement the solution of the cloud service device in any of the foregoing method embodiments.
  • the chip also includes a storage module (such as a memory), the storage module is used for storing instructions, the processing module is used for executing the instructions stored in the storage module, and the instructions stored in the storage module are stored.
  • the execution causes the processing module to execute the technical solutions of the aforementioned respective devices.
  • the embodiment of the present application further provides a program, which is used to implement the solution of the terminal device in any of the foregoing method embodiments when the program is executed by the processor.
  • the embodiments of the present application further provide a program, which is used to implement the solution of the gateway device in any of the foregoing method embodiments when the program is executed by the processor.
  • the embodiment of the present application further provides a program, which is used to implement the solution of the cloud service device in any of the foregoing method embodiments when the program is executed by the processor.
  • Embodiments of the present application further provide a computer program product, including a computer program, which implements the technical solutions of the terminal device in the foregoing method embodiments when the computer program is executed by a processor.
  • Embodiments of the present application further provide a computer program product, including a computer program, which implements the technical solutions of the gateway device in the foregoing method embodiments when the computer program is executed by a processor.
  • Embodiments of the present application further provide a computer program product, including a computer program, which implements the technical solutions of the cloud service device in the foregoing method embodiments when the computer program is executed by a processor.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules may be in electrical, mechanical or other forms.
  • the processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor). , referred to as: DSP), application specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) and so on.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the aforementioned program can be stored in a readable memory.
  • the steps including the above method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated as: ROM), RAM, flash memory, hard disk, Solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention concerne un procédé et un appareil de commande de dispositifs de réseaux hétérogènes, un dispositif et un support de stockage. Dans la présente solution, un dispositif de passerelle comportant une capacité de passerelle hétérogène établit une connexion entre un dispositif terminal et un sous-dispositif qui mettent en oeuvre une communication dans un premier réseau et un second réseau, respectivement; lorsqu'il est nécessaire de commander le sous-dispositif, le dispositif terminal peut envoyer une demande de commande de sous-dispositif au dispositif de passerelle, et le dispositif de passerelle envoie une demande de fonctionnement au sous-dispositif selon la demande de commande de sous-dispositif pour commander le sous-dispositif, afin d'obtenir une commande de dispositifs connectés à différents réseaux, et de fournir une solution technique pour commander des dispositifs de réseaux hétérogènes.
PCT/CN2020/130938 2020-11-23 2020-11-23 Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage WO2022104806A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080106374.5A CN116349269A (zh) 2020-11-23 2020-11-23 异构网络设备的控制方法、装置、设备及存储介质
PCT/CN2020/130938 WO2022104806A1 (fr) 2020-11-23 2020-11-23 Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/130938 WO2022104806A1 (fr) 2020-11-23 2020-11-23 Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage

Publications (1)

Publication Number Publication Date
WO2022104806A1 true WO2022104806A1 (fr) 2022-05-27

Family

ID=81708249

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/130938 WO2022104806A1 (fr) 2020-11-23 2020-11-23 Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage

Country Status (2)

Country Link
CN (1) CN116349269A (fr)
WO (1) WO2022104806A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212574A1 (en) * 2012-02-14 2013-08-15 Microsoft Corporation Sub-Device Discovery and Management
CN108337677A (zh) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 网络鉴权方法及装置
CN108769009A (zh) * 2018-05-28 2018-11-06 深圳和而泰数据资源与云技术有限公司 数据通信方法、智能设备及智能网关

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212574A1 (en) * 2012-02-14 2013-08-15 Microsoft Corporation Sub-Device Discovery and Management
CN108337677A (zh) * 2017-01-19 2018-07-27 阿里巴巴集团控股有限公司 网络鉴权方法及装置
CN108769009A (zh) * 2018-05-28 2018-11-06 深圳和而泰数据资源与云技术有限公司 数据通信方法、智能设备及智能网关

Also Published As

Publication number Publication date
CN116349269A (zh) 2023-06-27

Similar Documents

Publication Publication Date Title
US11979274B2 (en) Network management method and apparatus
CN107592367B (zh) 家电设备的资源共享方法、装置和计算机可读存储介质
CN110049012B (zh) 一种路由设备的操作方法、路由设备和终端设备
US20230040580A1 (en) Binding method and system for device network configuration, and mobile terminal and storage medium
TWI712295B (zh) 使用者終端和設備的綁定方法、裝置和系統
CN105684520B (zh) 用于建立无线局域网通信连接的方法及其电子设备
US20130336161A1 (en) Terminal and method for p2p connection in wifi network
CN110740460A (zh) 一种设备的入网方法、装置、网络设备及存储介质
WO2018196468A1 (fr) Procédé, dispositif et terminal permettant de réaliser un service de données
WO2016127612A1 (fr) Procédé et dispositif de gestion de surveillance
CN114513379A (zh) 一种智能家居设备的绑定方法和终端
WO2016086544A1 (fr) Procédé de configuration d'interface réseau et appareil pour dispositif de réseau et support d'informations
CN113196721B (zh) 物联网设备的发现方法、装置及终端设备
CN105050028B (zh) 一种控制家电设备的方法及装置
CN108322557B (zh) 一种应用设备发现方法、装置、计算机设备及存储介质
WO2022104806A1 (fr) Procédé et appareil de commande de dispositifs de réseaux hétérogènes, dispositif et support de stockage
CN112333062A (zh) 家居设备的控制方法、控制装置及计算机可读存储介质
CN108712513A (zh) 网络地址设置方法、装置、终端设备及存储介质
CN108989443B (zh) 推送服务器向移动终端推送消息的方法及系统
CN113630298A (zh) 智能控制系统、方法和装置
WO2022116191A1 (fr) Procédé et appareil d'établissement de connexion, et dispositif et support de stockage
WO2022087796A1 (fr) Procédé et appareil d'abonnement à un attribut de dispositif zigbee, et dispositif
WO2023165359A1 (fr) Procédé de connexion p2p wi-fi, appareil et système
US10404652B2 (en) Communication device, communication method, and program
CN117201577B (zh) 基于pisa的跨平台api和spi的通讯方法和系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20962097

Country of ref document: EP

Kind code of ref document: A1