An identity determination method and apparatus, a terminal device, and a storage medium
By obtaining the target set identification code through scanning or accessing the server in Bluetooth CSIP, the problem of cumbersome process for confirming the identity of coordination set members is solved, and rapid identity confirmation is achieved.
Patent Information
- Application Number
- CN202110617263.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-03
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2041-06-03
AI Technical Summary
The existing Bluetooth CSIP process for confirming the identity of coordination set members is cumbersome, resulting in a long confirmation time.
Once the first target device is found, the target set identification code of the target device is obtained by scanning or accessing the server. Based on the target set identification code, it is determined whether other devices found are within the coordination set, thus avoiding the establishment of Bluetooth connections with the target device.
It greatly simplifies the process of confirming the identity of coordination set members and reduces the confirmation time.
Smart Images

Figure CN115442776B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of electronic applications, and in particular to an identity determination method and device, a terminal device, and a storage medium. BACKGROUND
[0002] In the Bluetooth Coordinated Set Identification Profile (CSIP), a process for confirming the membership of a coordinated set is specified. First, a peripheral device is searched for, and in the case that a first peripheral device is found, a Bluetooth connection is established with the first peripheral device, a Set Identity Resolving Key (SIRK) of the device is obtained, and the SIRK is taken as the SIRK of the entire coordinated set. Thereafter, other peripheral devices are searched for, and the SIRK is used to analyze Set Identity Resolving Key (RSI) data broadcast by the other devices, and based on the analysis result, it is determined whether the other devices are member devices of the coordinated set.
[0003] The process for confirming the membership of a coordinated set specified in the current Bluetooth CSIP is complicated, resulting in a long confirmation time. SUMMARY
[0004] The embodiments of the present application provide an identity determination method and device, a terminal device, and a storage medium, which can simplify the process for confirming the membership of a coordinated set and reduce the confirmation time.
[0005] The technical solution of the present application is implemented as follows:
[0006] In a first aspect, the embodiments of the present application provide an identity determination method, which includes:
[0007] In the case that a first target device is found, a target Set Identity Resolving Key (SIRK) of the target device is obtained in a scanning manner or by accessing a server, and based on the target SIRK, it is determined whether other searched devices are devices in a coordinated set.
[0008] In a second aspect, the embodiments of the present application provide an identity determination device, which includes:
[0009] A scanning module, configured to, in the case that a first target device is found, obtain a target Set Identity Resolving Key (SIRK) of the target device in a scanning manner or by accessing a server, and based on the target SIRK, determine whether other searched devices are devices in a coordinated set.
[0010] Thirdly, embodiments of this application provide a terminal device, the device comprising: a processor, a memory, and a communication bus; the processor, when executing a running program stored in the memory, implements the method described in any of the above embodiments.
[0011] Fourthly, embodiments of this application provide a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the preceding claims.
[0012] This application provides an identity verification method, apparatus, terminal device, and storage medium. The method includes: upon finding the first target device, obtaining the target set identification code of the target device by scanning or accessing a server, and determining whether other found devices are within the coordination set based on the target set identification code. Using this implementation, when the identity verification device finds the first target device, it directly obtains the target set identification code of the target device by scanning or accessing a server, without needing to establish a Bluetooth connection with the target device. This greatly simplifies the process of confirming the identity of coordination set members and reduces the confirmation time. Attached Figure Description
[0013] Figure 1 A schematic diagram illustrating the process of obtaining the SIRK of the first device for an identification device;
[0014] Figure 2 A flowchart illustrating an identity determination method provided in an embodiment of this application;
[0015] Figure 3 A schematic diagram illustrating the process of an exemplary identity determination device obtaining a SIRK by accessing a cloud server, as provided in this application embodiment;
[0016] Figure 4 A schematic diagram illustrating the process of an exemplary identity verification device obtaining a SIRK by scanning a QR code, provided in an embodiment of this application;
[0017] Figure 5 A schematic diagram of the structure of an identity determination device 1 provided in this application embodiment. Figure 1 ;
[0018] Figure 6 A schematic diagram of the structure of a terminal device 2 provided in this application embodiment. Figure 2 . Detailed Implementation
[0019] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit the scope of this application.
[0020] Currently, the method of the Bluetooth CSIP protocol stipulates that when the first peripheral device 1 is searched, the Bluetooth pairing or connection with the device 1 needs to be performed first, and then the SIRK1 of the device 1 is obtained, and the specific steps are as shown in Figure 1
[0021] 1. The identity determination apparatus scans the ADV packet broadcast by the device 1;
[0022] 2. The identity determination apparatus parses the username 1 of the device 1 from the ADV packet;
[0023] 3. The identity determination apparatus establishes a connection with the device 1 based on the username 1;
[0024] 4. The identity determination apparatus obtains the ciphertext SIRK in the pairing process with the device 1;
[0025] 5. The identity determination apparatus parses the ciphertext SIRK to obtain the SIRK1.
[0026] However, the current method of determining the SIRK of the first device needs to establish a connection, which leads to a complex process and a long time consumption.
[0027] To solve the above problems, the present application provides an identity determination method, which is specifically described by the following embodiments.
[0028] The present application provides an identity determination method, as shown in Figure 2 The method can include the following steps.
[0029] S101. In the case of searching for the first target device, the target set identification code of the target device is obtained by using a scanning method or an access server method, so as to determine whether the other devices searched are devices in the coordination set based on the target set identification code.
[0030] The identity determination method provided by the present application is suitable for the scenario where the identity determination device implements determination on the devices included in the coordination set based on the Bluetooth coordination set identification application specification CSIP.
[0031] In the present application, the device for identity determination can be a mobile phone, a personal computer (PC), a tablet computer, a notebook computer, a headset, a watch, a bracelet, a camera, etc.
[0032] In the present application, the identity determination apparatus first scans the peripheral devices in a preset range with itself as the center, and determines the device searched for the first time as the target device. The peripheral devices can be a mobile phone, a PC, a tablet computer, a notebook computer, a headset, a watch, a bracelet, a camera, etc.
[0033] It should be noted that after the identification device identifies the target device, it needs to determine whether to use a scanning method or an access server method to obtain the target set identification code of the target device. The identification device first determines whether it has network access capability, and then determines whether to use a scanning method or an access server method to obtain the target set identification code based on whether it has network access capability.
[0034] In an alternative embodiment, when the identification device has the ability to access the network, the identification device determines the target set identification code by using an access server method.
[0035] Specifically, the identification device establishes a network connection with the server, and the target device broadcasts its target Bluetooth address. The identification device searches for the target Bluetooth address broadcast by the target device, and then sends the target Bluetooth address to the server. The server has a pre-maintained mapping relationship between a device's Bluetooth address and a set identification code. The server determines the target set identification code corresponding to the target Bluetooth address from this mapping relationship and returns the determined target set identification code to the identification device. At this point, the identification device can determine the target set identification code of the target device based on the server.
[0036] It should be noted that the network connection between the identification device and the server is a Hypertext Transfer Protocol (HTTP) connection. At this time, the identification device accesses the server through Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) to send the target Bluetooth address to the server and request the server to return the corresponding target set identification code.
[0037] For example, such as Figure 3 As shown, the identification device has the ability to access the network. Upon power-on, the device establishes an HTTP connection with the cloud server through the account system. The cloud server maintains a database containing the Bluetooth address of a storage device and its corresponding SIRK. The identification device first scans and searches for nearby devices. If the identification identifier first detects device 1...
[0038] 1. The identification device scans the broadcast (Advertising, ADV) packets of receiving device 1 and parses the ADV packets to obtain the Bluetooth address 1 of device 1 carried in the ADV packets;
[0039] 2. The identification device sends Bluetooth address 1 to the cloud server;
[0040] 3. The cloud server looks up the SIRK1 corresponding to the Bluetooth address from the database;
[0041] 4. The cloud server sends the SIRK1 to the identity determination apparatus.
[0042] In another optional embodiment, a two-dimensional code or other identification code that can identify the set identification code can also be provided, and the identification code can be attached to the corresponding target device. If the identity determination apparatus does not have the capability to access the network, the identity determination apparatus can identify the target set identification code of the target device by scanning the identification code of the target device.
[0043] For example, as shown in FIG. 1, the identity determination apparatus scans the two-dimensional code of the device 1 to obtain the SIRK of the target device. Figure 4
[0044] In another optional embodiment, if both the target device and the identity determination apparatus have near field communication functions, the identity determination apparatus can also obtain the target set identification code of the target device by scanning using the near field communication technology without having the capability to access the network.
[0045] Further, after the identity determination apparatus obtains the target set identification code of the target device, the identity determination apparatus takes the target set identification code as the SIRK in the entire coordination set. Then, the identity determination apparatus continues to search for other devices in the surrounding area and obtains the RSI broadcast data of the other devices. Then, the identity determination apparatus parses the RSI broadcast data using the SIRK. If the parsing is successful, the corresponding other device is positioned as a member device in the coordination set. If the parsing fails, it indicates that the other device is not a member device in the coordination set.
[0046] It can be understood that, in the case where the identity determination apparatus searches for the first target device, the target set identification code of the target device is directly obtained by scanning, without the need to establish a Bluetooth connection with the target device, which greatly simplifies the process of confirming the member identity of the coordination set and reduces the confirmation time.
[0047] Based on the above embodiments, an identity determination apparatus 1 is further provided in the embodiments of the present application. As shown in FIG. 1, the apparatus 1 includes: Figure 5 A scanning module 10 is configured to, in the case where the first target device is searched, obtain the target set identification code of the target device by scanning or by accessing a server, to determine whether other devices searched are devices in the coordination set based on the target set identification code.
[0048] Optionally, the apparatus further includes a transmission module.
[0049]
[0050] The scanning module 10 is further configured to search for a target Bluetooth address broadcast by the target device if the identity determination apparatus has network access capability.
[0051] The transmission module is configured to send the target Bluetooth address to a server and receive the target set identifier returned by the server, and establish a network connection between the target device and the server.
[0052] Optionally, the transmission module is further configured to access the server through an HTTPS mode and send the target Bluetooth address to the server, so that the server determines the target set identifier corresponding to the target Bluetooth address from the correspondence between the Bluetooth address and the set identifier.
[0053] Optionally, the scanning module 10 is further configured to scan the identification code of the target device and identify the target set identifier of the target device if the identity determination apparatus does not have network access capability.
[0054] Optionally, the scanning module 10 is further configured to scan and obtain the target set identifier of the target device by using near field communication technology if the identity determination apparatus does not have network access capability, and the target device and the identity determination apparatus have near field communication function.
[0055] The identity determination apparatus provided by the embodiment of the present application acquires the target set identifier of the target device by using the scanning mode or the server access mode in the case of searching for the first target device, so as to determine whether the other devices searched are the devices in the coordination set based on the target set identifier. It can be seen that the identity determination apparatus provided by the embodiment of the present application acquires the target set identifier of the target device by using the scanning mode or the server access mode in the case of searching for the first target device, without establishing the Bluetooth connection with the target device, which greatly simplifies the process of confirming the identity of the coordination set member and reduces the confirmation time.
[0056] Figure 6 The composition structure of the terminal device 2 provided by the embodiment of the present application is shown in Figure 2 In actual application, based on the same disclosure concept of the above embodiment, as shown in Figure 6 The terminal device 2 of the embodiment includes a processor 21, a memory 22 and a communication bus 23.
[0057] In some embodiments, the terminal device can be referred to as a user equipment (UE). The terminal device can be a Bluetooth device integrated with Bluetooth function, and can also be a smart phone, a tablet computer, a palmtop computer, a mobile station (MS), a mobile terminal, and the like. The terminal device can be a communication device that communicates with one or more network devices via a radio access network (RAN). For example, the terminal device can be a mobile phone (or referred to as a "cellular" phone) or a computer with a terminal device, and the like. The terminal device can also be a portable, pocket, handheld, computer built-in, or vehicle mounted mobile device that exchanges voice and / or data with a radio access network. The terminal device can also be a handheld device with wireless communication function, a computing device, or other processing device connected to a wireless modem, a vehicle mounted device, a wearable device (such as a smart earphone, a smart watch, and the like), a terminal device in a future evolved network, and the like. The present application is not limited in implementation.
[0058] In the process of the specific embodiments, the scanning module 10 and the transmission module described above can be implemented by a processor 21 located on the terminal device 2. The processor 21 can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, or a microprocessor. It can be understood that, for different devices, the electronic device used to implement the functions of the processor described above can also be other devices, and the present embodiments are not limited in specific implementation.
[0059] In the embodiments of the present application, the communication bus 23 is used to realize the connection and communication between the processor 21 and the memory 22. When the processor 21 executes the running program stored in the memory 22, the following identity determination method is realized:
[0060] In the case of searching for the first target device, the target set identifier of the target device is obtained by using the scanning mode or the server access mode, so as to determine whether the other devices searched are devices in the coordination set based on the target set identifier.
[0061] Further, in the above embodiment, the processor 21 is further configured to search for a target Bluetooth address broadcast by the target device if the identity determination apparatus has network access capability, send the target Bluetooth address to a server, and receive the target set identifier returned by the server, and establish a network connection between the target device and the server.
[0062] Further, in the above embodiment, the network connection is a HyperText Transfer Protocol (HTTP) connection,
[0063] The processor 21 is further configured to access the server through a HTTPS mode and send the target Bluetooth address to the server, so that the server determines the target set identifier corresponding to the target Bluetooth address from a Bluetooth address and set identifier correspondence.
[0064] Further, in the above embodiment, the processor 21 is further configured to scan the identification code of the target device and identify the target set identifier of the target device if the identity determination apparatus does not have network access capability.
[0065] Further, in the above embodiment, the processor 21 is further configured to scan and acquire the target set identifier of the target device by using near field communication technology if the identity determination apparatus does not have network access capability, and the target device and the identity determination apparatus have near field communication function.
[0066] The embodiments of the present application provide a storage medium having a computer program stored thereon. The computer readable storage medium stores one or more programs, the one or more programs can be executed by one or more processors, and the computer readable storage medium can be a volatile memory (for example, a Random-Access Memory (RAM)), a non-volatile memory (for example, a Read-Only Memory (ROM), a flash memory, a Hard Disk Drive (HDD) or a Solid-State Drive (SSD)), or a device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, and the like.
[0067] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0068] This application is described with reference to schematic and / or block diagrams of implementations of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the schematic and / or block diagrams can be implemented by computer program instructions, and combinations of blocks in the schematic and / or block diagrams can be implemented. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the schematic and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0069] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the implementation flow diagram. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0070] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0071] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An identity determination method, characterized by, The method comprises: In the case of searching for a first target device, a target set identification code of the target device is acquired by accessing a server, so as to determine whether other searched devices are devices in the coordination set based on the target set identification code; The target set identification code of the target device is acquired by accessing the server, and comprises: If the identity determination device has network access capability, a target Bluetooth address broadcast by the target device is searched; The target Bluetooth address is sent to a server, and the target set identification code returned by the server is received, and a network connection is established between the target device and the server.
2. The method of claim 1, wherein, The network connection is a hypertext transfer protocol (HTTP) connection, and the target Bluetooth address is sent to the server, comprising: The server is accessed by a hypertext transfer protocol secure (HTTPS) mode, and the target Bluetooth address is sent to the server, so that the server determines the target set identification code corresponding to the target Bluetooth address from the correspondence between the Bluetooth address and the set identification code.
3. An identity determining apparatus characterized by comprising: The device comprises: A scanning module is configured to acquire a target set identification code of a target device by accessing a server in the case of searching for a first target device, so as to determine whether other searched devices are devices in the coordination set based on the target set identification code; The scanning module is further configured to search for a target Bluetooth address broadcast by the target device if the identity determination device has network access capability; A transmission module is configured to send the target Bluetooth address to a server, and receive the target set identification code returned by the server, and establish a network connection between the target device and the server.
4. The apparatus of claim 3, wherein, The network connection is an HTTP connection, The transmission module is further configured to access the server by an HTTPS mode, and send the target Bluetooth address to the server, so that the server determines the target set identification code corresponding to the target Bluetooth address from the correspondence between the Bluetooth address and the set identification code.
5. A terminal device, characterized by, The device comprises a processor, a memory and a communication bus, and the processor implements the method of any one of claims 1-2 when executing the running program stored in the memory.
6. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the method of any one of claims 1-2.
Citation Information
Patent Citations
Method for performing handover by using bluetooth in wireless communication system, and device therefor
US20210045032A1