WO2024087384A1 - Procédé d'établissement de connexion bluetooth, dispositif électronique et support de stockage informatique - Google Patents

Procédé d'établissement de connexion bluetooth, dispositif électronique et support de stockage informatique Download PDF

Info

Publication number
WO2024087384A1
WO2024087384A1 PCT/CN2022/143678 CN2022143678W WO2024087384A1 WO 2024087384 A1 WO2024087384 A1 WO 2024087384A1 CN 2022143678 W CN2022143678 W CN 2022143678W WO 2024087384 A1 WO2024087384 A1 WO 2024087384A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
key
information
electronic device
bluetooth device
Prior art date
Application number
PCT/CN2022/143678
Other languages
English (en)
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 WO2024087384A1 publication Critical patent/WO2024087384A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Definitions

  • the present invention relates to the field of communications, and in particular to a method and device for establishing a Bluetooth connection, an electronic device and a computer storage medium.
  • a key for identity authentication can be set when binding a user. Subsequently, each time the user uses the user device to connect to the Bluetooth device, the user needs to manually enter the key in the key input window of the user device, making the Bluetooth connection operation more cumbersome.
  • a method, device, electronic device and computer storage medium for establishing a Bluetooth connection are provided.
  • the present application provides a method for establishing a Bluetooth connection, which is applied to an electronic device, and the method comprises: receiving Bluetooth broadcast data sent by a Bluetooth device, the Bluetooth broadcast data comprising device information and a binding identifier of the Bluetooth device, the binding identifier being used to indicate whether the Bluetooth device is bound; displaying an icon corresponding to the Bluetooth device; in response to a user's operation on the icon, establishing a connection with the Bluetooth device according to the device information; if the binding identifier is a first identifier, sending a key acquisition request to a server according to the information of a target user currently logged in to the electronic device and the device information; wherein the first identifier is used to indicate that the Bluetooth device has been bound, and the key acquisition request is used to instruct the server to query a key associated with the device information from a key corresponding to a user group to which the target user belongs; receiving the key returned by the server and sending the key to the Bluetooth device for authentication; and after receiving the authentication success information returned by the Bluetooth device,
  • an embodiment of the present application provides a Bluetooth connection establishment device, the Bluetooth connection establishment device comprising: a receiving module, used to receive Bluetooth broadcast data sent by a Bluetooth device, the Bluetooth broadcast data including device information and a binding identifier of the Bluetooth device, the binding identifier being used to indicate whether the Bluetooth device is bound; a display module, used to display an icon corresponding to the Bluetooth device; a connection module, used to establish a connection with the Bluetooth device according to the device information in response to a user's operation on the icon; a request module, used to send a key acquisition request to a server according to the information of a target user currently logged in to the electronic device and the device information if the binding identifier is a first identifier; wherein the first identifier is used to indicate that the Bluetooth device has been bound, and the key acquisition request is used to instruct the server to query a key associated with the device information from the key corresponding to the user group to which the target user belongs; the receiving module is also used to receive the key returned by the server and
  • an embodiment of the present application provides an electronic device, comprising: a memory for storing program instructions; and a processor for reading and executing the program instructions stored in the memory, so that when the program instructions are executed by the processor, the electronic device executes the above-mentioned Bluetooth connection establishment method.
  • an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores program instructions.
  • the program instructions When the program instructions are executed on an electronic device, the electronic device executes the above-mentioned Bluetooth connection establishment method.
  • FIG1 is an application scenario diagram of a method for establishing a Bluetooth connection provided in an embodiment of the present application.
  • FIG. 2 is a flow chart of a method for establishing a Bluetooth connection provided in an embodiment of the present application.
  • FIG3 is an interactive flow chart of a method for establishing a Bluetooth connection provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a user interface provided in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a user group creation interface in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a user group creation interface in another embodiment of the present application.
  • FIG. 7 is a flowchart of a method for establishing a Bluetooth connection provided in another embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of a device for establishing a Bluetooth connection provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • the Bluetooth connection establishment method is applied in an interactive system consisting of a Bluetooth device 10, an electronic device 20 and a server 30.
  • the electronic device 20 receives the Bluetooth broadcast data sent by the Bluetooth device 10, generates a key according to the Bluetooth broadcast data or obtains the key from the server 30, and sends the key to the Bluetooth device 10 for authentication.
  • the electronic device 20 After receiving the authentication success information returned by the Bluetooth device 10, the electronic device 20 communicates with the Bluetooth device 10, so that when the electronic device 20 communicates with the Bluetooth device 10, the user is unaware of the connection process and the process of the user performing the connection operation is simplified.
  • the Bluetooth device 10 is an energy storage device
  • the electronic device 20 is a mobile phone.
  • the Bluetooth device 10 can be an IoT device with Bluetooth function, including but not limited to, for example, mobile energy storage devices, household energy storage devices, mobile air conditioners, household air conditioners, lawn mowers, sweepers, smart power distribution panels, etc.
  • the electronic device 20 can be a terminal device such as a tablet computer or a personal computer.
  • FIG. 2 a flow chart of a method for establishing a Bluetooth connection provided in an embodiment of the present application is shown.
  • the above-mentioned method for establishing a Bluetooth connection can be applied to the electronic device 20 shown in FIG. 1.
  • the method for establishing a Bluetooth connection specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.
  • the method for establishing a Bluetooth connection in an embodiment of the present application includes steps 201-206.
  • Step 201 receiving Bluetooth broadcast data sent by a Bluetooth device.
  • Step 202 Display the icon corresponding to the Bluetooth device.
  • Step 203 In response to the user's operation on the above icon, a connection is established with the Bluetooth device according to the device information.
  • Step 204 If the binding identifier is the first identifier, a key acquisition request is sent to the server according to the information of the target user currently logging into the electronic device and the device information.
  • Step 205 Receive the key returned by the server and send the key to the Bluetooth device for authentication.
  • Step 206 After receiving the authentication success information returned by the Bluetooth device, the electronic device communicates with the Bluetooth device through connection.
  • FIG. 3 describes the interaction flow chart of the electronic device 20, the Bluetooth device 10, and the server 30 using the Bluetooth connection establishment method.
  • the Bluetooth connection establishment method in the embodiment of the present application includes steps 301-307.
  • Step 301 receiving Bluetooth broadcast data sent by a Bluetooth device.
  • the Bluetooth device 10 broadcasts Bluetooth broadcast data.
  • the Bluetooth broadcast data includes the device information and binding identifier of the Bluetooth device 10.
  • the device information of the Bluetooth device 10 is used to indicate the identity of the Bluetooth device 10.
  • the device information may include one or more of the product serial number (Serial Number, SN) and the media access control address (Media Access Control Address, MAC address) of the Bluetooth device 10.
  • the binding identifier is used to indicate whether the Bluetooth device 10 is bound. It should be noted that the binding identifier can be set according to the needs of the user, and the first identifier is set to indicate that the Bluetooth device has been bound, and the second identifier is set to indicate that the Bluetooth device is not bound.
  • the preset field in the negotiation broadcast data is the identifier field
  • the value of the identifier field can be the first identifier 11 or the second identifier 00, wherein the value of the identifier field is 11 indicating that the Bluetooth device is bound, and the value of the identifier field is 00 indicating that the Bluetooth device 10 is not bound.
  • whether the Bluetooth device 10 is bound refers to whether the Bluetooth device 10 has previously established an association with any user, and the user here can be understood as a user account.
  • the electronic device can send the device information, key, and information of the user account currently logged in by the electronic device to the server, so that the server can establish an association between the Bluetooth device 10 and the user account.
  • the binding identifier in the Bluetooth broadcast data emitted by the Bluetooth device 10 will be set to the first identifier.
  • the Bluetooth device 10 will authenticate the subsequently established Bluetooth connection with the corresponding key.
  • electronic devices that do not have the key will not be able to connect to the Bluetooth device 10.
  • a corresponding button may be provided on the Bluetooth device 10, and the button may be a physical button, or a virtual button displayed on a touch screen.
  • the Bluetooth device 10 may enable the Bluetooth broadcast function.
  • Figure 4 is a schematic diagram of a user interface 40 provided in an embodiment of the present application.
  • the electronic device 20 can monitor the Bluetooth broadcast data sent by the surrounding Bluetooth devices, thereby receiving the Bluetooth broadcast data sent by the Bluetooth device 10.
  • the user may also trigger the electronic device 20 to listen to the Bluetooth broadcast data sent by the surrounding Bluetooth devices in other ways.
  • the electronic device 20 may also turn on the Bluetooth function and listen to the Bluetooth broadcast data sent by the surrounding Bluetooth devices after detecting that the user has opened a specific application (Application, APP). This embodiment of the application is not limited to this.
  • Step 302 Display the icon corresponding to the Bluetooth device.
  • the electronic device 20 may display an icon 402 of the Bluetooth device 10 on the user interface 40 .
  • the electronic device 20 may not receive Bluetooth broadcast data, or may receive Bluetooth broadcast data sent by one or more Bluetooth devices 10.
  • the electronic device 20 may not display the icon of the Bluetooth device 10 .
  • the electronic device 20 may display icons 402 of the multiple Bluetooth devices 10 .
  • Step 303 In response to the user's operation on the above icon, a connection is established with the Bluetooth device according to the device information.
  • the current connection between the electronic device 20 and the Bluetooth device 10 is a temporary connection. If the Bluetooth device 10 fails to authenticate the key of the electronic device 20 subsequently, the temporary connection will be disconnected.
  • the electronic device 20 may respond to a user clicking operation on the icon 402 (see FIG. 4 ) and establish a temporary connection with the Bluetooth device 20 corresponding to the icon 402 .
  • the electronic device 20 also responds to the user's voice control operation to connect with the Bluetooth device 20 corresponding to the icon 402.
  • the user can control the electronic device 20 to connect to the Bluetooth device 20 corresponding to the icon 402 by voice "connect XX", or control the electronic device 20 to connect to the Bluetooth device 20 corresponding to the icon 402 by voice "connect the first one”.
  • Step 304 If the binding identifier is the first identifier, a key acquisition request is sent to the server according to the information of the target user currently logging into the electronic device and the device information.
  • the electronic device 20 after the electronic device 20 receives the Bluetooth broadcast data, it reads the value of the binding identifier from the preset field. If the binding identifier is the first identifier, it indicates that the Bluetooth device has been bound, and the electronic device 20 needs the corresponding key to establish a stable Bluetooth connection with the Bluetooth device. At this time, the electronic device 20 sends a key acquisition request to the server 30 based on the information of the target user currently logged in to the electronic device 20 and the device information of the Bluetooth device to be connected. The key acquisition request is used to instruct the server 30 to query the key associated with the device information from the key corresponding to the user group to which the target user belongs.
  • the user group includes the user's information, and the user group is associated with the key and the device information.
  • the target user refers to the user corresponding to the user account currently logged in by the electronic device 20, and the target user information refers to the information of the user account currently logged in by the electronic device 20, which can be a user name, account ID or other information, and this application does not limit this.
  • user A registers account XXX, the server assigns ID 1 to the account XXX, and user A logs in to the account XXX on the electronic device 20, then the target user information can be the account name "XXX" or ID 1.
  • the electronic device 20 is logged into a target user account, and the electronic device can access the server 30 through the target user account.
  • the information of the target user account is the information of the target user. For example, if user A logs into account XXX on the electronic device 20, the electronic device 20 can send a key acquisition request to the server 30 based on the information of account XXX and the device information of the Bluetooth device 10 obtained above.
  • the server 30 After receiving the key acquisition request, the server 30 parses the target user information and the device information of the Bluetooth device 10, determines the user group to which the target user belongs, queries the key corresponding to the device information of the Bluetooth device 20 from the key corresponding to the user group, and feeds the key back to the electronic device 20. For example, after the key is encrypted, the encrypted key is carried in the response information sent to the electronic device 20.
  • the server 30 may not find the key corresponding to the Bluetooth device 20. At this time, the server 30 may not respond to the electronic device 20, or the server 30 may feed back to the electronic device 20 a prompt message indicating that the key acquisition failed.
  • Step 305 Receive the key returned by the server and send the key to the Bluetooth device for authentication.
  • the electronic device 20 after the electronic device 20 receives the response information returned by the server 30, it decrypts the encrypted key therein to obtain the key.
  • the server 30 queries the key corresponding to the device information of the Bluetooth device 20 from the key corresponding to the user group, encrypts the key with the public key, and sends the encrypted encrypted key to the electronic device 20.
  • the electronic device 20 decrypts the encrypted key according to the private key corresponding to the public key to obtain the key.
  • the electronic device 20 sends the key to the Bluetooth device 10, and the Bluetooth device 10 uses the key to authenticate the temporary connection established previously.
  • Step 306 After receiving the authentication success information returned by the Bluetooth device, the electronic device communicates with the Bluetooth device through connection.
  • the Bluetooth device 10 may compare the received key with the preset key stored in the Bluetooth device 10. If the received key is consistent with the preset key, the Bluetooth device 10 may send authentication success information to the electronic device 20. If the received key is inconsistent with the preset key, the Bluetooth device 10 may send authentication failure information to the electronic device 20.
  • the temporary connection becomes a formal connection, and the electronic device 20 will subsequently communicate with the Bluetooth device 10 through this connection.
  • the Bluetooth device 10 can directly disconnect the temporary connection. After the electronic device 20 waits for a preset time, if it does not receive the authentication result returned by the Bluetooth device 10 and finds that the temporary connection has been disconnected, it is considered that the authentication has failed.
  • the electronic device 20 sends the key queried from the user group of the server 30 to the Bluetooth device 10 for verification, and after receiving the authentication success information returned by the Bluetooth device 10, the electronic device 20 communicates with the Bluetooth device 10.
  • encrypted authentication is used in the entire connection establishment process, which avoids interference with the connection by unauthenticated devices and allows users to be unaware of the encryption process, thereby improving the user experience.
  • the Bluetooth connection establishment method further includes:
  • Step 307 After receiving the authentication failure information returned by the Bluetooth device, the electronic device disconnects the connection established with the Bluetooth device and continues to monitor the Bluetooth broadcast data sent by other Bluetooth devices.
  • the electronic device 20 disconnects the connection with the Bluetooth device 10 after receiving the authentication failure information returned by the Bluetooth device 10, thereby ensuring the communication security between the electronic device 20 and the Bluetooth device 10.
  • the electronic device 20 may continue to monitor the Bluetooth broadcast data sent by other Bluetooth devices.
  • the above-mentioned Bluetooth connection establishment method after receiving the authentication success information returned by the Bluetooth device 10, the above-mentioned Bluetooth connection establishment method also includes: the electronic device 20 sends a first instruction to the server 30 according to the key, device information and information of the target user.
  • the first instruction is used to instruct the server 30 to establish an association relationship between the key and the device information and the user group corresponding to the target user.
  • the server 30 establishes an association relationship between the key and the device information and the user group corresponding to the target user according to the first instruction.
  • the users (or user devices) in the user group can share the key and the device information, and all users of the entire user group, as long as one user binds the Bluetooth device for the first time, other users can directly obtain the key from the user group to connect to the Bluetooth device, which meets the scenario of multiple users using Bluetooth devices together, without the need for each user to repeatedly perform unbinding and binding operations.
  • the user's operation process is further simplified, and the user does not need to unbind and rebind, which improves the user experience while speeding up the connection speed.
  • the above-mentioned Bluetooth connection establishment method further includes: after receiving the authentication failure information, disconnecting the connection established with the Bluetooth device; and continuing to monitor the Bluetooth broadcast data.
  • the Bluetooth device 10 determines that the key authentication has failed, it will return an authentication failure message to the electronic device 20. After receiving the authentication failure message, the electronic device will disconnect the connection previously established with the Bluetooth device 10. At the same time, it can continue to listen to the Bluetooth broadcast data sent by surrounding Bluetooth devices, including the Bluetooth broadcast data sent by the Bluetooth device 10.
  • the Bluetooth device 10 may also disconnect the connection according to the authentication result.
  • the Bluetooth device 10 determines that the key authentication fails, it disconnects from the electronic device 20 after a first preset time (such as 2 seconds) and resends the broadcast data.
  • the Bluetooth device 10 records the number of authentication failures for the key sent by the same electronic device 20 for multiple consecutive times, and when the number of authentication failures reaches a preset number, it sleeps for a second preset time and resends the broadcast data. That is, here the electronic device 20 cannot monitor the Bluetooth broadcast sent by the Bluetooth device 10 within the second preset time.
  • the Bluetooth device 10 can record the number of authentication failures for the key continuously sent by the electronic device 20, and when the number of authentication failures reaches a preset number, it will sleep for a second preset time and then resend the broadcast data, thereby ensuring the communication security between the Bluetooth device 10 and the electronic device 20.
  • the above-mentioned Bluetooth connection establishment method further includes: displaying a first prompt message, the first prompt message is used to prompt that the Bluetooth connection fails.
  • the Bluetooth device 10 after determining that the key authentication fails, the Bluetooth device 10 returns the authentication failure information to the electronic device 20. After the electronic device 20 disconnects the connection established with the Bluetooth device 10, or after the connection has been disconnected by the Bluetooth device 20, the electronic device 20 displays the first prompt message according to the authentication failure information returned by the Bluetooth device 10, and the first prompt message is used to prompt that the Bluetooth connection fails.
  • the first prompt message includes at least one of a text message notification, a voice notification, and a graphic mark.
  • the electronic device 20 after receiving the authentication failure information returned by the Bluetooth device 10, the electronic device 20 prompts the Bluetooth connection failure by displaying at least one of a text message notification, a voice notification, and a graphic mark, so that the user can be informed of the Bluetooth connection failure information in time, so that the user can perform subsequent Bluetooth connection operations.
  • the above-mentioned Bluetooth connection establishment method also includes: in response to the operation of creating a new user group, obtaining the information of the selected user; generating a user group creation instruction based on the information of the selected user; and sending the user group creation instruction to the server 30, the user group creation instruction being used to instruct the server 30 to create a new user group based on the information of the selected user.
  • the above user group establishment process can be performed at any time, for example, before the user establishes a connection with the Bluetooth device for the first time, or after the connection is established, and this application does not impose any limitation on this.
  • the user group creation interface 50 includes a creation option 501.
  • a user triggers the operation of creating a new user group by clicking the creation option 501.
  • the electronic device 20 displays a list 502 in response to the user clicking the creation option 501.
  • the list 502 includes information of at least one user.
  • the electronic device 20 obtains the user information selected by the user in the list 502, generates a user group creation instruction, and sends the user group creation instruction to the server 30.
  • the server 30 creates a new user group based on the information of the selected user, and associates the user group with the key sent by the electronic device 20 and the device information of the Bluetooth device 10.
  • the users in the new user group created in the present application can share the key and connect to the Bluetooth device 10 by Bluetooth, and other users in the user group can directly obtain the key from the user group to connect to the Bluetooth device, which satisfies the scenario of multiple users using the Bluetooth device together.
  • the Bluetooth connection establishment method after receiving the authentication success information returned by the Bluetooth device, the Bluetooth connection establishment method further includes: associating the key and the device information and storing them in the memory of the electronic device 20.
  • the electronic device 20 after successfully receiving the authentication success information returned by the Bluetooth device, stores the key and device information in association, so that the key can be obtained directly from the local without having to be obtained from the server, which can speed up the connection speed.
  • the Bluetooth device 10 can also accept a reset operation, setting the binding identifier of the Bluetooth device 10 to the second identifier and clearing the above-mentioned key.
  • the reset operation can be triggered by the user operating a corresponding reset button on the Bluetooth device 10.
  • the Bluetooth device 10 is set with a reset button.
  • the binding identifier of the Bluetooth device 10 is set to the second identifier and the preset key is cleared.
  • the Bluetooth device 10 can set the Bluetooth device 10 to be unbound according to the reset operation, which facilitates the binding connection of the Bluetooth device 10 with other electronic devices after unbinding.
  • the reset operation can also be triggered by the user through a corresponding reset operation on the application of the electronic device 20.
  • the application is the application corresponding to the Bluetooth device 10 and is used to control the Bluetooth device 10. It can be understood that at this time, the reset operation can be sent by the electronic device 20 to the server, and then sent by the server to the Bluetooth device. Alternatively, the reset operation can also be sent directly to the Bluetooth device by the electronic device 20.
  • FIG. 7 a flowchart of a method for establishing a Bluetooth connection provided in another embodiment of the present application is shown. As shown in Figure 7, the method for establishing a Bluetooth connection in the embodiment of the present application includes steps 601-605.
  • Step 601 Receive Bluetooth broadcast data sent by a Bluetooth device.
  • Step 602 Display the icon corresponding to the Bluetooth device.
  • Step 603 In response to the user's operation on the above icon, a connection is established with the Bluetooth device according to the device information.
  • steps 601-603 of FIG. 7 are the same as steps 301-303 of FIG. 3 .
  • steps 601-603 of FIG. 7 please refer to the implementation contents of steps 301-303 of the Bluetooth connection establishment method in FIG. 3 , which will not be repeated here.
  • Step 604 If the binding identifier of the broadcast data is the second identifier, the electronic device generates a key and sends the key to the Bluetooth device.
  • the electronic device 20 after the electronic device 20 receives the Bluetooth broadcast data, it reads the value of the binding identifier from the preset field. If the binding identifier is the second identifier, it indicates that the Bluetooth device 10 is not bound and the electronic device 20 is connected to the Bluetooth device 10 for the first time.
  • the electronic device 20 When the electronic device 20 establishes a connection with the Bluetooth device 10 for the first time, it automatically generates a key and sends the key to the Bluetooth device 10.
  • the electronic device 20 generates the key based on at least one of its own device information, the device information of the Bluetooth device 10, and the time information when the electronic device 20 receives the Bluetooth broadcast data. For another example, the electronic device 20 can generate the key based on a selected random number.
  • Step 605 After receiving the authentication success information returned by the Bluetooth device, the electronic device communicates with the Bluetooth device through connection.
  • the Bluetooth device 10 receives the key sent by the electronic device 20, uses the key as a preset key, and directly sends the authentication success information to the electronic device 20. After receiving the authentication success information returned by the Bluetooth device 10, the electronic device 20 communicates with the Bluetooth device 10 through a connection.
  • the Bluetooth device 10 when it is determined that the Bluetooth device 10 is not bound, the Bluetooth device 10 does not need to compare the key with the preset key, and directly returns the authentication success information to the electronic device 20 to realize the communication between the electronic device 20 and the Bluetooth device 10, thereby simplifying the first connection process between the Bluetooth device 10 and the electronic device 20.
  • the Bluetooth device 10 when the Bluetooth device 10 is not bound, the Bluetooth device 10 may also send a key to the electronic device 10 after establishing a connection with the electronic device 10. After receiving the key, the electronic device 20 may feedback key reception information to the Bluetooth device 10. After receiving the key reception information, the Bluetooth device 10 may return authentication success information to the electronic device 20. After receiving the authentication success information returned by the Bluetooth device 10, the electronic device 20 communicates with the Bluetooth device 10 through the connection. That is to say, in the embodiment of the present application, the generator of the key and the key generation method are not limited.
  • Bluetooth connection establishment device 100 which is a schematic diagram of the structure of a Bluetooth connection establishment device 100 provided in an embodiment of the present application.
  • the Bluetooth connection establishment device 100 can be used to implement the above-mentioned Bluetooth connection establishment method.
  • the Bluetooth connection establishing device 100 includes a receiving module 11 , a display module 12 , a connecting module 13 , and a requesting module 14 .
  • the receiving module 11 receives the Bluetooth broadcast data sent by the Bluetooth device.
  • the Bluetooth broadcast data includes the device information and the binding identifier of the Bluetooth device 10.
  • the binding identifier is used to indicate whether the Bluetooth device 10 is bound.
  • the display module 12 displays an icon corresponding to the Bluetooth device 10 .
  • connection module 13 establishes a connection with the Bluetooth device 10 according to the device information in response to the user's operation on the icon.
  • the request module 14 sends a key acquisition request to the server 30 based on the information of the target user currently logged in to the electronic device 20 and the device information; wherein the first identifier is used to indicate that the Bluetooth device 10 has been bound, and the key acquisition request is used to instruct the server 30 to query the key associated with the device information from the key corresponding to the user group to which the target user belongs.
  • the receiving module 11 receives the key returned by the server 30 and sends the key to the Bluetooth device 10 for authentication.
  • connection module 13 After receiving the authentication success information returned by the Bluetooth device 10 , the connection module 13 communicates with the Bluetooth device 10 through connection.
  • Bluetooth connection establishment device 100 and the above-mentioned Bluetooth connection establishment method belong to the same inventive concept, and the specific process of the Bluetooth connection establishment device 100 connecting to implement the Bluetooth connection establishment method is the same as the process of the above-mentioned embodiment, which will not be repeated here.
  • the present application also provides a computer-readable storage medium that stores a plurality of instructions suitable for being loaded and executed by a processor to implement corresponding steps of the above-mentioned Bluetooth connection establishment method, such as steps 201-206, steps 301-307, and steps 601-605.
  • FIG9 is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application.
  • the electronic device 20 may include at least one processor 22, a memory 21, and a communication unit 23.
  • the memory 21 includes a computer-readable storage medium, which is used to store a plurality of logic instructions, and the communication unit 23 is used to communicate with the Bluetooth device 10 or the server 30.
  • the processor 22 can run the logic instructions to execute the above-mentioned Bluetooth connection establishment method.
  • the communication unit 23 includes at least a module with communication function such as a Bluetooth module and a network module, and the present application does not limit this.
  • the logic instructions in the above-mentioned computer-readable storage medium can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the computer-readable storage medium may be configured to store software programs, computer executable programs, such as program instructions corresponding to the Bluetooth connection establishment method in the embodiment of the present application or modules in the Bluetooth connection establishment device 100.
  • the processor 22 executes the functional application and image processing by running the software program, instructions or modules stored in the computer-readable storage medium, that is, implementing the Bluetooth connection establishment method in the above embodiment.
  • the computer-readable storage medium includes a non-volatile computer-readable memory, such as a disk, a memory, etc. It is understood that the computer-readable storage medium may also include other non-volatile computer-readable memories, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one flash memory device and/or other non-volatile solid-state storage devices.
  • a plug-in hard disk such as a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one flash memory device and/or other non-volatile solid-state storage devices.
  • the processor 22 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the processor 22 is the control center of the electronic device 20, and can use various interfaces and lines to connect to other devices and/or systems/modules/units to provide Bluetooth connection establishment functions to applications of other devices and/or systems/modules/units.

Landscapes

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

Abstract

La présente demande divulgue un procédé d'établissement de connexion Bluetooth. Le procédé d'établissement de connexion Bluetooth comprend les étapes suivantes : un dispositif électronique reçoit des données de diffusion Bluetooth envoyées par un dispositif Bluetooth ; et après qu'un utilisateur sélectionne une icône du dispositif Bluetooth, lorsqu'il est reconnu à partir des données de diffusion Bluetooth que le dispositif Bluetooth a été associé, acquérir une clé à partir d'un groupe d'utilisateurs d'un serveur, et établir une connexion Bluetooth avec le dispositif Bluetooth sur la base de la clé acquise, de façon à réaliser une communication.
PCT/CN2022/143678 2022-10-27 2022-12-30 Procédé d'établissement de connexion bluetooth, dispositif électronique et support de stockage informatique WO2024087384A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211323028.X 2022-10-27
CN202211323028.XA CN115379590B (zh) 2022-10-27 2022-10-27 蓝牙连接建立方法、装置、电子设备及计算机存储介质

Publications (1)

Publication Number Publication Date
WO2024087384A1 true WO2024087384A1 (fr) 2024-05-02

Family

ID=84074198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143678 WO2024087384A1 (fr) 2022-10-27 2022-12-30 Procédé d'établissement de connexion bluetooth, dispositif électronique et support de stockage informatique

Country Status (2)

Country Link
CN (1) CN115379590B (fr)
WO (1) WO2024087384A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379590B (zh) * 2022-10-27 2023-02-14 深圳市正浩创新科技股份有限公司 蓝牙连接建立方法、装置、电子设备及计算机存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150373760A1 (en) * 2014-06-19 2015-12-24 Nokia Technologies Oy Device pairing
CN105450269A (zh) * 2015-12-21 2016-03-30 飞天诚信科技股份有限公司 一种实现蓝牙设备间安全交互配对认证的方法及装置
CN108111998A (zh) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 一种无线开锁方法及系统
CN112822630A (zh) * 2021-01-12 2021-05-18 上海钧正网络科技有限公司 设备的数据处理方法和计算机可读存储介质
CN113596827A (zh) * 2021-07-29 2021-11-02 Oppo广东移动通信有限公司 密钥生成方法、装置、电子设备及存储介质
CN114554470A (zh) * 2022-02-25 2022-05-27 杭州涂鸦信息技术有限公司 一种基于蓝牙设备的交互方法及相关设备
CN115379590A (zh) * 2022-10-27 2022-11-22 深圳市正浩创新科技股份有限公司 蓝牙连接建立方法、装置、电子设备及计算机存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013191648A1 (fr) * 2012-06-20 2013-12-27 Certis Cisco Security Pte Ltd Système, procédé, et appareil pour exécuter un pairage bluetooth
CN107006049A (zh) * 2015-11-03 2017-08-01 国民技术股份有限公司 一种智能设备及其建立设备间蓝牙连接的方法、装置
CN106788977A (zh) * 2016-12-28 2017-05-31 北京握奇数据系统有限公司 低功耗蓝牙设备通讯加密方法及系统
CN109862560B (zh) * 2017-11-30 2022-06-14 阿里巴巴集团控股有限公司 一种蓝牙认证方法、装置、设备和介质
CN109785490A (zh) * 2019-01-29 2019-05-21 上海博泰悦臻网络技术服务有限公司 蓝牙钥匙的双向验证方法及系统、智能终端及t-box
CN115580854B (zh) * 2019-04-16 2023-08-04 华为技术有限公司 蓝牙扫描方法和电子设备
CN112351390A (zh) * 2019-08-09 2021-02-09 华为技术有限公司 蓝牙设备互识或互信的方法
CN110730441B (zh) * 2019-10-18 2021-07-02 飞天诚信科技股份有限公司 一种蓝牙设备及其工作方法
CN111954196B (zh) * 2020-08-18 2021-02-26 龙杰科技(深圳)有限公司 基于蓝牙的智能卡充值方法、系统、终端设备及存储介质
CN113993115B (zh) * 2021-12-27 2022-04-01 飞天诚信科技股份有限公司 自动解锁屏幕方法、装置、电子设备及可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150373760A1 (en) * 2014-06-19 2015-12-24 Nokia Technologies Oy Device pairing
CN105450269A (zh) * 2015-12-21 2016-03-30 飞天诚信科技股份有限公司 一种实现蓝牙设备间安全交互配对认证的方法及装置
CN108111998A (zh) * 2017-12-18 2018-06-01 北京博创联动科技有限公司 一种无线开锁方法及系统
CN112822630A (zh) * 2021-01-12 2021-05-18 上海钧正网络科技有限公司 设备的数据处理方法和计算机可读存储介质
CN113596827A (zh) * 2021-07-29 2021-11-02 Oppo广东移动通信有限公司 密钥生成方法、装置、电子设备及存储介质
CN114554470A (zh) * 2022-02-25 2022-05-27 杭州涂鸦信息技术有限公司 一种基于蓝牙设备的交互方法及相关设备
CN115379590A (zh) * 2022-10-27 2022-11-22 深圳市正浩创新科技股份有限公司 蓝牙连接建立方法、装置、电子设备及计算机存储介质

Also Published As

Publication number Publication date
CN115379590A (zh) 2022-11-22
CN115379590B (zh) 2023-02-14

Similar Documents

Publication Publication Date Title
US11259178B2 (en) Bluetooth mesh network provisioning authentication
CN109150568B (zh) 一种网络管理方法、装置、系统、设备和存储介质
JP6515207B2 (ja) インターネットアクセス認証方法およびクライアント、ならびにコンピュータ記憶媒体
EP2696559B1 (fr) Procédé et dispositif de partage de ressources entre des dispositifs
JP6280641B2 (ja) アカウントログイン方法、デバイス及びシステム
US10110706B2 (en) Remote access method and device
TW201933848A (zh) 設備連接方法、設備和系統
US11057821B2 (en) Method and device for connecting to hidden wireless access point
WO2015043455A1 (fr) Procédé de transmission de données, dispositif, et système
CN112152853A (zh) 设备配网方法及装置、计算机可读的存储介质、电子装置
WO2020011194A1 (fr) Procédé et dispositif de connexion sans fil
WO2016008379A1 (fr) Procédé et dispositif de configuration automatique pour matrice de stockage, et système de stockage
JP2016502338A (ja) ネットワーク接続パラメータの設定方法、装置、ネットワーク設備、プログラム及び記録媒体
CN111049946B (zh) 一种Portal认证方法、系统及电子设备和存储介质
CN113490207B (zh) 物联网设备绑定方法、装置、计算机设备及存储介质
WO2024087384A1 (fr) Procédé d'établissement de connexion bluetooth, dispositif électronique et support de stockage informatique
CN112738046B (zh) 一种一键登录的方法、终端及系统服务器
EP4261665A1 (fr) Procédé et système de connexion à un programme d'application
WO2023236512A1 (fr) Procédé et appareil d'affichage de code d'informations, dispositif terminal et support de stockage
CN111194035A (zh) 一种网络连接方法、装置和存储介质
CN109041036A (zh) Wifi连接方法及设备
CN112422518A (zh) 一种网络接入方法、装置以及存储介质
CN105812413B (zh) 通信方法及设备
CN107087293A (zh) 一种接入方法、终端及服务器
CN115686542A (zh) 应用安装方法、装置、设备及存储介质

Legal Events

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

Ref document number: 22963359

Country of ref document: EP

Kind code of ref document: A1