CN113660649A - 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
CN113660649A
CN113660649A CN202110931811.3A CN202110931811A CN113660649A CN 113660649 A CN113660649 A CN 113660649A CN 202110931811 A CN202110931811 A CN 202110931811A CN 113660649 A CN113660649 A CN 113660649A
Authority
CN
China
Prior art keywords
target
rnr
bluetooth
response
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110931811.3A
Other languages
Chinese (zh)
Inventor
吕生义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110931811.3A priority Critical patent/CN113660649A/en
Publication of CN113660649A publication Critical patent/CN113660649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Abstract

The embodiment of the application discloses a method, a device, a terminal and a storage medium for discovering Bluetooth equipment, and belongs to the technical field of Bluetooth. The method comprises the following steps: a broadcast device query request; responding to a response result of the target Bluetooth equipment to the equipment query request, wherein the response result does not contain a target equipment name of the target Bluetooth equipment, querying an RNR cache file based on target equipment information of the target Bluetooth equipment, wherein the RNR cache file contains a corresponding relation between equipment information of the Bluetooth equipment and the equipment name, and the equipment name is obtained by sending an RNR by a terminal; and responding to the target device name of the target Bluetooth device inquired from the RNR cache file, and displaying the target device name. By adopting the Bluetooth equipment discovery method provided by the embodiment of the application, the discovery process of the Bluetooth equipment can be simplified, the discovery time of the Bluetooth equipment is shortened, and the discovery efficiency of the Bluetooth equipment is improved.

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 for devices. Wireless information exchange between devices can be achieved by using bluetooth technology.
In the related art, when discovering a peripheral bluetooth device, a bluetooth device first broadcasts an inquiry (inquiry) Request, and after receiving a device inquiry response sent by the peripheral bluetooth device, further sends a Remote Name Request (RNR) to the peripheral bluetooth device, so as to obtain a device Name of the peripheral bluetooth device.
However, in the above method, the bluetooth device needs to broadcast the device query request and send the RNR to complete device discovery, and 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 a Bluetooth device, which can shorten the discovery time of the Bluetooth device and improve the discovery efficiency of the Bluetooth device. 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:
a broadcast device query request;
responding to a response result of a target Bluetooth device to the device query request, wherein the response result does not contain a target device name of the target Bluetooth device, querying an RNR cache file based on target device information of the target Bluetooth device, wherein the RNR cache file contains a corresponding relation between device information and a device name of the Bluetooth device, and the device name is obtained by a terminal through sending an RNR;
and responding to the target device name of the target Bluetooth device inquired from the RNR cache file, and displaying the target device name.
On the other hand, an embodiment of the present application provides an apparatus for discovering a bluetooth device, where the apparatus includes:
the broadcast module is used for broadcasting the equipment inquiry request;
the inquiry module is used for responding to a response result of a target Bluetooth device to the device inquiry request, wherein the response result does not contain a target device name of the target Bluetooth device, inquiring an RNR cache file based on target device information of the target Bluetooth device, the RNR cache file contains a corresponding relation between device information and the device name of the Bluetooth device, and the device name is obtained by a terminal through sending an RNR;
and the display module is used for responding to the target equipment name of the target Bluetooth equipment inquired from the RNR cache file and displaying the target equipment name.
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 the 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, where at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the method for discovering a bluetooth device as provided in various aspects of the present application.
In another aspect, embodiments of the present application provide a computer program product including computer instructions, which are 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 executes the discovery method of the bluetooth device provided in the above-mentioned various alternative implementations.
The beneficial effects brought by the technical scheme provided by the embodiment of the application can include:
in the embodiment of the application, the device information of the bluetooth device obtained by the terminal through historical sending of the RNR is stored in the RNR cache file, when the device query request is broadcasted and the name of the target device is not obtained from the response result of the target bluetooth device, first, whether the name of the target bluetooth device exists in the file in the RNR cache is queried according to the corresponding relationship between the device information and the device name existing in the RNR cache file or not is queried according to the corresponding relationship between the device information and the device name existing in the RNR cache file, and then, when the name of the target device of the target bluetooth device is contained in the RNR cache file, the name of the target device of the target bluetooth device is directly displayed, the RNR does not need to be sent to the target bluetooth device to obtain the device name of the target bluetooth device, the discovery process of the bluetooth device is simplified, the discovery time of the bluetooth device is shortened, and the discovery efficiency of the bluetooth device is improved.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
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 method for discovering a bluetooth device according to an exemplary embodiment of the present application;
fig. 3 is a flowchart of a method for discovering a bluetooth device according to another exemplary embodiment of the present application;
fig. 4 is a flowchart of a method for discovering a bluetooth device according to another exemplary embodiment of the present application;
FIG. 5 is a diagram illustrating an implementation of a Bluetooth device discovery and RNR cache file update process according to an exemplary embodiment of the present application;
fig. 6 is a block diagram illustrating a configuration of a discovery apparatus of a bluetooth device according to an exemplary embodiment of the present application;
fig. 7 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended 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, and the like.
The bluetooth functions of the terminal 110 and the bluetooth device 120 may be implemented by a built-in bluetooth chip or an external bluetooth component, which is not limited in this embodiment.
In the embodiment of the present application, the terminal 110 is an electronic device having 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 located in a bluetooth discovery range of the smart phone.
In a possible application scenario, both the terminal 110 and the bluetooth device 120 start a bluetooth function, the terminal 110 broadcasts an equipment query request to the surroundings, the bluetooth device 120 receives the equipment query request, responds to the equipment query request, and sends a response result to the terminal 110, after receiving the response result sent by the bluetooth device, the terminal 110 displays the equipment name of the bluetooth device 120 in the bluetooth scan list 111 if successfully acquiring the equipment name of the bluetooth device 120 (the scan list 111 in fig. 1 includes the discovered equipment 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, thereby establishing a bluetooth connection with the selected bluetooth device, and further performing data transmission through the bluetooth connection.
For convenience of description, the following embodiments exemplify the application of the method for discovering a bluetooth device to the implementation environment shown in fig. 1.
Referring to fig. 2, a flowchart of a method for discovering a bluetooth device is shown according to an exemplary embodiment of the present application, the method including:
step 201, broadcasting a device query request.
In one possible implementation, when the terminal starts the bluetooth scanning function, it broadcasts an inquiry request to devices within a certain range nearby. The device query request includes an address of the terminal and other related information, and the embodiment of the present application does not limit specific content included in the device query request.
Optionally, the device query request is broadcast by the user trigger terminal.
For example, when a user wants to use the terminal to exchange information with some surrounding bluetooth device, the user may click a "bluetooth on" button on the bluetooth function interface, and trigger a bluetooth chip in the terminal to broadcast a device query request to the surrounding.
Alternatively, the terminal may periodically broadcast the device query request.
Step 202, in response to receiving a response result of the target bluetooth device to the device query request, where the response result does not include the target device name of the target bluetooth device, querying an RNR cache file based on the target device information of the target bluetooth device, where the RNR cache file includes a correspondence between the device information of the bluetooth device and the device name, and the device name is obtained by the terminal by sending an RNR.
Different from the related art, in the embodiment of the present application, when the response result received by the terminal does not include the device name of the bluetooth device, the terminal directly sends the RNR to the bluetooth device to obtain the device name.
In this embodiment of the application, the RNR cache file includes device information of bluetooth devices that have undergone RNR in history, where the device information is used to uniquely identify the bluetooth devices, and for example, the device information may be bluetooth addresses of the bluetooth devices, and the device names of the bluetooth devices and the device information of the bluetooth devices are stored in association, so that the terminal can accurately query the device names of the bluetooth devices from the RNR cache file based on the device information.
It should be noted that, if the response result of the target bluetooth device includes the device name, the terminal may directly determine the device name in the response result as the target device name of the target bluetooth device, and does not need to query the RNR cache file.
And step 203, responding to the target device name of the target Bluetooth device inquired from the RNR cache file, and displaying the target device name.
Based on the corresponding relation between the device name of the Bluetooth device and the information of other devices in the RNR cache file, the terminal can inquire the name of the target device from the RNR cache file, and after the device name of the target Bluetooth device is obtained, the terminal can display the name of the target device of the target Bluetooth device without RNR operation.
In the embodiment of the application, the target bluetooth device can firstly inquire in the RNR cache file, and then judge whether RNR operation is needed or not according to the inquiry result (RNR operation is not needed when the inquiry is completed).
To sum up, in the embodiment of the present application, the device information of the bluetooth device obtained by sending the RNR through the terminal history is stored in the RNR cache file, when the query request of the broadcast device is issued and the name of the target device is not obtained from the response result of the target bluetooth device, first, whether the name of the target bluetooth device exists in the file in the RNR cache file is queried according to the correspondence between the device information and the device name existing in the RNR cache file, and then, when the name of the target device of the target bluetooth device is included in the RNR cache file, the name of the target device of the target bluetooth device is directly displayed, and it is not necessary to send the RNR to the target bluetooth device to obtain the device name of the target bluetooth device, thereby simplifying the discovery process of the bluetooth device, and achieving the effects of shortening the discovery time of the bluetooth device and improving the discovery efficiency of the bluetooth device.
In this embodiment of the application, for the case that the device name of the target bluetooth name is not included in the response result, there are the following:
firstly, in response to receiving a device query response of the target bluetooth device and not receiving an Extended Inquiry Response (EIR) of the target bluetooth device, an RNR cache file is queried.
The EIR is an extended response to the device query request, and is further fed back to the terminal after the bluetooth device sends a device query response (inquiry response), where the device query response (inquiry response) includes information about devices other than the bluetooth address (such as a device name). However, since all bluetooth devices do not support the EIR mechanism, when the terminal receives the device inquiry response of the target bluetooth device and does not receive the EIR of the target bluetooth device, it needs to inquire the device name of the target bluetooth device in the RNR cache file.
Responding to the received equipment inquiry response of the target Bluetooth equipment, receiving the EIR of the target Bluetooth equipment, and analyzing the EIR; and inquiring the RNR cache file in response to the EIR not containing the device name of the target Bluetooth device.
In a possible implementation manner, the terminal receives the device query response of the target bluetooth device, and receives the EIR of the target bluetooth device, the terminal parses the EIR, and when the EIR is found to not include the device name of the target bluetooth device after parsing the EIR, the terminal queries the device name of the target bluetooth device in the RNR cache file.
Optionally, if the target bluetooth device does not inquire the target device name of the target bluetooth device in the RNR cache file, the target bluetooth device sends the RNR to the target bluetooth device, receives the RNR sent by the terminal, responds to the RNR, and feeds back an RNR response to the terminal.
Referring to fig. 3, a flowchart of a method for discovering a bluetooth device according to another exemplary embodiment of the present application is shown, where the method includes:
step 301, a device query request is broadcast.
Step 302, in response to receiving a response result of the target bluetooth device to the device query request, where the response result does not include the target device name of the target bluetooth device, obtaining a target bluetooth address of the target bluetooth device from the response result.
And when the response result does not contain the target Bluetooth name of the target Bluetooth equipment, the terminal can acquire the target Bluetooth address of the target Bluetooth equipment from the analyzed response result.
In the embodiment of the application, the bluetooth address and the device name of the bluetooth device are stored in the RNR cache file, and a corresponding relationship exists between the bluetooth address and the device name of the bluetooth device. Therefore, after the target bluetooth address of the target bluetooth device is acquired, it may be subsequently queried whether the target device name of the target bluetooth device is stored in the RNR cache file based on the target bluetooth address and the correspondence between the bluetooth address and the device name of the bluetooth device in the RNR cache file.
Step 303, the RNR cache file is queried based on the target Bluetooth address.
After obtaining the target bluetooth address of the target bluetooth device from the response result, the terminal may query whether there is a bluetooth device consistent with the target bluetooth address in the RNR cache file according to the correspondence between the bluetooth address and the device name in the RNR cache file.
Illustratively, when a terminal discovers peripheral bluetooth devices, it acquires that a bluetooth address of a bluetooth device is a bluetooth address 1, but does not acquire a device name of the bluetooth device, and at this time, it may query whether a matching bluetooth address consistent with a target bluetooth address exists in an RNR cache file according to a correspondence between the bluetooth address and the device name in the RNR cache file. The corresponding relationship between the bluetooth address and the device name of the bluetooth device in the RNR cache file is shown in the following table one:
watch 1
Bluetooth address Device name
Bluetooth address 1 Zhao's computer
Bluetooth address 2 Li IV earphone
Bluetooth address 3 Zhang three mobile phone
Bluetooth address 4 Watch with money three
Bluetooth address 5 MP3 of Wangwu
And step 304, in response to the RNR cache file having the matching Bluetooth address same as the target Bluetooth address, determining the device name corresponding to the matching Bluetooth address as the target device name.
Based on the corresponding relationship in the first table, when the matching bluetooth address is consistent with the target bluetooth address in the RNR cache file, the device name corresponding to the matching bluetooth address may be determined as the target device name of the target bluetooth device according to the corresponding relationship.
Illustratively, when the bluetooth address of the target bluetooth device is bluetooth address 1, and the terminal queries the bluetooth address consistent with the bluetooth address in the RNR cache file, the device name of the bluetooth device can be queried through the corresponding relationship in the RNR cache file, as can be known from the above table, the device name of the bluetooth device with the bluetooth address of 1 is "computer of zhao di", and at this time, the terminal can use "computer of zhao di" as the target device name of the target bluetooth device and display the target device name.
Since the device name of the bluetooth device is not fixed, if the device name of a certain bluetooth device is added to the RNR cache file, the user modifies the device name of the bluetooth device and the RNR cache file is not updated accordingly, the displayed device name may not be consistent with the actual device name when the bluetooth device is discovered next time.
In the embodiment of the application, in order to better utilize the RNR cache file and improve the accuracy of the device name displayed based on the RNR cache file, when the terminal generates the RNR cache file, the terminal can acquire the current timestamp simultaneously when acquiring the device name of the Bluetooth device, and adds the current timestamp as the cache timestamp into the RNR cache file to form the corresponding relation among the Bluetooth address, the device name and the cache timestamp of the Bluetooth device. When the name of the target device is subsequently acquired based on the RNR cache file, the terminal may further determine whether the acquired name of the target device is valid (i.e., not updated for a long time) based on the cache timestamp.
In one possible implementation, as shown in FIG. 4, this step includes the following steps 304A and 304B:
step 304A, responding to the existence of a matching Bluetooth address which is the same as the target Bluetooth address in the RNR cache file, and acquiring a cache timestamp corresponding to the matching Bluetooth address, wherein the cache timestamp is used for representing the moment when the matching Bluetooth address is added to the RNR cache file;
based on the correspondence among the bluetooth address, the device name, and the cache timestamp of the bluetooth device in the above steps, the terminal may further obtain the cache timestamp corresponding to the matching bluetooth address when inquiring the matching bluetooth address.
Illustratively, the correspondence between the three RNR cache files is shown in the following table two:
watch two
Bluetooth address Device name Caching timestamps
Bluetooth address 1 Zhao's computer 2021.7.22.12:00:00
Bluetooth address 2 Li IV earphone 2021.7.22.14:00:00
Bluetooth address 3 Zhang three mobile phone 2021.7.12.02:00:00
Bluetooth address 4 Watch with money three 2021.5.22.22:00:00
Bluetooth address 5 MP3 of Wangwu 2021.7.02.08:00:00
In an illustrative example, when the matching bluetooth address is queried to be bluetooth address 1, the terminal further obtains that the cache timestamp corresponding to the matching bluetooth address is "2021.7.22.12: 00: 00" (indicating that bluetooth address 1 is added to the RNR cache file at 2021.7.22.12:00: 00).
And step 304B, in response to that the time interval between the caching timestamp and the current timestamp is smaller than an interval threshold value, determining the device name corresponding to the matched Bluetooth address as the target device name.
When the corresponding relationship in the RNR cache file is not updated for a long time, a problem that the cached device name is inconsistent with the actual device name may occur, and therefore in one possible implementation, the terminal determines whether the device name corresponding to the matching bluetooth address is valid by calculating a time interval between the cache timestamp corresponding to the matching bluetooth address and the current timestamp, and further by comparing a size relationship between the time interval and an interval threshold.
Optionally, when the time interval between the cache timestamp and the current timestamp is smaller than the interval threshold, the terminal determines that the device name corresponding to the matching bluetooth address is valid, so that the device name corresponding to the matching bluetooth address in the RNR cache file is determined as the target device name of the target bluetooth device.
Optionally, the interval threshold may be set by default for the terminal, or may be set by the user, which is not limited in this embodiment.
Illustratively, in combination with the corresponding relationship shown in table two, when the matching bluetooth address is found to be the bluetooth address 1, the terminal calculates the time interval to be 55 hours according to the cache timestamp corresponding to the bluetooth address 1 and the current timestamp 2021.7.24.19:00: 00. Since the time interval is smaller than the interval threshold (e.g., 72 hours), the terminal determines "zhao-di computer" as the target device name.
Optionally, when the time interval is greater than the interval threshold, as shown in fig. 4, the terminal may obtain and display the name of the target device through the following steps:
and 308, responding to the time interval between the caching time stamp and the current time stamp being larger than the interval threshold value, and sending the RNR to the target Bluetooth device.
And when the time interval between the cache timestamp and the current timestamp is greater than the interval threshold, the terminal determines that the device name corresponding to the matched Bluetooth address is invalid, and needs to send an RNR to the target Bluetooth device so as to obtain the target device name of the target Bluetooth device again.
Illustratively, in combination with the correspondence shown in table two, when it is found that the matching bluetooth address is the bluetooth address 5, the terminal determines that the time interval between the cache timestamp corresponding to the bluetooth address 5 and the current timestamp 2021.7.24.19:00:00 is greater than the interval threshold (for example, 72 hours), so that the terminal determines that the device name of "MP 3" of wang five is invalid, and then sends an RNR to the target bluetooth device based on the matching bluetooth address to obtain the current device name of the target bluetooth device.
Step 309, receiving the RNR response sent by the target bluetooth device.
Step 310, displaying the target device name contained in the RNR response, and updating the target device name and the current timestamp to the RNR cache file.
In one possible implementation, the terminal displays the target bluetooth name included in the RNR response, and updates the device name (updated in the case that the cached device name is not consistent with the target bluetooth name in the RNR response) and the cache timestamp matching the bluetooth address in the RNR cache file based on the target bluetooth name and the current timestamp in the RNR response.
With reference to the example in the above step, the terminal sends the RNR to the target bluetooth device based on the bluetooth address 5, acquires the device name from the RNR response fed back by the target bluetooth device, updates the device name and the cache timestamp corresponding to the bluetooth address 5, and the updated correspondence in the RNR cache file is as shown in table three below:
watch III
Bluetooth address Device name Caching timestamps
Bluetooth address 1 Zhao's computer 2021.7.22.12:00:00
Bluetooth address 2 Li IV earphone 2021.7.22.14:00:00
Bluetooth address 3 Zhang three mobile phone 2021.7.12.02:00:00
Bluetooth address 4 Watch with money three 2021.5.22.22:00:00
Bluetooth address 5 Xiaoming MP3 2021.7.24.19:00:10
It should be noted that, in other possible embodiments, the terminal may also update the RNR cache file (filter data whose time interval is greater than the interval threshold) at predetermined time intervals based on the cache timestamp and the current timestamp in the RNR cache file, which is not limited in this embodiment.
Step 305, displaying the name of the target device.
Step 306, in response to not inquiring the target device name of the target bluetooth device from the RNR cache file, sending the RNR to the target bluetooth device.
When the terminal does not inquire the device name of the target Bluetooth device in the RNR cache file, the terminal can send the RNR to the target Bluetooth device through a built-in Bluetooth chip or an external Bluetooth assembly, the target Bluetooth device can respond to the RNR and send an RNR response to the terminal after receiving the RNR sent by the terminal, and the terminal can obtain the target device name of the target Bluetooth device.
And 307, receiving the RNR response sent by the target Bluetooth device, and adding the target device name contained in the RNR response to the RNR cache file.
In one possible embodiment, the device name included in the RNR response and the target bluetooth address of the target bluetooth device are stored in association in an RNR cache file. Optionally, when the RNR cache file includes the cache timestamp, the terminal further needs to write the current timestamp as the cache timestamp into the RNR cache file.
Illustratively, the terminal does not inquire a matching bluetooth address consistent with the bluetooth address 6 in the corresponding relationship shown in table three, so as to send the RNR to the target bluetooth device based on the bluetooth address 6, and obtain the device name "reddish bluetooth headset" from the RNR response fed back by the target bluetooth device, and then update the RNR cache file according to the device name and the current timestamp, where the corresponding relationship in the updated RNR cache file is shown in table four below: watch four
Bluetooth address Device name Caching timestamps
Bluetooth address 1 Zhao's computer 2021.7.22.12:00:00
Bluetooth address 2 Li IV earphone 2021.7.22.14:00:00
Bluetooth address 3 Zhang three mobile phone 2021.7.12.02:00:00
Bluetooth address 4 Watch with money three 2021.5.22.22:00:00
Bluetooth address 5 Xiaoming MP3 2021.7.24.19:00:10
Bluetooth address 6 Red bluetooth headset 2021.7.24.19:00:10
In an actual application scenario, a terminal may receive RNR responses sent by a plurality of surrounding bluetooth devices, and if the device names of all discovered bluetooth devices are stored in an RNR cache file, the RNR cache file is too large, occupies a large storage space, and affects the query speed of the RNR cache file.
In general, bluetooth devices that a user desires to discover quickly are usually located near a terminal, and there is no high requirement on the discovery speed of bluetooth devices that are far away from the terminal, so the terminal can only cache device names of bluetooth devices within a certain range nearby.
In one possible implementation manner, when the RNR response sent by the target bluetooth device is Received and the Received Signal Strength (RSSI) of the target bluetooth device is greater than the Strength threshold, the terminal adds the target device name contained in the RNR response to the RNR cache file.
Optionally, when receiving the RNR response sent by the target bluetooth device and the received signal strength of the target bluetooth device is less than the strength threshold, the terminal does not add the target device name included in the RNR response to the RNR cache file.
The intensity threshold may be set by default in the system, or may be customized by a user, which is not limited in this embodiment.
Illustratively, the terminal does not inquire a matching bluetooth address consistent with the bluetooth addresses 7 and 8 in the correspondence shown in table three, and thus sends an RNR to the first and second target bluetooth devices based on the bluetooth addresses 7 and 8, respectively, to obtain a first RNR response (including the device name "soundbox in living room") fed back by the first target bluetooth device and a second RNR response (including the device name "television in bedroom") fed back by the second target bluetooth device. Since the RSSI of the first target bluetooth device is-120 dbm, the RSSI of the second target bluetooth device is-30 dbm, and the strength threshold set by the terminal is-90 dbm, the terminal only updates the device name of the second target bluetooth device to the RNR cache file, and the corresponding relationship in the updated RNR cache file is as shown in the following table five:
watch five
Figure BDA0003211162240000111
Figure BDA0003211162240000121
In summary, in the embodiment of the present application, the terminal queries the target device name of the target bluetooth device from the RNR cache file based on the corresponding relationship between the bluetooth address of the bluetooth device and the device name in the RNR cache file, so that the RNR operation is avoided being directly performed on the target bluetooth device, the discovery process of the bluetooth device is simplified, and the accuracy of the queried target device name is improved.
In addition, after the device name of the Bluetooth device is acquired through the RNR operation, the terminal writes the current timestamp as a cache timestamp into an RNR cache file, and then determines whether the inquired Bluetooth name is valid or not based on the time interval between the cache timestamp and the current timestamp after the Bluetooth name is inquired based on the target Bluetooth address, so that the probability of display error caused by the fact that the device name is displayed based on the RNR cache file due to the fact that the Bluetooth name is not updated for a long time is reduced, and the display accuracy of the device name is improved.
Meanwhile, when the terminal acquires the Bluetooth name of the Bluetooth equipment through RNR operation, whether the Bluetooth name is written into the RNR cache file is determined based on the RSSI of the Bluetooth equipment, so that the storage of a large amount of equipment information of remote Bluetooth equipment in the RNR cache file is avoided, the storage space occupied by the RNR cache file is reduced, and the speed of inquiring the equipment name based on the RNR cache file is increased.
In an exemplary application scenario, as shown in fig. 5, the terminal 51 stores an RNR cache file 52, where the RNR cache file 52 includes a corresponding relationship between a bluetooth address, a device name, and a cache timestamp. When the bluetooth scanning function is turned on, the terminal 51 broadcasts a device inquiry request and receives device inquiry responses fed back by the respective surrounding bluetooth devices.
After receiving the device query response fed back by the first bluetooth device 53, the terminal 51 queries the RNR cache file 52 based on the bluetooth address "bluetooth address 1" of the first bluetooth device 53, and queries the matched device name "mobile phone with third zhang", and since the time interval between the cache timestamp corresponding to the device name and the current timestamp (2021-7-2310: 00:00) is less than 7 days, the terminal 51 displays the "mobile phone with third zhang".
After receiving the device query response fed back by the second bluetooth device 54, the terminal 51 queries the RNR cache file 52 based on the bluetooth address "bluetooth address 2" of the second bluetooth device 54, and queries the matched device name "liquan computer", and since the time interval between the cache timestamp corresponding to the device name and the current timestamp (2021-7-2310: 00:00) is greater than 7 days, the terminal 51 determines that the device name is invalid, so as to send the RNR to the second bluetooth device 54, and obtain the device name "minuscule computer" from the fed-back RNR response. Further, the terminal 51 displays "xiaoming computer", and updates the device name and the cache timestamp corresponding to the bluetooth address 2 in the RNR cache file 52.
After receiving the device query response fed back by the third bluetooth device 55, the terminal 51 queries the RNR cache file 52 based on the bluetooth address "bluetooth address 6" of the third bluetooth device 55. Since the matching device name is not queried, the terminal 51 transmits the RNR to the third bluetooth device 55, and acquires the device name "reddish headset" from the feedback RNR response. Since the RSSI of the third bluetooth device 55 is greater than the signal strength threshold-90 dbm, the terminal 51 displays "red headset" and stores "bluetooth address 6", "red headset" and the current timestamp association to the RNR cache file 52.
After receiving the device query response fed back by the fourth bluetooth device 56, the terminal 51 queries the RNR cache file 52 based on the bluetooth address "bluetooth address 7" of the fourth bluetooth device 56. Since the matching device name is not queried, the terminal 51 sends the RNR to the fourth bluetooth device 56, and acquires the device name "well-known tablet" from the feedback RNR response. Since the RSSI of the fourth bluetooth device 56 is less than the signal strength threshold of-90 dbm, the terminal 51 displays "red headset" but does not store the device information of the fourth bluetooth device 56 in the RNR cache file 52.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a block diagram of a discovery apparatus of a bluetooth device according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes:
a broadcasting module 601, configured to broadcast a device query request;
the query module 602 is configured to, in response to receiving a response result of the target bluetooth device to the device query request, and the response result does not include a target device name of the target bluetooth device, query an RNR cache file based on target device information of the target bluetooth device, where the RNR cache file includes a correspondence between device information of the bluetooth device and the device name, and the device name is obtained by the terminal by sending an RNR;
the display module 603 is configured to display the target device name in response to querying the target device name of the target bluetooth device from the RNR cache file.
Optionally, the query module 602 includes:
the acquisition unit is used for acquiring a target Bluetooth address of the target Bluetooth device from the response result;
the first inquiry unit is used for inquiring the RNR cache file based on the target Bluetooth address;
optionally, the display module 603 includes:
the determining unit is used for responding to the existence of a matching Bluetooth address which is the same as the target Bluetooth address in the RNR cache file, and determining the equipment name corresponding to the matching Bluetooth address as the target equipment name;
and the display unit is used for displaying the name of the target equipment.
Optionally, the determining unit is configured to:
responding to the existence of a matching Bluetooth address which is the same as the target Bluetooth address in the RNR cache file, and acquiring a cache timestamp corresponding to the matching Bluetooth address, wherein the cache timestamp is used for representing the moment when the matching Bluetooth address is added to the RNR cache file;
and determining the device name corresponding to the matching Bluetooth address as the target device name in response to the time interval between the cache timestamp and the current timestamp being less than an interval threshold.
Optionally, the apparatus further comprises:
the first sending module is used for responding that the time interval between the caching timestamp and the current timestamp is larger than an interval threshold value, and sending the RNR to the target Bluetooth equipment;
the receiving module is used for receiving the RNR response sent by the target Bluetooth equipment;
and the updating module is used for displaying the name of the target equipment contained in the RNR response and updating the name of the target equipment and the current timestamp to the RNR cache file.
Optionally, the query module includes:
and the second query unit is used for responding to the received equipment query response of the target Bluetooth equipment and not receiving the EIR of the target Bluetooth equipment, and querying the RNR cache file based on the target equipment information of the target Bluetooth equipment.
Optionally, the query module further includes:
the analysis unit is used for responding to the received equipment inquiry response of the target Bluetooth equipment, receiving the EIR of the target Bluetooth equipment and analyzing the EIR;
and the third query unit is used for responding to the EIR not containing the device name of the target Bluetooth device, and querying the RNR cache file based on the target device information of the target Bluetooth device.
Optionally, the apparatus further comprises:
the second sending module is used for responding to the condition that the name of the target device of the target Bluetooth device is not inquired from the RNR cache file, and sending the RNR to the target Bluetooth device;
and the adding module is used for receiving the RNR response sent by the target Bluetooth equipment and adding the target equipment name contained in the RNR response to the RNR cache file.
Optionally, the adding module is configured to:
and in response to receiving the RNR response sent by the target Bluetooth device and the received signal strength RSSI of the target Bluetooth device is greater than the strength threshold, adding the target device name contained in the RNR response to the RNR cache file.
To sum up, in the embodiment of the present application, the device information of the bluetooth device obtained by sending the RNR through the terminal history is stored in the RNR cache file, when the query request of the broadcast device is issued and the name of the target device is not obtained from the response result of the target bluetooth device, first, whether the name of the target bluetooth device exists in the file in the RNR cache file is queried according to the correspondence between the device information and the device name existing in the RNR cache file, and then, when the name of the target device of the target bluetooth device is included in the RNR cache file, the name of the target device of the target bluetooth device is directly displayed, and it is not necessary to send the RNR to the target bluetooth device to obtain the device name of the target bluetooth device, thereby simplifying the discovery process of the bluetooth device, and achieving the effects of shortening the discovery time of the bluetooth device and improving the discovery efficiency of the bluetooth device.
Referring to fig. 7, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. The terminal 700 may be a smartphone, a tablet, a wearable device, or the like. The terminal 700 in the present application may include one or more of the following components: a processor 710, a memory 720, and a bluetooth chip 730.
Processor 710 may include one or more processing cores. The processor 710 connects various parts within the overall terminal 700 using various interfaces and lines, performs various functions of the terminal 700 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720 and calling data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for taking charge of the Bluetooth data receiving and transmitting and Bluetooth related work required to be executed by the Bluetooth chip 730; the NPU is used for realizing an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a single chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 720 includes a non-transitory computer-readable medium. The memory 720 may be used to store instructions, programs, code sets, or instruction sets. The memory 720 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 various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 700, and the like.
The bluetooth chip 730 is a component for performing bluetooth data transceiving and bluetooth related work, and is composed of a receiver, a transmitter, a memory and other related components, wherein the bluetooth chip 730 may be integrated inside the terminal 700, 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 configuration of terminal 700 as illustrated in the above-described figures does not constitute a limitation of computer devices, which may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 700 further includes components such as a display screen, a sensor, an audio circuit, and a power supply, which are not described herein again.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the method for discovering a bluetooth device according to the above embodiments.
Embodiments of the present application provide a computer program product or a 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 to cause the computer device to perform the discovery method of the bluetooth device provided in the various alternative implementations of the above aspects.
Those skilled in the art will recognize 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, the 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 above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (18)

1. A method for discovering a bluetooth device, the method comprising:
a broadcast device query request;
responding to a response result of a target Bluetooth device to the device query request, wherein the response result does not contain a target device name of the target Bluetooth device, querying an RNR cache file based on target device information of the target Bluetooth device, wherein the RNR cache file contains a corresponding relation between device information and a device name of the Bluetooth device, and the device name is obtained by a terminal through sending an RNR;
and responding to the target device name of the target Bluetooth device inquired from the RNR cache file, and displaying the target device name.
2. The method of claim 1, wherein querying an RNR cache file based on target device information of the target Bluetooth device comprises:
acquiring a target Bluetooth address of the target Bluetooth device from the response result;
inquiring the RNR cache file based on the target Bluetooth address;
the displaying the target device name in response to inquiring the target device name of the target Bluetooth device from the RNR cache file comprises:
responding to the RNR cache file to have a matching Bluetooth address which is the same as the target Bluetooth address, and determining a device name corresponding to the matching Bluetooth address as the target device name;
and displaying the name of the target equipment.
3. The method of claim 2, wherein the determining, in response to a matching Bluetooth address identical to the target Bluetooth address existing in the RNR cache file, a device name corresponding to the matching Bluetooth address as the target device name comprises:
responding to the RNR cache file with the matching Bluetooth address same as the target Bluetooth address, and acquiring a cache timestamp corresponding to the matching Bluetooth address, wherein the cache timestamp is used for representing the moment when the matching Bluetooth address is added to the RNR cache file;
and determining the device name corresponding to the matching Bluetooth address as the target device name in response to the time interval between the cache timestamp and the current timestamp being less than an interval threshold value.
4. The method of claim 3, wherein after obtaining the cache timestamp corresponding to the matching Bluetooth address, the method further comprises:
sending an RNR to the target Bluetooth device in response to a time interval between the cache timestamp and a current timestamp being greater than the interval threshold;
receiving an RNR response sent by the target Bluetooth equipment;
and displaying the target equipment name contained in the RNR response, and updating the target equipment name and the current timestamp to the RNR cache file.
5. The method according to any one of claims 1 to 4, wherein the querying the RNR cache file based on the target device information of the target Bluetooth device in response to receiving a response result of the target Bluetooth device to the device query request, the response result not including the target device name of the target Bluetooth device, comprises:
and in response to receiving the equipment query response of the target Bluetooth equipment and not receiving the EIR of the target Bluetooth equipment, querying the RNR cache file based on the target equipment information of the target Bluetooth equipment.
6. The method of claim 5, wherein the querying the RNR cache file based on the target device information of the target Bluetooth device in response to receiving a response result of the target Bluetooth device to the device query request, the response result not including the target device name of the target Bluetooth device, further comprises:
in response to receiving a device query response of the target Bluetooth device and receiving the EIR of the target Bluetooth device, parsing the EIR;
and inquiring the RNR cache file based on the target equipment information of the target Bluetooth equipment in response to the EIR not containing the target equipment name of the target Bluetooth equipment.
7. The method according to any of claims 1 to 4, wherein after querying the RNR cache file based on the target device information of the target Bluetooth device, the method further comprises:
in response to not inquiring the target device name of the target Bluetooth device from the RNR cache file, sending an RNR to the target Bluetooth device;
and receiving the RNR response sent by the target Bluetooth equipment, and adding the target equipment name contained in the RNR response to the RNR cache file.
8. The method of claim 7, wherein the receiving the RNR response sent by the target Bluetooth device and adding the target device name contained in the RNR response to the RNR cache file comprises:
in response to receiving the RNR response sent by the target Bluetooth device and the received signal strength RSSI of the target Bluetooth device is greater than a strength threshold, adding the target device name contained in the RNR response to the RNR cache file.
9. An apparatus for discovering a bluetooth device, the apparatus comprising:
the broadcast module is used for broadcasting the equipment inquiry request;
the inquiry module is used for responding to a response result of a target Bluetooth device to the device inquiry request, wherein the response result does not contain a target device name of the target Bluetooth device, inquiring an RNR cache file based on target device information of the target Bluetooth device, the RNR cache file contains a corresponding relation between device information and the device name of the Bluetooth device, and the device name is obtained by a terminal through sending an RNR;
and the display module is used for responding to the target equipment name of the target Bluetooth equipment inquired from the RNR cache file and displaying the target equipment name.
10. The apparatus of claim 9, wherein the query module comprises:
an obtaining unit, configured to obtain a target bluetooth address of the target bluetooth device from the response result;
a first query unit, configured to query the RNR cache file based on the target bluetooth address;
the display module includes:
a determining unit, configured to determine, in response to a matching bluetooth address that is the same as the target bluetooth address exists in the RNR cache file, a device name corresponding to the matching bluetooth address as the target device name;
and the display unit is used for displaying the name of the target equipment.
11. The apparatus of claim 10, wherein the determining unit is configured to:
responding to the RNR cache file with the matching Bluetooth address same as the target Bluetooth address, and acquiring a cache timestamp corresponding to the matching Bluetooth address, wherein the cache timestamp is used for representing the moment when the matching Bluetooth address is added to the RNR cache file;
and determining the device name corresponding to the matching Bluetooth address as the target device name in response to the time interval between the cache timestamp and the current timestamp being less than an interval threshold value.
12. The apparatus of claim 11, further comprising:
a first sending module, configured to send an RNR to the target bluetooth device in response to a time interval between the cache timestamp and a current timestamp being greater than the interval threshold;
a receiving module, configured to receive an RNR response sent by the target bluetooth device;
and the updating module is used for displaying the target equipment name contained in the RNR response and updating the target equipment name and the current timestamp to the RNR cache file.
13. The apparatus according to any one of claims 9 to 12, wherein the query module comprises:
and the second query unit is used for responding to the received equipment query response of the target Bluetooth equipment and not receiving the EIR of the target Bluetooth equipment, and querying the RNR cache file based on the target equipment information of the target Bluetooth equipment.
14. The apparatus of claim 13, wherein the query module further comprises:
the analysis unit is used for responding to the received equipment inquiry response of the target Bluetooth equipment and receiving the EIR of the target Bluetooth equipment and analyzing the EIR;
and a third query unit, configured to, in response to that the EIR does not include the target device name of the target bluetooth device, query the RNR cache file based on the target device information of the target bluetooth device.
15. The apparatus of any of claims 9 to 12, further comprising:
a second sending module, configured to send an RNR to the target bluetooth device in response to a target device name of the target bluetooth device not being queried from the RNR cache file;
and the adding module is used for receiving the RNR response sent by the target Bluetooth equipment and adding the target equipment name contained in the RNR response to the RNR cache file.
16. The apparatus of claim 15, wherein the adding module is configured to:
in response to receiving the RNR response sent by the target Bluetooth device and the received signal strength RSSI of the target Bluetooth device is greater than a strength threshold, adding the target device name contained in the RNR response to the RNR cache file.
17. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the discovery method of a bluetooth device according to any one of claims 1 to 8.
18. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the discovery method of a bluetooth device according to any one of claims 1 to 8.
CN202110931811.3A 2021-08-13 2021-08-13 Bluetooth device discovery method, device, terminal and storage medium Pending CN113660649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110931811.3A CN113660649A (en) 2021-08-13 2021-08-13 Bluetooth device discovery method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110931811.3A CN113660649A (en) 2021-08-13 2021-08-13 Bluetooth device discovery method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113660649A true CN113660649A (en) 2021-11-16

Family

ID=78480243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110931811.3A Pending CN113660649A (en) 2021-08-13 2021-08-13 Bluetooth device discovery method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113660649A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165129A1 (en) * 2002-03-01 2003-09-04 Microsoft Corporation Method to obtain friendly names for bluetooth devices
CN102684747A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Method and device for searching adjacent bluetooth device
US20140206290A1 (en) * 2013-01-22 2014-07-24 Samsung Electronics Co., Ltd. Bluetooth device and method for providing and obtaining bluetooth device information
CN110460983A (en) * 2019-08-06 2019-11-15 RealMe重庆移动通信有限公司 Bluetooth title searching method, device, electronic equipment and storage medium
CN112469011A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth pairing method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165129A1 (en) * 2002-03-01 2003-09-04 Microsoft Corporation Method to obtain friendly names for bluetooth devices
CN102684747A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Method and device for searching adjacent bluetooth device
US20140206290A1 (en) * 2013-01-22 2014-07-24 Samsung Electronics Co., Ltd. Bluetooth device and method for providing and obtaining bluetooth device information
CN110460983A (en) * 2019-08-06 2019-11-15 RealMe重庆移动通信有限公司 Bluetooth title searching method, device, electronic equipment and storage medium
CN112469011A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Bluetooth pairing method and related device

Similar Documents

Publication Publication Date Title
CN108988909B (en) Audio processing method and device, electronic equipment and computer readable storage medium
KR100722716B1 (en) Mobile communication terminal and communication control method
CN103596017B (en) Video downloading method and system
CN113660650B (en) Method and related device for device reconnection
CN106888495B (en) Network access method and terminal
KR20150065410A (en) Access point connection method of electronic apparatus and electronic appparatus thereof
WO2020164256A1 (en) Wireless signal quality evaluating method, electronic device, and system
CN112269842B (en) Information processing method, device, storage medium and computer equipment
KR100390646B1 (en) Dialing method in smart-phone
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
CN106162811B (en) Method and device for establishing network connection
CN105530684B (en) Network access method, device and system
CN108877733B (en) Color temperature adjusting method and related device
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN111314855B (en) Electronic equipment searching method and device
CN112866984B (en) Call record synchronization method, cloud platform and terminal
CN113660649A (en) Bluetooth device discovery method, device, terminal and storage medium
KR20020001979A (en) The system for downloading background image of portable phone by use of internet and display method thereof
CN114173321B (en) Equipment communication connection establishment method and equipment communication system
CN115278624A (en) Information updating method and device, audio sharing method and system and electronic equipment
CN113645606A (en) Bluetooth device discovery method, device, terminal and storage medium
CN106879046B (en) Network scanning method and terminal equipment
CN107734049B (en) Network resource downloading method and device and mobile terminal
KR101532215B1 (en) Method for communicating a Bluetooth communication and a Bluetooth device and a system therefor
KR101148245B1 (en) Method for auto updating program of bluetooth 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