CN113645606B - Bluetooth device discovery method, device, terminal and storage medium - Google Patents

Bluetooth device discovery method, device, terminal and storage medium Download PDF

Info

Publication number
CN113645606B
CN113645606B CN202110935134.2A CN202110935134A CN113645606B CN 113645606 B CN113645606 B CN 113645606B CN 202110935134 A CN202110935134 A CN 202110935134A CN 113645606 B CN113645606 B CN 113645606B
Authority
CN
China
Prior art keywords
eir
response
bluetooth
target
bluetooth device
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.)
Active
Application number
CN202110935134.2A
Other languages
Chinese (zh)
Other versions
CN113645606A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110935134.2A priority Critical patent/CN113645606B/en
Publication of CN113645606A publication Critical patent/CN113645606A/en
Application granted granted Critical
Publication of CN113645606B publication Critical patent/CN113645606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a method, a device, a terminal and a storage medium for discovering Bluetooth equipment, belonging to the technical field of Bluetooth. The method comprises the following steps: broadcasting a device query request; responding to the EIR response of the target Bluetooth device to the device query request, and querying an EIR history record based on the target device information of the target Bluetooth device, wherein the EIR history record comprises the corresponding relation between the device information of the Bluetooth device and the receiving condition of the historical EIR response; responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response; and responding to the EIR response to pass the verification, and displaying a device discovery result of the target Bluetooth device based on EIR data in the EIR response. The method can avoid the situation that RNR acquires the equipment information of the Bluetooth equipment when EIR response errors are received for the first time, shorten the discovery time of the Bluetooth equipment and improve the discovery efficiency of the Bluetooth equipment.

Description

Bluetooth device discovery method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of Bluetooth, in particular to a method, a device, a terminal and a storage medium for discovering Bluetooth equipment.
Background
Bluetooth technology is a radio technology that supports short-range (e.g., within 10 m) communication of devices. The Bluetooth technology can be adopted to realize wireless information exchange between devices. The premise of realizing wireless information exchange between devices is that the device names of Bluetooth devices can be obtained, and connection between the devices is established.
In the related art, when a terminal inquires (query) about a peripheral broadcast device, the terminal can receive an extended inquiry result (Extended Inquiry Result, EIR) response of the same peripheral bluetooth device multiple times in one query period, and if an error occurs in EIR data analyzed in a first EIR response of the peripheral bluetooth device, the terminal needs to acquire a remote device name request (Remote Name Request, RNR) after the query is finished to acquire a device name of the peripheral bluetooth device.
However, in the above method, the time of one requirement period is typically 10 seconds, and if the error occurs in the EIR data analyzed in the first EIR response, it takes more time to acquire the device name of the peripheral bluetooth device by performing RNR after the requirement is over, so that the device discovery speed is slow.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for discovering Bluetooth equipment, which can shorten the discovery time of the Bluetooth equipment and improve the discovery efficiency of the Bluetooth equipment. The technical scheme is as follows:
In one aspect, an embodiment of the present application provides a method for discovering a bluetooth device, where the method includes:
Broadcasting a device query request;
Responding to the EIR response of the target Bluetooth device to the device query request, and querying an EIR history record based on the target device information of the target Bluetooth device, wherein the EIR history record comprises the corresponding relation between the device information of the Bluetooth device and the history EIR response receiving condition;
Responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response;
And responding to the EIR response to pass the verification, and displaying the device discovery result of the target Bluetooth device based on EIR data in the EIR response.
In another aspect, an embodiment of the present application provides a discovery apparatus of a bluetooth device, where the apparatus includes:
the broadcasting module is used for broadcasting equipment query requests;
The inquiring module is used for responding to the EIR response of the received target Bluetooth device to the device inquiring request, inquiring an EIR history record based on the target device information of the target Bluetooth device, wherein the EIR history record comprises the corresponding relation between the device information of the Bluetooth device and the history EIR response receiving condition;
The verification module is used for responding to the historical EIR response receiving error sent by the target Bluetooth device and inquiring from the EIR history record, and verifying the EIR response;
and the display module is used for responding to the EIR response to pass the verification and displaying the device discovery result of the target Bluetooth device based on the EIR data in the EIR response.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement a method for discovering a bluetooth device according to various aspects of the present application.
In another aspect, embodiments of the present application provide a computer readable storage medium having at least one instruction stored therein, the instruction being loaded and executed by a processor to implement a method of discovery of bluetooth devices as provided by the various aspects of the present application.
In another aspect, embodiments of the present application provide a computer program product comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the discovery method of the bluetooth device provided in the above-mentioned various alternative implementations.
The technical scheme provided by the embodiment of the application has the beneficial effects that:
In the embodiment of the application, after the EIR history record is generated based on the historical EIR receiving condition of the Bluetooth equipment, when the EIR response sent by the target Bluetooth equipment is received again and the historical EIR response receiving error is inquired from the EIR history record according to the target equipment information of the target Bluetooth equipment, the terminal can verify the EIR response sent by the target Bluetooth equipment, and when the EIR response passes the verification, the equipment discovery result of the target Bluetooth equipment is displayed based on the EIR data in the EIR response, so that the equipment information of the target Bluetooth equipment can be acquired only by RNR operation when the EIR response error sent by the target Bluetooth equipment is received for the first time, thereby being beneficial to shortening the discovery time of the Bluetooth equipment and improving the discovery efficiency of the Bluetooth equipment.
Drawings
In order to more clearly describe the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
fig. 2 is a flowchart of a discovery method of a bluetooth device according to an exemplary embodiment of the present application;
FIG. 3 is a flowchart illustrating the operation of a Bluetooth controller and a Bluetooth host in accordance with an exemplary embodiment of the present application;
Fig. 4 is a flowchart of a discovery method of a bluetooth device according to another exemplary embodiment of the present application;
FIG. 5 is a schematic diagram illustrating the operation of a Bluetooth controller and a Bluetooth host in a Bluetooth device discovery process according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an implementation of a Bluetooth device discovery and EIR history update procedure in accordance with an exemplary embodiment of the present application;
fig. 7 is a block diagram showing a structure of a discovery apparatus of a bluetooth device according to an exemplary embodiment of the present application;
fig. 8 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown, where the implementation environment includes a terminal 110 and a bluetooth device 120.
The terminal 110 and the bluetooth device 120 are both electronic devices with bluetooth functions, and the electronic devices may be smart phones, tablet computers, wearable devices, personal computers, etc., and the specific types of the terminal 110 and the bluetooth device 120 are not limited in the embodiments of the present application.
The bluetooth functions of the terminal 110 and the bluetooth device 120 may be implemented by a built-in bluetooth chip, or may be implemented by an external bluetooth module, which is not limited in this embodiment.
In the embodiment of the present application, the terminal 110 is an electronic device with a bluetooth device discovery function, and the bluetooth device 120 is a discovered electronic device. Illustratively, as shown in fig. 1, the terminal 110 is a smart phone, and the bluetooth device 120 includes a bluetooth headset, a smart phone, and a tablet computer within a bluetooth discovery range of the smart phone.
In a possible application scenario, the terminal 110 and the bluetooth device 120 both start the bluetooth function, the terminal 110 broadcasts a device query request to the surrounding, the bluetooth device 120 receives the device query request, and responds to the device query request and sends a response result to the terminal 110, and after receiving the response result sent by the bluetooth device, the terminal 110 successfully obtains the device name of the bluetooth device 120, and displays the device name of the bluetooth device 120 in the bluetooth scan list 111 (the scan list 111 in fig. 1 includes the discovered device names of the bluetooth headset, the smart phone and the tablet computer). Further, when receiving the bluetooth connection operation, the terminal 110 initiates a connection establishment request to the selected bluetooth device, so as to establish a bluetooth connection with the selected bluetooth device, and further perform data transmission through the bluetooth connection.
When the bluetooth device supports the EIR function, the bluetooth device may first send an information response after receiving an information sent by the terminal, and then send an EIR response multiple times, and if the terminal obtains a device name of the bluetooth device from the EIR response, the discovery process of the bluetooth device is completed; if the terminal cannot acquire the device name of the bluetooth device from the EIR response, it is necessary to perform RNR to acquire the device name of the bluetooth device after the end of the query.
For convenience of description, the following embodiments will take as an example that the discovery method of bluetooth devices is applied to the implementation environment shown in fig. 1.
Referring to fig. 2, a flowchart of a method for discovering a bluetooth device according to an exemplary embodiment of the present application is shown, the method including:
Step 210, broadcasting a device query request.
In one possible implementation, when the terminal turns on the bluetooth scanning function, a request is queried from a broadcasting device within a certain range. The device query request includes the address of the terminal and other related information, and the embodiment of the application does not limit the specific content included in the device query request.
Optionally, the device query request is broadcast by a user-triggered terminal.
For example, when a user wants to exchange information with a certain bluetooth device around by using the terminal, the user can click a "bluetooth on" button on the bluetooth function interface, and trigger a bluetooth chip in the terminal to inquire about a request from a surrounding broadcast device.
Alternatively, the terminal may periodically broadcast the device query request.
Step 220, in response to receiving the EIR response of the target bluetooth device to the device query request, querying an EIR history record based on the target device information of the target bluetooth device, where the EIR history record includes a correspondence between device information of the bluetooth device and a history EIR response receiving condition.
In one possible implementation manner, after the terminal sends the device query request, the bluetooth device supporting the EIR function sends an information response to the terminal after receiving the device query request, and continues to send an EIR response (including extended information such as a device name), and the terminal records the device information of the bluetooth device and the receiving condition of the EIR response, so as to generate an EIR history record.
When the terminal receives the EIR response sent by the Bluetooth device, the EIR response receiving error occurs for some reasons, such as: electromagnetic interference and the like of the external environment may cause the influence on EIR response transmission, so that the EIR response at the terminal side is received in error. Thus, the historical EIR acknowledgement receipt in the EIR history includes both receipt correct and receipt error.
When the terminal receives the EIR response of the target Bluetooth device to the device query request, the terminal queries the receiving condition of the historical EIR response sent by the target Bluetooth device in the EIR history according to the corresponding relation between the device information of the Bluetooth device in the EIR history and the receiving condition of the historical EIR response.
The device information included in the EIR history may be information, such as a bluetooth address, used to uniquely identify the bluetooth device, which is not limited by the embodiment of the present application.
In step 230, in response to querying the historical EIR response reception error sent by the target Bluetooth device from the EIR history, the EIR response is checked.
In the related art, when the terminal receives an EIR response sent by the bluetooth device for the first time and the EIR response is received incorrectly, even if the EIR response sent by the bluetooth device is received correctly, the device discovery cannot be completed based on the correctly received EIR response (because the bluetooth controller reports the acquired device information to the bluetooth host even if the EIR response is received incorrectly), but the device discovery needs to be completed through RNR operation. In the embodiment of the application, when the receiving condition of the historical EIR response sent by the target Bluetooth device is queried from the EIR history record (indicating that the EIR response sent by the target Bluetooth device is received before), and the receiving error of the historical EIR response is detected, the terminal checks the received EIR response and judges whether the received EIR response is correct.
In one possible implementation manner, the EIR response sent by the target bluetooth device includes a check bit, and the terminal checks the EIR response according to the check bit, so as to determine whether the EIR response is received correctly, where the terminal may use a cyclic redundancy check (Cyclic Redundancy Check, CRC) manner to check the received EIR response.
In step 240, in response to the EIR acknowledgement passing the verification, the device discovery result of the target Bluetooth device is displayed based on the EIR data in the EIR acknowledgement.
And when the received EIR response passes the verification, the EIR response is correctly received, and the terminal displays the device discovery result of the target Bluetooth device based on the EIR data in the EIR response. In a possible implementation manner, the terminal obtains the name of the target device contained in the EIR data, and displays the name of the target device, so as to realize bluetooth device discovery.
Schematically, when the EIR response passes the verification, the terminal analyzes the EIR data in the EIR response, obtains the target device name of the target bluetooth device, and displays the device name of the mobile phone in the bluetooth device discovery list, so that the terminal establishes connection with the bluetooth device, and further performs subsequent information exchange.
In summary, in the embodiment of the present application, after generating the EIR history record based on the historical EIR receiving condition of the bluetooth device, when the EIR response sent by the target bluetooth device is received again, and when the historical EIR response receiving error is queried from the EIR history record according to the target device information of the target bluetooth device, the terminal can verify the EIR response sent by the target bluetooth device this time, and when the EIR response passes the verification, the device discovery result of the target bluetooth device is displayed based on the EIR data in the EIR response, so that when the EIR response error sent by the target bluetooth device is received for the first time, the device information of the target bluetooth device needs to be acquired through the RNR operation, which is helpful for shortening the discovery time of the bluetooth device and improving the discovery efficiency of the bluetooth device.
In one possible implementation, as shown in fig. 3, the terminal implements discovery of bluetooth devices through a bluetooth host (host) and a bluetooth controller (controller), and the process may include the following steps.
In step 310, the bluetooth host sends a device query instruction to the bluetooth controller.
When the Bluetooth device discovery requirement exists, the Bluetooth host sends a device inquiry instruction to the Bluetooth controller, and the Bluetooth controller is instructed to broadcast a device inquiry request.
In step 320, the bluetooth controller broadcasts a device query request.
Correspondingly, the Bluetooth controller performs device query request broadcasting based on the device query instruction.
In step 330, in response to receiving the EIR response of the target bluetooth device to the device query request, the bluetooth controller queries an EIR history record based on the target device information of the target bluetooth device, where the EIR history record includes a correspondence between device information of the bluetooth device and a history EIR response receiving condition.
The Bluetooth controller generates an EIR history record based on the history receiving condition of the EIR response sent by the Bluetooth device, and inquires about the history receiving condition of the EIR sent by the target Bluetooth device based on the target Bluetooth information of the target Bluetooth device when the EIR response sent by the target Bluetooth device is received.
In step 340, in response to querying the EIR history record for a historical EIR reply reception error sent by the target bluetooth device, the bluetooth controller verifies the EIR reply.
And under the condition that the historical EIR response sent by the target Bluetooth device is received in error, the Bluetooth controller checks the received EIR response, so as to determine whether the Bluetooth host needs to be reported again according to a checking result.
It should be noted that, when the EIR response sent by the target bluetooth device is received for the first time, and the EIR response is received in error, the bluetooth controller reports to the bluetooth host, but only carries the bluetooth address when reporting, and does not include information necessary for completing device discovery, such as a device name, so that bluetooth device discovery cannot be completed.
In step 350, in response to the EIR response passing the verification, the bluetooth controller reports the EIR data in the EIR response to the bluetooth host.
When the EIR response passes the verification, it is indicated that the EIR response is received correctly. Because the target Bluetooth device cannot complete device discovery due to EIR response receiving error before, when the EIR response is received correctly, the Bluetooth controller reports EIR data in the EIR response to the Bluetooth host so as to complete device discovery based on the EIR data.
In step 360, the bluetooth host displays the device discovery result of the target bluetooth device based on the EIR data.
Referring to fig. 4, a flowchart of a method for discovering a bluetooth device according to another exemplary embodiment of the present application is shown, the method includes:
Step 401, broadcasting a device query request.
Step 402, obtain the target bluetooth address of the target bluetooth device, and inquire about the EIR history based on the target bluetooth address, where the EIR history includes a correspondence between the bluetooth address and the history EIR response receiving condition.
This step may be divided into three steps, namely step 403, step 406 and step 407, wherein when the first flag bit corresponding to the target bluetooth address is queried from the EIR history record, and when it is determined that the historical EIR response sent by the target bluetooth device is received in error, step 403 is performed, when the historical EIR response sent by the target bluetooth device is queried from the EIR history record, step 406 is performed, and when the historical EIR response received condition corresponding to the target bluetooth device is not queried from the EIR history record, step 407 is performed.
When the terminal receives EIR response of the target Bluetooth device, the terminal obtains the target Bluetooth address of the target Bluetooth device from the EIR response, and inquires whether the historical EIR response receiving condition corresponding to the target Bluetooth device exists in the EIR history record according to the obtained target Bluetooth address.
The corresponding relation between the Bluetooth address and the historical EIR response receiving condition is stored in the EIR history record, and the terminal can inquire the historical EIR response receiving condition of the target Bluetooth device based on the obtained target Bluetooth address according to the corresponding relation, wherein the Bluetooth address and the historical EIR response receiving condition are shown in the following table I:
List one
Bluetooth address Sign bit
Bluetooth address one 1
Bluetooth address two 0
Illustratively, when the terminal receives an EIR response of a bluetooth device with a bluetooth address "bluetooth address one", the terminal may query the received EIR response in the EIR history according to the corresponding relationship between the bluetooth address one and the bluetooth address existing in the EIR history and the EIR response receiving condition.
Step 403, in response to the inquiry from the EIR history record that the target bluetooth address corresponds to the first flag bit, determining a historical EIR response receiving error sent by the target bluetooth device, and checking the EIR response.
This step can be divided into two cases, where step 404 is performed when the EIR response passes the check, and step 405 is performed when the EIR response fails the check.
In one possible implementation, the terminal indicates the historical EIR response receiving situation by using a flag bit, where the first flag bit is used to identify an EIR reception error, the second flag bit is used to identify that the EIR reception is correct, and the flag bit may be identified by a number such as "0", "1", for example: when the EIR response is received correctly, the second flag bit can be represented by a "1"; when the EIR response receives an error, the first flag bit can be represented by 0, and the terminal can judge whether the received historical EIR response is correct or not according to the inquired flag bit.
It should be noted that "0" and "1" in the embodiment of the present application are only one possible expression form of the flag bit, and those skilled in the art may use other forms of flag bits (such as "yes" and "no"), which the embodiment of the present application is not limited to.
Schematically, when the terminal receives the EIR response of the Bluetooth device with the Bluetooth address of "Bluetooth address one" in combination with the data shown in the table one, the terminal queries the historical EIR receiving condition of the Bluetooth device in the EIR history according to the acquired Bluetooth address, and if the flag bit corresponding to the queried "Bluetooth address one" is "0", the terminal can judge that the historical EIR response sent by the Bluetooth device corresponding to the "Bluetooth address one" is received by error according to the flag bit.
When the terminal inquires that the flag bit corresponding to the target Bluetooth address is 0 from the EIR history record, the terminal can judge that the EIR response of the target Bluetooth device is received in error, but the EIR response of the Bluetooth device is possibly caused by electromagnetic interference in the surrounding environment, and when the electromagnetic interference in the surrounding environment is weakened or eliminated, the EIR response of the Bluetooth device can be correctly received by the terminal, so that when the EIR response of the Bluetooth device is received in error again, if the EIR response of the Bluetooth device is received again, the terminal needs to check the received EIR response again, and judges whether the EIR response is received correctly or not.
And step 404, in response to the EIR response passing the verification, updating the first flag bit corresponding to the target Bluetooth address into the second flag bit.
When the historical EIR response of the target Bluetooth device stored in the EIR history record is received in error, the terminal checks the received EIR response, and if the received EIR response passes the check, the terminal updates the identification bit corresponding to the target Bluetooth address in the EIR history record, for example, the flag bit 0 is updated to be the flag bit 1.
Illustratively, as described above, when the terminal receives the EIR response of the bluetooth device with the bluetooth address "bluetooth address one", but when the EIR response of the bluetooth device is received, there is an electromagnetic interference in the surrounding environment, which causes an error in receiving the EIR response of the bluetooth device, so when the terminal receives the EIR response of the bluetooth device again, the terminal checks the received EIR response, when the EIR response is received this time, the electromagnetic interference in the surrounding environment disappears, the EIR response passes the check, and if the EIR response is received correctly, the terminal updates the historical EIR receiving condition of the bluetooth device stored in the EIR history record, for example: and updating the flag bit 0 corresponding to the Bluetooth address one to 1.
And step 405, in response to the EIR response failing to pass the verification, maintaining a historical EIR response receiving condition corresponding to the target bluetooth device in the EIR history record.
When the terminal inquires the historical EIR receiving error of the target Bluetooth device from the EIR history record and the EIR response receiving is still in error, the terminal does not update the historical EIR response receiving condition of the target Bluetooth device, namely the target Bluetooth address still corresponds to the zone bit '0' in the EIR history record.
In one possible implementation manner, in the present period of the requirement, the external environmental factor causing the error in receiving the EIR response is always present, so that the EIR response of the target bluetooth device cannot be correctly received by the terminal in the present period of the requirement, and then the terminal keeps the historical EIR response receiving condition corresponding to the target bluetooth device in the EIR history unchanged.
Schematically, as described above, when the terminal receives the EIR response of the bluetooth device with the bluetooth address "bluetooth address one", the terminal knows that the historical EIR response of the bluetooth device is received in error by querying, and the EIR response of this time of the bluetooth device still fails to pass the verification because of the interference of the external environment, the terminal will not update the flag bit corresponding to the bluetooth device in the EIR history, if in this time of the requirement period, the environmental factors affecting the EIR response of the bluetooth device always exist, and if the terminal cannot correctly receive the EIR response of the bluetooth device in the whole requirement, the terminal will keep the EIR response receiving condition of the bluetooth device stored in the EIR history unchanged.
In step 406, in response to querying from the EIR history that the historical EIR response sent by the target Bluetooth device is received correctly, the EIR response is ignored.
When the terminal receives the EIR response of the target Bluetooth device and inquires from the EIR history record that the historical EIR response of the target Bluetooth device is received correctly, the target Bluetooth device is indicated to have completed device discovery, at this time, the terminal ignores the received EIR response, and does not need to check and analyze the EIR response, i.e. the Bluetooth controller does not need to report EIR data to the Bluetooth host again.
Illustratively, as described above, the terminal receives the EIR response of the bluetooth device with the bluetooth address "bluetooth address two", and inquires that the EIR response of the bluetooth device is correct, then the terminal ignores the received EIR response.
And step 407, checking the EIR response in response to the fact that the historical EIR response receiving condition corresponding to the target Bluetooth device is not queried.
This step can also be divided into two cases according to the case, where step 408 is performed when the EIR response passes the check, and step 409 is performed when the EIR response fails the check.
After receiving the EIR response of the target Bluetooth device, the terminal inquires the historical EIR response receiving condition of the Bluetooth device in an EIR history record, and if the EIR response receiving condition of the target Bluetooth device stored in the EIR history record is not inquired, the terminal can judge that the terminal receives the EIR response of the target Bluetooth device for the first time, and then the terminal checks the EIR response.
Schematically, when the terminal receives a bluetooth device with a bluetooth address of "bluetooth address three", and the terminal does not inquire about the corresponding historical EIR response receiving condition in the EIR history record based on the bluetooth address of the bluetooth device, the terminal checks the received EIR response.
In step 408, in response to the EIR response passing the verification, the target Bluetooth address and the second flag bit are written to the EIR history.
When the terminal checks the EIR response of the target Bluetooth device, and if the EIR response passes the check, the terminal writes the target Bluetooth address and the corresponding flag bit '1' into the EIR history record.
Illustratively, as described above, when the terminal does not find the bluetooth device in the EIR history, the terminal checks the EIR response of the bluetooth device, and if the EIR response of the bluetooth device passes the check, the terminal writes the bluetooth address "bluetooth address three" and the corresponding flag bit "1" into the EIR history, so as to find the bluetooth device later.
And step 409, in response to the EIR response failing to pass the verification, writing the target Bluetooth address and the first flag bit into the EIR history.
When the terminal checks the EIR response of the target Bluetooth device, the EIR response of the Bluetooth device may be interfered by a strong magnetic signal in an external environment to cause a receiving error, and further the EIR response fails to pass the check, the terminal writes the target Bluetooth address and a flag bit '0' corresponding to the target Bluetooth address into an EIR history record.
Schematically, as described above, when the terminal does not query the bluetooth device in the EIR history, the terminal checks the EIR response of the bluetooth device, and if the EIR response of the bluetooth device may fail to pass the check due to interference of the external environment, the terminal may store the bluetooth address "bluetooth address three" and the flag bit "0" in association with the EIR history, and correspondingly, in the present requirement period, the terminal may check the subsequently received subsequent EIR response of the bluetooth device.
In step 410, the EIR history is cleared in response to the device discovery procedure ending.
When the terminal ends the device discovery process, the terminal clears the EIR response receiving condition of the Bluetooth device stored in the EIR history record. Because if the EIR response receiving condition of the bluetooth device in the present inquiry period is always stored in the EIR history, when the next terminal needs to discover the bluetooth device, the historical EIR response receiving condition of the bluetooth device stored in the EIR history may affect the discovery process of the bluetooth device, for example: the historical EIR response of a Bluetooth device is correct and recorded in an EIR history record without deletion, when the next time the terminal discovers the device, the EIR response of the device cannot be correctly received due to the influence of environmental factors, if the record of the receiving condition of the historical EIR response of the Bluetooth device is not deleted, the terminal cannot correctly respond to the received EIR response, and the situation that the Bluetooth device discovers unsuccessfully is caused, so that in order to avoid the occurrence of the problems, the terminal deletes the data stored in the EIR history record after the end of each acquisition period.
Illustratively, as described above, in one period of the inquiry, the terminal receives the EIR responses of other bluetooth devices in a certain range in addition to the EIR responses of bluetooth devices with bluetooth addresses "bluetooth address one" and "bluetooth address two", stores the received EIR responses of all bluetooth devices in the EIR history, and stops discovering the bluetooth devices when the period of the inquiry is over, so as to avoid affecting the discovery process of the next bluetooth device, and the terminal clears the received EIR response received conditions from the EIR history.
As shown in fig. 5, which illustrates the workflow of the bluetooth host and bluetooth controller during discovery of bluetooth devices. When the terminal starts the Bluetooth device discovery function, the Bluetooth host sends an information instruction to the Bluetooth controller, and instructs the Bluetooth controller to broadcast a device query request. After broadcasting the equipment inquiry request, the Bluetooth controller receives EIR responses of the first Bluetooth equipment, the second Bluetooth equipment and the third Bluetooth equipment.
When the Bluetooth controller receives the EIR response sent by the Bluetooth device I for the first time and the EIR response is received correctly, the Bluetooth controller reports EIR data in the EIR response to the Bluetooth host computer, completes device discovery, and stores a Bluetooth address corresponding to the Bluetooth device I and a flag bit '1' in an EIR history record in an associated mode. And when the EIR response sent by the Bluetooth device is received again later, the Bluetooth controller will not report.
When the Bluetooth controller receives the EIR response sent by the Bluetooth device II for the first time and the EIR response is received in error, the Bluetooth controller reports the Bluetooth address of the Bluetooth device II (the device discovery is not completed because of the lack of information such as the device name) to the Bluetooth host, and the Bluetooth address corresponding to the Bluetooth device II and the flag bit 0 are associated and stored in the EIR history record. And when the EIR response sent by the second Bluetooth device is received again, the Bluetooth controller inquires a flag bit of 0 from the EIR history record based on the Bluetooth address of the second Bluetooth device, so that the received EIR response is checked. If the EIR response is checked, the EIR response is correctly received, and EIR data in the EIR response is reported to the Bluetooth host, so that the device discovery is completed. In addition, the Bluetooth controller also updates the identification bit corresponding to the Bluetooth device II in the EIR history to be 1.
When the Bluetooth controller receives the EIR response sent by the Bluetooth device three for the first time and the EIR response is received in error, the Bluetooth controller reports the Bluetooth address of the Bluetooth device three to the Bluetooth host (the device discovery is not completed because of the lack of information such as the device name) and stores the Bluetooth address corresponding to the Bluetooth device three and the flag bit of 0 in the EIR history record. And when the EIR response sent by the Bluetooth device III is received again, the Bluetooth controller inquires a flag bit of 0 from the EIR history record based on the Bluetooth address of the Bluetooth device III, so that the received EIR response is checked. If the EIR response fails to pass the verification, the terminal determines that the EIR response still receives an error, does not report the EIR response, and keeps the flag bit corresponding to the Bluetooth device III in the EIR history record as 0.
In an exemplary application scenario, as shown in fig. 6, the terminal 61 stores an EIR history 62, where the EIR history includes a correspondence between bluetooth addresses and flag bits. When the bluetooth scanning function is turned on, the terminal 61 broadcasts a device query request and receives EIR responses fed back by surrounding bluetooth devices.
After receiving the EIR response fed back by the first bluetooth device 63, the terminal 61 queries the EIR history 62 based on the bluetooth address "bluetooth address one" of the first bluetooth device 63. If the historical EIR response receiving condition of the first Bluetooth device 63 is not queried, the terminal checks the EIR response to determine whether the EIR response is received correctly. If the verification is passed, the terminal 61 records "bluetooth address one" and flag bit "1" in the EIR history, and may display bluetooth device name according to the device name "Zhang san tablet" included in the EIR response.
After receiving the EIR response fed back by the second bluetooth device 64, the terminal 61 queries the EIR history record based on the bluetooth address "bluetooth address two" of the second bluetooth device 64. If the flag bit corresponding to the "bluetooth address two" is found to be "0", the historical EIR response receiving error of the second bluetooth device 64 is determined, so as to verify the received EIR response. If the EIR response passes the verification, the terminal 61 determines that the EIR response is received correctly, and updates the flag bit corresponding to the "bluetooth address two" in the EIR history record from "0" to "1", and may display the bluetooth device name according to the computer "xiao Zhao" of the device name included in the EIR response.
After receiving the EIR response fed back by the third bluetooth device 65, the terminal 61 queries the EIR history based on the bluetooth address "bluetooth address three" of the third bluetooth device 65. If the flag bit corresponding to the "bluetooth address three" is found to be "0", the historical EIR response receiving error of the third bluetooth device 65 is determined, so as to verify the received EIR response. If the EIR response fails to pass the verification, the terminal 61 determines that the EIR response is received in error, and keeps the flag bit corresponding to "bluetooth address three" in the EIR history as "0". Since the terminal 61 cannot acquire correct EIR data from the EIR reply of the third bluetooth device 65, device name display for the third bluetooth device 65 cannot be realized.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a discovery apparatus of a bluetooth device according to an exemplary embodiment of the application is shown. The apparatus may be implemented as a whole or as part of a terminal by software, hardware or a combination of both. The device comprises:
a broadcasting module 710 for broadcasting a device query request;
The query module 720 is configured to query, in response to receiving an EIR response of the target bluetooth device to the device query request, an EIR history based on target device information of the target bluetooth device, where the EIR history includes a correspondence between device information of the bluetooth device and a historical EIR response receiving condition;
A first checking module 730, configured to check, in response to querying from the EIR history record, a historical EIR response reception error sent by the target bluetooth device;
And a display module 740, configured to display, in response to the EIR reply passing the verification, a device discovery result of the target bluetooth device based on the EIR data in the EIR reply.
Optionally, the query module 720 includes:
The acquisition unit is used for acquiring a target Bluetooth address of the target Bluetooth device;
and the inquiring unit is used for inquiring the EIR history record based on the target Bluetooth address, wherein the EIR history record comprises the corresponding relation between the Bluetooth address and the history EIR response receiving condition.
Optionally, a first verification module 730 is configured to:
Responding to the first flag bit corresponding to the target Bluetooth address inquired from the EIR history record, determining the history EIR response receiving error sent by the target Bluetooth device, and checking the EIR response;
The apparatus further comprises:
and the determining module is used for determining that the historical EIR response sent by the target Bluetooth device is correctly received in response to the second flag bit corresponding to the target Bluetooth address queried from the EIR history record, wherein the second flag bit is different from the first flag bit.
Optionally, the apparatus further comprises:
and the updating module is used for updating the first zone bit corresponding to the target Bluetooth address into the second zone bit in response to the EIR response passing the verification.
Optionally, the apparatus further comprises:
The second checking module is used for checking the EIR response in response to the fact that the historical EIR response receiving condition corresponding to the target Bluetooth device is not queried;
the first writing module is used for responding to the EIR response and passing the verification, and writing the target Bluetooth address and the second zone bit into the EIR history record;
And the second writing module is used for writing the target Bluetooth address and the first flag bit into the EIR history record in response to the failure of the EIR response.
Optionally, the apparatus further comprises:
And the ignoring module is used for ignoring the EIR response in response to the fact that the historical EIR response sent by the target Bluetooth device is received correctly and inquired from the EIR history record.
Optionally, the apparatus further comprises:
And the maintaining module is used for responding to the failure verification of the EIR response and maintaining the historical EIR response receiving condition corresponding to the target Bluetooth device in the EIR history record.
Optionally, the query module is configured to:
responding to the EIR response of the target Bluetooth device to the device query request received through the Bluetooth controller, and querying an EIR history;
A first verification module 730 for:
Responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response through the Bluetooth controller;
A display module 740 for:
And responding to the EIR response passing verification, reporting the EIR data in the EIR response to the Bluetooth host by the Bluetooth controller so that the Bluetooth host can display the device information of the target Bluetooth device based on the EIR data.
Optionally, the apparatus further comprises:
and the clearing module is used for clearing the EIR history record in response to the end of the equipment discovery process.
In summary, in the embodiment of the present application, by storing the receiving condition of the historical EIR response of the bluetooth device in the EIR history record, the received EIR response is firstly queried in the EIR history record in the process of discovering the bluetooth device, the historical EIR response receiving error is queried, the received EIR response is checked, and if the EIR response passes the check, the terminal displays the device information of the bluetooth device. The discovery device of the Bluetooth equipment provided by the embodiment of the application can shorten the discovery time of the Bluetooth equipment and improve the discovery efficiency of the Bluetooth equipment.
Referring to fig. 8, a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application is shown. The terminal 800 may be a smart phone, tablet, wearable device, etc. The terminal 800 of the present application may include one or more of the following components: processor 810, memory 820, and bluetooth chip 830.
Processor 810 may include one or more processing cores. The processor 810 connects various parts within the overall terminal 800 using various interfaces and lines, performs various functions of the terminal 800 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 820, and invoking data stored in the memory 820. Alternatively, the processor 810 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 810 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for bluetooth data transceiving and bluetooth related work required to be executed by the bluetooth chip 830; the NPU is used for realizing an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) function; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 810 and may be implemented on a single chip.
The Memory 820 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (ROM). Optionally, the memory 820 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 820 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 820 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc.; the storage data area may store data (e.g., audio data, phonebook) created according to the use of the terminal 800, etc.
The bluetooth chip 830 is a component for performing bluetooth data transceiving and bluetooth related operations, and is formed by related devices such as a receiver, a transmitter, a memory, etc., where the bluetooth chip 830 may be integrated inside the terminal 800, or may be disposed in an external bluetooth component, which is not limited in this embodiment.
In addition, those skilled in the art will appreciate that the structure of the terminal 800 illustrated in the above-described figures is not limiting as to computer devices, which may include more or fewer components than illustrated, or may combine certain components, or a different arrangement of components. For example, the terminal 800 further includes a display screen, a sensor, an audio circuit, a power supply, etc., which are not described herein.
Embodiments of the present application also provide a computer readable medium storing at least one instruction that is loaded and executed by a processor to implement the discovery method of a bluetooth device as described in the above embodiments.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the discovery method of bluetooth devices provided in various alternative implementations of the above aspect.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (20)

1. A method for discovery of bluetooth devices, the method comprising:
Broadcasting a device query request;
Responding to the EIR response of the target Bluetooth device to the device query request, and querying an EIR history record based on the target device information of the target Bluetooth device, wherein the EIR history record comprises the corresponding relation between the device information of the Bluetooth device and the history EIR response receiving condition;
Responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response;
And responding to the EIR response to pass the verification, and displaying the device discovery result of the target Bluetooth device based on EIR data in the EIR response.
2. The method of claim 1, wherein querying the EIR history based on the target device information for the target bluetooth device comprises:
acquiring a target Bluetooth address of the target Bluetooth device;
Inquiring the EIR history record based on the target Bluetooth address, wherein the EIR history record comprises the corresponding relation between the Bluetooth address and the history EIR response receiving condition.
3. The method of claim 2, wherein the verifying the EIR reply in response to querying the EIR history for a historical EIR reply reception error sent by the target bluetooth device, comprises:
Responding to the inquiry of the first zone bit corresponding to the target Bluetooth address from the EIR history record, determining the history EIR response receiving error sent by the target Bluetooth device, and checking the EIR response;
The method further comprises the steps of:
and responding to the inquiry of the second flag bit corresponding to the target Bluetooth address from the EIR history record, and determining that the history EIR response sent by the target Bluetooth device is received correctly, wherein the second flag bit is different from the first flag bit.
4. The method of claim 3, wherein after said verifying said EIR response, said method further comprises:
And in response to the EIR response passing verification, updating the first flag bit corresponding to the target Bluetooth address into the second flag bit.
5. The method of claim 3, wherein after querying an EIR history based on target device information of the target bluetooth device, the method further comprises:
Responding to the historical EIR response receiving condition which is not queried and corresponds to the target Bluetooth equipment, and checking the EIR response;
Writing the target Bluetooth address and the second flag bit into the EIR history record in response to the EIR response passing verification;
and writing the target Bluetooth address and the first flag bit into the EIR history record in response to the EIR response failing to pass the verification.
6. The method according to any one of claims 1 to 5, wherein after querying an EIR history based on target device information of the target bluetooth device, the method further comprises:
And responding to the fact that the historical EIR response sent by the target Bluetooth device is received correctly, and ignoring the EIR response.
7. The method of any one of claims 1 to 5, wherein after said verifying said EIR response, said method further comprises:
And responding to the EIR response failing to pass the verification, and maintaining the historical EIR response receiving condition corresponding to the target Bluetooth device in the EIR history record.
8. The method according to any one of claims 1 to 5, wherein, in response to receiving an EIR response from a target bluetooth device to the device query request, querying an EIR history based on target device information of the target bluetooth device, comprising:
Responding to the EIR response of the target Bluetooth device to the device query request received through a Bluetooth controller, and querying the EIR history record based on the target device information of the target Bluetooth device;
the step of verifying the EIR response in response to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record comprises the following steps:
Responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response through the Bluetooth controller;
the responding to the EIR response passes the verification, and shows the device discovery result of the target Bluetooth device based on EIR data in the EIR response, comprising:
And responding to the EIR response passing verification, and reporting EIR data in the EIR response to a Bluetooth host through the Bluetooth controller so that the Bluetooth host can display a device discovery result of the target Bluetooth device based on the EIR data in the EIR response.
9. The method according to any one of claims 1 to 5, further comprising:
and clearing the EIR history record in response to the end of the equipment discovery process.
10. A discovery apparatus for a bluetooth device, the apparatus comprising:
the broadcasting module is used for broadcasting equipment query requests;
The inquiring module is used for responding to the EIR response of the received target Bluetooth device to the device inquiring request, inquiring an EIR history record based on the target device information of the target Bluetooth device, wherein the EIR history record contains the history EIR response receiving condition corresponding to the Bluetooth device;
The first checking module is used for responding to the historical EIR response receiving error sent by the target Bluetooth device and inquired from the EIR history record, and checking the EIR response;
And the display module is used for responding to the EIR response to pass the verification and displaying the device discovery result of the target Bluetooth device based on the EIR data in the EIR response.
11. The apparatus of claim 10, wherein the query module comprises:
an obtaining unit, configured to obtain a target bluetooth address of the target bluetooth device;
And the inquiring unit is used for inquiring the EIR history record based on the target Bluetooth address, wherein the EIR history record comprises the corresponding relation between the equipment information of the Bluetooth equipment and the history EIR response receiving condition.
12. The apparatus of claim 11, wherein the first verification module is configured to:
Responding to the inquiry of the first zone bit corresponding to the target Bluetooth address from the EIR history record, determining the history EIR response receiving error sent by the target Bluetooth device, and checking the EIR response;
The apparatus further comprises:
And the determining module is used for determining that the historical EIR response sent by the target Bluetooth device is correctly received in response to the inquiry of a second flag bit corresponding to the target Bluetooth address from the EIR history record, wherein the second flag bit is different from the first flag bit.
13. The apparatus of claim 12, wherein the apparatus further comprises:
And the updating module is used for updating the first zone bit corresponding to the target Bluetooth address into the second zone bit in response to the EIR response passing verification.
14. The apparatus of claim 12, wherein the apparatus further comprises:
The second checking module is used for checking the EIR response in response to the fact that the historical EIR response receiving condition corresponding to the target Bluetooth device is not queried;
the first writing module is used for responding to the EIR response and passing verification, and writing the target Bluetooth address and the second zone bit into the EIR history record;
And the second writing module is used for writing the target Bluetooth address and the first zone bit into the EIR history record in response to the EIR response failing to pass the verification.
15. The apparatus according to any one of claims 10 to 14, further comprising:
and the ignoring module is used for ignoring the EIR response in response to inquiring that the historical EIR response sent by the target Bluetooth device is received correctly from the EIR history record.
16. The apparatus according to any one of claims 10 to 14, further comprising:
and the maintaining module is used for responding to the EIR response failing to pass the verification, and maintaining the historical EIR response receiving condition corresponding to the target Bluetooth device in the EIR history record.
17. The apparatus according to any one of claims 10 to 14, wherein the query module is configured to:
responding to the EIR response of the target Bluetooth device to the device query request received through a Bluetooth controller, and querying the EIR history;
The first verification module is used for:
Responding to the inquiry of the historical EIR response receiving error sent by the target Bluetooth device from the EIR history record, and checking the EIR response through the Bluetooth controller;
The display module is used for:
And responding to the EIR response passing verification, and reporting EIR data in the EIR response to a Bluetooth host through the Bluetooth controller so that the Bluetooth host can display a device discovery result of the target Bluetooth device based on the EIR data in the EIR response.
18. The apparatus according to any one of claims 10 to 14, further comprising:
and the clearing module is used for clearing the EIR history record in response to the end of the equipment discovery process.
19. A terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of discovery of a bluetooth device according to any one of claims 1 to 9.
20. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement a method of discovery of a bluetooth device according to any of claims 1 to 9.
CN202110935134.2A 2021-08-16 2021-08-16 Bluetooth device discovery method, device, terminal and storage medium Active CN113645606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110935134.2A CN113645606B (en) 2021-08-16 2021-08-16 Bluetooth device discovery method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110935134.2A CN113645606B (en) 2021-08-16 2021-08-16 Bluetooth device discovery method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113645606A CN113645606A (en) 2021-11-12
CN113645606B true CN113645606B (en) 2024-05-03

Family

ID=78421870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110935134.2A Active CN113645606B (en) 2021-08-16 2021-08-16 Bluetooth device discovery method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113645606B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650509B (en) * 2022-05-18 2022-09-02 深圳市爱图仕影像器材有限公司 Method, device and system for bidirectional communication of Bluetooth broadcast

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210280A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method of Bluetooth pairing, Apparatus and system
CN108292935A (en) * 2016-08-23 2018-07-17 华为技术有限公司 A kind of Bluetooth pairing methods and bluetooth equipment
CN108540502A (en) * 2018-07-18 2018-09-14 重庆信络威科技有限公司 A kind of Networking protocol based on Bluetooth communication
CN112311853A (en) * 2020-09-28 2021-02-02 北京沃东天骏信息技术有限公司 Data synchronization method, device, equipment and computer readable storage medium
CN112469011A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth pairing method and related device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042829B2 (en) * 2013-01-04 2015-05-26 Nokia Corporation Method, apparatus, and computer program product for wireless short-range communication
US9668294B2 (en) * 2014-01-14 2017-05-30 Qualcomm Incorporated Method and apparatus for bluetooth low energy suspend and resume

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210280A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method of Bluetooth pairing, Apparatus and system
CN108292935A (en) * 2016-08-23 2018-07-17 华为技术有限公司 A kind of Bluetooth pairing methods and bluetooth equipment
CN108540502A (en) * 2018-07-18 2018-09-14 重庆信络威科技有限公司 A kind of Networking protocol based on Bluetooth communication
CN112469011A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth pairing method and related device
CN112311853A (en) * 2020-09-28 2021-02-02 北京沃东天骏信息技术有限公司 Data synchronization method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113645606A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN109800179B (en) Method for acquiring data, method for sending data, host and embedded memory
CN103596017B (en) Video downloading method and system
US10609537B2 (en) Proximity platform
CN106681774B (en) Software upgrading method of Bluetooth loudspeaker and intelligent terminal
CN109656827B (en) Control tree generation method and terminal equipment
CN110704328B (en) Interface testing method and device, electronic equipment and readable storage medium
CN107423099B (en) Key code programming method, server, terminal, key code programming system and storage medium
CN113645606B (en) Bluetooth device discovery method, device, terminal and storage medium
CN111381992A (en) Crash log processing method and device, electronic equipment and storage medium
WO2019179093A1 (en) Method for obtaining device identifier in nb-iot, and device
US20180188853A1 (en) Touch sensing system and data transmission method of a touch panel
CN110855318B (en) Tire pressure sensor upgrading method, device, equipment and medium
CN109828770B (en) Software upgrading method, terminal equipment and server
KR20130067780A (en) Method and apparatus for configuring domain name server name
CN101197959B (en) Terminal control method, system and equipment
CN113466841B (en) Distance measuring method, device, electronic equipment and storage medium
US20220394748A1 (en) Pusch transmission method, terminal, and network device
CN111209031A (en) Data acquisition method and device, terminal equipment and storage medium
TWI244609B (en) Mobile communication terminal, application software allocation device, application software allocation system, execution status display control method, execution status display control program and readable recording media of computer
US20240022474A1 (en) Distributed network configuration method and apparatus, intelligent terminal, and computer readable storage medium
CN107968799B (en) Information acquisition method, terminal equipment and system
CN115167764A (en) Data read-write processing method and device, electronic equipment and storage medium
CN109918340B (en) File processing method and terminal equipment
CN113490194A (en) Bluetooth-based equipment connection method and device, electronic equipment and storage medium
CN107249168A (en) A kind of data directional transmissions and method of reseptance and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant