WO2023116032A1 - Networking method and device based on short-distance communication, and storage medium - Google Patents

Networking method and device based on short-distance communication, and storage medium Download PDF

Info

Publication number
WO2023116032A1
WO2023116032A1 PCT/CN2022/115894 CN2022115894W WO2023116032A1 WO 2023116032 A1 WO2023116032 A1 WO 2023116032A1 CN 2022115894 W CN2022115894 W CN 2022115894W WO 2023116032 A1 WO2023116032 A1 WO 2023116032A1
Authority
WO
WIPO (PCT)
Prior art keywords
private key
management device
communication
short
protocol
Prior art date
Application number
PCT/CN2022/115894
Other languages
French (fr)
Chinese (zh)
Inventor
许梅
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023116032A1 publication Critical patent/WO2023116032A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/041Key generation or derivation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/47Security arrangements using identity modules using near field communication [NFC] or radio frequency identification [RFID] modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present disclosure relates to the technical field of communication, and in particular to a short-distance communication-based networking method, device, and storage medium.
  • short-distance communication technologies are widely used in the Internet of Things (for example, smart community networks, smart home networks, etc.).
  • each device in the smart home network communicates by using the short-distance communication technology, which enables users to reasonably configure each device in the smart home network, and improves the use efficiency of the devices in the smart home network.
  • multiple devices in the smart community network and/or smart home network may be devices produced by different manufacturers, or devices of different models produced by the same manufacturer, making effective communication between multiple devices impossible, reducing communication efficiency.
  • the present disclosure provides a networking method, device and storage medium based on short-distance communication.
  • An embodiment of the present disclosure provides a networking method based on short-distance communication, which is applied to a management device.
  • the method includes: when at least one cooperative device is detected within a preset range, generating a private key according to the attribute information of the management device key, wherein the coordination device has the function of identifying the private key; and establishes a communication network with at least one coordination device according to the private key and a preset short-distance communication protocol.
  • An embodiment of the present disclosure provides a networking method based on short-distance communication, which is applied to access devices.
  • the method includes: obtaining a private key generated by the management device based on its attribute information, wherein the management device is used to communicate with the At least one coordination device establishes a communication network, and the coordination device has the function of identifying a private key; establishes a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
  • An embodiment of the present disclosure provides a management device, including: a generation module configured to generate a private key according to attribute information of the management device when at least one coordinated device is detected within a preset range, wherein the coordinated device It has the function of identifying the private key; the first establishment module is configured to establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
  • An embodiment of the present disclosure provides an access device, including: an acquisition module configured to acquire a private key generated by a management device based on its attribute information, wherein the management device is used to establish communication with at least one cooperative device within a preset range In the network, the cooperative device has the function of identifying the private key; the second establishment module is configured to establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
  • An embodiment of the present disclosure provides an electronic device, including: one or more processors; memory, on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, one or more Each processor implements any networking method based on short-distance communication in the embodiments of the present disclosure.
  • An embodiment of the present disclosure provides a readable storage medium, where a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, any networking method based on short-distance communication in the embodiments of the present disclosure is implemented.
  • Fig. 1 shows a schematic flowchart of a short-distance communication-based networking method provided by an embodiment of the present disclosure.
  • Fig. 2 shows a schematic flowchart of a networking method based on short-distance communication provided by another embodiment of the present disclosure.
  • FIG. 3 shows a schematic diagram of information exchange between a client supporting the CSIP protocol and a server in an embodiment of the present disclosure.
  • Fig. 4 shows a schematic diagram of a method for detecting coordinated devices in an embodiment of the present disclosure.
  • Fig. 5 shows a schematic flowchart of a short-distance communication-based networking method provided by yet another embodiment of the present disclosure.
  • Fig. 6 shows a block diagram of a management device provided by an embodiment of the present disclosure.
  • Fig. 7 shows a block diagram of an access device provided by an embodiment of the present disclosure.
  • FIG. 8 shows a block diagram of a short-distance communication-based networking system provided by an embodiment of the present disclosure.
  • FIG. 9 shows a schematic flowchart of a working method of a networking system based on short-distance communication provided by an embodiment of the present disclosure.
  • Fig. 10 shows a schematic diagram of a setting interface of a management device provided by an embodiment of the present disclosure.
  • Fig. 11 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the short-distance communication-based networking method and device according to an embodiment of the present disclosure.
  • Bluetooth Low Energy (BLE) technology can be applied to a variety of devices in the Internet of Things.
  • multiple Bluetooth devices with BLE function can form a Connected Isochronous Group (CIG), and each Bluetooth device in the CIG can broadcast audio stream information to other Bluetooth devices in the CIG.
  • CIG Connected Isochronous Group
  • different bluetooth devices may correspond to different models (for example, the bluetooth devices placed in different rooms in the home network may be bluetooth devices produced by different manufacturers), so that effective communication cannot be carried out between multiple different bluetooth devices, reducing the communication efficiency.
  • Fig. 1 shows a schematic flowchart of a short-distance communication-based networking method provided by an embodiment of the present disclosure.
  • the networking method based on short-distance communication can be applied to management devices.
  • the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S101 to S102.
  • Step S101 when at least one coordination device is detected within a preset range, a private key is generated according to attribute information of the management device.
  • the preset range is the range that can be detected by the management device and can communicate with the management device.
  • the range with the management device as the center and a preset radius of 100 meters can be used as the preset range, which can improve the coordination The detection accuracy of the device.
  • the coordination device can have the function of identifying the private key, so that the private key generated by the management device can be recognized by the coordination device, so as to speed up the communication efficiency between the two devices and improve the communication security between the two devices.
  • Step S102 establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
  • the preset short-distance communication protocol may include: Bluetooth communication (Bluetooth) protocol, wireless local area network (Wi-Fi) protocol communication, infrared data transmission communication protocol, ultra wide band (Ultra Wide Band) communication protocol, ZigBee (ZigBee) communication protocol Any one of the Near Field Communication (NFC) protocols.
  • Bluetooth communication Bluetooth
  • Wi-Fi wireless local area network
  • WiFi infrared data transmission
  • Ultra Wide Band ultra wide band
  • ZigBee ZigBee
  • NFC Near Field Communication
  • the private key into the communication connection request based on any one of the preset short-distance communication protocols, and sending the communication connection request to at least one coordination device, after determining the communication connection that is fed back by at least one coordination device
  • establish a communication connection with at least one cooperative device thereby realizing fast networking, increasing the speed of networking, enabling fast communication between multiple different devices, and improving communication efficiency.
  • a private key is generated according to the attribute information of the management device, wherein the coordination device has the function of identifying the private key, so that the management The device and the cooperative device can interact to facilitate the processing of the coordinated device; according to the private key and the preset short-distance communication protocol, a communication network can be established with at least one coordinated device, so that the management device and at least one coordinated device can communicate with each other. Work together and use the same network configuration to improve communication efficiency between different devices.
  • Fig. 2 shows a schematic flowchart of a networking method based on short-distance communication provided by another embodiment of the present disclosure.
  • the networking method based on short-distance communication can be applied to management devices.
  • the management device is a device supporting the Coordinated Set Identifier profile (CSIP) protocol
  • the attribute information of the management device includes the physical address of the management device.
  • CCP Coordinated Set Identifier profile
  • the private key can reflect the information of the management device and clarify the attribution information of the communication network , so that all devices in the communication network can cooperate with the management device to improve the communication efficiency of the communication network.
  • RSI Resolvable Set Identifier
  • the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S201 to S203.
  • Step S201 when at least one coordination device is detected within the preset range, a resolvable identifier RSI is generated according to the physical address of the management device.
  • the RSI is an identifier that can be resolved by the coordination device, and the coordination device identifies the RSI to clarify the physical address of the management device, thereby speeding up the communication efficiency between the coordination device and the management device.
  • the RSI reflect the information of the management device, but also ensure the security of the information of the management device and reduce the risk of the information of the management device being leaked.
  • Step S202 generating a private key according to the RSI and CSIP protocols.
  • the coordination device has the function of identifying the private key.
  • the coordination device is also a device that can recognize the CSIP protocol.
  • the management device processes the RSI through the key generation function included in the CSIP protocol to generate a private key; correspondingly, the cooperative device can analyze the private key through the key analysis function included in the CSIP protocol to obtain the RSI, and The RSI is processed, so that the coordination device can learn the physical address of the management device, and the communication speed between the coordination device and the management device is accelerated.
  • Step S203 establishing a communication network with at least one coordinated device according to the private key and a preset short-distance communication protocol.
  • Step S203 in the embodiment of the present disclosure may be the same as step S102 in the previous embodiment, and will not be repeated here.
  • an RSI is generated according to the physical address of the management device, so that the RSI can reflect the information of the management device; according to the RSI and CSIP protocol, a private The secret key ensures the security of the information of the management device and reduces the risk of the information of the management device being leaked; according to the private key and the preset short-distance communication protocol, a communication network is established with at least one cooperative device, which enables the management device to communicate with at least one Collaborative devices can use private keys to work together and use the same network configuration to improve communication efficiency between different devices.
  • FIG. 3 shows a schematic diagram of information exchange between a client supporting the CSIP protocol and a server in an embodiment of the present disclosure.
  • the information interaction between the client 301 and the server 302 supporting the CSIP protocol can be realized in the following manner: the client 301 uses the key analysis function in the CSIP protocol to identify the acquired set sent by the server 302 The Set Identify Resolving Key (SIRKey) is analyzed to obtain the RSI corresponding to the SIRKey, through which the physical address of the Bluetooth module in the server 302 can be clearly known, thereby establishing Bluetooth communication with the server 302.
  • SIRKey Set Identify Resolving Key
  • the server 302 may also include multiple member devices, and each member device can identify the SIRKey, and share the SIRKey to the client 301 through the server 302, so that the client 301 can quickly establish communication with multiple member devices Network, to speed up the networking speed and improve the communication efficiency between the client 301 and each member device.
  • Fig. 4 shows a schematic diagram of a method for detecting coordinated devices in an embodiment of the present disclosure.
  • the cooperative set 410 includes multiple member devices (for example, the first member device 411, the second member device 412, ..., the Nth member device 41N, etc., N represents the number of member devices, and N is greater than or an integer equal to 1.) and detection device 420 .
  • the detection device 420 may obtain information carried in the broadcast message by receiving the broadcast message sent by each member device. If the broadcast message sent by the first member device 411 carries a private key (for example, SIRKey), the detection device 420 can analyze the obtained private key according to the key analysis function in the CSIP protocol to determine the Whether the private key includes the RSI information corresponding to the preset private key, and if it is determined that the private key includes the RSI information corresponding to the preset private key, it can be determined that the broadcast message is a member device in the coordination set 410 The message sent, thereby quickly detecting other devices in the cooperative set 410 (for example, the second member device 412, ..., the Nth member device 41N, etc.), speeding up the detection speed of the devices in the cooperative set 410, and improving the detection device The networking speed between 420 and each member device.
  • a private key for example, SIRKey
  • the detection device 420 can quickly establish a communication connection with other member devices in the cooperative set 410, realizing fast networking among multiple devices and improving communication efficiency.
  • the connected device is a collaborative device.
  • the device to be connected may include: any one or several of devices supporting ZigBee communication protocol, devices supporting NFC protocol, devices supporting ultra-wideband communication protocol, Wi-Fi devices and infrared devices.
  • the preset feature can reflect the feature information of the CSIP protocol, and the feature information of the device to be connected can reflect the feature information of different short-distance communication protocols.
  • the preset features By comparing the preset features with the feature information of multiple devices to be connected, it is possible to specify which devices to be connected can support the CSIP protocol, and to obtain a cooperative device from multiple devices to be connected.
  • the cooperative device has the ability to recognize the CSIP protocol functions, and the coordination device can also cooperate with the management device to assist the management device to complete the functions expected by the user.
  • the collaborative device may include at least one of audio equipment, wearable equipment, lighting equipment, security equipment, heating equipment, and network home appliances (such as network refrigerators, network air conditioners, network washing machines, network water heaters, network microwave ovens, and network cookers).
  • the management device may include: at least one of a communication terminal, a smart TV, and a display device.
  • the audio device When a user uses a certain communication terminal to play a certain piece of music, and hopes that the audio device can play the music synchronously, the audio device needs to be able to assist the communication terminal to complete the function of playing music together. Therefore, by screening the devices to be connected that can support the CSIP protocol from the multiple devices to be connected within the preset range, and setting the devices to be connected that support the CSIP protocol as cooperative devices, the cooperative devices can be quickly and managed Networking between devices can speed up the efficiency of management devices for collaborative devices, so that different types or models of devices can communicate quickly and accurately, and improve user experience.
  • a communication terminal and a smart TV communicate with a certain audio device (for example, a Bluetooth speaker, etc.) at the same time, so that the communication terminal and the smart TV can use the Bluetooth speaker in turn to play audio data.
  • a certain audio device for example, a Bluetooth speaker, etc.
  • a communication terminal can communicate with an audio device (for example, a Bluetooth headset), a network refrigerator, and a network air conditioner at the same time, so that users can control different collaborative devices through the communication terminal, which is convenient for users to use and improves user experience. Use experience.
  • the preset short-distance communication protocol includes: Bluetooth communication protocol; the attribute information of the management device includes: the identification of the management device; according to the private key and the preset short-distance communication protocol, establish a
  • the communication network includes: generating a network broadcast message according to the Bluetooth communication protocol, a private key, and the identification of the management device; sending a network broadcast message to at least one coordinated device; responding to a network response fed back by at least one coordinated device, and coordinating The device establishes a communication network.
  • the management device has the capability of generating and analyzing the private key.
  • the coordination device is used to assist the management device to complete preset functions.
  • the coordination device may include Bluetooth devices such as Bluetooth speakers and Bluetooth headsets to assist the management device to complete the function of playing audio data.
  • the management device can send a networking broadcast message to at least one cooperative device at the same time, enabling at least one cooperative device to know the private key generated by the management device and the identity of the management device, and then feed back the information of the networking response to the management device In this way, the management device can establish a communication network with at least one cooperative device, speed up the networking speed between the management device and multiple cooperative devices, and improve the communication efficiency between different devices.
  • Fig. 5 shows a schematic flowchart of a short-distance communication-based networking method provided by yet another embodiment of the present disclosure.
  • the networking method based on short-distance communication can be applied to access devices.
  • the access device communicates with the management device based on the same communication protocol.
  • the access device may be a device controlled by the management device, and the access device can perform network communication with at least one cooperative device.
  • the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S501 to S502.
  • Step S501 acquiring the private key generated by the management device based on its attribute information.
  • the management device is used to establish a communication network with at least one coordinated device within a preset range, and the coordinated device has a function of identifying a private key.
  • the management device can let the access device know the private key generated by the management device by sending a broadcast, so as to facilitate the access device to access the private communication network established by the management device, so that the access device can share the private key.
  • a communication resource in a communication network can be let the access device know the private key generated by the management device by sending a broadcast, so as to facilitate the access device to access the private communication network established by the management device, so that the access device can share the private key.
  • Step S502 establish a communication connection with any device in the communication network according to the private key and the preset short-distance communication protocol.
  • Any device in the communication network may include a management device, or any coordination device communicatively connected to the management device.
  • the access device can establish a communication connection with the management device or any cooperative device connected to the management device by using a private key, so as to speed up the access device's access to the communication network.
  • Enable the access device to share the communication resources in the communication network with the management device for example, the collaborative work capability resources possessed by multiple cooperative devices, etc.), improve the communication efficiency between different types of communication devices, and make the communication network communication resources can be used reasonably.
  • the management device by obtaining the private key generated by the management device based on its attribute information, the management device is used to establish a communication network with at least one cooperative device within a preset range, wherein the cooperative device has the function of identifying the private key, To enable the interaction between the access device and the coordination device, it is convenient to use the coordination device; according to the private key and the preset short-distance communication protocol, establish a communication connection with any device in the communication network, which can speed up the access device The speed of access to the communication network enables the access device and at least one cooperative device to work together, use the same network configuration, and improve the communication efficiency between different devices.
  • obtaining the private key generated by the management device based on its attribute information includes: obtaining the private key shared by the management device through data exchange.
  • the management device is a device that supports the Cooperative Set Identifier CSIP protocol.
  • the access device may know that the management device wishes to connect the access device to the communication network by receiving the addition request sent by the management device, and then the access device feeds back an addition response to the management device and confirms that it agrees to join the communication network.
  • the access device can obtain the private key shared by the management device, which facilitates resource sharing between the access device and the management device.
  • the way of data interaction can include the interaction of communication messages, and can also include the way of short-distance communication, so that the management device can read the relevant information of the access device, and increase the speed of the access device joining the communication network.
  • the above data interaction methods are only examples, and can be specifically set according to actual needs. Other unexplained data interaction methods are also within the protection scope of the present disclosure, and will not be repeated here.
  • the management device after obtaining the private key generated by the management device based on its attribute information, it further includes: decrypting the private key according to the CSIP protocol to obtain a resolvable identifier RSI.
  • the RSI is an important parameter for pairing and connecting with the cooperative device set, and the RSI can represent the attribute information of the management device (for example, the physical address of the management device, the identifier of the management device, and other information).
  • the access device and the management device need to communicate based on the same communication protocol. For example, if the access device obtains the private key, but the communication protocol supported by the access device cannot analyze the private key, it means that the access device cannot communicate with the management device; If the communication protocol (for example, CSIP protocol) can decrypt the private key and obtain the RSI, it means that the communication protocol supported by the access device and the management device is the same, and normal communication can be performed between the two devices.
  • the communication protocol for example, CSIP protocol
  • CSIP protocol can decrypt the private key and obtain the RSI
  • the access device decrypts the private key based on the CSIP protocol to obtain the RSI that can represent the attribute information of the management device, which can speed up the interaction between the access device and the management device, so that the access device can quickly identify the management device and improve communication efficiency.
  • the management device after establishing a communication connection with any device in the communication network according to the private key and the preset short-distance communication protocol, it further includes: sharing the coordination device in the communication network with the management device according to the communication connection.
  • the coordination device is used to assist the access device to complete preset functions.
  • the access device can know the private key used in the communication network, and determine the communication network by judging the received broadcast message.
  • the specific communication addresses of other cooperative devices in the communication network so that the access device can quickly obtain the communication services provided by other cooperative devices in the communication network, and improve the utilization efficiency of the cooperative devices.
  • Fig. 6 shows a block diagram of a management device provided by an embodiment of the present disclosure.
  • the management device 600 includes: a generation module 601 configured to generate a private key according to the attribute information of the management device when at least one coordination device is detected within the preset range, wherein, The coordination device has the function of identifying the private key; the first establishment module 602 is configured to establish a communication network with at least one coordination device according to the private key and a preset short-distance communication protocol.
  • the generation module generates a private key according to the attribute information of the management device when at least one coordinated device is detected within the preset range, and the coordinated device has the function of identifying the private key, so as to Enable the management device and the coordination device to interact, and facilitate the processing of the coordination device; use the first establishment module to establish a communication network with at least one coordination device according to the private key and the preset short-distance communication protocol, so that the management device can communicate with the coordination device At least one collaborative device can work together and use the same network configuration to improve communication efficiency between different devices.
  • Fig. 7 shows a block diagram of an access device provided by an embodiment of the present disclosure.
  • the access device 700 includes: an acquisition module 701 configured to acquire a private key generated by the management device based on its attribute information, and the management device is used to establish communication with at least one cooperative device within a preset range network, wherein the cooperation device has the function of identifying the private key; the second establishing module 702 is configured to establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
  • the acquisition module acquires the private key generated by the management device based on its attribute information, and the management device is used to establish a communication network with at least one cooperative device within a preset range, wherein the cooperative device has the ability to identify the private key function, so that the access device and the coordination device can interact, and facilitate the use of the coordination device; use the second establishment module to establish communication with any device in the communication network according to the private key and the preset short-distance communication protocol Connection can speed up the access device access to the communication network, enable the access device and at least one cooperative device to work together, use the same network configuration, and improve the communication efficiency between different devices.
  • FIG. 8 shows a block diagram of a short-distance communication-based networking system provided by an embodiment of the present disclosure.
  • the networking system based on short-distance communication may include the following devices: a first terminal 810 , a second terminal 820 and a set 830 of cooperative devices.
  • the first terminal 810 includes: a Bluetooth module 811 and a device management module 812 .
  • the set 830 of coordinated devices includes: a first coordinated device 831 , a second coordinated device 832 , .
  • the Bluetooth module 811 is configured to establish a communication connection with a plurality of coordinated devices in the set 830 of coordinated devices, wherein the plurality of coordinated devices in the set 830 of coordinated devices may be Bluetooth devices supporting BLE technology (for example, a plurality of coordinated devices It may be a device based on a Connected Isochronous stream (CIS), etc.).
  • BLE technology for example, a plurality of coordinated devices It may be a device based on a Connected Isochronous stream (CIS), etc.
  • the device management module 812 is configured to set parameters for terminal members in the communication network. For example, by using the service in the Generic Attribute Profile (GATT), it is detected whether there is a coordinated device supporting the characteristics of SIRKey within the preset range, and when it is determined that there is at least one coordinated device within the preset range, Generate a private key (for example, SIRKey) according to the attribute information of the first terminal 810; then, establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
  • the coordination device has the function of identifying the private key (for example, by using a preset function (or based on a preset protocol) to decrypt the SIRKey to obtain a resolvable identifier RSI, etc.).
  • FIG. 9 shows a schematic flowchart of a working method of a networking system based on short-distance communication provided by an embodiment of the present disclosure.
  • the working method of the networking system based on short-distance communication includes but not limited to the following steps S901 to S905.
  • Step S901 the first terminal 810 communicates with multiple available BLE devices through the Bluetooth module 811 .
  • the BLE device is a Bluetooth device supporting CIS.
  • the first terminal 810 may include: at least one of a communication terminal, a smart TV, and a display device.
  • Step S902 the first terminal 810 uses services in GATT to detect whether there is a coordinated device supporting the SIRKey feature within a preset range.
  • Step S903 When it is determined that there is at least one cooperative device within the preset range, the first terminal 810 generates a private key according to the physical address corresponding to the Bluetooth module 811 .
  • the physical address may be a MAC address, or other addresses that can uniquely identify the Bluetooth module 811 .
  • the physical address above is only an example, and can be specifically set according to actual needs. Other unexplained physical addresses are also within the protection scope of the present disclosure, and will not be repeated here.
  • the private key may be a key generated in the following manner: by generating the RSI according to the physical address corresponding to the Bluetooth module 811, and generating the private key according to the RSI and CSIP protocol.
  • SIRKey may be used to represent the private key.
  • the CSIP protocol may also include a key generation function, and the private key may be obtained by using the key generation function to process the RSI.
  • Step S904 The first terminal 810 sends a broadcast message to at least one coordinated device within a preset range, so that at least one coordinated device knows the SIRKey carried in the broadcast message, and communicates with at least one coordinated device based on the SIRKey and the preset short-distance communication protocol.
  • the device establishes a communication network.
  • the first terminal 810 can use the function corresponding to the coordination device in the communication network, so that the first terminal 810 can cooperate with at least one coordination device, use the same network configuration, and improve communication efficiency between different devices.
  • the broadcast message may also include characteristic information of the SIRKey.
  • the cooperative equipment may include: at least one of audio equipment, wearable equipment, lighting equipment, security equipment, heating equipment and network home appliances.
  • network home appliances may include: at least one of network refrigerators, network air conditioners, network washing machines, network water heaters, network microwave ovens and network cookers.
  • Step S905 when it is determined that the second terminal 820 has moved within the preset range of the mobile terminal 810, the first terminal 810 can add the second terminal 820 to the communication network by searching the network or adding it manually by the user , so that the second terminal 820 can share the resource of the coordination device in the communication network.
  • the second terminal 820 can establish a communication connection with any device in the communication network in the following manner: the second terminal 820 obtains the private key generated by the first terminal 810 based on the physical address corresponding to the Bluetooth module 811, and according to the key and a preset short-distance communication protocol to establish a communication connection with any device in the communication network.
  • the second terminal 820 after the second terminal 820 establishes a communication connection with any device in the communication network, it can share the resource of the coordination device in the communication network, enabling the second terminal 820 to communicate with at least one coordination device (for example, the first coordination device 831 ) can work together and use the same network configuration to improve the communication efficiency between different devices.
  • at least one coordination device for example, the first coordination device 831
  • the second terminal 820 when the second terminal 820 knows the Bluetooth address of the first terminal 810, it analyzes the obtained SIRKey through the key analysis function to determine the RSI, and then the second terminal 820 can use the RSI to communicate with the At least one cooperative device performs authentication communication.
  • the key parameter RSI can be obtained by combining the SIRKey analysis function with the Bluetooth address of the first terminal 810 (or the first terminal 810 shares the private SIRKey of the family with the second terminal 820 through data exchange), which can achieve fast communication with at least one collaborative device (for example, the first coordinating device 831) for the purpose of fast networking.
  • the RSI is used for pairing communication with at least one coordinated device.
  • the second terminal 820 may also directly acquire the physical address of the Bluetooth module 811 of the first terminal 810 through broadcasting.
  • the second terminal 820 can quickly obtain other coordination devices (for example, the second coordination device 832, ..., the Mth coordination device 83M, etc.) or terminals in the communication network by identifying the SIRKey, And establish a communication connection with each device in the communication network, so as to realize fast networking between the second terminal 820 and each device in the communication network.
  • other coordination devices for example, the second coordination device 832, ..., the Mth coordination device 83M, etc.
  • a private key is generated according to the physical address of the Bluetooth module of the first terminal, and the coordinated device has the identification private key key function, so that the first terminal can interact with the cooperative device, and facilitate the processing of the cooperative device; according to the private key and the preset short-distance communication protocol, establish a communication network with at least one cooperative device, so that the first terminal
  • the terminal and at least one coordination device can work together, use the same network configuration, and improve the communication efficiency between different devices; and, when it is determined that the second terminal also needs to use the coordination device in the communication network, it can share
  • the way of using a private key enables the second terminal to establish a communication connection with any device in the communication network through the private key, so that the second terminal can quickly join the communication network and share the information in the communication network with the first terminal. Coordinate device resources, increase the speed of networking between different devices, and improve the utilization efficiency of collaborative device resources.
  • Fig. 10 shows a schematic diagram of a setting interface of a management device provided by an embodiment of the present disclosure.
  • the setting interface 1000 of the management device includes the following setting options: Bluetooth, device name, files received through Bluetooth, BLE family member terminal list, connected devices and previously connected devices.
  • the "family member terminal list 1001" interface will pop up.
  • multiple terminals included in the "BLE family member terminal list” option can be selected. (for example, the second terminal, the third terminal, etc.), to choose to add BLE family members.
  • the identifiers of multiple terminals included in the "BLE family member terminal list" option may be the identifiers of terminals obtained through Bluetooth search, or the identifiers of terminals manually added by the user, or Bluetooth devices manually added by the user address, etc., so that different terminals can be conveniently and quickly added to the BLE family members.
  • the above methods of obtaining terminals in the terminal list are only examples, and specific settings may be made according to actual needs. Other methods of obtaining terminals not described are also within the protection scope of the present disclosure, and will not be repeated here.
  • both the second terminal and the third terminal may include at least one of a communication terminal (for example, a smart phone, etc.), a smart TV, and a display device (for example, a projector, etc.); and each terminal may support the CSIP protocol.
  • a communication terminal for example, a smart phone, etc.
  • a smart TV for example, a smart TV
  • a display device for example, a projector, etc.
  • the setting interface of the management device By using the setting interface of the management device to set each terminal in the family members, multiple different terminals can be quickly and accurately added to the home network, so as to facilitate each terminal to share resources of multiple collaborative devices in the home network.
  • Fig. 11 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the short-distance communication-based networking method and device according to an embodiment of the present disclosure.
  • a computing device 1100 includes an input device 1101 , an input interface 1102 , a central processing unit 1103 , a memory 1104 , an output interface 1105 , and an output device 1106 .
  • the input interface 1102, the central processing unit 1103, the memory 1104, and the output interface 1105 are connected to each other through the bus 1107, and the input device 1101 and the output device 1106 are respectively connected to the bus 1107 through the input interface 1102 and the output interface 1105, and then connected to the computing device 1100 other component connections.
  • the input device 1101 receives input information from the outside, and transmits the input information to the central processing unit 1103 through the input interface 1102; the central processing unit 1103 processes the input information based on the computer-executable instructions stored in the memory 1104 To generate output information, temporarily or permanently store the output information in the memory 1104, and then transmit the output information to the output device 1106 through the output interface 1105; the output device 1106 outputs the output information to the outside of the computing device 1100 for use by the user.
  • the computing device shown in FIG. 11 may be implemented as an electronic device, and the electronic device may include: a memory configured to store a program; a processor configured to run the program stored in the memory to The short-distance communication-based networking method described in the foregoing embodiments is implemented.
  • the computing device shown in FIG. 11 may be implemented as a networking system based on short-distance communication, and the networking system based on short-distance communication may include: a memory configured to store programs; a processor , configured to run the program stored in the memory, so as to execute the short-distance communication-based networking method described in the above embodiments.
  • the present disclosure provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the short-distance communication-based group net method.
  • Embodiments of the present disclosure may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware.
  • Computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code written in any combination of one or more programming languages or object code.
  • ISA instruction set architecture
  • Any logic flow block diagrams in the figures of the present disclosure may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions.
  • Computer programs can be stored on memory.
  • the memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random-access memory (RAM), optical memory devices and systems (digital versatile disc DVD or CD), etc.
  • Computer readable media may include non-transitory storage media.
  • the data processor can be of any type suitable for the local technical environment, such as but not limited to general purpose computer, special purpose computer, microprocessor, digital signal processor (DSP), application specific integrated circuit (ASIC), programmable logic device (FGPA) and processors based on multi-core processor architectures.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FGPA programmable logic device

Abstract

The present disclosure provides a networking method and device based on short-distance communication and a storage medium, and relates to the technical field of communications. The method comprises: in the case of detecting that at least one cooperative device exists in the preset range, generating a private key according to attribute information of a management device, wherein the cooperative device has the function of identifying the private key; and establishing a communication network with the at least one cooperative device according to the private key and a preset short-distance communication protocol.

Description

基于短距离通信的组网方法、设备和存储介质Networking method, device and storage medium based on short-distance communication
相关申请的交叉引用Cross References to Related Applications
本公开要求享有2021年12月21日提交的名称为“基于短距离通信的组网方法、设备和存储介质”的中国专利申请CN202111572407.8的优先权,其全部内容通过引用并入本公开中。This disclosure claims the priority of the Chinese patent application CN202111572407.8 entitled "Networking method, device and storage medium based on short-distance communication" filed on December 21, 2021, the entire content of which is incorporated by reference into this disclosure .
技术领域technical field
本公开涉及通信技术领域,具体涉及一种基于短距离通信的组网方法、设备和存储介质。The present disclosure relates to the technical field of communication, and in particular to a short-distance communication-based networking method, device, and storage medium.
背景技术Background technique
目前,短距离通信技术在物联网(例如,智慧社区网络、智能家居网络等)中得到广泛应用。例如,智能家居网络中的各个设备通过使用短距离通信技术进行通信,能够使用户对智能家居网络中的各个设备进行合理配置,提升智能家居网络中设备的使用效率。Currently, short-distance communication technologies are widely used in the Internet of Things (for example, smart community networks, smart home networks, etc.). For example, each device in the smart home network communicates by using the short-distance communication technology, which enables users to reasonably configure each device in the smart home network, and improves the use efficiency of the devices in the smart home network.
但是,智慧社区网络和/或智能家居网络中的多个设备,有可能是不同厂家生产的设备,也可能是同一厂家生产的不同型号的设备,使得多个设备之间无法进行有效通信,降低了通信效率。However, multiple devices in the smart community network and/or smart home network may be devices produced by different manufacturers, or devices of different models produced by the same manufacturer, making effective communication between multiple devices impossible, reducing communication efficiency.
发明内容Contents of the invention
本公开提供一种基于短距离通信的组网方法、设备和存储介质。The present disclosure provides a networking method, device and storage medium based on short-distance communication.
本公开实施例提供一种基于短距离通信的组网方法,应用于管理设备,方法包括:在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥,其中,协同设备具备识别私有密钥的功能;依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。An embodiment of the present disclosure provides a networking method based on short-distance communication, which is applied to a management device. The method includes: when at least one cooperative device is detected within a preset range, generating a private key according to the attribute information of the management device key, wherein the coordination device has the function of identifying the private key; and establishes a communication network with at least one coordination device according to the private key and a preset short-distance communication protocol.
本公开实施例提供一种基于短距离通信的组网方法,应用于接入设备,方法包括:获取管理设备基于其属性信息生成的私有密钥,其中,管理设备用于与预设范围内的至少一个协同设备建立通信网络,协同设备具备识别私有密钥的功能;依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接。An embodiment of the present disclosure provides a networking method based on short-distance communication, which is applied to access devices. The method includes: obtaining a private key generated by the management device based on its attribute information, wherein the management device is used to communicate with the At least one coordination device establishes a communication network, and the coordination device has the function of identifying a private key; establishes a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
本公开实施例提供一种管理设备,包括:生成模块,被配置为在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥,其中,协同设备具备识别私有密钥的功能;第一建立模块,被配置为依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。An embodiment of the present disclosure provides a management device, including: a generation module configured to generate a private key according to attribute information of the management device when at least one coordinated device is detected within a preset range, wherein the coordinated device It has the function of identifying the private key; the first establishment module is configured to establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
本公开实施例提供一种接入设备,包括:获取模块,被配置为获取管理设备基于其属性信息生成的私有密钥,其中,管理设备用于与预设范围内的至少一个协同设备建立通信网络,协同设备具备识别私有密钥的功能;第二建立模块,被配置为依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接。An embodiment of the present disclosure provides an access device, including: an acquisition module configured to acquire a private key generated by a management device based on its attribute information, wherein the management device is used to establish communication with at least one cooperative device within a preset range In the network, the cooperative device has the function of identifying the private key; the second establishment module is configured to establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
本公开实施例提供一种电子设备,包括:一个或多个处理器;存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现本公开实施例中的任意一种基于短距离通信的组网方法。An embodiment of the present disclosure provides an electronic device, including: one or more processors; memory, on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, one or more Each processor implements any networking method based on short-distance communication in the embodiments of the present disclosure.
本公开实施例提供了一种可读存储介质,该可读存储介质存储有计算机程序,计算机程序被处理器执行时实现本公开实施例中的任意一种基于短距离通信的组网方法。An embodiment of the present disclosure provides a readable storage medium, where a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, any networking method based on short-distance communication in the embodiments of the present disclosure is implemented.
关于本公开的以上实施例和其他方面以及其实现方式,在附图说明、具体实施方式和权利要求中提供更多说明。Further descriptions of the above embodiments and other aspects of the present disclosure, as well as implementation thereof, are provided in the description of the drawings, the detailed description, and the claims.
附图说明Description of drawings
图1示出本公开一实施例提供的基于短距离通信的组网方法的流程示意图。Fig. 1 shows a schematic flowchart of a short-distance communication-based networking method provided by an embodiment of the present disclosure.
图2示出本公开又一实施例提供的基于短距离通信的组网方法的流程示意图。Fig. 2 shows a schematic flowchart of a networking method based on short-distance communication provided by another embodiment of the present disclosure.
图3示出本公开实施例中的支持CSIP协议的客户端与服务器之间的信息交互示意图。FIG. 3 shows a schematic diagram of information exchange between a client supporting the CSIP protocol and a server in an embodiment of the present disclosure.
图4示出本公开实施例中的检测协同设备的方法示意图。Fig. 4 shows a schematic diagram of a method for detecting coordinated devices in an embodiment of the present disclosure.
图5示出本公开再一实施例提供的基于短距离通信的组网方法的流程示意图。Fig. 5 shows a schematic flowchart of a short-distance communication-based networking method provided by yet another embodiment of the present disclosure.
图6示出本公开实施例提供的管理设备的组成方框图。Fig. 6 shows a block diagram of a management device provided by an embodiment of the present disclosure.
图7示出本公开实施例提供的接入设备的组成方框图。Fig. 7 shows a block diagram of an access device provided by an embodiment of the present disclosure.
图8示出本公开实施例提供的基于短距离通信的组网系统的组成方框图。FIG. 8 shows a block diagram of a short-distance communication-based networking system provided by an embodiment of the present disclosure.
图9示出本公开实施例提供的基于短距离通信的组网系统的工作方法的流程示意图。FIG. 9 shows a schematic flowchart of a working method of a networking system based on short-distance communication provided by an embodiment of the present disclosure.
图10示出本公开实施例提供的管理设备的设置界面的示意图。Fig. 10 shows a schematic diagram of a setting interface of a management device provided by an embodiment of the present disclosure.
图11示出能够实现根据本公开实施例的基于短距离通信的组网方法和装置的计算设备的示例性硬件架构的结构图。Fig. 11 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the short-distance communication-based networking method and device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. In the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined arbitrarily with each other.
低功耗蓝牙(Bluetooth Low Energy,BLE)技术可以应用于物联网中的多种设备。其中,多个具备BLE功能的蓝牙设备可以构成可连接同步群(Connected Isochronous group,CIG),在CIG中的各个蓝牙设备,均可广播音频流信息给CIG中的其他蓝牙设备。Bluetooth Low Energy (BLE) technology can be applied to a variety of devices in the Internet of Things. Among them, multiple Bluetooth devices with BLE function can form a Connected Isochronous Group (CIG), and each Bluetooth device in the CIG can broadcast audio stream information to other Bluetooth devices in the CIG.
但不同的蓝牙设备可能对应的型号不同(例如,处于家庭网络中的不同房间内放置的蓝牙设备可能是不同厂家生产的蓝牙设备),使得多个不同的蓝牙设备之间无法进行有效通信,降低了通信效率。But different bluetooth devices may correspond to different models (for example, the bluetooth devices placed in different rooms in the home network may be bluetooth devices produced by different manufacturers), so that effective communication cannot be carried out between multiple different bluetooth devices, reducing the communication efficiency.
图1示出本公开一实施例提供的基于短距离通信的组网方法的流程示意图。该基于短距离通信的组网方法可应用于管理设备。如图1所示,本公开实施例中的基于短距离通信的组网方法包括但不限于以下步骤S101至S102。Fig. 1 shows a schematic flowchart of a short-distance communication-based networking method provided by an embodiment of the present disclosure. The networking method based on short-distance communication can be applied to management devices. As shown in FIG. 1 , the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S101 to S102.
步骤S101,在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥。Step S101, when at least one coordination device is detected within a preset range, a private key is generated according to attribute information of the management device.
其中,预设范围是管理设备能够检测到的、可以与管理设备进行通信的范围,例如,可以将以管理设备为圆心,预设半径为100米的范围,作为预设范围,可提升对协同设备的检测准确性。Among them, the preset range is the range that can be detected by the management device and can communicate with the management device. For example, the range with the management device as the center and a preset radius of 100 meters can be used as the preset range, which can improve the coordination The detection accuracy of the device.
协同设备可以具备识别私有密钥的功能,以使管理设备生成的私有密钥能够被协同设备识别,加快两种设备之间的通信效率,同时提高两种设备之间的通信安全性。The coordination device can have the function of identifying the private key, so that the private key generated by the management device can be recognized by the coordination device, so as to speed up the communication efficiency between the two devices and improve the communication security between the two devices.
步骤S102,依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。Step S102, establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
其中,预设短距离通信协议可以包括:蓝牙通信(Bluetooth)协议、无线局域网(Wi-Fi)协议通信、红外数据传输通信协议、超宽频(Ultra Wide Band)通信协议、紫峰(ZigBee)通信协议和近场通信(Near Field Communication,NFC)协议中的任意一种。Among them, the preset short-distance communication protocol may include: Bluetooth communication (Bluetooth) protocol, wireless local area network (Wi-Fi) protocol communication, infrared data transmission communication protocol, ultra wide band (Ultra Wide Band) communication protocol, ZigBee (ZigBee) communication protocol Any one of the Near Field Communication (NFC) protocols.
例如,通过基于预设短距离通信协议中的任意一种,将私有密钥配置到通信连接请求中,并发送该通信连接请求给至少一个协同设备,在确定获得至少一个协同设备反馈的通信连接响应的情况下,与至少一个协同设备建立通信连接,从而实现快速组网,提升组网速度,使多个不同的设备之间可以进行快速的通信,提升通信效率。For example, by configuring the private key into the communication connection request based on any one of the preset short-distance communication protocols, and sending the communication connection request to at least one coordination device, after determining the communication connection that is fed back by at least one coordination device In the case of a response, establish a communication connection with at least one cooperative device, thereby realizing fast networking, increasing the speed of networking, enabling fast communication between multiple different devices, and improving communication efficiency.
在本实施例中,通过在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥,其中的协同设备具备识别私有密钥的功能,以使管理设备与协同设备之间可以进行交互,方便对协同设备进行处理;依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络,能够使管理设备与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。In this embodiment, when at least one coordination device is detected within the preset range, a private key is generated according to the attribute information of the management device, wherein the coordination device has the function of identifying the private key, so that the management The device and the cooperative device can interact to facilitate the processing of the coordinated device; according to the private key and the preset short-distance communication protocol, a communication network can be established with at least one coordinated device, so that the management device and at least one coordinated device can communicate with each other. Work together and use the same network configuration to improve communication efficiency between different devices.
图2示出本公开又一实施例提供的基于短距离通信的组网方法的流程示意图。该基于短 距离通信的组网方法可应用于管理设备。本实施例与上一实施例的区别在于:管理设备是支持协同集合标识(Coordinated Set Identifier profile,CSIP)协议的设备,管理设备的属性信息包括管理设备的物理地址。通过依据管理设备的物理地址生成可解析标识符(Resolvable Set Identifier,RSI),进而根据CSIP协议将RSI转换为私有密钥,能够使该私有密钥体现管理设备的信息,明确通信网络的归属信息,使通信网络中的设备都能够与管理设备进行协作,提升通信网络的通信效率。Fig. 2 shows a schematic flowchart of a networking method based on short-distance communication provided by another embodiment of the present disclosure. The networking method based on short-distance communication can be applied to management devices. The difference between this embodiment and the previous embodiment is that the management device is a device supporting the Coordinated Set Identifier profile (CSIP) protocol, and the attribute information of the management device includes the physical address of the management device. By generating a Resolvable Set Identifier (RSI) based on the physical address of the management device, and then converting the RSI into a private key according to the CSIP protocol, the private key can reflect the information of the management device and clarify the attribution information of the communication network , so that all devices in the communication network can cooperate with the management device to improve the communication efficiency of the communication network.
如图2所示,本公开实施例中的基于短距离通信的组网方法包括但不限于以下步骤S201至S203。As shown in FIG. 2 , the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S201 to S203.
步骤S201,在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的物理地址,生成可解析标识符RSI。Step S201, when at least one coordination device is detected within the preset range, a resolvable identifier RSI is generated according to the physical address of the management device.
其中,RSI是可以被协同设备解析的标识符,协同设备通过识别RSI,以明确管理设备的物理地址,加快协同设备与管理设备之间的通信效率。Wherein, the RSI is an identifier that can be resolved by the coordination device, and the coordination device identifies the RSI to clarify the physical address of the management device, thereby speeding up the communication efficiency between the coordination device and the management device.
例如,通过对管理设备的物理地址进行编码,生成RSI,不仅使该RSI可以体现管理设备的信息,还能够保证管理设备的信息的安全性,减少管理设备的信息被泄露的风险。For example, by encoding the physical address of the management device to generate the RSI, not only can the RSI reflect the information of the management device, but also ensure the security of the information of the management device and reduce the risk of the information of the management device being leaked.
步骤S202,依据RSI和CSIP协议,生成私有密钥。Step S202, generating a private key according to the RSI and CSIP protocols.
其中,协同设备具备识别私有密钥的功能。例如,协同设备也是可以识别CSIP协议的设备。Wherein, the coordination device has the function of identifying the private key. For example, the coordination device is also a device that can recognize the CSIP protocol.
管理设备通过CSIP协议中包括的密钥生成函数对RSI进行处理,生成私有密钥;对应的,协同设备可以通过CSIP协议中包括的密钥解析函数对私有密钥进行解析,获得RSI,并对RSI进行处理,从而使协同设备可以获知管理设备的物理地址,加快协同设备与管理设备之间的通信速度。The management device processes the RSI through the key generation function included in the CSIP protocol to generate a private key; correspondingly, the cooperative device can analyze the private key through the key analysis function included in the CSIP protocol to obtain the RSI, and The RSI is processed, so that the coordination device can learn the physical address of the management device, and the communication speed between the coordination device and the management device is accelerated.
步骤S203,依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。Step S203, establishing a communication network with at least one coordinated device according to the private key and a preset short-distance communication protocol.
本公开实施例中的步骤S203可以与上一实施例中的步骤S102相同,在此不再赘述。Step S203 in the embodiment of the present disclosure may be the same as step S102 in the previous embodiment, and will not be repeated here.
在本实施例中,通过在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的物理地址,生成RSI,使RSI可以体现管理设备的信息;依据RSI和CSIP协议,生成私有密钥,保证管理设备的信息的安全性,减少管理设备的信息被泄露的风险;依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络,能够使管理设备与至少一个协同设备之间可以使用私有密钥进行协同工作,使用同一个网络配置,提升不同设备之间的通信效率。In this embodiment, when at least one cooperative device is detected in the preset range, an RSI is generated according to the physical address of the management device, so that the RSI can reflect the information of the management device; according to the RSI and CSIP protocol, a private The secret key ensures the security of the information of the management device and reduces the risk of the information of the management device being leaked; according to the private key and the preset short-distance communication protocol, a communication network is established with at least one cooperative device, which enables the management device to communicate with at least one Collaborative devices can use private keys to work together and use the same network configuration to improve communication efficiency between different devices.
图3示出本公开实施例中的支持CSIP协议的客户端与服务器之间的信息交互示意图。如 图3所示,支持CSIP协议的客户端301与服务器302之间的信息交互可以采用如下方式实现:客户端301通过CSIP协议中的密钥解析函数,对获取到的服务器302发送的集合识别解析密钥(Set Identify Resolving Key,SIRKey)进行解析,获得SIRKey对应的RSI,通过该RSI可以明确获知服务器302中的蓝牙模块的物理地址,从而与服务器302建立蓝牙通信。FIG. 3 shows a schematic diagram of information exchange between a client supporting the CSIP protocol and a server in an embodiment of the present disclosure. As shown in Figure 3, the information interaction between the client 301 and the server 302 supporting the CSIP protocol can be realized in the following manner: the client 301 uses the key analysis function in the CSIP protocol to identify the acquired set sent by the server 302 The Set Identify Resolving Key (SIRKey) is analyzed to obtain the RSI corresponding to the SIRKey, through which the physical address of the Bluetooth module in the server 302 can be clearly known, thereby establishing Bluetooth communication with the server 302.
在一实施方式中,服务器302还可以包括多个成员设备,各个成员设备均可以识别SIRKey,通过服务器302分享SIRKey给客户端301,能够使客户端301可以快速与多个成员设备之间建立通信网络,加快组网速度,提升客户端301与各个成员设备之间的通信效率。In one embodiment, the server 302 may also include multiple member devices, and each member device can identify the SIRKey, and share the SIRKey to the client 301 through the server 302, so that the client 301 can quickly establish communication with multiple member devices Network, to speed up the networking speed and improve the communication efficiency between the client 301 and each member device.
图4示出本公开实施例中的检测协同设备的方法示意图。如图4所示,协同集合410中包括多个成员设备(例如,第一成员设备411、第二成员设备412、……、第N成员设备41N等,N表示成员设备的数量,N为大于或等于1的整数。)和检测设备420。Fig. 4 shows a schematic diagram of a method for detecting coordinated devices in an embodiment of the present disclosure. As shown in FIG. 4, the cooperative set 410 includes multiple member devices (for example, the first member device 411, the second member device 412, ..., the Nth member device 41N, etc., N represents the number of member devices, and N is greater than or an integer equal to 1.) and detection device 420 .
检测设备420通过接收各个成员设备发送的广播消息,可以获取广播消息中携带的信息。若第一成员设备411发送的广播消息中携带有私有密钥(例如,SIRKey),则检测设备420可根据CSIP协议中的密钥解析函数,对获取到的私有密钥进行解析,以确定该私有密钥中是否包括与预设私有密钥对应的RSI信息,在确定该私有密钥中包括与预设私有密钥对应的RSI信息,则可确定该广播消息是协同集合410中的成员设备发送的消息,从而快速检测到协同集合410中的其他设备(例如,第二成员设备412、……、第N成员设备41N等),加快对协同集合410中的设备的检测速度,提升检测设备420与各个成员设备之间的组网速度。The detection device 420 may obtain information carried in the broadcast message by receiving the broadcast message sent by each member device. If the broadcast message sent by the first member device 411 carries a private key (for example, SIRKey), the detection device 420 can analyze the obtained private key according to the key analysis function in the CSIP protocol to determine the Whether the private key includes the RSI information corresponding to the preset private key, and if it is determined that the private key includes the RSI information corresponding to the preset private key, it can be determined that the broadcast message is a member device in the coordination set 410 The message sent, thereby quickly detecting other devices in the cooperative set 410 (for example, the second member device 412, ..., the Nth member device 41N, etc.), speeding up the detection speed of the devices in the cooperative set 410, and improving the detection device The networking speed between 420 and each member device.
若检测设备420与第一成员设备411建立通信连接,则该检测设备420就可以快速与协同集合410中的其他成员设备建立通信连接,实现了多设备之间的快速组网,提升通信效率。If the detection device 420 establishes a communication connection with the first member device 411, the detection device 420 can quickly establish a communication connection with other member devices in the cooperative set 410, realizing fast networking among multiple devices and improving communication efficiency.
在一实施方式中,在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥之前,还包括:获取预设范围内的多个待连接设备的特征信息;将预设特征分别与多个待连接设备的特征信息进行对比;在确定待连接设备的特征信息包括预设特征的情况下,确定待连接设备支持CSIP协议;设置支持CSIP协议的待连接设备为协同设备。In one embodiment, when at least one coordinated device is detected within the preset range, before generating the private key according to the attribute information of the management device, further includes: obtaining the IDs of multiple devices to be connected within the preset range Feature information; compare the preset features with the feature information of multiple devices to be connected; when it is determined that the feature information of the device to be connected includes the preset feature, determine that the device to be connected supports the CSIP protocol; set the CSIP protocol to be supported The connected device is a collaborative device.
其中,待连接设备可以包括:支持ZigBee通信协议的设备、支持NFC协议的设备、支持超宽频通信协议的设备、Wi-Fi设备和红外设备中的任意一种或几种。预设特征能体现CSIP协议的特征信息,而待连接设备的特征信息能够体现不同短距离通信协议的特性信息。Wherein, the device to be connected may include: any one or several of devices supporting ZigBee communication protocol, devices supporting NFC protocol, devices supporting ultra-wideband communication protocol, Wi-Fi devices and infrared devices. The preset feature can reflect the feature information of the CSIP protocol, and the feature information of the device to be connected can reflect the feature information of different short-distance communication protocols.
通过将预设特征分别与多个待连接设备的特征信息进行对比,能够明确具体哪些待连接设备可以支持CSIP协议,从多个待连接设备中筛选获得协同设备,该协同设备具备识别CSIP协议的功能,并且该协同设备还可以与管理设备之间进行协同工作,以辅助管理设备完成用 户期望的功能。By comparing the preset features with the feature information of multiple devices to be connected, it is possible to specify which devices to be connected can support the CSIP protocol, and to obtain a cooperative device from multiple devices to be connected. The cooperative device has the ability to recognize the CSIP protocol functions, and the coordination device can also cooperate with the management device to assist the management device to complete the functions expected by the user.
例如,协同设备可以包括音频设备、穿戴设备、照明设备、安防设备、取暖设备和网络家电(如,网络冰箱、网络空调、网络洗衣机、网络热水器、网络微波炉、网络炊具)中的至少一种。而管理设备,可以包括:通信终端、智能电视和显示设备中的至少一种。For example, the collaborative device may include at least one of audio equipment, wearable equipment, lighting equipment, security equipment, heating equipment, and network home appliances (such as network refrigerators, network air conditioners, network washing machines, network water heaters, network microwave ovens, and network cookers). The management device may include: at least one of a communication terminal, a smart TV, and a display device.
当用户使用某通信终端播放某首乐曲时,希望音频设备可以同步播放该乐曲,就需要音频设备可以辅助该通信终端一起完成播放音乐的功能。因此,通过从预设范围内的多个待连接设备中,筛选获得可以支持CSIP协议的待连接设备,并将支持CSIP协议的待连接设备设置为协同设备,以使该协同设备可以快速与管理设备之间进行组网,加快管理设备对协同设备的使用效率,使不同类型或不同型号的设备之间可以快速准确的进行通信,提升用户的使用体验。When a user uses a certain communication terminal to play a certain piece of music, and hopes that the audio device can play the music synchronously, the audio device needs to be able to assist the communication terminal to complete the function of playing music together. Therefore, by screening the devices to be connected that can support the CSIP protocol from the multiple devices to be connected within the preset range, and setting the devices to be connected that support the CSIP protocol as cooperative devices, the cooperative devices can be quickly and managed Networking between devices can speed up the efficiency of management devices for collaborative devices, so that different types or models of devices can communicate quickly and accurately, and improve user experience.
例如,某通信终端和智能电视同时与某个音频设备(例如,蓝牙音箱等)进行通信,能够使该通信终端和智能电视能够轮流使用该蓝牙音箱进行音频数据的播放。以方便用户的不同使用需求。For example, a communication terminal and a smart TV communicate with a certain audio device (for example, a Bluetooth speaker, etc.) at the same time, so that the communication terminal and the smart TV can use the Bluetooth speaker in turn to play audio data. To facilitate the different needs of users.
又例如,一个通信终端可以与某个音频设备(例如,蓝牙耳机)、网络冰箱和网络空调进行同时通信,以方便用户通过该通信终端对不同的协同设备进行控制,方便用户使用,提升用户的使用体验。For another example, a communication terminal can communicate with an audio device (for example, a Bluetooth headset), a network refrigerator, and a network air conditioner at the same time, so that users can control different collaborative devices through the communication terminal, which is convenient for users to use and improves user experience. Use experience.
以上对于不同应用场景仅是举例说明,可根据实际需要进行具体设定(例如,根据用户的使用需求,进行管理设备与多个协同设备之间的一对多,或,多对一的通信连接设置,以方便用户的使用),其他未说明的应用场景也在本公开的保护范围内,在此不再赘述。The above are just examples for different application scenarios, and specific settings can be made according to actual needs (for example, one-to-many or many-to-one communication connections between a management device and multiple cooperative devices according to user requirements settings for the convenience of the user), and other unexplained application scenarios are also within the protection scope of the present disclosure, and will not be repeated here.
在一实施方式中,预设短距离通信协议,包括:蓝牙通信协议;管理设备的属性信息,包括:管理设备的标识;依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络,包括:依据蓝牙通信协议、私有密钥和管理设备的标识,生成组网广播消息;向至少一个协同设备发送组网广播消息;响应于至少一个协同设备反馈的组网响应,与协同设备建立通信网络。In one embodiment, the preset short-distance communication protocol includes: Bluetooth communication protocol; the attribute information of the management device includes: the identification of the management device; according to the private key and the preset short-distance communication protocol, establish a The communication network includes: generating a network broadcast message according to the Bluetooth communication protocol, a private key, and the identification of the management device; sending a network broadcast message to at least one coordinated device; responding to a network response fed back by at least one coordinated device, and coordinating The device establishes a communication network.
其中,管理设备具有生成和解析私有密钥的能力。协同设备用于辅助管理设备完成预设功能,例如,协同设备可以包括蓝牙音箱、蓝牙耳机等蓝牙设备,以辅助管理设备完成播放音频数据的功能。Wherein, the management device has the capability of generating and analyzing the private key. The coordination device is used to assist the management device to complete preset functions. For example, the coordination device may include Bluetooth devices such as Bluetooth speakers and Bluetooth headsets to assist the management device to complete the function of playing audio data.
管理设备可以同时向至少一个协同设备发送组网广播消息,能够使至少一个协同设备可以获知该管理设备生成的私有密钥,以及该管理设备的标识,进而通过向该管理设备反馈组网响应的方式,使管理设备可以与至少一个协同设备建立通信网络,加快管理设备与多个协 同设备之间的组网速度,提升不同设备之间的通信效率。The management device can send a networking broadcast message to at least one cooperative device at the same time, enabling at least one cooperative device to know the private key generated by the management device and the identity of the management device, and then feed back the information of the networking response to the management device In this way, the management device can establish a communication network with at least one cooperative device, speed up the networking speed between the management device and multiple cooperative devices, and improve the communication efficiency between different devices.
图5示出本公开再一实施例提供的基于短距离通信的组网方法的流程示意图。该基于短距离通信的组网方法可应用于接入设备。该接入设备与管理设备基于相同的通信协议进行通信。Fig. 5 shows a schematic flowchart of a short-distance communication-based networking method provided by yet another embodiment of the present disclosure. The networking method based on short-distance communication can be applied to access devices. The access device communicates with the management device based on the same communication protocol.
接入设备可以是受控于管理设备的设备,接入设备能够与至少一个协同设备进行组网通信。The access device may be a device controlled by the management device, and the access device can perform network communication with at least one cooperative device.
如图5所示,本公开实施例中的基于短距离通信的组网方法包括但不限于以下步骤S501至S502。As shown in FIG. 5 , the networking method based on short-distance communication in the embodiment of the present disclosure includes but is not limited to the following steps S501 to S502.
步骤S501,获取管理设备基于其属性信息生成的私有密钥。Step S501, acquiring the private key generated by the management device based on its attribute information.
其中,管理设备用于与预设范围内的至少一个协同设备建立通信网络,协同设备具备识别私有密钥的功能。Wherein, the management device is used to establish a communication network with at least one coordinated device within a preset range, and the coordinated device has a function of identifying a private key.
例如,管理设备可以通过发送广播的方式,使接入设备获知该管理设备生成的私有密钥,以方便接入设备接入到管理设备组建的私有通信网络中,使接入设备可以共享该私有通信网络中的通信资源。For example, the management device can let the access device know the private key generated by the management device by sending a broadcast, so as to facilitate the access device to access the private communication network established by the management device, so that the access device can share the private key. A communication resource in a communication network.
步骤S502,依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接。Step S502, establish a communication connection with any device in the communication network according to the private key and the preset short-distance communication protocol.
通信网络中的任意一个设备可以包括管理设备,或,与该管理设备通信连接的任意一个协同设备。Any device in the communication network may include a management device, or any coordination device communicatively connected to the management device.
接入设备通过基于预设短距离通信协议,使用私有密钥与管理设备,或,与该管理设备通信连接的任意一个协同设备建立通信连接,能够加快该接入设备接入通信网络的速度,使接入设备可以与管理设备共享该通信网络中的通信资源(例如,多个协同设备所具备的协同工作能力资源等),提升不同类型的通信设备之间的通信效率,并使通信网络中的通信资源可以被合理使用。Based on the preset short-distance communication protocol, the access device can establish a communication connection with the management device or any cooperative device connected to the management device by using a private key, so as to speed up the access device's access to the communication network. Enable the access device to share the communication resources in the communication network with the management device (for example, the collaborative work capability resources possessed by multiple cooperative devices, etc.), improve the communication efficiency between different types of communication devices, and make the communication network communication resources can be used reasonably.
在本实施例中,通过获取管理设备基于其属性信息生成的私有密钥,管理设备用于与预设范围内的至少一个协同设备建立通信网络,其中的协同设备具备识别私有密钥的功能,以使接入设备与协同设备之间可以进行交互,方便对协同设备的使用;依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接,能够加快接入设备接入到通信网络的速度,使接入设备与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。In this embodiment, by obtaining the private key generated by the management device based on its attribute information, the management device is used to establish a communication network with at least one cooperative device within a preset range, wherein the cooperative device has the function of identifying the private key, To enable the interaction between the access device and the coordination device, it is convenient to use the coordination device; according to the private key and the preset short-distance communication protocol, establish a communication connection with any device in the communication network, which can speed up the access device The speed of access to the communication network enables the access device and at least one cooperative device to work together, use the same network configuration, and improve the communication efficiency between different devices.
在一实施方式中,获取管理设备基于其属性信息生成的私有密钥,包括:通过数据交换 的方式,获取管理设备共享的私有密钥。In an embodiment, obtaining the private key generated by the management device based on its attribute information includes: obtaining the private key shared by the management device through data exchange.
其中,管理设备是支持协同集合标识CSIP协议的设备。Wherein, the management device is a device that supports the Cooperative Set Identifier CSIP protocol.
例如,接入设备可以通过接收管理设备发送的添加请求,获知该管理设备希望将该接入设备接入到通信网络中,在接入设备向管理设备反馈添加响应,并确定同意加入到该通信网络的情况下,使接入设备可以获得管理设备共享的私有密钥,方便接入设备与管理设备之间的资源共享。For example, the access device may know that the management device wishes to connect the access device to the communication network by receiving the addition request sent by the management device, and then the access device feeds back an addition response to the management device and confirms that it agrees to join the communication network. In the case of a network, the access device can obtain the private key shared by the management device, which facilitates resource sharing between the access device and the management device.
数据交互的方式可以包括通信消息的交互,还可以包括短距离通信的方式,使管理设备可以读取接入设备的相关信息,提升接入设备加入到通信网络的速度。以上对于数据交互的方式仅是举例说明,可根据实际需要进行具体设定,其他未说明的数据交互的方式也在本公开的保护范围之内,在此不再赘述。The way of data interaction can include the interaction of communication messages, and can also include the way of short-distance communication, so that the management device can read the relevant information of the access device, and increase the speed of the access device joining the communication network. The above data interaction methods are only examples, and can be specifically set according to actual needs. Other unexplained data interaction methods are also within the protection scope of the present disclosure, and will not be repeated here.
在一实施方式中,获取管理设备基于其属性信息生成的私有密钥之后,还包括:依据CSIP协议对私有密钥进行解密,获得可解析标识符RSI。In an embodiment, after obtaining the private key generated by the management device based on its attribute information, it further includes: decrypting the private key according to the CSIP protocol to obtain a resolvable identifier RSI.
其中,RSI是与协同设备集合配对连接的重要参数,RSI可以表征管理设备的属性信息(例如,管理设备的物理地址、管理设备的标识等信息)。Wherein, the RSI is an important parameter for pairing and connecting with the cooperative device set, and the RSI can represent the attribute information of the management device (for example, the physical address of the management device, the identifier of the management device, and other information).
接入设备与管理设备之间需要基于相同的通信协议进行通信。例如,若接入设备获得私有密钥后,通过该接入设备所支持的通信协议无法对私有密钥进行解析,则说明该接入设备不能与管理设备进行通信;若接入设备使用其支持的通信协议(例如,CSIP协议)可以对私有密钥进行解密,并获得RSI,则表征该接入设备与管理设备支持的通信协议相同,两个设备之间可以进行正常的通信。The access device and the management device need to communicate based on the same communication protocol. For example, if the access device obtains the private key, but the communication protocol supported by the access device cannot analyze the private key, it means that the access device cannot communicate with the management device; If the communication protocol (for example, CSIP protocol) can decrypt the private key and obtain the RSI, it means that the communication protocol supported by the access device and the management device is the same, and normal communication can be performed between the two devices.
接入设备通过基于CSIP协议对私有密钥进行解密,获得能够表征管理设备的属性信息的RSI,能够加快接入设备与管理设备之间的交互,使接入设备快速对管理设备进行识别,提升通信效率。The access device decrypts the private key based on the CSIP protocol to obtain the RSI that can represent the attribute information of the management device, which can speed up the interaction between the access device and the management device, so that the access device can quickly identify the management device and improve communication efficiency.
在一实施方式中,依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接之后,还包括:依据通信连接,与管理设备共享通信网络中的协同设备。In one embodiment, after establishing a communication connection with any device in the communication network according to the private key and the preset short-distance communication protocol, it further includes: sharing the coordination device in the communication network with the management device according to the communication connection.
其中,协同设备用于辅助接入设备完成预设功能。Wherein, the coordination device is used to assist the access device to complete preset functions.
在确定接入设备与通信网络中的任意一个设备建立通信连接的情况下,该接入设备可获知该通信网络中使用的私有密钥,并通过对接收到的广播消息的判断,确定通信网络中的其他协同设备的具体通信地址,进而使该接入设备可以快速获得通信网络中的其他协同设备所提供的通信服务,提升协同设备的利用效率。When it is determined that the access device establishes a communication connection with any device in the communication network, the access device can know the private key used in the communication network, and determine the communication network by judging the received broadcast message. The specific communication addresses of other cooperative devices in the communication network, so that the access device can quickly obtain the communication services provided by other cooperative devices in the communication network, and improve the utilization efficiency of the cooperative devices.
下面结合附图,详细介绍根据本公开实施例的管理设备。图6示出本公开实施例提供的 管理设备的组成方框图。如图6所示,管理设备600,其包括:生成模块601,被配置为在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥,其中,协同设备具备识别私有密钥的功能;第一建立模块602,被配置为依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。The management device according to the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Fig. 6 shows a block diagram of a management device provided by an embodiment of the present disclosure. As shown in FIG. 6, the management device 600 includes: a generation module 601 configured to generate a private key according to the attribute information of the management device when at least one coordination device is detected within the preset range, wherein, The coordination device has the function of identifying the private key; the first establishment module 602 is configured to establish a communication network with at least one coordination device according to the private key and a preset short-distance communication protocol.
在本实施例中,通过生成模块在检测到预设范围内存在至少一个协同设备的情况下,依据管理设备的属性信息,生成私有密钥,其中的协同设备具备识别私有密钥的功能,以使管理设备与协同设备之间可以进行交互,方便对协同设备进行处理;使用第一建立模块依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络,能够使管理设备与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。In this embodiment, the generation module generates a private key according to the attribute information of the management device when at least one coordinated device is detected within the preset range, and the coordinated device has the function of identifying the private key, so as to Enable the management device and the coordination device to interact, and facilitate the processing of the coordination device; use the first establishment module to establish a communication network with at least one coordination device according to the private key and the preset short-distance communication protocol, so that the management device can communicate with the coordination device At least one collaborative device can work together and use the same network configuration to improve communication efficiency between different devices.
图7示出本公开实施例提供的接入设备的组成方框图。如图7所示,接入设备700,其包括:获取模块701,被配置为获取管理设备基于其属性信息生成的私有密钥,管理设备用于与预设范围内的至少一个协同设备建立通信网络,其中,协同设备具备识别私有密钥的功能;第二建立模块702,被配置为依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接。Fig. 7 shows a block diagram of an access device provided by an embodiment of the present disclosure. As shown in FIG. 7, the access device 700 includes: an acquisition module 701 configured to acquire a private key generated by the management device based on its attribute information, and the management device is used to establish communication with at least one cooperative device within a preset range network, wherein the cooperation device has the function of identifying the private key; the second establishing module 702 is configured to establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
在本实施例中,通过获取模块获取管理设备基于其属性信息生成的私有密钥,管理设备用于与预设范围内的至少一个协同设备建立通信网络,其中的协同设备具备识别私有密钥的功能,以使接入设备与协同设备之间可以进行交互,方便对协同设备的使用;使用第二建立模块依据私有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接,能够加快接入设备接入到通信网络的速度,使接入设备与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。In this embodiment, the acquisition module acquires the private key generated by the management device based on its attribute information, and the management device is used to establish a communication network with at least one cooperative device within a preset range, wherein the cooperative device has the ability to identify the private key function, so that the access device and the coordination device can interact, and facilitate the use of the coordination device; use the second establishment module to establish communication with any device in the communication network according to the private key and the preset short-distance communication protocol Connection can speed up the access device access to the communication network, enable the access device and at least one cooperative device to work together, use the same network configuration, and improve the communication efficiency between different devices.
图8示出本公开实施例提供的基于短距离通信的组网系统的组成方框图。如图8所示,该基于短距离通信的组网系统可以包括如下设备:第一终端810、第二终端820和协同设备的集合830。FIG. 8 shows a block diagram of a short-distance communication-based networking system provided by an embodiment of the present disclosure. As shown in FIG. 8 , the networking system based on short-distance communication may include the following devices: a first terminal 810 , a second terminal 820 and a set 830 of cooperative devices.
其中,第一终端810包括:蓝牙模块811和设备管理模块812。协同设备的集合830包括:第一协同设备831、第二协同设备832、……、第M协同设备83M,M表示协同设备的数量,M为大于或等于1的整数。Wherein, the first terminal 810 includes: a Bluetooth module 811 and a device management module 812 . The set 830 of coordinated devices includes: a first coordinated device 831 , a second coordinated device 832 , .
蓝牙模块811,用于与协同设备的集合830中的多个协同设备建立通信连接,其中,协同设备的集合830中的多个协同设备可以是支持BLE技术的蓝牙设备(例如,多个协同设备可以是基于可连接同步音频流(Connected Isochronous stream,CIS)的设备等)。The Bluetooth module 811 is configured to establish a communication connection with a plurality of coordinated devices in the set 830 of coordinated devices, wherein the plurality of coordinated devices in the set 830 of coordinated devices may be Bluetooth devices supporting BLE technology (for example, a plurality of coordinated devices It may be a device based on a Connected Isochronous stream (CIS), etc.).
设备管理模块812,用于对通信网络中的终端成员进行参数设置。例如,通过使用通用 属性规范(Generic Attribute Profile,GATT)中的服务,来检测预设范围内是否存在支持SIRKey的特征的协同设备,并在确定预设范围内存在至少一个协同设备的情况下,依据第一终端810的属性信息,生成私有密钥(例如,SIRKey);然后,依据该私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络。其中的协同设备具备识别私有密钥的功能(例如,通过使用预设函数(或基于预设协议)对SIRKey进行解密,获得可解析标识符RSI等)。The device management module 812 is configured to set parameters for terminal members in the communication network. For example, by using the service in the Generic Attribute Profile (GATT), it is detected whether there is a coordinated device supporting the characteristics of SIRKey within the preset range, and when it is determined that there is at least one coordinated device within the preset range, Generate a private key (for example, SIRKey) according to the attribute information of the first terminal 810; then, establish a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol. The coordination device has the function of identifying the private key (for example, by using a preset function (or based on a preset protocol) to decrypt the SIRKey to obtain a resolvable identifier RSI, etc.).
图9示出本公开实施例提供的基于短距离通信的组网系统的工作方法的流程示意图。如图9所示,该基于短距离通信的组网系统的工作方法包括但不限于如下步骤S901至S905。FIG. 9 shows a schematic flowchart of a working method of a networking system based on short-distance communication provided by an embodiment of the present disclosure. As shown in FIG. 9 , the working method of the networking system based on short-distance communication includes but not limited to the following steps S901 to S905.
步骤S901,第一终端810通过蓝牙模块811与多个可用BLE设备进行通信连接。Step S901 , the first terminal 810 communicates with multiple available BLE devices through the Bluetooth module 811 .
其中,BLE设备是支持CIS的蓝牙设备。第一终端810可以包括:通信终端、智能电视和显示设备中的至少一种。Wherein, the BLE device is a Bluetooth device supporting CIS. The first terminal 810 may include: at least one of a communication terminal, a smart TV, and a display device.
步骤S902:第一终端810使用GATT中的服务,检测预设范围内是否存在支持SIRKey的特征的协同设备。Step S902: the first terminal 810 uses services in GATT to detect whether there is a coordinated device supporting the SIRKey feature within a preset range.
步骤S903:在确定预设范围内存在至少一个协同设备的情况下,第一终端810根据蓝牙模块811对应的物理地址,生成私有密钥。Step S903: When it is determined that there is at least one cooperative device within the preset range, the first terminal 810 generates a private key according to the physical address corresponding to the Bluetooth module 811 .
其中,物理地址可以是MAC地址,也可以是其他能够唯一标识蓝牙模块811的地址。以上对于物理地址仅是举例说明,可根据实际需要进行具体设定,其他未说明的物理地址也在本公开的保护范围内,在此不再赘述。Wherein, the physical address may be a MAC address, or other addresses that can uniquely identify the Bluetooth module 811 . The physical address above is only an example, and can be specifically set according to actual needs. Other unexplained physical addresses are also within the protection scope of the present disclosure, and will not be repeated here.
例如,私有密钥可以是采用如下方式生成的密钥:通过依据蓝牙模块811对应的物理地址,生成RSI,并依据RSI和CSIP协议,生成私有密钥。例如,可使用SIRKey表示该私有密钥。For example, the private key may be a key generated in the following manner: by generating the RSI according to the physical address corresponding to the Bluetooth module 811, and generating the private key according to the RSI and CSIP protocol. For example, SIRKey may be used to represent the private key.
CSIP协议中还可以包括密钥生成函数,通过使用该密钥生成函数对RSI进行处理,可以获得私有密钥。The CSIP protocol may also include a key generation function, and the private key may be obtained by using the key generation function to process the RSI.
步骤S904:第一终端810向预设范围内的至少一个协同设备发送广播消息,以使至少一个协同设备获知广播消息中携带的SIRKey,并基于SIRKey和预设短距离通信协议,与至少一个协同设备建立通信网络。Step S904: The first terminal 810 sends a broadcast message to at least one coordinated device within a preset range, so that at least one coordinated device knows the SIRKey carried in the broadcast message, and communicates with at least one coordinated device based on the SIRKey and the preset short-distance communication protocol. The device establishes a communication network.
第一终端810可以使用通信网络中的协同设备对应的功能,以使该第一终端810可以与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。The first terminal 810 can use the function corresponding to the coordination device in the communication network, so that the first terminal 810 can cooperate with at least one coordination device, use the same network configuration, and improve communication efficiency between different devices.
其中,广播消息还可以包括SIRKey的特征信息。协同设备可以包括:音频设备、穿戴设备、照明设备、安防设备、取暖设备和网络家电中的至少一种。Wherein, the broadcast message may also include characteristic information of the SIRKey. The cooperative equipment may include: at least one of audio equipment, wearable equipment, lighting equipment, security equipment, heating equipment and network home appliances.
例如,网络家电可以包括:网络冰箱、网络空调、网络洗衣机、网络热水器、网络微波 炉和网络炊具中的至少一种。For example, network home appliances may include: at least one of network refrigerators, network air conditioners, network washing machines, network water heaters, network microwave ovens and network cookers.
步骤S905,在确定第二终端820移动到移动终端810的预设范围内的情况下,第一终端810可以通过网络搜索的方式或用户手动添加的方式,将第二终端820添加到通信网络中,以使第二终端820可以共享通信网络中的协同设备的资源。Step S905, when it is determined that the second terminal 820 has moved within the preset range of the mobile terminal 810, the first terminal 810 can add the second terminal 820 to the communication network by searching the network or adding it manually by the user , so that the second terminal 820 can share the resource of the coordination device in the communication network.
例如,第二终端820可以通过如下方式与通信网络中的任意一个设备建立通信连接:第二终端820获取第一终端810基于蓝牙模块811对应的物理地址生成的私有密钥,并依据有密钥和预设短距离通信协议,与通信网络中的任意一个设备建立通信连接。For example, the second terminal 820 can establish a communication connection with any device in the communication network in the following manner: the second terminal 820 obtains the private key generated by the first terminal 810 based on the physical address corresponding to the Bluetooth module 811, and according to the key and a preset short-distance communication protocol to establish a communication connection with any device in the communication network.
其中,第二终端820在与通信网络中的任意一个设备建立通信连接后,就可以共享通信网络中的协同设备资源,能够使第二终端820与至少一个协同设备(例如,第一协同设备831)之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率。Wherein, after the second terminal 820 establishes a communication connection with any device in the communication network, it can share the resource of the coordination device in the communication network, enabling the second terminal 820 to communicate with at least one coordination device (for example, the first coordination device 831 ) can work together and use the same network configuration to improve the communication efficiency between different devices.
在一实施方式中,第二终端820在获知第一终端810的蓝牙地址的情况下,通过密钥解析函数对获取到的SIRKey进行解析,从而确定RSI,进而使第二终端820通过RSI可以与至少一个协同设备进行鉴权通信。In one embodiment, when the second terminal 820 knows the Bluetooth address of the first terminal 810, it analyzes the obtained SIRKey through the key analysis function to determine the RSI, and then the second terminal 820 can use the RSI to communicate with the At least one cooperative device performs authentication communication.
例如,可通过SIRKey解析函数结合第一终端810的蓝牙地址(或者第一终端810将家庭私有SIRKey通过数据交换共享给第二终端820)求出关键参数RSI,即可以达到快速与至少一个协同设备(例如,第一协同设备831)进行快速组网的目的。其中,RSI用于与至少一个协同设备进行配对通信。For example, the key parameter RSI can be obtained by combining the SIRKey analysis function with the Bluetooth address of the first terminal 810 (or the first terminal 810 shares the private SIRKey of the family with the second terminal 820 through data exchange), which can achieve fast communication with at least one collaborative device (for example, the first coordinating device 831) for the purpose of fast networking. Wherein, the RSI is used for pairing communication with at least one coordinated device.
又例如,第二终端820还可以通过广播的方式,直接获取第一终端810的蓝牙模块811的物理地址。For another example, the second terminal 820 may also directly acquire the physical address of the Bluetooth module 811 of the first terminal 810 through broadcasting.
在一实施方式中,第二终端820通过对SIRKey的识别方式,能够快速获得处于通信网络中的其他协同设备(例如,第二协同设备832、……、第M协同设备83M等)或终端,并与通信网络中的各个设备建立通信连接,以实现第二终端820与通信网络中的各个设备之间的快速组网。In one embodiment, the second terminal 820 can quickly obtain other coordination devices (for example, the second coordination device 832, ..., the Mth coordination device 83M, etc.) or terminals in the communication network by identifying the SIRKey, And establish a communication connection with each device in the communication network, so as to realize fast networking between the second terminal 820 and each device in the communication network.
在本实施例中,通过第一终端在检测到预设范围内存在至少一个协同设备的情况下,依据第一终端的蓝牙模块的物理地址,生成私有密钥,其中的协同设备具备识别私有密钥的功能,以使第一终端与协同设备之间可以进行交互,方便对协同设备进行处理;依据私有密钥和预设短距离通信协议,与至少一个协同设备建立通信网络,能够使第一终端与至少一个协同设备之间可以协同工作,使用同一个网络配置,提升不同设备之间的通信效率;并且,在确定第二终端也需要使用通信网络中的协同设备的情况下,可以通过分享私有密钥的方式,使第二终端通过该私有密钥与通信网络中的任意一个设备建立通信连接,从而使该第二终端 可以快速加入到通信网络中,与第一终端共享通信网络中的协同设备资源,提升不同设备之间的组网速度,提升协同设备资源的利用效率。In this embodiment, when the first terminal detects that there is at least one coordinated device within the preset range, a private key is generated according to the physical address of the Bluetooth module of the first terminal, and the coordinated device has the identification private key key function, so that the first terminal can interact with the cooperative device, and facilitate the processing of the cooperative device; according to the private key and the preset short-distance communication protocol, establish a communication network with at least one cooperative device, so that the first terminal The terminal and at least one coordination device can work together, use the same network configuration, and improve the communication efficiency between different devices; and, when it is determined that the second terminal also needs to use the coordination device in the communication network, it can share The way of using a private key enables the second terminal to establish a communication connection with any device in the communication network through the private key, so that the second terminal can quickly join the communication network and share the information in the communication network with the first terminal. Coordinate device resources, increase the speed of networking between different devices, and improve the utilization efficiency of collaborative device resources.
图10示出本公开实施例提供的管理设备的设置界面的示意图。如图10所示,管理设备的设置界面1000包括如下设置选项:蓝牙、设备名称、通过蓝牙收到的文件、BLE家庭成员终端列表、已连接的设备和之前连接过的设备。Fig. 10 shows a schematic diagram of a setting interface of a management device provided by an embodiment of the present disclosure. As shown in FIG. 10 , the setting interface 1000 of the management device includes the following setting options: Bluetooth, device name, files received through Bluetooth, BLE family member terminal list, connected devices and previously connected devices.
当用户点击或触碰到“BLE家庭成员终端列表”选项时,会弹出“家庭成员终端列表1001”界面,在该界面中,可通过选择“BLE家庭成员终端列表”选项中包括的多个终端(例如,第二终端、第三终端等),来选择添加BLE家庭成员。When the user clicks or touches the "BLE family member terminal list" option, the "family member terminal list 1001" interface will pop up. In this interface, multiple terminals included in the "BLE family member terminal list" option can be selected. (for example, the second terminal, the third terminal, etc.), to choose to add BLE family members.
其中的“BLE家庭成员终端列表”选项中包括的多个终端的标识,可以是通过蓝牙搜索获得的终端的标识,也可以是通过用户手动添加的终端的标识,或,用户手动添加的蓝牙设备的地址等,以使不同终端可以方便快捷的加入到BLE家庭成员中。以上对于终端列表中的终端的获取方式仅是举例说明,可根据实际需要进行具体设定,其他未说明的终端的获取方式也在本公开的保护范围之内,在此不再赘述。The identifiers of multiple terminals included in the "BLE family member terminal list" option may be the identifiers of terminals obtained through Bluetooth search, or the identifiers of terminals manually added by the user, or Bluetooth devices manually added by the user address, etc., so that different terminals can be conveniently and quickly added to the BLE family members. The above methods of obtaining terminals in the terminal list are only examples, and specific settings may be made according to actual needs. Other methods of obtaining terminals not described are also within the protection scope of the present disclosure, and will not be repeated here.
其中,第二终端和第三终端均可以包括通信终端(例如,智能手机等)、智能电视和显示设备(例如,投影仪等)中的至少一种;且各个终端可以均支持CSIP协议。Wherein, both the second terminal and the third terminal may include at least one of a communication terminal (for example, a smart phone, etc.), a smart TV, and a display device (for example, a projector, etc.); and each terminal may support the CSIP protocol.
通过使用管理设备的设置界面,对家庭成员中的各个终端进行设置,能够使多个不同终端快速准确的加入到家庭网络中,以方便各个终端共享家庭网络中的多个协同设备资源。By using the setting interface of the management device to set each terminal in the family members, multiple different terminals can be quickly and accurately added to the home network, so as to facilitate each terminal to share resources of multiple collaborative devices in the home network.
本公开并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。The present disclosure is not limited to the specific configurations and processes described in the above embodiments and shown in the drawings. For the convenience and brevity of description, detailed descriptions of known methods are omitted here, and the specific working processes of the above-described systems, modules, and units can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
图11示出能够实现根据本公开实施例的基于短距离通信的组网方法和装置的计算设备的示例性硬件架构的结构图。Fig. 11 shows a structural diagram of an exemplary hardware architecture of a computing device capable of implementing the short-distance communication-based networking method and device according to an embodiment of the present disclosure.
如图11所示,计算设备1100包括输入设备1101、输入接口1102、中央处理器1103、存储器1104、输出接口1105、以及输出设备1106。其中,输入接口1102、中央处理器1103、存储器1104、以及输出接口1105通过总线1107相互连接,输入设备1101和输出设备1106分别通过输入接口1102和输出接口1105与总线1107连接,进而与计算设备1100的其他组件连接。As shown in FIG. 11 , a computing device 1100 includes an input device 1101 , an input interface 1102 , a central processing unit 1103 , a memory 1104 , an output interface 1105 , and an output device 1106 . Wherein, the input interface 1102, the central processing unit 1103, the memory 1104, and the output interface 1105 are connected to each other through the bus 1107, and the input device 1101 and the output device 1106 are respectively connected to the bus 1107 through the input interface 1102 and the output interface 1105, and then connected to the computing device 1100 other component connections.
在一实施方式中,输入设备1101接收来自外部的输入信息,并通过输入接口1102将输入信息传送到中央处理器1103;中央处理器1103基于存储器1104中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器1104中, 然后通过输出接口1105将输出信息传送到输出设备1106;输出设备1106将输出信息输出到计算设备1100的外部供用户使用。In one embodiment, the input device 1101 receives input information from the outside, and transmits the input information to the central processing unit 1103 through the input interface 1102; the central processing unit 1103 processes the input information based on the computer-executable instructions stored in the memory 1104 To generate output information, temporarily or permanently store the output information in the memory 1104, and then transmit the output information to the output device 1106 through the output interface 1105; the output device 1106 outputs the output information to the outside of the computing device 1100 for use by the user.
在一个实施例中,图11所示的计算设备可以被实现为一种电子设备,该电子设备可以包括:存储器,被配置为存储程序;处理器,被配置为运行存储器中存储的程序,以执行上述实施例描述的基于短距离通信的组网方法。In one embodiment, the computing device shown in FIG. 11 may be implemented as an electronic device, and the electronic device may include: a memory configured to store a program; a processor configured to run the program stored in the memory to The short-distance communication-based networking method described in the foregoing embodiments is implemented.
在一个实施例中,图11所示的计算设备可以被实现为一种基于短距离通信的组网系统,该基于短距离通信的组网系统可以包括:存储器,被配置为存储程序;处理器,被配置为运行存储器中存储的程序,以执行上述实施例描述的基于短距离通信的组网方法。In one embodiment, the computing device shown in FIG. 11 may be implemented as a networking system based on short-distance communication, and the networking system based on short-distance communication may include: a memory configured to store programs; a processor , configured to run the program stored in the memory, so as to execute the short-distance communication-based networking method described in the above embodiments.
在一个实施例中,本公开提供一种可读存储介质,其中,可读存储介质存储有计算机程序,计算机程序被处理器执行时,实现如上述任一实施例描述的基于短距离通信的组网方法。In one embodiment, the present disclosure provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the short-distance communication-based group net method.
以上所述,仅为本公开的示例性实施例而已,并非用于限定本公开的保护范围。一般来说,本公开的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本公开不限于此。The above descriptions are merely exemplary embodiments of the present disclosure, and are not intended to limit the protection scope of the present disclosure. In general, various embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor or other computing device, although the disclosure is not limited thereto.
本公开的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。Embodiments of the present disclosure may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code written in any combination of one or more programming languages or object code.
本公开附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(ROM)、随机访问存储器(RAM)、光存储器装置和系统(数码多功能光碟DVD或CD光盘)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、可编程逻辑器件(FGPA)以及基于多核处理器架构的处理器。Any logic flow block diagrams in the figures of the present disclosure may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. Computer programs can be stored on memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random-access memory (RAM), optical memory devices and systems (digital versatile disc DVD or CD), etc. Computer readable media may include non-transitory storage media. The data processor can be of any type suitable for the local technical environment, such as but not limited to general purpose computer, special purpose computer, microprocessor, digital signal processor (DSP), application specific integrated circuit (ASIC), programmable logic device (FGPA) and processors based on multi-core processor architectures.
通过示范性和非限制性的示例,上文已提供了对本公开的示范实施例的详细描述。但结合附图和权利要求来考虑,对以上实施例的多种修改和调整对本领域技术人员来说是显而易见的,但不偏离本公开的范围。因此,本公开的恰当范围将根据权利要求确定。The foregoing has provided a detailed description of exemplary embodiments of the present disclosure by way of exemplary and non-limiting examples. However, considering the accompanying drawings and the claims, various modifications and adjustments to the above embodiments will be obvious to those skilled in the art without departing from the scope of the present disclosure. Therefore, the proper scope of the present disclosure will be determined from the claims.

Claims (13)

  1. 一种基于短距离通信的组网方法,其中,应用于管理设备,所述方法包括:A networking method based on short-distance communication, which is applied to management equipment, and the method includes:
    在检测到预设范围内存在至少一个协同设备的情况下,依据所述管理设备的属性信息,生成私有密钥,其中,所述协同设备具备识别所述私有密钥的功能;When at least one coordination device is detected within the preset range, a private key is generated according to the attribute information of the management device, wherein the coordination device has the function of identifying the private key;
    依据所述私有密钥和预设短距离通信协议,与至少一个所述协同设备建立通信网络。A communication network is established with at least one coordination device according to the private key and a preset short-distance communication protocol.
  2. 根据权利要求1所述的方法,其中,所述管理设备是支持协同集合标识CSIP协议的设备,所述管理设备的属性信息包括所述管理设备的物理地址;The method according to claim 1, wherein the management device is a device supporting the CSIP protocol, and the attribute information of the management device includes the physical address of the management device;
    所述依据所述管理设备的属性信息,生成私有密钥,包括:The generating a private key according to the attribute information of the management device includes:
    依据所述管理设备的物理地址,生成可解析标识符RSI;Generate a resolvable identifier RSI according to the physical address of the management device;
    依据所述RSI和所述CSIP协议,生成所述私有密钥。Generate the private key according to the RSI and the CSIP protocol.
  3. 根据权利要求2所述的方法,其中,所述在检测到预设范围内存在至少一个协同设备的情况下,依据所述管理设备的属性信息,生成私有密钥之前,还包括:The method according to claim 2, wherein, before generating a private key according to the attribute information of the management device when at least one coordination device is detected within the preset range, further comprising:
    获取所述预设范围内的多个待连接设备的特征信息;Obtain feature information of multiple devices to be connected within the preset range;
    将预设特征分别与多个所述待连接设备的特征信息进行对比;comparing the preset features with feature information of multiple devices to be connected;
    在确定所述待连接设备的特征信息包括所述预设特征的情况下,确定所述待连接设备支持所述CSIP协议;When it is determined that the feature information of the device to be connected includes the preset feature, determine that the device to be connected supports the CSIP protocol;
    设置支持所述CSIP协议的待连接设备为所述协同设备。Set the device to be connected that supports the CSIP protocol as the coordinated device.
  4. 根据权利要求1所述的方法,其中,所述预设短距离通信协议,包括:蓝牙通信协议,所述管理设备的属性信息,包括:所述管理设备的标识;The method according to claim 1, wherein the preset short-distance communication protocol includes: a Bluetooth communication protocol, and the attribute information of the management device includes: an identification of the management device;
    所述依据所述私有密钥和预设短距离通信协议,与至少一个所述协同设备建立通信网络,包括:The establishment of a communication network with at least one of the coordinated devices according to the private key and a preset short-distance communication protocol includes:
    依据所述蓝牙通信协议、所述私有密钥和所述管理设备的标识,生成组网广播消息;Generate a network broadcast message according to the Bluetooth communication protocol, the private key and the identifier of the management device;
    向至少一个所述协同设备发送所述组网广播消息;sending the networking broadcast message to at least one of the coordination devices;
    响应于至少一个所述协同设备反馈的组网响应,与所述协同设备建立所述通信网络,所述协同设备用于辅助所述管理设备完成预设功能。In response to a networking response fed back by at least one coordination device, the communication network is established with the coordination device, and the coordination device is used to assist the management device to complete preset functions.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述管理设备,包括:通信终端、 智能电视和显示设备中的至少一种;The method according to any one of claims 1 to 4, wherein the management device includes: at least one of a communication terminal, a smart TV, and a display device;
    所述协同设备包括音频设备、穿戴设备、照明设备、安防设备、取暖设备和网络家电中的至少一种。The cooperative equipment includes at least one of audio equipment, wearable equipment, lighting equipment, security equipment, heating equipment and network home appliances.
  6. 一种基于短距离通信的组网方法,其中,应用于接入设备,所述接入设备与管理设备基于相同的通信协议进行通信,所述方法包括:A networking method based on short-distance communication, which is applied to an access device, and the access device and the management device communicate based on the same communication protocol, and the method includes:
    获取管理设备基于其属性信息生成的私有密钥,其中,所述管理设备用于与预设范围内的至少一个协同设备建立通信网络,所述协同设备具备识别所述私有密钥的功能;Obtaining a private key generated by the management device based on its attribute information, wherein the management device is used to establish a communication network with at least one cooperative device within a preset range, and the cooperative device has the function of identifying the private key;
    依据所述私有密钥和预设短距离通信协议,与所述通信网络中的任意一个设备建立通信连接。Establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
  7. 根据权利要求6所述的方法,其中,所述获取管理设备基于其属性信息生成的私有密钥,包括:The method according to claim 6, wherein said obtaining the private key generated by the management device based on its attribute information comprises:
    通过数据交换的方式,获取所述管理设备共享的所述私有密钥,其中,所述管理设备是支持协同集合标识CSIP协议的设备。Obtain the private key shared by the management device through data exchange, where the management device is a device that supports the CSIP protocol.
  8. 根据权利要求7所述的方法,其中,所述获取管理设备基于其属性信息生成的私有密钥之后,还包括:The method according to claim 7, wherein, after obtaining the private key generated by the management device based on its attribute information, further comprising:
    依据所述CSIP协议对所述私有密钥进行解密,获得可解析标识符RSI,其中,所述RSI用于表征所述管理设备的属性信息。The private key is decrypted according to the CSIP protocol to obtain a resolvable identifier RSI, where the RSI is used to represent attribute information of the management device.
  9. 根据权利要求6至8中任一项所述的方法,其中,所述依据所述私有密钥和预设短距离通信协议,与所述通信网络中的任意一个设备建立通信连接之后,还包括:The method according to any one of claims 6 to 8, wherein, after establishing a communication connection with any device in the communication network according to the private key and the preset short-distance communication protocol, further comprising: :
    依据所述通信连接,与所述管理设备共享所述通信网络中的所述协同设备,所述协同设备还用于辅助所述接入设备完成预设功能。According to the communication connection, the coordination device in the communication network is shared with the management device, and the coordination device is also used to assist the access device to complete a preset function.
  10. 一种管理设备,其包括:A management device comprising:
    生成模块,被配置为在检测到预设范围内存在至少一个协同设备的情况下,依据所述管理设备的属性信息,生成私有密钥,其中,所述协同设备具备识别所述私有密钥的功能;The generating module is configured to generate a private key according to the attribute information of the management device when at least one coordination device is detected within a preset range, wherein the coordination device has a key to identify the private key Function;
    第一建立模块,被配置为依据所述私有密钥和预设短距离通信协议,与至少一个所述协 同设备建立通信网络。The first establishment module is configured to establish a communication network with at least one coordination device according to the private key and a preset short-distance communication protocol.
  11. 一种接入设备,其包括:An access device comprising:
    获取模块,被配置为获取管理设备基于其属性信息生成的私有密钥,其中,所述管理设备用于与预设范围内的至少一个协同设备建立通信网络,所述协同设备具备识别所述私有密钥的功能;An acquisition module configured to acquire a private key generated by a management device based on its attribute information, wherein the management device is used to establish a communication network with at least one coordination device within a preset range, and the coordination device has the ability to identify the private key the function of the key;
    第二建立模块,被配置为依据所述私有密钥和预设短距离通信协议,与所述通信网络中的任意一个设备建立通信连接。The second establishing module is configured to establish a communication connection with any device in the communication network according to the private key and a preset short-distance communication protocol.
  12. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-5中任一项,或,如权利要求6-9中任一项所述的基于短距离通信的组网方法。A memory on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement any one of claims 1-5 item, or, the networking method based on short-distance communication according to any one of claims 6-9.
  13. 一种可读存储介质,其中,所述可读存储介质存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-5中任一项,或,如权利要求6-9中任一项所述的基于短距离通信的组网方法。A readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of claims 1-5, or any one of claims 6-9 is realized The networking method based on short-distance communication described in any one of the above.
PCT/CN2022/115894 2021-12-21 2022-08-30 Networking method and device based on short-distance communication, and storage medium WO2023116032A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111572407.8A CN116321082A (en) 2021-12-21 2021-12-21 Networking method, equipment and storage medium based on short-distance communication
CN202111572407.8 2021-12-21

Publications (1)

Publication Number Publication Date
WO2023116032A1 true WO2023116032A1 (en) 2023-06-29

Family

ID=86780245

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/115894 WO2023116032A1 (en) 2021-12-21 2022-08-30 Networking method and device based on short-distance communication, and storage medium

Country Status (2)

Country Link
CN (1) CN116321082A (en)
WO (1) WO2023116032A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161220A (en) * 2016-06-08 2016-11-23 山东普奥智能软件科技有限公司 Things-internet gateway equipment
US20160366102A1 (en) * 2015-06-09 2016-12-15 Intel Corporation Self-Configuring Key Management System For an Internet of Things Network
CN107710216A (en) * 2015-07-03 2018-02-16 阿费罗有限公司 For establishing the apparatus and method of secure communication channel in Internet of Things (IoT) system
CN112383907A (en) * 2020-11-10 2021-02-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN112640387A (en) * 2018-08-30 2021-04-09 皇家飞利浦有限公司 Non-3 GPP device access to core network
CN113329056A (en) * 2021-04-30 2021-08-31 河海大学 Method, device and system for binding Internet of things device and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160366102A1 (en) * 2015-06-09 2016-12-15 Intel Corporation Self-Configuring Key Management System For an Internet of Things Network
CN107710216A (en) * 2015-07-03 2018-02-16 阿费罗有限公司 For establishing the apparatus and method of secure communication channel in Internet of Things (IoT) system
CN106161220A (en) * 2016-06-08 2016-11-23 山东普奥智能软件科技有限公司 Things-internet gateway equipment
CN112640387A (en) * 2018-08-30 2021-04-09 皇家飞利浦有限公司 Non-3 GPP device access to core network
CN112383907A (en) * 2020-11-10 2021-02-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN113329056A (en) * 2021-04-30 2021-08-31 河海大学 Method, device and system for binding Internet of things device and user terminal

Also Published As

Publication number Publication date
CN116321082A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US10965473B2 (en) Smart object identification in the digital home
US10299300B1 (en) Secure systems and methods for establishing wireless audio sharing connection
CN110235456B (en) Intelligent device network access method, mobile terminal, cloud server, device and system
US11979274B2 (en) Network management method and apparatus
KR102552789B1 (en) Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN107682238B (en) Intelligent household platform equipment and terminal electronic equipment
CN110740460A (en) device network access method, device, network device and storage medium
US9154483B1 (en) Secure device configuration
CN107708099B (en) Bluetooth device sharing request and control method and device, and readable storage medium
US11431483B2 (en) Timestamp based onboarding process for wireless devices
CN106105131B (en) Electronic device, method, apparatus, and computer medium pairing a plurality of devices
US20140006569A1 (en) Methods and apparatus for associating a device to a network
CN105933469B (en) Network access method and device for intelligent equipment and intelligent equipment
CN114697879A (en) Bluetooth pairing method, electronic device, chip and storage medium
JP2015050537A (en) Device unit setting method in gateway unit device, device unit setting system, and device unit setting program
EP3833153B1 (en) Network connection methods and devices
CN113765987A (en) Method, device and system for managing and processing information of equipment of Internet of things
WO2023116032A1 (en) Networking method and device based on short-distance communication, and storage medium
KR20190117302A (en) APPRATUS AND METHOD FOR NEGOTIATING eUICC VERSION
Schenk Matter and the Web of Things
CN114025349A (en) Network service method, device, system and storage medium
US11792080B1 (en) Reverse wireless discovery for adding an IoT device to an IoT ecosystem
CN117478449B (en) Control method and device of third party equipment, electronic equipment and medium
WO2022116110A1 (en) Access authentication method and apparatus, device, and storage medium

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: 22909357

Country of ref document: EP

Kind code of ref document: A1