CN116321082A - Networking method, equipment and storage medium based on short-distance communication - Google Patents

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

Info

Publication number
CN116321082A
CN116321082A CN202111572407.8A CN202111572407A CN116321082A CN 116321082 A CN116321082 A CN 116321082A CN 202111572407 A CN202111572407 A CN 202111572407A CN 116321082 A CN116321082 A CN 116321082A
Authority
CN
China
Prior art keywords
private key
cooperative
communication
equipment
management
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202111572407.8A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202111572407.8A priority Critical patent/CN116321082A/en
Priority to PCT/CN2022/115894 priority patent/WO2023116032A1/en
Publication of CN116321082A publication Critical patent/CN116321082A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a networking method, equipment and storage medium based on short-distance communication, and relates to the technical field of communication. The method comprises the following steps: generating a private key according to attribute information of the management device under the condition that at least one cooperative device exists in a preset range is detected, wherein the cooperative device has a function of identifying the private key; and establishing a communication network with at least one cooperative device according to the private key and a preset short-range communication protocol. The management device and at least one cooperative device can cooperate, and the same network configuration is used, so that the communication efficiency between different devices is improved.

Description

Networking method, equipment and storage medium based on short-distance communication
Technical Field
The present application relates to the field of communications technologies, and in particular, to a networking method, device, and storage medium based on short-range communications.
Background
Currently, short-range communication technology is widely applied to the internet of things (e.g., intelligent community networks, intelligent home networks, etc.). For example, each device in the intelligent home network communicates by using a short-distance communication technology, so that a user can reasonably configure each device in the intelligent home network, and the use efficiency of the devices in the intelligent home network is improved.
However, the devices in the intelligent community network and/or the intelligent home network may be devices produced by different manufacturers, or may be devices of different models produced by the same manufacturer, so that the devices cannot effectively communicate with each other, and communication efficiency is reduced.
Disclosure of Invention
The application provides a networking method, equipment and storage medium based on short-distance communication.
The embodiment of the application provides a networking method based on short-distance communication, which is applied to management equipment and comprises the following steps: generating a private key according to attribute information of the management device under the condition that at least one cooperative device exists in a preset range is detected, wherein the cooperative device has a function of identifying the private key; and establishing a communication network with at least one cooperative device according to the private key and a preset short-range communication protocol.
The embodiment of the application provides a networking method based on short-distance communication, which is applied to access equipment and comprises the following steps: the method comprises the steps that a private key generated by management equipment based on attribute information of the private key is obtained, wherein the management equipment is used for establishing a communication network with at least one cooperative equipment within a preset range, and the cooperative equipment has a function of identifying the private key; and establishing communication connection with any one device in the communication network according to the private key and a preset short-distance communication protocol.
An embodiment of the present application provides a management device, including: the generation module is configured to generate a private key according to attribute information of the management device under the condition that at least one cooperative device exists in a preset range is detected, wherein the cooperative device has a function of identifying the private key; a first establishing module configured to establish a communication network with at least one cooperating device in accordance with the private key and a preset short-range communication protocol.
An embodiment of the present application provides an access device, including: the acquisition module is configured to acquire a private key generated by the management equipment based on the attribute information of the private key, wherein the management equipment is used for establishing a communication network with at least one cooperative equipment within a preset range, and the cooperative equipment has the function of identifying the private key; and the second establishing module is configured to establish communication connection with any one device in the communication network according to the private key and a preset short-distance communication protocol.
An embodiment of the present application provides an electronic device, including: one or more processors; and a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement any of the short-range communication-based networking methods of the embodiments of the present application.
The embodiment of the application provides a readable storage medium, and the readable storage medium stores a computer program, and when the computer program is executed by a processor, any networking method based on short-distance communication in the embodiment of the application is realized.
According to the networking method, the management device, the electronic device and the storage medium based on the short-distance communication, the private key is generated according to the attribute information of the management device under the condition that at least one cooperative device exists in a preset range is detected, and the cooperative device has the function of identifying the private key, so that interaction between the management device and the cooperative device can be realized, and the cooperative device can be conveniently processed; according to the private key and a preset short-distance communication protocol, a communication network is established with at least one cooperative device, so that the management device and the at least one cooperative device can cooperatively work, and the communication efficiency between different devices is improved by using the same network configuration.
According to the networking method, the access device, the electronic device and the storage medium based on the short-distance communication, the management device is used for establishing a communication network with at least one cooperative device in a preset range by acquiring the private key generated by the management device based on the attribute information of the access device, and the cooperative device has the function of identifying the private key, so that interaction between the access device and the cooperative device can be realized, and the cooperative device is convenient to use; according to the private key and a preset short-distance communication protocol, communication connection is established with any one device in the communication network, so that the speed of accessing the access device into the communication network can be increased, the access device and at least one cooperative device can cooperate, and the communication efficiency between different devices is improved by using the same network configuration.
With respect to the above examples and other aspects of the present application and their implementation, further description is provided in the accompanying description, detailed description and claims.
Drawings
Fig. 1 is a schematic flow chart of a networking method based on short-distance communication according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a networking method based on short-distance communication according to another embodiment of the present application.
Fig. 3 shows a schematic diagram of information interaction between a client and a server supporting the CSIP protocol in this embodiment.
Fig. 4 shows a schematic diagram of a method of detecting a cooperative device in the present embodiment.
Fig. 5 is a schematic flow chart of a networking method based on short-distance communication according to still another embodiment of the present application.
Fig. 6 shows a block diagram of the components of the management apparatus provided in the embodiment of the present application.
Fig. 7 shows a block diagram of the components of an access device according to an embodiment of the present application.
Fig. 8 shows a block diagram of a networking system based on short-range communication according to an embodiment of the present application.
Fig. 9 is a flow chart illustrating a working method of a networking system based on short-distance communication according to an embodiment of the present application.
Fig. 10 shows a schematic diagram of a setting interface of a management device provided in an embodiment of the present application.
Fig. 11 illustrates a block diagram of an exemplary hardware architecture of a computing device capable of implementing short-range communication-based networking methods and apparatus according to embodiments of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
Bluetooth low energy (Bluetooth Low Energy, BLE) technology can be applied to a variety of devices in the internet of things. Wherein, a plurality of bluetooth devices with BLE function can form a connectable synchronization group (Connected Isochronous group, CIG), 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, bluetooth devices placed in different rooms in a home network may be bluetooth devices manufactured by different manufacturers), so that effective communication between a plurality of different bluetooth devices cannot be performed, and communication efficiency is reduced.
Fig. 1 is a schematic flow chart of a networking method based on short-distance communication according to an embodiment of the present application. The networking method based on short-distance communication can be applied to management equipment. As shown in fig. 1, the networking method based on short-range communication in the embodiment of the present application includes, but is not limited to, the following steps.
Step S101, under the condition that at least one cooperative device exists in a preset range, generating a private key according to attribute information of management devices.
The preset range is a range which can be detected by the management device and can be communicated with the management device, for example, a range with the management device as a center of a circle and a preset radius of 100 meters can be used as the preset range, and the detection accuracy of the cooperative device can be improved.
The cooperative device has the function of identifying the private key, so that the private key generated by the management device can be identified by the cooperative device, the communication efficiency between the two devices is quickened, and the communication security between the two devices is improved.
Step S102, a communication network is established with at least one cooperative device according to the private key and a preset short-range communication protocol.
The preset short-range communication protocol may include: any one of 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, and near field communication (Near Field Communication, NFC) protocol.
For example, by configuring a private key to a communication connection request based on any one of preset short-distance communication protocols and sending the communication connection request to at least one cooperative device, under the condition that a communication connection response fed back by the at least one cooperative device is determined to be obtained, communication connection is established with the at least one cooperative device, so that quick networking is realized, networking speed is improved, quick communication can be performed among a plurality of different devices, and communication efficiency is improved.
In this embodiment, under the condition that at least one cooperative device exists in a preset range is detected, generating a private key according to attribute information of the management device, wherein the cooperative device has a function of identifying the private key, so that interaction between the management device and the cooperative device can be performed, and the cooperative device is convenient to process; according to the private key and a preset short-distance communication protocol, a communication network is established with at least one cooperative device, so that the management device and the at least one cooperative device can cooperatively work, and the communication efficiency between different devices is improved by using the same network configuration.
Fig. 2 is a schematic flow chart of a networking method based on short-distance communication according to another embodiment of the present application. The networking method based on short-distance communication can be applied to management equipment. The difference between this embodiment and the previous embodiment is that: the management device is a device supporting a collaborative set identification (Coordinated Set Identifier profile, CSIP) protocol, and the attribute information of the management device includes a physical address of the management device. By generating the resolvable identifier (Resolvable Set Identifier, RSI) according to the physical address of the management equipment and converting the RSI into the private key according to the CSIP protocol, the private key can embody the information of the management equipment, the attribution information of the communication network is clear, equipment in the communication network can cooperate with the management equipment, and the communication efficiency of the communication network is improved.
As shown in fig. 2, the networking method based on short-range communication in the embodiment of the present application includes, but is not limited to, the following steps.
In step S201, in case that at least one cooperative device exists in the preset range is detected, the resolvable identifier RSI is generated according to the physical address of the management device.
The RSI is an identifier which can be resolved by the cooperative device, and the cooperative device can definitely manage the physical address of the device by identifying the RSI, so that the communication efficiency between the cooperative device and the management device is improved.
For example, by encoding the physical address of the management device, the RSI is generated, so that the RSI can embody the information of the management device, and the security of the information of the management device can be ensured, thereby reducing the risk of leakage of the information of the management device.
Step S202, generating a private key according to RSI and CSIP protocols.
Wherein the cooperative device has a function of identifying the private key. For example, a cooperating device is also a device that can recognize the CSIP protocol.
The management equipment processes the RSI through a key generation function included in the CSIP protocol to generate a private key; correspondingly, the cooperative device can analyze the private key through a key analysis function included in the CSIP protocol to obtain the RSI, and further process the RSI, so that the cooperative device can acquire the physical address of the management device, and the communication speed between the cooperative device and the management device is increased.
Step S203, establishing a communication network with at least one cooperative device according to the private key and the preset short-range communication protocol.
It should be noted that, step S203 in the embodiment of the present application is the same as step S102 in the previous embodiment, and will not be described herein.
In this embodiment, under the condition that at least one cooperative device exists in a preset range, generating an RSI according to a physical address of a management device, so that the RSI can embody information of the management device; generating a private key according to the RSI and CSIP protocols, ensuring the safety of information of the management equipment, and reducing the risk of information leakage of the management equipment; according to the private key and a preset short-distance communication protocol, a communication network is established with at least one cooperative device, so that the management device and the at least one cooperative device can use the private key to perform cooperative work, and the communication efficiency between different devices is improved by using the same network configuration.
Fig. 3 shows a schematic diagram of information interaction between a client and a server supporting the CSIP protocol in this embodiment. As shown in fig. 3, the information interaction between the client 301 and the server 302 supporting the CSIP protocol may be implemented in the following manner: the client 301 parses the acquired set identification and parsing key (Set Identify Resolving Key, SIRKey) sent by the server 302 through a key parsing function in the CSIP protocol, so as to obtain an RSI corresponding to the SIRKey, and the RSI can clearly learn the physical address of the bluetooth module in the server 302, so that bluetooth communication is established with the server 302.
In some specific implementations, the server 302 may further include a plurality of member devices, where sirkeys can be identified between the member devices, and the server 302 shares the sirkeys with the client 301, so that the client 301 can quickly establish a communication network with the member devices, thereby accelerating the networking speed and improving the communication efficiency between the client 301 and the member devices.
Fig. 4 shows a schematic diagram of a method of detecting a cooperative device in the present embodiment. As shown in fig. 4, a plurality of member devices (e.g., a first member device 411, second member devices 412, … …, nth member device 41N, etc., N representing the number of member devices, N being an integer greater than or equal to 1) and a detection device 420 are included in the collaborative set 410.
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 (e.g., SIRKey), the detection device 420 may parse the obtained private key according to a key parsing function in the CSIP protocol to determine whether the private key includes RSI information corresponding to a preset private key, and if the private key includes RSI information corresponding to the preset private key, it may determine that the broadcast message is a message sent by a member device in the cooperative set 410, so that other devices (e.g., second member devices 412, … …, nth member device 41N, etc.) in the cooperative set 410 are detected quickly, so that the detection speed of the devices in the cooperative set 410 is increased, and the networking speed between the detection device 420 and each member device is increased.
It should be noted that, if the detection device 420 establishes a communication connection with the first member device 411, the detection device 420 may quickly establish a communication connection with other member devices in the collaboration set 410, so as to implement quick networking between multiple devices and improve communication efficiency.
In some implementations, when detecting that at least one cooperative device exists in the preset range, before generating the private key according to the attribute information of the management device, the method further includes:
acquiring characteristic information of a plurality of devices to be connected in a preset range; respectively comparing the preset characteristics with characteristic information of a plurality of devices to be connected; under the condition that the characteristic information of the equipment to be connected comprises preset characteristics, the equipment to be connected is determined to support a CSIP protocol; setting the device to be connected supporting the CSIP protocol as a cooperative device.
Wherein, the device to be connected may include: any one or more of ZigBee communication protocol-supporting device, NFC protocol-supporting device, ultra wideband communication protocol-supporting device, wi-Fi device and infrared device. The preset features can embody the feature information of the CSIP protocol, and the feature information of the equipment to be connected can embody the feature information of different short-distance communication protocols.
By comparing the preset features with the feature information of the devices to be connected respectively, specific devices to be connected can be clearly defined to support the CSIP protocol, collaborative devices are screened from the devices to be connected, the collaborative devices have the function of identifying the CSIP protocol, and collaborative work can be carried out between the collaborative devices and the management device, so that the management device can be assisted to complete functions expected by users.
For example, the cooperative device may include at least one of an audio device, a wearable device, a lighting device, a security device, a heating device, and a network appliance (e.g., a network refrigerator, a network air conditioner, a network washing machine, a network water heater, a network microwave oven, a network cooker). And a management device including: at least one of a communication terminal, a smart television and a display device.
When a user plays a certain music piece by using a certain communication terminal, the audio device is required to assist the communication terminal to complete the music function together when the audio device is required to play the music piece synchronously. Therefore, the equipment to be connected which can support the CSIP protocol is obtained through screening from a plurality of equipment to be connected in a preset range, and the equipment to be connected which supports the CSIP protocol is set to be cooperative equipment, so that the cooperative equipment can be quickly networked with the management equipment, the use efficiency of the management equipment on the cooperative equipment is quickened, the equipment of different types or different models can be quickly and accurately communicated, and the use experience of a user is improved.
For example, a certain communication terminal and the smart television simultaneously communicate with a certain audio device (for example, a bluetooth speaker and the like), so that the communication terminal and the smart television can use the bluetooth speaker in turn to play audio data. So as to facilitate different use requirements of users.
For another example, a communication terminal can communicate with a certain audio device (for example, a bluetooth headset), a network refrigerator and a network air conditioner at the same time, so that a user can conveniently control different cooperative devices through the communication terminal, the user can conveniently use the communication terminal, and the use experience of the user is improved.
It should be noted that the above description is merely illustrative for different application scenarios, and specific setting may be performed according to actual needs (for example, one-to-many between the management device and the multiple cooperative devices, or one-to-one communication connection setting is performed according to the use requirement of the user, so that the use of the user is convenient), and other non-illustrated application scenarios are also within the protection scope of the present application, which is not described herein again.
In some implementations, the preset short-range communication protocol includes: a Bluetooth communication protocol; managing attribute information of a device, comprising: managing the identity of the device; establishing a communication network with at least one cooperative device according to the private key and a preset short-range communication protocol, comprising: generating a networking broadcast message according to the Bluetooth communication protocol, the private key and the identifier of the management equipment; transmitting a networking broadcast message to at least one cooperative device; a communication network is established with the cooperating devices in response to a networking response fed back by the at least one cooperating device.
Wherein the management device has the capability to generate and parse the private key. The cooperative device is used for assisting the management device to complete a preset function, for example, the cooperative device may include bluetooth devices such as a bluetooth speaker and a bluetooth headset, so as to assist the management device in completing the function of playing audio data.
It should be noted that, the management device sends the networking broadcast message to at least one cooperative device at the same time, so that the at least one cooperative device can learn the private key generated by the management device and the identifier of the management device, and further, by feeding back the networking response to the management device, the management device can establish a communication network with the at least one cooperative device, thereby accelerating the networking speed between the management device and the plurality of cooperative devices, and improving the communication efficiency between different devices.
Fig. 5 is a schematic flow chart of a networking method based on short-distance communication according to still another embodiment of the present application. The networking method based on short-distance communication can be applied to access equipment. The access device communicates with the management device based on the same communication protocol.
It should be noted that, the access device is a device controlled by the management device, and the access device is capable of performing networking communication with at least one cooperative device.
As shown in fig. 5, the networking method based on short-range communication in the embodiment of the present application includes, but is not limited to, the following steps.
In step S501, a private key generated by the management apparatus based on its attribute information is acquired.
The management device is used for establishing a communication network with at least one cooperative device in a preset range, and the cooperative device has the function of identifying the private key.
For example, the management device may enable the access device to learn the private key generated by the management device by sending a broadcast, so as to facilitate the access device to access to the private communication network established by the management device, and enable the access device to share the communication resource in the private communication network.
Step S502, establishing communication connection with any one device in the communication network according to the private key and a preset short-distance communication protocol.
It should be noted that any one of the devices in the communication network may include the management device, or any one of the cooperating devices communicatively connected to the management device.
The access device establishes communication connection with the management device by using the private key based on a preset short-distance communication protocol or any one of the cooperative devices in communication connection with the management device, so that the speed of the access device accessing the communication network can be increased, the access device can share communication resources (such as cooperative capacity resources of a plurality of cooperative devices) in the communication network with the management device, the communication efficiency between different types of communication devices is improved, and the communication resources in the communication network can be reasonably used.
In this embodiment, the management device is configured to establish a communication network with at least one cooperative device within a preset range by acquiring a private key generated by the management device based on attribute information of the private key, where the cooperative device has a function of identifying the private key, so that interaction between the access device and the cooperative device is enabled, and use of the cooperative device is facilitated; according to the private key and a preset short-distance communication protocol, communication connection is established with any one device in the communication network, so that the speed of accessing the access device into the communication network can be increased, the access device and at least one cooperative device can cooperate, and the communication efficiency between different devices is improved by using the same network configuration.
In some implementations, obtaining a private key generated by a management device based on its attribute information includes: and obtaining the private key shared by the management equipment in a data exchange mode.
Wherein the management device is a device supporting a collaborative set identification, CSIP, protocol.
For example, the access device may learn that the management device wishes to access the access device to the communication network by receiving an addition request sent by the management device, and in the case that the access device feeds back an addition response to the management device and determines to agree to join in the communication network, the access device may obtain a private key shared by the management device, so as to facilitate resource sharing between the access device and the management device.
It should be noted that, the data interaction mode may include interaction of communication messages, and may also include a short-distance communication mode, so that the management device may read related information of the access device, and increase the speed of joining the access device to the communication network. The above data interaction modes are only illustrative, can be specifically set according to actual needs, and other non-illustrated data interaction modes are also within the protection scope of the present application, and are not described herein again.
In some embodiments, after obtaining the private key generated by the management device based on the attribute information, the method further includes: and decrypting the private key according to the CSIP protocol to obtain the resolvable identifier RSI.
Where RSI is an important parameter in pairing with a cooperating device set, RSI may characterize attribute information of the managing device (e.g., information of a physical address of the managing device, an identification of the managing device, etc.).
It should be noted that, communication between the access device and the management device needs to be performed based on the same communication protocol. For example, if the access device obtains the private key and cannot analyze the private key through a communication protocol supported by the access device, it is indicated that the access device cannot communicate with the management device; if the access device can decrypt the private key and obtain the RSI using the communication protocol supported by the access device (e.g., the CSIP protocol), then the access device is characterized as being the same as the communication protocol supported by the management device, and normal communication can be performed between the two devices.
The access device decrypts the private key based on the CSIP protocol to obtain the RSI capable of representing the attribute information of the management device, interaction between the access device and the management device can be quickened, the access device can rapidly identify the management device, and communication efficiency is improved.
In some embodiments, after establishing a communication connection with any one device in the communication network according to the private key and the preset short-range communication protocol, the method further includes: according to the communication connection, a cooperative device in the communication network is shared with the management device.
The cooperative device is used for assisting the access device to complete a preset function.
It should be noted that, under the condition that it is determined that the access device establishes communication connection with any one device in the communication network, the access device may learn the private key used in the communication network, and determine the specific communication addresses of other cooperative devices in the communication network through judging the received broadcast message, so that the access device may quickly obtain the communication service provided by the other cooperative devices in the communication network, thereby improving the utilization efficiency of the cooperative devices.
Hereinafter, a management apparatus according to an embodiment of the present application will be described in detail with reference to the accompanying drawings. Fig. 6 shows a block diagram of the components of the management apparatus provided in the embodiment of the present application. As shown in fig. 6, the management apparatus 600 includes:
The generating module 601 is configured to generate a private key according to attribute information of the management device when at least one cooperative device exists in a preset range, wherein the cooperative device has a function of identifying the private key; a first establishing module 602 is configured to establish a communication network with at least one cooperating device in accordance with the private key and a preset short-range communication protocol.
In this embodiment, when at least one cooperative device exists in a preset range, the generating module generates a private key according to attribute information of the management device, where the cooperative device has a function of identifying the private key, so that interaction between the management device and the cooperative device can be performed, and processing of the cooperative device is facilitated; the first establishing module is used for establishing a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol, so that the management device and the at least one cooperative device can cooperatively work, and the communication efficiency among different devices is improved by using the same network configuration.
Fig. 7 shows a block diagram of the components of an access device according to an embodiment of the present application. As shown in fig. 7, an access device 700 includes: an obtaining module 701, configured to obtain a private key generated by a management device based on attribute information thereof, where the management device is configured to establish a communication network with at least one cooperative device within a preset range, and the cooperative device has a function of identifying the private key; a second establishing module 702 is configured to establish a communication connection with any one of the devices in the communication network according to the private key and a preset short-range communication protocol.
In this embodiment, the private key generated by the management device based on the attribute information thereof is acquired by the acquisition module, and the management device is used for establishing a communication network with at least one cooperative device within a preset range, where the cooperative device has a function of identifying the private key, so that interaction between the access device and the cooperative device can be performed, and use of the cooperative device is facilitated; the second establishing module is used for establishing communication connection with any one device in the communication network according to the private key and a preset short-distance communication protocol, so that the speed of accessing the access device into the communication network can be increased, the access device and at least one cooperative device can cooperatively work, and the communication efficiency among different devices is improved by using the same network configuration.
Fig. 8 shows a block diagram of a networking system based on short-range communication according to an embodiment of the present application. As shown in fig. 8, the short-range communication-based networking system may include the following devices.
A first terminal 810, a second terminal 820, and a set 830 of cooperating devices.
Wherein the first terminal 810 includes: a bluetooth module 811 and a device management module 812. The set of cooperating devices 830 includes: the first cooperative device 831, the second cooperative devices 832, … …, and the mth cooperative device 83M, M represent the number of cooperative devices, and M is an integer greater than or equal to 1.
A bluetooth module 811 for establishing communication connection with a plurality of cooperative devices in the set of cooperative devices 830, where the plurality of cooperative devices in the set of cooperative devices 830 may be bluetooth devices supporting BLE technology (e.g., the plurality of cooperative devices may be devices based on connectable synchronous audio streams (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 a service in a generic attribute specification (Generic Attribute Profile, GATT), detecting whether there is a cooperative device supporting a feature of a SIRKey within a preset range, and generating a private key (e.g., a SIRKey) according to attribute information of the first terminal 810 in case it is determined that there is at least one cooperative device within the preset range; then, a communication network is established with at least one cooperating device in accordance with the private key and a preset short-range communication protocol. Wherein the cooperating device has the function of identifying the private key (e.g. by decrypting the SIRKey using a preset function (or based on a preset protocol), obtaining a resolvable identifier RSI, etc.).
Fig. 9 is a flow chart illustrating a working method of a networking system based on short-distance communication according to an embodiment of the present application. As shown in fig. 9, the working method of the networking system based on short-distance communication includes, but is not limited to, the following steps.
In step S901, the first terminal 810 is communicatively connected to a plurality of available BLE devices via the bluetooth module 811.
Wherein the BLE device is a CIS-enabled bluetooth device. The first terminal 810 may include: at least one of a communication terminal, a smart television and a display device.
Step S902: the first terminal 810 detects whether there is a cooperative device supporting the SIRKey feature within a preset range using a service in GATT.
Step S903: in case that it is determined that at least one cooperative device exists in the preset range, the first terminal 810 generates a private key according to a physical address corresponding to the bluetooth module 811.
The physical address may be a MAC address, or may be another address capable of uniquely identifying the bluetooth module 811. The above physical addresses are only exemplified, and can be specifically set according to actual needs, and other unexplained physical addresses are also within the protection scope of the present application, and are not described herein again.
For example, the private key may be a key generated in the following manner: the RSI is generated by the physical address corresponding to the bluetooth module 811 and the private key is generated by the RSI and CSIP protocols. For example, the private key may be represented using a SIRKey.
It should be noted that, the CSIP protocol may further include a key generation function, and the private key may be obtained by processing the RSI using the key generation function.
Step S904: the first terminal 810 sends a broadcast message to at least one cooperative device within a preset range, so that the at least one cooperative device knows the SIRKey carried in the broadcast message, and establishes a communication network with the at least one cooperative device based on the SIRKey and a preset short-range communication protocol.
It should be noted that, the first terminal 810 may use a function corresponding to a cooperative device in the communication network, so that the first terminal 810 may cooperate with at least one cooperative device, and the same network configuration is used to improve communication efficiency between different devices.
The broadcast message may also include characteristic information of the SIRKey. The cooperative device may include: at least one of audio equipment, wearing equipment, lighting equipment, security equipment, heating equipment and network household appliances.
For example, the network appliance may include: at least one of a network refrigerator, a network air conditioner, a network washing machine, a network water heater, a network microwave oven and a network cooker.
In step S905, in case it is determined that the second terminal 820 moves within the preset range of the mobile terminal 810, the first terminal 810 may add the second terminal 820 to the communication network by means of a network search or by means of manual addition by a user, so that the second terminal 820 may share resources of a cooperative device in the communication network.
For example, the second terminal 820 may establish a communication connection with any one of the devices in the communication network by: the second terminal 820 acquires the private key generated by the first terminal 810 based on the physical address corresponding to the bluetooth module 811, and establishes communication connection with any one device in the communication network according to the key and a preset short-range communication protocol.
After the second terminal 820 establishes a communication connection with any device in the communication network, the second terminal 820 can share the cooperative device resources in the communication network, so that the second terminal 820 and at least one cooperative device (for example, the first cooperative device 831) can cooperate with each other, and the communication efficiency between different devices is improved by using the same network configuration.
Specifically, the second terminal 820 parses the obtained SIRKey through the key parsing function under the condition of knowing the bluetooth address of the first terminal 810, so as to determine the RSI, and further enable the second terminal 820 to perform authentication communication with at least one cooperative device through the RSI.
For example, the key parameter RSI may be obtained by combining the SIRKey parsing function with the bluetooth address of the first terminal 810 (or the first terminal 810 shares the home private SIRKey with the second terminal 820 through data exchange), so that fast networking with at least one cooperative device (e.g., the first cooperative device 831) may be achieved. Wherein the RSI is for paired communication with at least one cooperating device.
For another example, the second terminal 820 may also directly acquire the physical address of the bluetooth module 811 of the first terminal 810 by broadcasting.
Further, the second terminal 820 can quickly obtain other cooperative devices (e.g., the second cooperative device 832, … …, the mth cooperative device 83M, etc.) or terminals in the communication network by identifying the SIRKey, and establish communication connection with each device in the communication network, so as to realize quick networking between the second terminal 820 and each device in the communication network.
In this embodiment, under the condition that the first terminal detects that at least one cooperative device exists in a preset range, generating a private key according to a physical address of a bluetooth module of the first terminal, where the cooperative device has a function of identifying the private key, so that interaction between the first terminal and the cooperative device is enabled, and processing of the cooperative device is facilitated; according to the private key and a preset short-distance communication protocol, a communication network is established with at least one cooperative device, so that the first terminal and the at least one cooperative device can cooperatively work, and the communication efficiency among different devices is improved by using the same network configuration; and under the condition that the second terminal also needs to use the cooperative equipment in the communication network, the second terminal can establish communication connection with any one of the equipment in the communication network through the private key in a mode of sharing the private key, so that the second terminal can be quickly added into the communication network, the cooperative equipment resources in the communication network are shared with the first terminal, the networking speed among different equipment is improved, and the utilization efficiency of the cooperative equipment resources is improved.
Fig. 10 shows a schematic diagram of a setting interface of a management device provided in an embodiment of the present application. As shown in fig. 10, the setting interface 1000 of the management apparatus includes the following setting options: bluetooth, device name, file received over bluetooth, BLE family member terminal list, connected device and previously connected device.
When the user clicks or touches the "BLE family member terminal list" option, the "family member terminal list 1001" interface in which the adding of the BLE family member can be selected by selecting a plurality of terminals (e.g., second terminal, third terminal, etc.) included in the "BLE family member terminal list" option is popped up.
It should be noted that, the identifiers of the plurality of terminals included in the "BLE family member terminal list" option may be identifiers of terminals obtained through bluetooth search, or identifiers of terminals manually added by a user, or addresses of bluetooth devices manually added by a user, etc., so that different terminals may be conveniently and quickly added to the BLE family members. The above method for acquiring the terminal in the terminal list is only illustrative, and can be specifically set according to actual needs, and other methods for acquiring the terminal which are not illustrated are also within the protection scope of the present application, and are not described herein.
Wherein the second terminal and the third terminal may each include at least one of a communication terminal (e.g., a smart phone, etc.), a smart television, and a display device (e.g., a projector, etc.); and each terminal needs to support the CSIP protocol.
By using the setting interface of the management device to set each terminal in the family member, a plurality of different terminals can be quickly and accurately added into the home network, so that each terminal can conveniently share a plurality of cooperative device resources in the home network.
It should be clear that the present application is not limited to the specific arrangements and processes described in the above embodiments and shown in the drawings. For convenience and brevity of description, detailed descriptions of known methods are omitted herein, and specific working processes of the systems, modules and units described above may refer to corresponding processes in the foregoing method embodiments, which are not repeated herein.
Fig. 11 illustrates a block diagram of an exemplary hardware architecture of a computing device capable of implementing short-range communication-based networking methods and apparatus according to embodiments of the present application.
As shown in fig. 11, computing device 1100 includes an input device 1101, an input interface 1102, a central processor 1103, a memory 1104, an output interface 1105, and an output device 1106. The input interface 1102, the central processor 1103, the memory 1104, and the output interface 1105 are connected to each other through a bus 1107, and the input device 1101 and the output device 1106 are connected to the bus 1107 through the input interface 1102 and the output interface 1105, respectively, and further connected to other components of the computing device 1100.
Specifically, the input device 1101 receives input information from the outside, and transmits the input information to the central processor 1103 through the input interface 1102; the central processor 1103 processes the input information based on computer executable instructions stored in the memory 1104 to generate output information, temporarily or permanently stores the output information in the memory 1104, and then transmits the output information to the output device 1106 through the output interface 1105; output device 1106 outputs the output information to the outside of computing device 1100 for use by a user.
In one embodiment, the computing device shown in FIG. 11 may be implemented as an electronic device that may include: a memory configured to store a program; and a processor configured to run a program stored in the memory to perform the networking method based on short-range communication described in the above embodiment.
In one embodiment, the computing device shown in FIG. 11 may be implemented as a short-range communication-based networking system that may include: a memory configured to store a program; and a processor configured to run a program stored in the memory to perform the networking method based on short-range communication described in the above embodiment.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. In general, the various embodiments of the application 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 application is not limited thereto.
Embodiments of the present application may be implemented by a data processor of a mobile device executing computer program instructions, e.g. in a processor entity, either in hardware, or in a combination of software and hardware. The computer program instructions may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages.
The block diagrams of any logic flow in the figures of this application 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. The computer program may be stored on a 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 storage devices and systems (digital versatile disk DVD or CD optical disk), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as, but not limited to, general purpose computers, special purpose computers, microprocessors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
By way of exemplary and non-limiting example, a detailed description of exemplary embodiments of the present application has been provided above. Various modifications and adaptations to the above embodiments may become apparent to those skilled in the art without departing from the scope of the present application, as considered in conjunction with the accompanying drawings and claims. Accordingly, the proper scope of the present application is to be determined according to the claims.

Claims (13)

1. A networking method based on short-range communication, applied to a management device, the method comprising:
generating a private key according to attribute information of the management equipment under the condition that at least one cooperative equipment exists in a preset range is detected, wherein the cooperative equipment has the function of identifying the private key;
and establishing a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol.
2. The method according to claim 1, wherein the management device is a device supporting a collaborative set identification, CSIP, protocol, and wherein the attribute information of the management device includes a physical address of the management device;
the generating a private key according to the attribute information of the management device includes:
Generating a resolvable identifier (RSI) according to the physical address of the management equipment;
and generating the private key according to the RSI and the CSIP protocol.
3. The method according to claim 2, wherein, in the case that at least one cooperative device exists in the preset range, before generating the private key according to the attribute information of the management device, the method further comprises:
acquiring characteristic information of a plurality of devices to be connected in the preset range;
respectively comparing preset characteristics with characteristic information of a plurality of devices to be connected;
under the condition that the feature information of the equipment to be connected comprises the preset feature, determining that the equipment to be connected supports the CSIP protocol;
and setting the equipment to be connected supporting the CSIP protocol as the cooperative equipment.
4. The method of claim 1, wherein the predetermined short-range communication protocol comprises: a bluetooth communication protocol, the attribute information of the management device, comprising: an identification of the management device;
the establishing a communication network with at least one cooperative device according to the private key and a preset short-distance communication protocol includes:
Generating a networking broadcast message according to the Bluetooth communication protocol, the private key and the identifier of the management device;
transmitting the networking broadcast message to at least one of the cooperative devices;
and responding to a networking response fed back by at least one cooperative device, establishing the communication network with the cooperative device, wherein the cooperative device is used for assisting the management device to complete a preset function.
5. The method according to any one of claims 1 to 4, wherein the management device comprises: at least one of a communication terminal, a smart television and a display device;
the cooperative device comprises at least one of an audio device, a wearable device, a lighting device, a security device, a heating device and a network household appliance.
6. A networking method based on short-range communication, applied to an access device, the access device and a management device communicating based on the same communication protocol, the method comprising:
the method comprises the steps that a private key generated by management equipment based on attribute information of the private key is obtained, wherein the management equipment is used for establishing a communication network with at least one cooperative equipment within a preset range, and the cooperative equipment has a function of identifying the private key;
And establishing communication connection with any one device in the communication network according to the private key and a preset short-distance communication protocol.
7. The method according to claim 6, wherein the obtaining the private key generated by the management device based on the attribute information thereof, comprises:
and acquiring the private key shared by the management equipment in a data exchange mode, wherein the management equipment is equipment supporting a Collaborative Set Identifier (CSIP) protocol.
8. The method according to claim 7, wherein after the obtaining the private key generated by the management apparatus based on the attribute information thereof, further comprising:
decrypting the private key according to the CSIP protocol to obtain a resolvable identifier (RSI), wherein the RSI is used for representing attribute information of the management equipment.
9. The method according to any one of claims 6 to 8, wherein after establishing a communication connection with any one of the devices in the communication network according to the private key and a preset short-range communication protocol, further comprising:
and sharing the cooperative equipment in the communication network with the management equipment according to the communication connection, wherein the cooperative equipment is also used for assisting the access equipment to complete a preset function.
10. A management apparatus, comprising:
the generation module is configured to generate a private key according to attribute information of the management device under the condition that at least one cooperative device exists in a preset range is detected, wherein the cooperative device has a function of identifying the private key;
a first establishing module configured to establish a communication network with at least one of the cooperating devices in accordance with the private key and a preset short-range communication protocol.
11. An access apparatus, comprising:
the system comprises an acquisition module, a management device and a storage module, wherein the acquisition module is configured to acquire a private key generated by the management device based on attribute information of the private key, the management device is used for establishing a communication network with at least one cooperative device within a preset range, and the cooperative device has a function of identifying the private key;
and the second establishing module is configured to establish communication connection with any one 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;
a memory having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the short-range communication based networking method of any of claims 1-5, or of any of claims 6-9.
13. A readable storage medium, characterized in that the readable storage medium stores a computer program, which when executed by a processor implements the networking method based on short-range communication according to any one of claims 1-5 or any one of claims 6-9.
CN202111572407.8A 2021-12-21 2021-12-21 Networking method, equipment and storage medium based on short-distance communication Pending CN116321082A (en)

Priority Applications (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
PCT/CN2022/115894 WO2023116032A1 (en) 2021-12-21 2022-08-30 Networking method and device based on short-distance communication, and storage medium

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN116321082A true CN116321082A (en) 2023-06-23

Family

ID=86780245

Family Applications (1)

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

Country Status (2)

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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10469464B2 (en) * 2015-06-09 2019-11-05 Intel Corporation Self-configuring key management system for an internet of things network
WO2017007725A1 (en) * 2015-07-03 2017-01-12 Afero, Inc. Apparatus and method for establishing secure communication channels in an internet of things (iot) system
CN106161220A (en) * 2016-06-08 2016-11-23 山东普奥智能软件科技有限公司 Things-internet gateway equipment
EP3618382A1 (en) * 2018-08-30 2020-03-04 Koninklijke Philips N.V. Non-3gpp device access to core network
CN112383907B (en) * 2020-11-10 2023-12-19 炬芯科技股份有限公司 Bluetooth private protocol access method and system
CN113329056B (en) * 2021-04-30 2023-12-01 河海大学 Binding method, binding device and binding system for Internet of things equipment and user terminal

Also Published As

Publication number Publication date
WO2023116032A1 (en) 2023-06-29

Similar Documents

Publication Publication Date Title
US10965473B2 (en) Smart object identification in the digital home
CN110235456B (en) Intelligent device network access method, mobile terminal, cloud server, device and system
US10404832B2 (en) Management of gateway device using virtual gateway device
US10484512B2 (en) Management of multi-radio gateway device using virtual gateway device
CN105453671B (en) method and apparatus for registering wireless device in wireless communication system
KR102552789B1 (en) Method and apparatus for automatically generating an events dictionary in an internet of things (iot) network
EP2424172B1 (en) Method and apparatus for establishing communication
CN110740460A (en) device network access method, device, network device and storage medium
CN110636483A (en) Network distribution method and system
EP2885936A1 (en) Configuration of a new enrollee device for use in a communication network
CN111741509A (en) Network distribution method and device, storage medium and processor
CN108259523B (en) Data transmission method, Internet of things system and network access method
CN106453370B (en) Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN114697879A (en) Bluetooth pairing method, electronic device, chip and storage medium
CN114513379A (en) Binding method and terminal for intelligent household equipment
CN113794996B (en) Device communication, device control method, device, electronic device, and storage medium
EP3833153B1 (en) Network connection methods and devices
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
CN113765987A (en) Method, device and system for managing and processing information of equipment of Internet of things
CN105681162A (en) Method, device and system for synchronizing information
US20180041387A1 (en) Method and device for networking intelligent terminals
CN116321082A (en) Networking method, equipment and storage medium based on short-distance communication
CN114025349B (en) Network service method, device, system and storage medium
CN111010322B (en) Information configuration method and device, electronic equipment and storage medium
CN114007276A (en) Network access processing method, device, equipment and system of ZigBee network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication