CN112040461A - Approach discovery method and device - Google Patents

Approach discovery method and device Download PDF

Info

Publication number
CN112040461A
CN112040461A CN201910478059.4A CN201910478059A CN112040461A CN 112040461 A CN112040461 A CN 112040461A CN 201910478059 A CN201910478059 A CN 201910478059A CN 112040461 A CN112040461 A CN 112040461A
Authority
CN
China
Prior art keywords
antenna
rssi
bluetooth
electronic device
discovery message
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.)
Granted
Application number
CN201910478059.4A
Other languages
Chinese (zh)
Other versions
CN112040461B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910478059.4A priority Critical patent/CN112040461B/en
Publication of CN112040461A publication Critical patent/CN112040461A/en
Application granted granted Critical
Publication of CN112040461B publication Critical patent/CN112040461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Abstract

The embodiment of the application provides a method and equipment for approaching discovery, relates to the technical field of wireless, and can improve the accuracy of triggering RSSI for approaching discovery, reduce the difference of actual distances for approaching discovery triggered according to RSSI and improve the use experience of a user. The specific scheme is as follows: the wireless device transmitting a discovery message based on a first protocol, the discovery message including identification information; the electronic equipment receives the discovery message through the first antenna and the second antenna, and calculates a target RSSI according to the discovery message received by the first antenna and the second antenna after determining that the identification information is matched with preset identification information; when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance; displaying first information, wherein the first information is used for prompting Bluetooth pairing; and after the operation that the user indicates pairing is detected, carrying out Bluetooth pairing with the wireless equipment. The embodiment of the application is used for proximity discovery.

Description

Approach discovery method and device
Technical Field
The embodiment of the application relates to the field of wireless technologies, and in particular, to a method and device for proximity discovery.
Background
Currently, when some bluetooth headsets support approaching a mobile phone, the mobile phone performs bluetooth pairing and connection with the mobile phone after finding the bluetooth headset. After the bluetooth connection is established, the bluetooth headset can realize the business processes of music playing, call receiving/making and the like on the mobile phone based on the bluetooth protocol.
The bluetooth headset may transmit a Bluetooth Low Energy (BLE) broadcast during the process of approaching the mobile phone. The handset may perform broadcast scanning. After the mobile phone scans the BLE broadcast sent by the bluetooth headset, the Received Signal Strength Indication (RSSI) can be calculated according to the BLE broadcast, so that the distance between the bluetooth headset and the mobile phone can be determined according to the RSSI. When the RSSI is greater than or equal to the preset threshold, the mobile phone may determine that the distance between the mobile phone and the bluetooth headset is less than or equal to the preset value; the mobile phone finds that the Bluetooth headset is nearby, and pops up a matching connection interface on the display screen. After the user indicates the pairing connection, the mobile phone and the Bluetooth headset are subjected to Bluetooth pairing and Bluetooth connection is established.
In the prior art, when a bluetooth headset is close to a mobile phone, the mobile phone is triggered according to the RSSI to find that the actual distance difference of the bluetooth headset is large, so that the use experience of a user is poor.
Disclosure of Invention
The embodiment of the application provides a method and equipment for proximity discovery, which can improve the accuracy of triggering RSSI (received signal strength indicator) for proximity discovery, thereby reducing the difference of actual distances for proximity discovery triggered by RSSI and improving the use experience of a user.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in one aspect, an embodiment of the present application provides a communication system, which includes an electronic device and a wireless device. The wireless device is configured to transmit a discovery message based on a first protocol, the discovery message including identification information. The electronic device is configured to: receiving a discovery message through a first antenna and a second antenna; after the identification information in the discovery message is determined to be matched with the preset identification information, calculating target RSSI (received signal strength indicator) according to the discovery message received by the first antenna and the second antenna; when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance; displaying first information, wherein the first information is used for prompting Bluetooth pairing; and after the operation that the user indicates pairing is detected, carrying out Bluetooth pairing with the wireless equipment.
In the scheme, the electronic device may receive discovery messages sent by the wireless device based on the multiple target antennas, and perform fusion calculation on the RSSI obtained from the discovery messages. Therefore, the actual distance between the electronic equipment and the wireless equipment is comprehensively evaluated by combining the RSSI corresponding to the multiple target antennas, and the approach discovery is realized. Therefore, the influence of factors such as signal interference, contingency and uncertainty on RSSI ranging can be reduced, the accuracy of RSSI ranging is improved, and the consistency of the distance of trigger approach discovery is improved.
In one possible design, the electronic device is further configured to: receiving a discovery message through a first antenna; a first RSSI for the current T1 period is calculated based on the discovery message received by the first antenna. If the first RSSI in the current T1 cycle is less than the second threshold, the first RSSI in the next T1 cycle is calculated. If the first RSSI in the current T1 period is greater than or equal to the second threshold, the discovery message is received through the first antenna and the second antenna.
In this scheme, the electronic device may receive the discovery message through one target antenna first, and calculate the RSSI according to the discovery message received by the one target antenna. The discovery message is received via the plurality of target antennas only when the electronic device determines from the RSSI that the wireless device is likely to be closer to the electronic device.
In another possible design, the electronic device is configured to receive the discovery message through the first antenna and the second antenna, and specifically includes: and switching the first antenna and the second antenna in turn by taking T2 as a period within a preset time length so as to receive the discovery message by adopting the first antenna or the second antenna in each T2 period. And determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time. And obtaining the target RSSI according to the second RSSI corresponding to the first antenna and the second antenna respectively.
In this scheme, the electronic device may receive discovery messages using a plurality of target antennas within a preset duration, so as to calculate a target RSSI from the discovery messages received by the plurality of target antennas.
In another possible design, the electronic device is configured to determine, according to discovery messages respectively received by a first antenna and a second antenna within a preset time period, second RSSIs respectively corresponding to the first antenna and the second antenna, and specifically includes: determining a third RSSI (received signal strength indicator) corresponding to the first antenna in each first target period according to the discovery message received by the first antenna in each first target period, wherein the first target period is a T2 period within a preset time length when the discovery message is received by the first antenna; the second RSSI corresponding to the first antenna is an average value of every third RSSI corresponding to the first antenna within a preset time period. Determining a third RSSI (received signal strength indicator) corresponding to the second antenna in each second target period according to the discovery message received by the second antenna in each second target period, wherein the second target period is a T2 period within a preset time length when the discovery message is received by the second antenna; and the second RSSI corresponding to the second antenna is the average value of each third RSSI corresponding to the second antenna in a preset time length.
In this scheme, the electronic device may determine, according to an average value of third RSSIs of each target antenna in each T2 period within a preset time period, a second RSSI corresponding to each target antenna within the preset time period.
In another possible design, the electronic device is configured to receive the discovery messages through the first antenna and the second antenna, and specifically includes: and within a preset time length, simultaneously adopting the first antenna and the second antenna to receive the discovery message. And determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time. And obtaining the target RSSI according to the second RSSI corresponding to the first antenna and the second antenna respectively.
In this scheme, the electronic device may receive the discovery message using the multiple target antennas simultaneously within a preset time period, so as to calculate the target RSSI according to the discovery message received by the multiple target antennas.
In another possible design, the target RSSI is a maximum of second RSSIs corresponding to the first antenna and the second antenna, respectively.
Therefore, the electronic equipment can eliminate the RSSI greatly influenced by the interference, and selects the more accurate RSSI less influenced by the interference as the target RSSI, so that the distance measurement according to the target RSSI is more accurate, and the consistency of the actual distance close to the trigger discovery is better.
In another possible design, the target RSSI is an average of second RSSIs corresponding to the first antenna and the second antenna, respectively.
Therefore, the electronic equipment can comprehensively evaluate the distance between the wireless equipment and the electronic equipment according to the average condition of the RSSI corresponding to each target antenna, and reduce the influence of single interference factors on the target RSSI respectively, so that the target RSSI is more accurate, and the consistency of the actual distance close to the discovery is better when triggering.
In another possible design, the first protocol is a bluetooth low energy, BLE, protocol, the discovery message is a BLE broadcast, and the first antenna and the second antenna are bluetooth antennas.
Therefore, the electronic device can receive BLE broadcast sent by the Bluetooth device through the plurality of Bluetooth antennas, and calculate the target RSSI according to the BLE broadcast.
In another possible design, the electronic device is further configured to stop receiving the discovery message using the second antenna and receive/transmit the wireless signal using the first antenna if the target RSSI is greater than or equal to the first threshold.
That is, after the electronic device finds that the wireless device is nearby, the electronic device can resume using one target antenna to receive/transmit wireless signals, so as to save power consumption of the electronic device.
In another possible design, the wireless device is configured to send the discovery message based on the first protocol, including in particular: after the wireless device is started for the first time; or after each startup, determining that no Bluetooth pairing is performed with other equipment before; or after the Bluetooth pairing with other equipment is released; the discovery message is sent based on a first protocol.
That is, the wireless device may transmit a discovery message when bluetooth pairing is available so that the electronic device can bluetooth pair with the wireless device according to the discovery message.
In another possible design, the discovery message includes pairing information. The electronic device is configured to display first information, and specifically includes: and if the wireless equipment can be subjected to Bluetooth pairing according to the pairing information, displaying the first information.
That is, the wireless device may carry pairing information in the discovery message to indicate that it is currently bluetooth-paired, thereby facilitating the electronic device to bluetooth-pair with the wireless device according to the discovery message.
In another possible design, the electronic device is further configured to: and if the wireless equipment cannot be subjected to Bluetooth pairing according to the pairing information, displaying second information, wherein the second information comprises one or more of electric quantity, equipment name, equipment model, manufacturer information or connection state.
In this way, the electronic device may display information about the wireless device on the screen for the user when the electronic device finds that the wireless device is nearby and determines that bluetooth pairing with the wireless device is not possible.
In another possible design, a bluetooth connection is established with the wireless device if bluetooth pairing has been completed between the electronic device and the wireless device. And displaying third information, wherein the third information is used for prompting the user to establish Bluetooth connection with the wireless equipment.
In this way, the electronic device may automatically establish a bluetooth connection with the wireless device and provide a prompt to the user that a connection has been established when the electronic device discovers that the wireless device is nearby and determines that a bluetooth pairing has been performed with the wireless device.
In another aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; the wireless device comprises a first antenna and a second antenna, wherein the first antenna and the second antenna are used for receiving a discovery message sent by the wireless device, and the discovery message comprises identification information; and one or more computer programs, the one or more computer programs being stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by the one or more processors, cause the electronic device to perform operations comprising: after the identification information in the discovery message is determined to be matched with the preset identification information, calculating a target received signal strength indication RSSI according to the discovery message received by the first antenna and the second antenna; when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance; displaying first information, wherein the first information is used for prompting Bluetooth pairing; and after the operation that the user indicates pairing is detected, carrying out Bluetooth pairing with the wireless equipment.
In one possible design, the instructions, when executed by the one or more processors, further cause the electronic device to: receiving a discovery message through a first antenna prior to receiving the discovery message through the first antenna and a second antenna; a first RSSI for the current T1 period is calculated based on the discovery message received by the first antenna. The instructions, when executed by the one or more processors, cause the electronic device to receive a discovery message via a first antenna and a second antenna, comprising: if the first RSSI in the current T1 period is greater than or equal to the second threshold, the discovery message is received through the first antenna and the second antenna. The instructions, when executed by the one or more processors, further cause the electronic device to: if the first RSSI in the current T1 cycle is less than the second threshold, the first RSSI in the next T1 cycle is calculated.
In another possible design, the instructions, when executed by the one or more processors, cause the electronic device to receive a discovery message via a first antenna and a second antenna, including in particular: switching the first antenna and the second antenna in turn by taking T2 as a period within a preset time length so as to receive the discovery message by adopting the first antenna or the second antenna in each T2 period; determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to discovery messages respectively received by the first antenna and the second antenna within a preset time length; and obtaining the target RSSI according to the second RSSI corresponding to the first antenna and the second antenna respectively.
In another possible design, when the instructions are executed by one or more processors, the electronic device determines, according to discovery messages respectively received by a first antenna and a second antenna within a preset time period, second RSSIs respectively corresponding to the first antenna and the second antenna, specifically including: determining a third RSSI (received signal strength indicator) corresponding to the first antenna in each first target period according to the discovery message received by the first antenna in each first target period, wherein the first target period is a T2 period within a preset time length when the discovery message is received by the first antenna; the second RSSI corresponding to the first antenna is an average value of every third RSSI corresponding to the first antenna within a preset time period. Determining a third RSSI (received signal strength indicator) corresponding to the second antenna in each second target period according to the discovery message received by the second antenna in each second target period, wherein the second target period is a T2 period within a preset time length when the discovery message is received by the second antenna; and the second RSSI corresponding to the second antenna is the average value of each third RSSI corresponding to the second antenna in a preset time length.
In another possible design, the instructions, when executed by the one or more processors, cause the electronic device to receive a discovery message via a first antenna and a second antenna, including in particular: and within a preset time length, simultaneously adopting the first antenna and the second antenna to receive the discovery message. And determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time. And obtaining the target RSSI according to the second RSSI corresponding to the first antenna and the second antenna respectively.
In another possible design, the target RSSI is a maximum of second RSSIs corresponding to the first antenna and the second antenna, respectively. Or, the target RSSI is an average value of second RSSIs corresponding to the first antenna and the second antenna, respectively.
In another possible design, the discovery message includes pairing information; when executed by one or more processors, the instructions cause the electronic device to display first information, including in particular: and if the wireless equipment can be subjected to Bluetooth pairing according to the pairing information, displaying the first information.
In another possible design, the first protocol is a bluetooth low energy, BLE, protocol, the discovery message is a BLE broadcast, and the first antenna and the second antenna are bluetooth antennas.
In another possible design, the instructions, when executed by the one or more processors, further cause the electronic device to perform the steps of: and if the target RSSI is greater than or equal to the first threshold value, stopping receiving the discovery message by using the second antenna, and transmitting and receiving signals by using the first antenna.
In another aspect, an embodiment of the present application provides an electronic device, including: a first antenna and a second antenna, a bluetooth chip, a display screen, one or more processors, memory, and one or more computer programs; one or more computer programs are stored in the memory, the one or more computer programs including instructions. The first antenna and the second antenna are used for receiving discovery messages sent by the wireless equipment within a preset time length, and the discovery messages comprise identification information. The Bluetooth chip is used for determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time after determining that the identification information in the discovery messages is matched with the preset identification information. The instructions, when executed by the one or more processors, cause the electronic device to perform operations comprising: obtaining a target RSSI according to second RSSIs respectively corresponding to the first antenna and the second antenna; when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance; the display screen is used for displaying first information, and the first information is used for prompting Bluetooth pairing; the Bluetooth chip is also used for carrying out Bluetooth pairing with the wireless equipment after detecting the operation of pairing indicated by the user.
In another aspect, an embodiment of the present application provides a proximity discovery method, which is applied to an electronic device, and the method includes: the electronic device receives a discovery message sent by the wireless device, the discovery message including identification information. After determining that the identification information in the discovery message is matched with the preset identification information, the electronic device calculates the target Received Signal Strength Indication (RSSI) according to the discovery messages received by the first antenna and the second antenna. When the target RSSI is greater than or equal to a first threshold value, the electronic device determines that the distance between the electronic device and the wireless device is less than or equal to a first preset distance. The electronic equipment displays first information, and the first information is used for prompting Bluetooth pairing. After detecting the operation that the user indicates pairing, the electronic equipment performs Bluetooth pairing with the wireless equipment.
In one possible design, the method further includes: the electronic device receives the discovery message through the first antenna prior to receiving the discovery message through the first antenna and the second antenna. The electronic device calculates a first RSSI for a current T1 period based on the discovery message received by the first antenna. The electronic device receives a discovery message through a first antenna and a second antenna, comprising: if the first RSSI in the current T1 period is greater than or equal to the second threshold, the electronic device receives the discovery message through the first antenna and the second antenna. When the method further comprises: if the first RSSI in the current period T1 is less than the second threshold, the electronic device continues to calculate the first RSSI in the next period T1.
In another possible design, the electronic device receives the discovery message through the first antenna and the second antenna, and specifically includes: the electronic device alternately switches the first antenna and the second antenna with a period of T2 within a preset time length, so as to receive the discovery message with the first antenna or the second antenna in each T2 period. The electronic device determines second RSSI respectively corresponding to the first antenna and the second antenna according to discovery messages respectively received by the first antenna and the second antenna within a preset time. And the electronic equipment obtains the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
In another possible design, the determining, by the electronic device, second RSSIs corresponding to the first antenna and the second antenna, respectively, according to discovery messages received by the first antenna and the second antenna, respectively, within a preset time period specifically includes: the electronic device determines a third RSSI (received signal strength indicator) corresponding to the first antenna in each first target period according to the discovery message received by the first antenna in each first target period, wherein the first target period is a T2 period within a preset time length when the discovery message is received by the first antenna; the second RSSI corresponding to the first antenna is an average value of every third RSSI corresponding to the first antenna within a preset time period. The electronic device determines a third RSSI corresponding to the second antenna in each second target period according to the discovery message received by the second antenna in each second target period, wherein the second target period is a T2 period within a preset time length when the discovery message is received by the second antenna; and the second RSSI corresponding to the second antenna is the average value of each third RSSI corresponding to the second antenna in a preset time length.
In another possible design, the electronic device receives the discovery message through the first antenna and the second antenna, and specifically includes: the electronic equipment receives the discovery message by adopting the first antenna and the second antenna simultaneously within a preset time length. The electronic device determines second RSSI respectively corresponding to the first antenna and the second antenna according to discovery messages respectively received by the first antenna and the second antenna within a preset time. And the electronic equipment obtains the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
In another possible design, the target RSSI is a maximum of second RSSIs corresponding to the first antenna and the second antenna, respectively. Or, the target RSSI is an average value of second RSSIs corresponding to the first antenna and the second antenna, respectively.
In another possible design, the discovery message includes pairing information, and the electronic device displays the first information, specifically including: and if the electronic equipment determines that the wireless equipment can carry out Bluetooth pairing according to the pairing information, displaying the first information.
In another possible design, the first protocol is a bluetooth low energy, BLE, protocol, the discovery message is a BLE broadcast, and the first antenna and the second antenna are bluetooth antennas.
In another possible design, the method further includes: if the target RSSI is greater than or equal to the first threshold value, the electronic equipment stops receiving the discovery message by using the second antenna and receives/transmits wireless signals by using the first antenna.
In another aspect, an embodiment of the present application provides an electronic device, including: a first antenna and a second antenna, a bluetooth chip, a display screen, one or more processors, memory, and one or more computer programs; one or more computer programs are stored in the memory, the one or more computer programs including instructions. The first antenna and the second antenna are used for receiving discovery messages sent by the wireless equipment within a preset time length, and the discovery messages comprise identification information. The Bluetooth chip is used for determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time after determining that the identification information in the discovery messages is matched with the preset identification information. The instructions, when executed by the one or more processors, cause the electronic device to perform operations comprising: and obtaining the target RSSI according to the second RSSI corresponding to the first antenna and the second antenna respectively. When the target RSSI is greater than or equal to a first threshold value, the distance between the electronic equipment and the wireless equipment is determined to be smaller than or equal to a first preset distance. The display screen is used for displaying first information, and the first information is used for prompting Bluetooth pairing. The Bluetooth chip is also used for carrying out Bluetooth pairing with the wireless equipment after detecting the operation of pairing indicated by the user.
In another aspect, an apparatus for proximity discovery is provided, where the apparatus is included in an electronic device, and the apparatus has a function of implementing a behavior of the electronic device in any one of the above aspects and possible implementations. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above-described functions. For example, a receiving module or unit, a computing module or unit, a determining module or unit, a displaying module or unit, a pairing module or unit, and the like.
In another aspect, embodiments of the present application provide a computer storage medium including computer instructions, which when executed on a computer, cause the computer to perform the method for proximity discovery performed by an electronic device in any one of the above aspects and any one of the possible designs.
In another aspect, the present application provides a computer program product, which when run on a computer, causes the computer to perform the method for proximity discovery performed by an electronic device in any one of the above aspects and any one of the possible designs.
Drawings
Fig. 1A is a schematic diagram of a single bluetooth antenna transceiving system according to an embodiment of the present application;
FIG. 1B is a flow chart of a method of proximity discovery in the prior art;
FIG. 1C is a schematic illustration of a proximity discovery provided in the prior art;
fig. 2 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 3A is a schematic structural diagram of a wireless headset according to an embodiment of the present disclosure;
fig. 3B is a schematic diagram of a wireless headset and a headset case according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5A is a schematic distribution diagram of multiple antennas according to an embodiment of the present application;
fig. 5B is a schematic receiving diagram of a multiple bluetooth antenna according to an embodiment of the present application;
fig. 5C is a schematic diagram of a radio frequency front end according to an embodiment of the present application;
fig. 6A is a flowchart of a method for proximity discovery according to an embodiment of the present application;
fig. 6B is a flowchart of a method for calculating RSSI according to an embodiment of the present disclosure;
FIGS. 7A-7D are a set of schematic diagrams of interfaces provided by embodiments of the present application;
FIG. 8 is a schematic view of another interface provided by an embodiment of the present application;
FIG. 9 is a schematic view of another interface provided by an embodiment of the present application;
fig. 10 is a flowchart of another approach discovery method provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
The proximity discovery between the mobile phone and the Bluetooth headset can be realized through RSSI ranging. The distance r between the bluetooth headset and the mobile phone is inversely proportional to the RSSI. The greater the RSSI is, the smaller the distance between the Bluetooth headset and the mobile phone can be shown; the smaller the RSSI, the greater the distance between the bluetooth headset and the handset. For example, the correspondence between r and RSSI may be:
Figure BDA0002082916320000061
wherein, A is the signal intensity when the distance between the preset transmitting end and the receiving end is 1m, and n is the preset environment attenuation factor.
As shown in fig. 1A, the conventional approach discovery scheme is implemented by receiving/transmitting BLE broadcasts based on a single bluetooth antenna and calculating the obtained RSSI according to the BLE broadcasts.
As shown in fig. 1B, the bluetooth headset transmits BLE broadcasts through a single bluetooth antenna; the cell-phone scans BLE broadcast through single bluetooth antenna. After the mobile phone scans the BLE broadcast of the Bluetooth headset, the RSSI is periodically calculated according to the BLE broadcast. For example, the period may be T0, and the T0 may be 1s (seconds). In the process that the Bluetooth headset and the mobile phone are close to each other, the distance between the Bluetooth headset and the mobile phone is smaller and smaller, and the RSSI corresponding to the distance is larger and larger. If the RSSI is greater than or equal to the preset threshold, the mobile phone may determine that the distance between the mobile phone and the bluetooth headset is less than or equal to the preset distance, and the bluetooth headset may be bluetooth paired and connected with the bluetooth headset near the mobile phone, so as to perform service processing using the bluetooth headset.
That is, when the RSSI is greater than or equal to the preset threshold, the mobile phone determines to discover the bluetooth headset (i.e. discover nearby available bluetooth headsets), and therefore, the bluetooth pairing connection interface can be popped up to enable pairing and connection with the bluetooth headset.
The mobile phone may calculate the RSSI according to the received data packet in the wireless signal such as BLE broadcast, and the specific calculation manner may be referred to in the related art. For example, in one calculation, RSSI is RxPower-SystemGain. Wherein RxPower is the in-band received power of the signal obtained by calculating after performing analog/digital conversion on the received wireless signal and then performing filtering and other processing of a Digital Front End (DFE); the Systemgain represents the system gain and can be estimated from the radio frequency front end.
When the bluetooth headset is close to the cell-phone from same direction, the BLE broadcast signal that bluetooth headset sent probably receives the interference because being sheltered from, perhaps because the influence of factors such as temperature, humidity, weather, environment to make the RSSI that obtains according to BLE broadcast calculation inaccurate, and then make according to RSSI range finding inaccurate, it is great to lead to triggering the actual distance difference that is close to the discovery between bluetooth headset and the cell-phone at every turn.
In addition, because the positions of the bluetooth headset and the bluetooth antenna on the mobile phone are fixed, and the bluetooth antenna is not necessarily located at the center position of the bluetooth headset or the center position of the mobile phone, when the bluetooth headset approaches the mobile phone from different directions, the actual distances between the center position of the bluetooth headset corresponding to the same RSSI and the center position of the mobile phone are also different, so that the difference of the actual distances triggering the approach discovery is large.
In addition, when different types of bluetooth headsets approach the mobile phone, the difference of the RSSI obtained by calculation according to BLE broadcast is large, and the actual distance difference for triggering approach discovery is also large.
Moreover, because the interference is usually random, accidental, uncertain or unstable, the degree of interference suffered by the bluetooth headset each time the bluetooth headset approaches the mobile phone is usually different, the difference between the RSSI triggering the approach discovery and the actual distance is large, and the consistency of the actual distance triggering the approach discovery is poor.
For example, the test result shows that, as shown in fig. 1C, when the same type of bluetooth headset approaches to the same type of mobile phone from different directions, the difference of the actual distances of trigger approach discovery may reach 40-70 cm. When the Bluetooth earphones in different styles are close to the mobile phone in the same direction, the difference of the actual distances of triggering and approaching the mobile phone can reach 20-40 cm. That is, the difference in actual distance of trigger closeness findings may reach 20-70 cm.
The embodiment of the application provides an electronic device 01, and the electronic device 01 can be applied to a communication system 10 shown in fig. 2. The communication system 10 may include an electronic device 01 and a wireless device 02. The electronic device 01 may communicate wirelessly with the wireless device 02 based on wireless technology. For example, the wireless technology may be Bluetooth (BT), such as classic Base Rate (BR)/enhanced rate (EDR) BR/EDR bluetooth, or Bluetooth Low Energy (BLE); or may be a Wireless Local Area Network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), Zigbee, Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), or general 2.4G/5G band wireless communication technologies, etc. The embodiment of the present application does not specifically limit the type of wireless technology.
For example, the electronic device 01 may be a mobile phone as shown in fig. 2, or may be a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a Personal Digital Assistant (PDA), a media player (e.g., MP3, MP4, etc.), a television, a smart watch, or the like. For example, the wireless device 02 may be a wireless headset as shown in fig. 2, or a wireless speaker, a wireless bracelet, a wireless car, wireless smart glasses, a wireless watch, an Augmented Reality (AR)/Virtual Reality (VR) device, and the like. The device types of the electronic device 01 and the wireless device 02 are not particularly limited in the embodiments of the present application.
Proximity discovery between an electronic device and a wireless device may be based on wireless technology. Specifically, the electronic device may be provided with a plurality of target antennas used in cooperation with the wireless technology. The electronic device may receive the wireless signals transmitted by the wireless device based on the plurality of target antennas, so as to more accurately calculate received signal strength parameters, such as RSSI or Reference Signal Receiving Power (RSRP), according to the wireless signals received by the plurality of target antennas, and determine a distance between the wireless device and the electronic device according to the received signal strength parameters, thereby implementing proximity discovery. In the following embodiments of the present application, the RSSI is taken as an example for explanation.
For example, the wireless device and the electronic device each include a bluetooth module thereon, and as shown in fig. 2, the electronic device includes a plurality of bluetooth antennas 021 thereon. When the wireless device is close to the electronic device, the electronic device can receive wireless signals sent by the wireless device by using the plurality of target antennas, and fusion calculation is performed on the RSSI obtained according to the wireless signals, so that the actual distance between the electronic device and the wireless device is comprehensively evaluated by combining the RSSIs corresponding to the plurality of target antennas. Therefore, the influence of factors such as signal interference, transmitting power, receiving sensitivity, product process difference and the like on the RSSI can be reduced; the influence of factors such as randomness, contingency, uncertainty and instability on RSSI ranging is reduced, and the accuracy of RSSI ranging is improved.
When the RSSI obtained by the fusion calculation is greater than or equal to the preset threshold, the electronic device may determine that the distance between the wireless device and the electronic device is less than or equal to the preset distance. The electronic device discovers that the wireless device is nearby, and within the communicable range of bluetooth, the user may want to use the wireless device, and may bluetooth pair and connect with the wireless device to use the wireless device for transaction processing. Thus, the electronic device may prompt the user for discovery of the wireless device, whether to engage in bluetooth pairing or connection, and the like. Therefore, the consistency of the actual distance close to the trigger discovery can be improved, and the user experience is improved.
The embodiment of the present application takes a wireless device as an example for description. The wireless earphone can be of various types, such as an earplug type wireless earphone, an in-ear type wireless earphone, a head-wearing type wireless earphone, an earmuff type wireless earphone or an ear-hanging type wireless earphone. The wireless headset may include first and second portions to be worn on the user's left and right ears, respectively, and may be connected by a connecting wire, such as a neck strap wireless headset; or may be two parts independent of each other, such as a True Wireless Stereo (TWS) headset. Illustratively, when the wireless headset is a TWS headset, as shown in FIG. 2, the first portion 011 can be a left earbud worn on a user's left ear and the second portion 012 can be a right earbud worn on a user's right ear.
For example, fig. 3A shows a schematic structural diagram of a wireless headset 100. The wireless headset 100 may include at least one processor 101, at least one memory 102, a wireless communication module 103, an audio module 104, a power module 105, an input/output interface 106, and sensors 107, among other things. The processor may include one or more interfaces for connecting with other components of the wireless headset 100. The wireless headset 100 is stored in a headset case.
The memory 102 may be used for storing program code, such as application programs for proximity discovery, pairing and connection between the wireless headset 100 and the electronic device, processing audio services of the electronic device (e.g., music playing, making/receiving calls), and the like. The memory 102 may also be used to store other information, such as the priority of the electronic device.
The processor 101 may be configured to execute the application program codes and call the relevant modules to implement the functions of the wireless headset 100 in the embodiment of the present application. For example, the wireless headset 100 and the electronic device can perform proximity discovery, pairing, connection, audio playing, call receiving/making, and the like. For example, when the wireless headset is a bluetooth headset and the wireless communication module 103 is a bluetooth module, the processor 101 may instruct the bluetooth module to transmit a discovery message such as a first BLE broadcast, so that the electronic device may calculate an RSSI according to the received discovery message and determine whether to discover the bluetooth headset according to the RSSI.
The processor 101 may include one or more processing units, and the different processing units may be separate devices or may be integrated in one or more of the processors 101. The processor 101 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to execute the functions belonging to the processor 101 described in the embodiments of the present application.
The wireless communication module 103 may be configured to support data exchange between the wireless headset 100 and other electronic devices or headset boxes, including wireless technologies such as BT, WLAN (e.g., Wi-Fi), Zigbee, FM, NFC, IR, or general 2.4G/5G wireless communication.
In some embodiments, the wireless communication module 103 may be a bluetooth module, for example, specifically, a bluetooth chip, and the wireless headset 100 is a bluetooth device. The wireless headset 100 can be paired and connected with a bluetooth chip of the electronic device through the bluetooth chip, so as to implement wireless communication and service processing between the wireless headset 100 and the electronic device through bluetooth connection. Generally, the bluetooth chip may support BR/EDR bluetooth and BLE bluetooth, for example, may receive/transmit paging (page) information, receive/transmit BLE broadcast, etc.
In addition, the wireless communication module 103 may further include an antenna, and the wireless communication module 103 may receive an electromagnetic wave via the antenna, frequency-modulate and filter an electromagnetic wave signal, and transmit the processed signal to the processor 101. The wireless communication module 103 may also receive a signal to be transmitted from the processor 101, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna to radiate the electromagnetic waves.
For example, when the wireless communication module 103 is a bluetooth module, the bluetooth module may receive a signal to be transmitted from the processor 101, perform frequency modulation, amplify the signal, and convert the amplified signal into electromagnetic waves via a bluetooth antenna to radiate the electromagnetic waves.
For example, the signal transmitted by the bluetooth module via the bluetooth antenna may be a discovery message such as a first BLE broadcast, which may be used by the electronic device to calculate RSSI and perform proximity discovery according to the RSSI.
The audio module 104 may be used to manage audio data and enable the wireless headset 100 to input and output audio signals. For example, the audio module 104 may obtain an audio signal from the wireless communication module 103 or transmit the audio signal to the wireless communication module 103, so as to implement functions of making and receiving calls through a bluetooth headset, playing music, activating/deactivating a voice assistant of an electronic device connected to the headset, receiving/transmitting voice data of a user, and the like. The audio module 104 may include a speaker (or called earphone or receiver) component for outputting an audio signal, a microphone (or called microphone or microphone), a microphone receiving circuit matched with the microphone, and so on. The speaker may be used to convert the electrical audio signal into an acoustic signal and play it. The microphone may be used to convert sound signals into electrical audio signals.
The power module 105 may be configured to provide a system power for the wireless headset 100 to supply power to each module of the wireless headset 100; the supporting wireless headset 100 receives a charging input, etc. The power module 105 may include a Power Management Unit (PMU) and a battery. The power supply management unit can receive external charging input; the electric signal input by the charging circuit is provided for the battery to charge after being transformed, and the electric signal provided by the battery can be provided for other modules such as the audio module 104, the wireless communication module 103 and the like after being transformed; and to prevent overcharging, overdischarging, short-circuiting, overcurrent, etc. of the battery. In some embodiments, the power module 105 may also include a wireless charging coil for wirelessly charging the wireless headset 100. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle number, battery health state (electric leakage and impedance) and the like.
A plurality of input/output interfaces 106 may be used to provide a wired connection for charging or communication between the wireless headset 100 and a headset case. For example, the input/output interface may be a USB interface, a charging interface, or the like.
In addition, the wireless headset 100 may also include a sensor 107. For example, the sensor 107 may be a distance sensor or a proximity light sensor that may be used to determine whether the wireless headset 100 is worn by a user. For example, the wireless headset 100 may determine whether the wireless headset 100 is worn by the user by using a distance sensor to detect whether an object is near the wireless headset 100. Upon determining that the wireless headset 100 is worn, the wireless headset 100 may turn on the speaker.
As another example, the sensor 107 may also include a bone conduction sensor, integrated into a bone conduction headset. By using the bone conduction sensor, the wireless earphone 100 can acquire the vibration signal of the vibration bone mass of the human body part, analyze the voice signal, realize the voice function, and receive the voice command of the user. The wireless headset 100 may also perform voice authentication according to the user voice signal acquired by the bone conduction headset, so as to authenticate the user identity in a service scenario such as payment transaction.
For another example, the sensor 107 may further include: the touch sensor is used for detecting touch operation of a user so as to respond to the touch operation to release pairing (namely release Bluetooth pairing with other equipment, which can also be called pairing reset), put through a phone call, switch music and other functions; the fingerprint sensor is used for detecting the fingerprint of the user, identifying the identity of the user and the like; the ambient light sensor can adaptively adjust some parameters (such as volume) according to the perceived brightness of the ambient light; and other sensors.
In some embodiments, the touch sensor may detect a single click, a double click, a multiple click, a long press, a heavy press, and other touch operations of the user, and may also perform user fingerprint recognition to authenticate the user identity in a service scenario such as a payment transaction.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the wireless headset 100. It may have more or fewer components than shown in fig. 3A, may combine two or more components, or may have a different configuration of components. For example, the wireless headset 100 may further include keys 108, an indicator light (which may indicate the status of power, incoming/outgoing calls, pairing mode, etc.), a display screen (which may prompt the user for relevant information), a dust screen (which may be used with an earpiece), and the like on the outer surface. The key 108 may be a physical key or a touch key (used in cooperation with a touch sensor), and is used to trigger operations such as power on, power off, pause, play, record, start pairing, and reset.
The various components shown in fig. 3A may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
For example, when the wireless headset is a TWS headset, as shown in fig. 3B, the wireless headset 201 may be housed in a headset case 202. The earphone box may include a battery and a plurality of input/output interfaces. In some embodiments, the input/output interface may include a first charging interface for charging a wireless headset housed in the headset case. The input/output interface can also comprise a second charging interface for charging the battery of the earphone box. The earphone box can also comprise a wireless charging coil which is used for wirelessly charging the battery of the earphone box.
In other embodiments, the earphone box may be provided with at least one touch control, which may be used to trigger the wireless earphone to release the bluetooth pairing or charge the wireless earphone. The earphone box may also be provided with one or more power indicator lights to indicate to the user the amount of power of the battery in the earphone box and the amount of power of the battery in each ear plug in the earphone box.
In other embodiments, the earphone box may further include a processor, a memory, and the like. The memory may be used to store application program code and be controlled by the processor of the headset box to perform the functions of the headset box.
It is understood that the earphone box may also include other components, which are not described one by one here.
For example, fig. 4 shows a schematic structural diagram of an electronic device 300. The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a Universal Serial Bus (USB) interface 330, a charging management module 340, a power management unit 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display 394, and a Subscriber Identification Module (SIM) card interface 395, and the like. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 310 may include one or more processing units, such as: the processor 310 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 300. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 310. If the processor 310 needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 310, thereby increasing the efficiency of the system.
In some embodiments, the processor 310 may determine that the distance between the electronic device 300 and the wireless device (e.g., bluetooth headset) is less than or equal to a preset distance when the RSSI is greater than or equal to a preset threshold, thereby determining to discover the wireless device, and instruct the relevant application to prompt the user for discovery of the wireless device.
In other embodiments, the processor 310 instructs the relevant application to prompt the user to discover the wireless device after receiving the information on discovering the wireless device reported by the wireless communication module 360.
In some embodiments, processor 310 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
Wherein the I2S interface may be used for audio communication. In some embodiments, the processor 310 may include multiple sets of I2S buses. The processor 310 may be coupled to the audio module 370 via an I2S bus to enable communication between the processor 310 and the audio module 370. In some embodiments, the audio module 370 may communicate audio signals to the wireless communication module 360 via an I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 370 and the wireless communication module 360 may be coupled by a PCM bus interface. In some embodiments, the audio module 370 may also transmit audio signals to the wireless communication module 360 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 310 with the wireless communication module 360. For example: the processor 310 communicates with the bluetooth module in the wireless communication module 360 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 370 may transmit an audio signal to the wireless communication module 360 through a UART interface, so as to realize a function of playing music through a bluetooth headset.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 340 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 may receive charging input from a wired charger via the USB interface 330. In some wireless charging embodiments, the charging management module 340 may receive a wireless charging input through a wireless charging coil of the electronic device 300. The charging management module 340 may also supply power to the electronic device through the power management unit 341 while charging the battery 342.
The power management unit 341 is configured to connect the battery 342, the charging management module 340 and the processor 310. The power management unit 341 receives input from the battery 342 and/or the charge management module 340, and provides power to the processor 310, the internal memory 321, the external memory, the display 394, the camera 393, and the wireless communication module 360. The power management unit 341 may also be configured to monitor parameters such as battery capacity, battery cycle count, and battery state of health (leakage, impedance). In some other embodiments, the power management unit 341 may also be disposed in the processor 310. In other embodiments, the power management unit 341 and the charging management module 340 may be disposed in the same device.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 300 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 300. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 350 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 350 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the same device as at least some of the modules of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 370A, the receiver 370B, etc.) or displays images or video through the display 394. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 310, and may be disposed in the same device as the mobile communication module 350 or other functional modules.
The wireless communication module 360 may provide a solution for wireless technologies applied on the electronic device 300, including WLAN (e.g., Wi-Fi), BT, Global Navigation Satellite System (GNSS), FM, NFC, IR, or general 2.4G/5G wireless communication. The wireless communication module 360 may be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the wireless communication module 360 may be a bluetooth module, for example, specifically, a bluetooth chip. The electronic device 300 can perform proximity discovery, pairing and wireless connection with a bluetooth chip of an electronic device such as a wireless headset through the bluetooth chip, so as to implement wireless communication and service processing between the electronic device 300 and other electronic devices through the wireless connection. The Bluetooth chip can generally support BR/EDR Bluetooth and BLE.
In some embodiments, antenna 1 of electronic device 300 is coupled to mobile communication module 350 and antenna 2 is coupled to wireless communication module 360 so that electronic device 300 can communicate with networks and other devices via wireless technology. The wireless technologies may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, among others. GNSS may include Global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), and/or Satellite Based Augmentation System (SBAS).
Wherein, when the wireless communication module 360 is a bluetooth module, the antenna 2 coupled with the bluetooth module may include a plurality of bluetooth antennas. The Bluetooth module can control the plurality of Bluetooth antennas to be used, receives discovery messages such as a first BLE broadcast and the like sent by the Bluetooth device, calculates RSSI according to the received discovery messages, and reports the RSSI to the processor, so that the processor determines that the distance between the Bluetooth device and the processor is smaller than or equal to a preset distance when the RSSI is larger than or equal to a preset threshold value, thereby determining to discover the Bluetooth device and indicating the Bluetooth application to prompt the user to discover the Bluetooth device.
Or after receiving discovery messages such as a first BLE broadcast and the like sent by the bluetooth device, the bluetooth module may calculate an RSSI according to the discovery messages, and determine that a distance between the bluetooth module and the bluetooth device is less than or equal to a preset distance when the RSSI is greater than or equal to a preset threshold value, so as to determine that the bluetooth device is discovered, and report the discovered bluetooth device to the processor; such that the processor instructs the bluetooth application to prompt the user for discovery of the bluetooth device.
For example, in some embodiments, as shown in fig. 5A, the bluetooth module may be a bluetooth chip, and the bluetooth chip is coupled with a plurality of bluetooth antennas. For example, the bluetooth antenna may be a flexible printed circuit board (FPC), a metal dome, a Laser-Direct-structuring (LDS) antenna, and may be a dipole antenna, a planar-to-F (PIFA) antenna, a ceramic antenna, and the like. The Bluetooth antenna can be positioned on the left side or the right side of the mobile phone near the upper part (or near the earphone), the left side or the right side of the middle part of the mobile phone, or other positions of the mobile phone; the bluetooth module may be disposed on a bluetooth chip, or disposed in a circuit inside an electronic device, or disposed on a housing of the electronic device. Each bluetooth antenna is connected with a General Purpose Input Output (GPIO) interface of the bluetooth chip. The bluetooth chip can select to use one or more bluetooth antennas to receive/signal simultaneously through the signal output by the GPIO interface, or alternately switch to use different bluetooth antennas to receive/signal, for example, to receive the discovery message in the embodiment of the present application.
For example, in some embodiments, as shown in fig. 5B, as a receiving end, a bluetooth chip in the electronic device may be coupled with multiple bluetooth antennas through a radio frequency front end. The radio frequency front end can comprise a change-over switch which is connected with the GPIO interface of the Bluetooth chip. The Bluetooth chip can control the change-over switch through a signal output by the GPIO interface on the chip. As shown in fig. 5C, the bluetooth chip may select to use one or more bluetooth antennas to receive/transmit signals, for example, receive the discovery message in the embodiment of the present application, by switching the switch. The rf front-end may also include components such as filters.
In some embodiments, the bluetooth antenna may also be multiplexed with antennas of other wireless communication modules, e.g., may be multiplexed with a Wi-Fi antenna, multiplexed with a cellular antenna, etc.
The electronic device 300 implements display functions via the GPU, the display 394, and the application processor, among other things. The GPU is an image processing microprocessor coupled to a display 394 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 394 is used to display images, video, and the like. The display screen 394 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 300 may include 1 or N display screens 394, N being a positive integer greater than 1.
In some embodiments, the display 394, upon receiving notification regarding the bluetooth application, may display related information to prompt the user for discovery of the bluetooth device.
The electronic device 300 may implement a shooting function through the ISP, the camera 393, the video codec, the GPU, the display 394, the application processor, and the like.
The ISP is used to process the data fed back by the camera 393. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be located in camera 393.
Camera 393 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 300 may include 1 or N cameras 393, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 300 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 300 may support one or more video codecs. In this way, the electronic device 300 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent recognition of the electronic device 300, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 300. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 321 may be used to store computer-executable program code, which includes instructions. The processor 310 executes various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 300, and the like. In addition, the internal memory 321 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The processor 310 may be configured to execute the program codes and call the relevant modules to implement the functions of the electronic device in the embodiment of the present application. For example, pairing with a wireless headset; when audio service exists, sending connection request information to the wireless earphone according to the priority of the audio service; and establishing/disconnecting physical connection or virtual connection with the wireless headset.
The electronic device 300 may implement audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor. Such as music playing, recording, etc.
The audio module 370 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 370 may also be used to encode and decode audio signals. In some embodiments, the audio module 370 may be disposed in the processor 310, or some functional modules of the audio module 370 may be disposed in the processor 310.
The speaker 370A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic device 300 can listen to music through the speaker 370A or listen to a hands-free conversation.
The receiver 370B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 300 receives a call or voice information, it can receive voice by placing the receiver 370B close to the ear of the person.
Microphone 370C, also known as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal into the microphone 370C by speaking the user's mouth near the microphone 370C. The electronic device 300 may be provided with at least one microphone 370C. In other embodiments, the electronic device 300 may be provided with two microphones 370C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 300 may further include three, four or more microphones 370C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 370D is used to connect wired headphones. The headset interface 370D may be the USB interface 330, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 380A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 380A may be disposed on the display screen 394. The pressure sensor 380A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, or the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 380A, the capacitance between the electrodes changes. The electronic device 300 determines the intensity of the pressure from the change in capacitance. When a touch operation is applied to the display screen 394, the electronic apparatus 300 detects the intensity of the touch operation based on the pressure sensor 380A. The electronic apparatus 300 may also calculate the touched position from the detection signal of the pressure sensor 380A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 380B may be used to determine the motion pose of the electronic device 300. In some embodiments, the angular velocity of electronic device 300 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 380B. The gyro sensor 380B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 380B detects the shake angle of the electronic device 300, calculates the distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 300 through a reverse movement, thereby achieving anti-shake. The gyro sensor 380B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 380C is used to measure air pressure. In some embodiments, electronic device 300 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 380C.
The magnetic sensor 380D includes a hall sensor. The electronic device 300 may detect the opening and closing of the flip holster using the magnetic sensor 380D. In some embodiments, when the electronic device 300 is a flip phone, the electronic device 300 may detect the opening and closing of the flip according to the magnetic sensor 380D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 380E may detect the magnitude of acceleration of the electronic device 300 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 300 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 380F for measuring distance. The electronic device 300 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device 300 may utilize the distance sensor 380F to range for fast focus.
The proximity light sensor 380G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 300 emits infrared light to the outside through the light emitting diode. The electronic device 300 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 300. When insufficient reflected light is detected, the electronic device 300 may determine that there are no objects near the electronic device 300. The electronic device 300 can utilize the proximity light sensor 380G to detect that the user holds the electronic device 300 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 380G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 380L is used to sense the ambient light level. The electronic device 300 may adaptively adjust the brightness of the display 394 based on the perceived ambient light level. The ambient light sensor 380L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 380L may also cooperate with the proximity light sensor 380G to detect whether the electronic device 300 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 380H is used to capture a fingerprint. The electronic device 300 may utilize the collected fingerprint characteristics to implement fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering, and the like.
The temperature sensor 380J is used to detect temperature. In some embodiments, the electronic device 300 implements a temperature processing strategy using the temperature detected by the temperature sensor 380J. For example, when the temperature reported by the temperature sensor 380J exceeds a threshold, the electronic device 300 performs a reduction in performance of a processor located near the temperature sensor 380J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 300 heats the battery 342 when the temperature is below another threshold to avoid the low temperature causing the electronic device 300 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the electronic device 300 performs a boost on the output voltage of the battery 342 to avoid an abnormal shutdown due to low temperature.
The touch sensor 380K is also referred to as a "touch panel". The touch sensor 380K may be disposed on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, which is also referred to as a "touch screen". The touch sensor 380K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display 394. In other embodiments, the touch sensor 380K can be disposed on a surface of the electronic device 300 at a different location than the display 394.
The bone conduction sensor 380M can acquire a vibration signal. In some embodiments, the bone conduction transducer 380M can acquire a vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 380M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 380M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 370 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 380M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 380M, so that the heart rate detection function is realized.
Keys 390 include a power-on key, a volume key, etc. The keys 390 may be mechanical keys. Or may be touch keys. The electronic device 300 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 300.
The motor 391 may generate a vibration cue. The motor 391 may be used for both incoming call vibration prompting and touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 391 may also respond to different vibration feedback effects by performing touch operations on different areas of the display 394. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 392 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 395 is for connecting a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 300 by being inserted into and pulled out of the SIM card interface 395. The electronic device 300 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 395 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 395 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 395 may also be compatible with different types of SIM cards. The SIM card interface 395 may also be compatible with an external memory card. The electronic device 300 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 300 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300.
In some embodiments, when the wireless communication module in the electronic device is a bluetooth chip, the bluetooth chip may receive a discovery message, such as a first BLE broadcast, sent by the bluetooth device through the coupled multiple bluetooth antennas. The Bluetooth chip can calculate the target RSSI more accurately according to the discovery messages received by the plurality of Bluetooth antennas. In one technical solution, the bluetooth chip may calculate RSSIi corresponding to each bluetooth antenna according to the discovery message received by each bluetooth antenna. The processor can acquire RSSIi corresponding to each Bluetooth antenna from the Bluetooth chip at regular time through the timer; and performing fusion calculation according to the RSSIi corresponding to each Bluetooth antenna respectively to obtain more accurate target RSSI. When the target RSSI is greater than or equal to the preset threshold, the processor may determine that the distance between the electronic device and the bluetooth device is less than or equal to the preset distance, and notify the bluetooth application. The bluetooth application notifies the display screen to display information to prompt the user to discover the bluetooth device.
In another technical scheme, the bluetooth chip can respectively calculate RSSIi corresponding to each bluetooth antenna according to the discovery message received by each bluetooth antenna, and further obtain more accurate target RSSI through fusion calculation; therefore, the distance between the electronic equipment and the Bluetooth equipment is determined according to the more accurate target RSSI. When the target RSSI is greater than or equal to the preset threshold, the bluetooth chip may determine that the distance between the electronic device and the bluetooth device is less than or equal to the preset distance, and report the distance to the processor. The processor may notify a bluetooth application on the electronic device; the bluetooth application notifies the display screen to display information to prompt the user to discover the bluetooth device.
The method for proximity discovery provided by the embodiment of the present application will be described below by taking an electronic device as a mobile phone and a wireless device as a bluetooth headset as an example.
In some embodiments, referring to fig. 6A, the bluetooth headset may send a discovery message after entering the pairing mode.
In the pairing mode, the bluetooth headset may be bluetooth paired with other electronic devices. If the Bluetooth headset is in the non-pairing mode, the Bluetooth headset cannot be in Bluetooth pairing with other electronic equipment.
For example, a bluetooth headset may enter a pairing mode and send a discovery message after it is first used and turned on. For another example, after the bluetooth headset is powered on each time, if it is determined that bluetooth pairing has not been performed with other devices before, the bluetooth headset may enter a pairing mode and send a discovery message. For another example, after the bluetooth headset is unpaired (i.e., the bluetooth headset is unpaired with other devices, which may also be referred to as a pairing reset), the bluetooth headset may enter a pairing mode and send a discovery message.
For example, when the bluetooth headset is a TWS headset, after the bluetooth headset is used for the first time and the headset case in which the bluetooth headset is located is opened, the TWS headset is turned on for the first time, enters a pairing mode, and sends a discovery message.
For another example, when the bluetooth headset is a TWS headset, after the headset case where the TWS headset is located is opened each time, if it is determined that bluetooth pairing has not been performed with other devices before, a pairing mode may be entered, and a discovery message may be sent.
As another example, the TWS headset may enter a pairing mode and send a discovery message upon detecting that the user indicates an operation to unpair. For example, the operation of unpairing may be an operation of clicking (or long-pressing) a preset control on the earphone box by a user when the TWS earphone is located in the earphone box. For another example, the operation of unpairing may be an operation of a user clicking a preset control on the TWS headset.
The discovery message is used for calculating RSSI after being scanned (or received) by the mobile phone, and the approach discovery is realized according to the RSSI. That is, when the RSSI is greater than or equal to the preset threshold, the mobile phone determines that the distance between the bluetooth headset and the mobile phone is less than or equal to the preset distance, and the mobile phone finds that the bluetooth headset is nearby. Furthermore, the mobile phone can be paired and connected with the Bluetooth headset through Bluetooth.
The discovery message may be of various types. For example, the discovery message may be a first BLE broadcast transmitted by the bluetooth headset based on the BLE bluetooth protocol. The first BLE broadcast may include identification information, first pairing information, a device name, a device type, a bluetooth address (for example, a MAC address), manufacturer information, power information, whether to go out of a box, or connection status, and other related information of the bluetooth headset.
The identification information is used for the mobile phone to determine whether the bluetooth headset sending the discovery message is an appointed wireless device. After the mobile phone determines that the wireless device is an appointed wireless device, whether the Bluetooth headset is found nearby can be determined according to the RSSI, and then Bluetooth pairing and connection are carried out on the Bluetooth headset nearby. For example, the identification information may be a Universally Unique Identifier (UUID).
The first pairing information is used for indicating that the Bluetooth headset can be currently subjected to Bluetooth pairing. After entering the pairing mode, the bluetooth headset may carry first pairing information in the first BLE broadcast to indicate that the bluetooth headset may currently perform bluetooth pairing. For example, the first pairing information may indicate that the bluetooth headset is not paired, or has been unpaired for peer-to-peer. Illustratively, the pairing status field is included in the first BLE broadcast, and when data in the pairing status field is "1", it indicates that the bluetooth headset may currently perform bluetooth pairing.
In some embodiments, after entering the pairing mode, the bluetooth headset may continue to transmit (e.g., periodically, which may be 20ms) the first BLE broadcast so that the electronic device, such as a handset, may discover the bluetooth headset from the first BLE broadcast. After pairing with an electronic device such as a cell phone is successful, the bluetooth headset may stop sending the first BLE broadcast.
In other embodiments, after entering the pairing mode, the bluetooth headset may periodically transmit the first BLE broadcast for a preset duration 1 (e.g., 60s), so that the electronic device, such as a handset, may discover the bluetooth headset according to the first BLE broadcast. After the preset duration 1, if the bluetooth headset is not paired with the electronic device, the user may not want to use the bluetooth headset at present, and the bluetooth headset may stop sending the first BLE broadcast, so as to save power consumption.
The handset may scan for the first BLE broadcast. For example, in some embodiments, the handset may scan (e.g., may periodically scan) the first BLE broadcast based on the BLE bluetooth protocol after turning on bluetooth functionality.
In other embodiments, after the bluetooth function is turned on and unlocked, the mobile phone may scan a first BLE broadcast sent by the bluetooth headset based on a BLE bluetooth protocol; when the Bluetooth function is turned on and the Bluetooth headset is not unlocked, the first BLE broadcast sent by the Bluetooth headset is not scanned, so that the power consumption of the mobile phone is saved.
It should be noted that BLE is a lan technology designed by the bluetooth alliance. Compared with the classic BR/EDR Bluetooth, the low-power Bluetooth can reduce the power consumption and the cost while keeping the same communication range.
Therefore, compared with the classic BR/EDR Bluetooth, the Bluetooth of the mobile phone is opened, the Bluetooth headset is discovered based on the BLE Bluetooth scanning the first BLE broadcast, the power consumption of the mobile phone can be reduced, and the use time of the mobile phone is prolonged.
In some embodiments, multiple bluetooth antennas are disposed on the mobile phone, and as shown in fig. 6A, the mobile phone scans (or receives) the first BLE broadcast transmitted by the bluetooth headset through the first bluetooth antenna (i.e., through the single bluetooth antenna).
In one technical scheme, a plurality of Bluetooth antennas arranged on a mobile phone comprise a main antenna. The performance of the main antenna is superior to other bluetooth antennas. For example, the main antenna has a good directivity, a high gain, or a high reception sensitivity. The handset defaults to using the main antenna to receive bluetooth signals. The first bluetooth antenna may be a master antenna, and the mobile phone may scan for the first BLE broadcast through the master antenna.
After the mobile phone scans the first BLE broadcast through the single Bluetooth antenna, if the UUID1 carried in the first BLE broadcast is determined to be matched with the pre-agreed identification information, the Bluetooth headset is determined to be an agreed wireless device, and therefore RRSI can be calculated according to the data packet in the first BLE broadcast, and approach discovery can be achieved according to RSSI.
Wherein RSSI is inversely proportional to distance. If the bluetooth headset and the mobile phone are far away from each other, the distance between the bluetooth headset and the mobile phone is further and further far, and the RSSI corresponding to the distance is also smaller and smaller. If the bluetooth headset and the mobile phone are close to each other, the distance between the bluetooth headset and the mobile phone is smaller and smaller, and the RSSI corresponding to the distance is larger and larger.
In some embodiments, after the handset scans for the first BLE broadcast through the single bluetooth antenna, as shown in fig. 6A, RSSI1 may be periodically calculated from the scanned first BLE broadcast. For example, the period may be T1. Alternatively, the handset calculates RSSI1 cyclically with a period of T1 according to the scanned first BLE broadcast. The specific way of calculating the RSSI1 by the handset according to the scanned data packets in the first BLE broadcast in each period T1 can be referred to in the prior art, and will not be described in detail here.
A preset threshold value 1 is set on the mobile phone, and the preset threshold value 1 corresponds to the preset distance 1. As shown in fig. 6A, the handset may determine the RSSI1 as a function of the predetermined threshold value of 1.
If the calculated RSSI1 is smaller than the preset threshold 1 in the current period T1, it may be indicated that the distance between the bluetooth headset and the mobile phone is greater than the preset distance 1, and the bluetooth headset is farther from the mobile phone, and the mobile phone continues to calculate the corresponding RSSI1 in the next period T1.
If the calculated RSSI1 is greater than or equal to the preset threshold 1 in the current period T1, the mobile phone may determine that the distance between the bluetooth headset and the mobile phone is less than or equal to the preset distance 1, and the bluetooth headset may be closer to the mobile phone. As shown in fig. 6A, the mobile phone may scan the first BLE broadcast through the multiple bluetooth antennas, so as to more accurately obtain the corresponding RSSI2 within the preset time duration 2 according to the first BLE broadcast scanned by the multiple bluetooth antennas, so as to more accurately determine the actual distance between the bluetooth headset and the mobile phone according to the RSSI 2.
For example, the mobile phone includes a bluetooth antenna 0, a bluetooth antenna 1, and a bluetooth antenna 2. When scanning first BLE broadcast through a plurality of bluetooth antennas, in one technical scheme, the mobile phone may switch different bluetooth antennas in turn to receive the first BLE broadcast within preset time length 2 with T2 as a cycle. Wherein, the switching period T2 is less than the preset duration 2. For example, the preset time length 2 is 3s, and T2 is 2 us; under this condition, in length of time 2 is predetermine, every bluetooth antenna can switch to use many times. For another example, the preset time length 2 is 3s, and T2 is 1 s; in this case, each bluetooth antenna can be switched to use once within the preset duration 2. That is, the mobile phone alternately uses the bluetooth antenna 0, the bluetooth antenna 1 and the bluetooth antenna 2 in different T2 in the preset duration 2 to respectively receive the first BLE broadcast sent by the bluetooth headset.
Wherein, in each period T2, the mobile phone may calculate an RSSI according to the first BLE broadcast scanned by the bluetooth antenna 00. The mobile phone can determine the RSSI corresponding to all T2 within the preset time length 20Averaging to obtain the RSSI corresponding to the Bluetooth antenna 0 within the preset time length 20. Or, the mobile phone canTo the corresponding RSSI of all T2 in preset duration 20Calculating the maximum value to obtain the RSSI corresponding to the Bluetooth antenna 0 within the preset time length 20. Alternatively, the mobile phone may determine the RSSI corresponding to all T2 within the preset duration 20Performing other fusion calculation to obtain the RSSI corresponding to the Bluetooth antenna 0 within the preset time length 20. Similarly, the mobile phone can obtain the RSSI corresponding to the bluetooth antenna 1 within the preset duration 21And RSSI corresponding to Bluetooth antenna 22
Then, as shown in fig. 6A or fig. 5B, the mobile phone determines the RSSI within the preset duration 20、RSSI1And RSSI2And performing fusion calculation to determine the RSSI2 corresponding to the preset time length 2.
The mobile phone scans the first BLE broadcast through the plurality of bluetooth antennas, and obtains the corresponding RSSI2 within the preset duration 2 through fusion calculation, as shown in fig. 6B.
The mobile phone is provided with a preset threshold value 2, the preset threshold value 2 corresponds to a preset distance 2, and the preset distance 2 can be a distance between the Bluetooth headset close to discovery and the mobile phone. The preset threshold 2 is greater than or equal to the preset threshold 1, and the preset distance 2 is less than or equal to the preset distance 1. As shown in fig. 6A, the handset may determine the magnitude relationship between RSSI2 and preset threshold 2.
As shown in fig. 6A, if RSSI2 is greater than or equal to preset threshold 2, the mobile phone may determine that the distance to the bluetooth headset is less than or equal to preset distance 2, and the mobile phone finds that the bluetooth headset is nearby.
Wherein the RSSI may decrease when affected by interference factors. RSSI0、RSSI1And RSSI2The RSSI with the medium and maximum RSSI values is possibly influenced to a smaller extent by interference factors or not influenced by the interference factors, so that the distance between the current Bluetooth headset and the mobile phone can be more accurately characterized. Therefore, in some embodiments, the corresponding RSSI2 in duration 2 is the RSSI in duration 20、RSSI1And RSSI2Maximum value of (2). Therefore, the mobile phone can exclude the RSSI greatly influenced by the interference, and select the more accurate RSSI less influenced by the interferenceThe accurate RSSI is used as the RSSI2, so that the distance between the current bluetooth headset and the mobile phone is more accurately characterized, the distance measurement according to the RSSI2 is more accurate, the actual distance triggered to approach the discovery by the mobile phone according to the RSSI2 is closer to the preset distance 2, and the consistency of the actual distance triggered to approach the discovery is better.
For example, when the bluetooth headset approaches the mobile phone from the same direction, since the mobile phone may exclude the RSSI that is greatly affected by interference such as signal interference, and select the more accurate RSSI that is less affected by interference as the RSSI2, the RSSI2 obtained by the mobile phone according to the first BLE broadcast calculation each time is more accurate, so that the difference of the actual distance triggered to approach the mobile phone from the same direction each time is smaller, and the consistency is better.
Test results show that the difference in actual distances found for trigger closeness can be improved to within 20cm, from 20-70cm, when this scheme is employed.
In other embodiments, the RSSI2 corresponding to the preset duration 2 may be the RSSI in the preset duration 20、RSSI1And RSSI2Average value of (1). Therefore, the distance between the Bluetooth earphone and the mobile phone can be comprehensively evaluated by the mobile phone according to the average situation of the RSSI corresponding to each Bluetooth antenna, and the influence of single interference factors on the RSSI2 is reduced, so that the RSSI2 is more accurate, the distance measurement according to the RSSI2 is more accurate, and the consistency of triggering the actual distance close to the discovery is better.
For example, when the same type of bluetooth headset approaches the mobile phone from the same direction, the RSSI calculated and obtained by the mobile phone according to the same first BLE broadcast received by different bluetooth antennas is different because the positions of different bluetooth antennas on the mobile phone are different, and the distance measured according to the RSSI is also different. And through the average value of the RSSI that gets different bluetooth antenna correspondences, can obtain the average distance between bluetooth headset and the cell-phone, reduce the different positions of bluetooth antenna to and factor such as signal interference is to the influence of RSSI range finding, thereby make the range finding more accurate, trigger the uniformity of the actual distance that is close to the discovery also better.
When the Bluetooth headset is close to the mobile phone from different directions, the average distance between the Bluetooth headset and the mobile phone can be obtained by taking the average value of the RSSI corresponding to different Bluetooth antennas, so that different approaching directions are reduced, and the influence of factors such as signal interference on RSSI ranging is reduced, thereby ensuring that the ranging is more accurate, and the consistency of the actual distance triggered to approach the discovery is better.
When different bluetooth headset of money is close to the cell-phone, through the average value of the RSSI that gets different bluetooth antenna correspondences, can obtain the average distance between bluetooth headset and the cell-phone, reduce product technology difference to and the influence of factors such as signal interference to RSSI range finding, make the range finding more accurate, trigger the uniformity that is close to the actual distance of discovery also better.
In other embodiments, if RSSI0、RSSI1And RSSI2The difference between them is small (e.g. the difference is less than or equal to the preset value 1), i.e. the RSSI0、RSSI1And RSSI2The RSSI values are relatively close, which indicates that the RSSI values corresponding to the multiple bluetooth antennas may not be affected by the interference factor. Thus, the corresponding RSSI2 in duration 2 may be the RSSI in duration 20、RSSI1And RSSI2Average value of (a). The mobile phone can comprehensively evaluate the distance between the Bluetooth earphone and the mobile phone according to the average condition of the RSSI corresponding to each Bluetooth antenna.
In other embodiments, if RSSI0、RSSI1And RSSI2In (1), there is an RSSI that is significantly less than the other RSSIs0、RSSI1Or RSSI2The RSSI is significantly smaller0、RSSI1Or RSSI2May be greatly affected by interference factors. The handset may be less accurate in estimating distance based on significantly smaller RSSI. Thus, in one embodiment, the RSSI2 may be the RSSI within the preset duration 20、RSSI1And RSSI2Maximum value of (2). In another embodiment, the RSSI2 may be RSSI0、RSSI1And RSSI2Average of other RSSI's than the significantly smaller RSSI. Thus, the mobile phone can exclude less accurate RSSI0、RSSI1Or RSSI2To distance measurementThe consistency of the actual distance of trigger approach discovery is improved.
Also, as shown in fig. 6A, after determining that RSSI2 is greater than or equal to preset threshold 2, the mobile phone may stop receiving/transmitting bluetooth signals using multiple bluetooth antennas, and continue to receive/transmit bluetooth signals using the first bluetooth antenna (i.e., the main antenna).
As shown in fig. 6A, if RSSI2 is greater than or equal to preset threshold 2 and the first BLE broadcast includes the first pairing information, the mobile phone may perform bluetooth pairing and connection with the bluetooth headset.
In some embodiments, the mobile phone automatically performs bluetooth pairing and connection with the bluetooth headset after determining that the RSSI2 is greater than or equal to the preset threshold 2 and the first pairing information indicates that the bluetooth headset can be paired.
Wherein the bluetooth pairing can create a shared link key (link key) between the bluetooth headset and the handset. The link key may be used to mutually authenticate the bluetooth devices and encrypt the exchanged data. For example, the pairing mode of the bluetooth device may include PIN code pairing (PIN code pairing) and Secure Simple Pairing (SSP). The shared key may be used to subsequently re-authenticate the two bluetooth devices. When reconnected, the bluetooth device quickly verifies that there is a matching link key by exchanging characters derived from the link key. If the link keys are matched, the session key can be continuously established, and then the Bluetooth communication is carried out. After the Bluetooth connection is established, the mobile phone and the Bluetooth headset can carry out Bluetooth communication based on the Bluetooth connection, and business processing such as music playing, call receiving/making and the like is realized.
The mobile phone and the Bluetooth headset can be matched and connected in a BR/EDR mode based on a Bluetooth protocol (such as Bluetooth 4.0 or Bluetooth protocol 5.0); or pairing and connecting by using BLE and the like, which is not limited in the embodiments of the present application. For example, when the BR/EDR method is used to perform bluetooth connection, a bluetooth connection may be established between a mobile phone and a bluetooth headset through an interactive paging (page) message (e.g., a paging request message, a paging response message, etc.). For another example, when the BLE mode is used for bluetooth connection, the bluetooth connection may be established between the handset and the bluetooth headset through interaction of a second BLE broadcast (e.g., a connectable broadcast ADV _ IND or ADV _ DIRECT _ IND).
In some embodiments, after determining that RSSI2 is greater than or equal to preset threshold 2 and the first pairing information indicates that the bluetooth headset can be paired, the mobile phone prompts the user to find a nearby bluetooth headset and perform bluetooth pairing and connection with the bluetooth headset automatically. For example, the handset may prompt the user to find a nearby bluetooth headset by displaying a message, vibrating, or sounding, etc. Illustratively, as shown in fig. 7A, the handset may display a prompt box 700 to prompt the user to find a bluetooth headset and automatically pair and connect with the bluetooth headset.
In other embodiments, after RSSI2 is greater than or equal to preset threshold 2 and the first pairing information indicates that the bluetooth headset can be paired, the mobile phone may prompt the user to find a nearby bluetooth headset and determine whether to pair or connect, and may pair and connect with the bluetooth headset after detecting an instruction indicating pairing or connection by the user.
For example, as shown in fig. 7B or fig. 7C, after determining that the RSSI2 is greater than or equal to the preset threshold 2, the mobile phone pops up a prompt box to prompt the user to find the bluetooth headset, and may further display information such as the power of the headset, the power of the headset box, and the distance between the mobile phone and the bluetooth headset to the user.
Moreover, as shown in fig. 7B, a connection control 702 is further included in the prompt box 701; after detecting that the user clicks the connection control 702, the mobile phone is paired and connected with the bluetooth headset. Alternatively, as shown in FIG. 7C, a pairing control 704 is included in prompt box 703; after detecting that the user clicks the pairing control 704, the mobile phone is paired and connected with the bluetooth headset.
The TWS headset is illustrated in fig. 7A-7C as an example. The bluetooth headset found by the mobile phone may also be a bluetooth headset as shown in fig. 7D, or another type of bluetooth headset.
As another example, the handset may audibly prompt the user to find a nearby bluetooth headset; after detecting a voice command indicating pairing or connection by a user, the mobile phone is paired and connected with the Bluetooth headset.
After the bluetooth connection is established between the mobile phone and the bluetooth headset, various services of the mobile phone can be processed based on the bluetooth connection, for example, the bluetooth headset plays audio services such as music, sound recording, sound in a video file, background music in a game, incoming call prompt tone and the like for a user; for another example, in the scenes of telephone, WeChat voice message, audio call, video call, game, voice assistant and the like, the Bluetooth headset plays voice data of the opposite terminal for the user, or collects the voice data of the user and sends the voice data to the opposite terminal and the like; for another example, data services such as address book update are performed through the bluetooth headset.
As shown in fig. 6A, if the RSSI2 is less than the preset threshold 2, the handset determines that the distance to the bluetooth headset is not very close, the handset continues to scan the first BLE broadcast through the single bluetooth antenna, detects whether the RSSI1 is greater than or equal to the preset threshold 1 with the period of T1, and performs the subsequent processes described in the above embodiments.
That is to say, the mobile phone can receive the first BLE broadcast by using the plurality of bluetooth antennas and perform fusion calculation on the RSSI obtained according to the first BLE broadcast, so as to comprehensively evaluate the actual distance between the mobile phone and the bluetooth headset by combining the RSSI conditions corresponding to the plurality of bluetooth antennas; the influence of interference factors such as signal interference, transmitting power, receiving sensitivity, antenna performance, product process difference and the like on the RSSI is reduced, the influence of randomness, contingency, uncertainty and instability on the RSSI ranging is reduced, the accuracy of the RSSI ranging is improved, the consistency of the actual distance close to the discovery is triggered, and the use experience of a user is improved.
In some other embodiments, after determining that the RSSI1 is greater than or equal to the preset threshold 1, the mobile phone may calculate an RSSI according to the first BLE broadcast scanned by the bluetooth antenna 0 in each period T2 of the preset duration 20. Similarly, the mobile phone can obtain the RSSI corresponding to the bluetooth antenna 1 in each period T21RSSI corresponding to Bluetooth antenna 22. Within the preset time length 2, the RSSI corresponding to each period T20、RSSI1And RSSI2The average of (d) is RSSI 2.
In other embodiments, after determining that RSSI1 is greater than or equal to preset threshold 1, the mobile phone may not switch multiple bluetooth antennas in turn; instead, within the preset duration 2, a plurality of Bluetooth antennas are adopted to receive the first BLE broadcast respectively, so that the corresponding RSSI within the preset duration 2 is calculated0、RSSI1And RSSI2And for RSSI0、RSSI1And RSSI2The above fusion calculation is performed, for example, to obtain a maximum value or to obtain an average value, thereby obtaining the RSSI2, and further, the approach discovery is realized based on the RSSI 2.
In other embodiments, after determining that RSSI1 is greater than or equal to preset threshold 1, the mobile phone may not switch multiple bluetooth antennas in turn; but within preset duration 2, a plurality of bluetooth antennas are adopted to receive the first BLE broadcast respectively. In each period T2 of the preset duration 2, an RSSI is calculated according to the first BLE broadcast scanned by the bluetooth antenna 00. Similarly, the mobile phone can obtain the RSSI corresponding to the bluetooth antenna 1 in each period T21RSSI corresponding to Bluetooth antenna 22. Within the preset time length 2, the RSSI corresponding to each period T20、RSSI1And RSSI2The average of (d) is RSSI 2.
In some other embodiments, the mobile phone may periodically test the current performance of each bluetooth antenna, so as to scan the first BLE broadcast by using the bluetooth antenna with better current performance as the first bluetooth antenna, and further calculate the RSSI 1. And after the preset duration 2 is over, the mobile phone may stop receiving the first BLE broadcast by using the plurality of bluetooth antennas, and switch to receiving/transmitting the bluetooth signal (for example, receiving the first BLE broadcast) by using the bluetooth antenna with the current better test performance.
In some other embodiments, after the bluetooth function is turned on, the mobile phone scans the first BLE broadcast transmitted by the bluetooth headset through the plurality of bluetooth antennas at the same time. The mobile phone calculates the RSSI2 with a period of T3 (for example, 2s) according to the first BLE broadcast scanned by the plurality of bluetooth antennas; if the RSSI2 is smaller than the preset threshold 2, the RSSI2 is calculated again in the next period T3, and the corresponding relationship between the RSSI2 and the preset threshold 2 is determined. When RSSI2 is greater than or equal to preset threshold 2, the handset may determine that the bluetooth headset is found nearby, and may perform bluetooth pairing and connection with the bluetooth headset.
After the bluetooth headset is paired with the mobile phone, in some embodiments, after the headset case where the bluetooth headset (e.g., TWS headset) is located is opened again or the bluetooth headset is powered on again, it is determined that the bluetooth headset is paired with the mobile phone, and thus the first BLE broadcast is not sent, and a loopback is initiated according to the stored historical pairing information, so that a bluetooth connection is automatically established with the paired mobile phone. Moreover, after the automatic connection back, the mobile phone can also prompt the user in a mode of displaying information, sound, an indicator light, vibration or the like. For example, referring to fig. 8, the phone may display a prompt box 800 to prompt the user that the phone is connected to a bluetooth headset. The phone may also prompt the user for the amount of power to the bluetooth headset, the amount of power to the headset case, and other information related to the bluetooth headset.
After the bluetooth headset is paired with the mobile phone, in some other embodiments, after the headset case where the bluetooth headset (e.g., TWS headset) is located is opened again or the bluetooth headset is turned on again, it is determined that the bluetooth headset has been paired with the mobile phone, and thus the second BLE broadcast is transmitted. The second BLE broadcast may carry information related to the bluetooth headset, such as identification information, second pairing information, power, device name, device model, vendor information, whether to go out of the box, connection status, wearing status, or service status. The identification information may still be the UUID1 described above. The second pairing information is used for indicating that the Bluetooth headset cannot be paired currently. For example, the second pairing information may indicate that the bluetooth headset has been paired, or has not been de-paired. Illustratively, the pairing status field is included in the second BLE broadcast, and when the data in the pairing status field is "0", it may indicate that the bluetooth headset cannot perform bluetooth pairing.
The handset can accurately calculate RSSI2 according to the second BLE broadcast and the method described in the above embodiment, and find that the bluetooth headset is nearby when RSSI2 is greater than or equal to preset threshold 3. If the mobile phone determines that the bluetooth headset is the appointed electronic device according to the identification information and determines that the bluetooth headset cannot be paired according to the second pairing information, the related information of the bluetooth headset can be prompted to the user according to the content of the second BLE broadcast.
That is to say, when the bluetooth headset approaches to another unpaired electronic device, the other electronic device may scan the second BLE broadcast, so that the related information of the nearby bluetooth headset may be known according to the second BLE broadcast, and the related information of the bluetooth headset may be prompted to the user. Therefore, the user can conveniently know the available Bluetooth headset nearby, and can conveniently use the Bluetooth headset when needed. For example, when the bluetooth headset is close to the tablet computer, the user can conveniently and intuitively see the related information such as the electric quantity of the bluetooth headset from the tablet computer.
For example, as shown in fig. 9, after the bluetooth headset is paired with the mobile phone, during the process that the bluetooth headset approaches the tablet, after determining that the RSSI2 is greater than or equal to the preset threshold 3, the tablet may display a prompt box 900 to prompt the user to find a nearby bluetooth headset, where the bluetooth headset is in an unpaired mode (i.e., currently not paired with the bluetooth headset, which may have been paired with other electronic devices), and the power of the bluetooth headset, which has been worn by the user, the distance between the bluetooth headset and the tablet, and so on.
Wherein, different from the first BLE broadcast, the second pairing information in the second BLE broadcast is used for indicating that the bluetooth headset cannot currently perform bluetooth pairing. After scanning the first BLE broadcast, the electronic equipment determines that Bluetooth pairing can be performed with the Bluetooth headset according to the first pairing information; after the electronic device scans the second BLE broadcast, it is determined that Bluetooth pairing cannot be performed with the Bluetooth headset according to the second pairing information.
In other embodiments, a bluetooth headset may be paired and connected with multiple electronic devices. For example, after the earphone box where the bluetooth headset (e.g., TWS headset) is located is opened each time, or after the bluetooth headset is turned on each time, or after a specific control on the bluetooth headset is touched, whether the bluetooth headset is used for the first time, paired with the electronic device, unpaired, or in a pairing mode is determined, a first BLE broadcast is sent, where the first BLE broadcast includes first pairing information. The plurality of electronic devices may calculate the RSSI2 according to the first BLE broadcasts after receiving the first BLE broadcasts transmitted by the bluetooth headset, respectively. If the RSSI2 is greater than or equal to the preset threshold 2, the electronic device determines that the bluetooth headset can be currently paired according to the first pairing information, and the electronic device is not paired with the bluetooth headset, so that the electronic device can perform bluetooth pairing and connection with the bluetooth headset.
Note that, the above description has been given taking the discovery message as the first BLE broadcast as an example. The discovery message may also be other wireless signals. For example, the discovery message may be a message sent by the bluetooth headset over a particular frequency, as agreed upon by the private protocol. The specific frequency may be within a range of a bluetooth communication band, or may not be within the range of the bluetooth communication band, which is not limited in this embodiment of the present application. The discovery message may include some related information of the bluetooth headset, such as first pairing information, device name, device model, manufacturer information, power information, out-of-box information, wearing status, connection status or service status, etc.
After the Bluetooth function is turned on, the mobile phone can scan on a specific frequency according to the private protocol. After the mobile phone scans the discovery message on a specific frequency, it may determine that the device sending the discovery message is an appointed device, and may calculate the RSSI2 by using the method provided in the above embodiment, and implement proximity discovery according to the RSSI 2. After the mobile phone finds that the Bluetooth headset is nearby according to the RSSI2, the mobile phone can be in Bluetooth pairing and connection with the Bluetooth headset.
In some embodiments, the discovery message may also include identification information. After the mobile phone scans the discovery message and determines that the identification information is appointed information, the mobile phone can determine that the bluetooth headset is an appointed wireless device, and after finding that the bluetooth headset is nearby according to the RSSI2, the mobile phone can perform bluetooth pairing and connection with the bluetooth headset.
In the above, the wireless device is exemplified as a bluetooth headset, and the approach discovery method provided in the embodiment of the present application may also be applied to other wireless devices, such as wireless smart glasses, and the like, which is not described in detail in the embodiment of the present application.
In addition, the above embodiment has been described taking a wireless device as an example of a device based on bluetooth technology. The approach discovery method provided by the embodiment of the present application may also be applied to devices based on other wireless technologies, such as Wi-Fi devices, infrared devices, and the like, and the embodiment of the present application is not described in detail again.
With reference to the foregoing embodiments and accompanying drawings, another embodiment of the present application provides a proximity discovery method, which may be implemented on an electronic device having a structure shown in fig. 4, where the electronic device includes a first antenna and a second antenna. As shown in fig. 10, the method may include:
1001. the electronic device receives a discovery message transmitted by the wireless device, the discovery message including identification information.
For example, the wireless device may be a bluetooth device and the first and second antennas may be bluetooth antennas.
1002. The electronic device determines that the identification information in the discovery message matches preset identification information.
When the identification information matches the preset identification information, it may be determined that the wireless device is a pre-agreed device.
1003. The electronic device calculates a target Received Signal Strength Indication (RSSI) according to the discovery messages received by the first antenna and the second antenna.
The target RSSI may be RSSI2 in the above embodiment.
1004. When the target RSSI is greater than or equal to a first threshold value, the electronic device determines that the distance between the electronic device and the wireless device is less than or equal to a first preset distance.
When the distance between the electronic device and the wireless device is smaller than or equal to the first preset distance, the electronic device finds that the wireless device is in the vicinity of the electronic device, and can use the wireless device.
1005. The electronic equipment displays first information, and the first information is used for prompting Bluetooth pairing.
The electronic equipment can prompt the user whether to perform Bluetooth pairing through the first information.
1006. After detecting the operation that the user indicates pairing, the electronic equipment performs Bluetooth pairing with the wireless equipment.
1007. After the electronic equipment and the wireless equipment are subjected to Bluetooth pairing, Bluetooth connection can be established between the electronic equipment and the wireless equipment.
After the electronic equipment and the wireless equipment are subjected to Bluetooth pairing and Bluetooth connection, Bluetooth communication can be carried out, and various services of the electronic equipment are processed through the wireless equipment.
In the scheme described in step 1001-1007, the electronic device may be provided with multiple target antennas, receive a discovery message sent by the wireless device based on the multiple target antennas, and perform fusion calculation on the RSSI obtained according to the discovery message. Therefore, the actual distance between the electronic equipment and the wireless equipment is comprehensively evaluated by combining the RSSI corresponding to the multiple target antennas, and the approach discovery is realized. Therefore, the influence of factors such as signal interference, contingency and uncertainty on RSSI ranging can be reduced, the accuracy of RSSI ranging is improved, and the consistency of the distance of trigger approach discovery is improved.
An embodiment of the present application further provides an electronic device, which may include: a receiving unit, a calculating unit, a determining unit, a displaying unit, a pairing unit and the like. These units may perform the various steps in the above embodiments to achieve proximity discovery.
An embodiment of the present application further provides an electronic device, including one or more processors; a memory; the wireless device comprises a first antenna and a second antenna, wherein the first antenna and the second antenna are used for receiving a discovery message sent by the wireless device, and the discovery message comprises identification information; and one or more computer programs. One or more computer programs are stored in the memory, the one or more computer programs including instructions. The instructions, when executed by the one or more processors, cause the electronic device to perform the various steps in the embodiments described above to implement proximity discovery.
Illustratively, when the electronic device is the device shown in fig. 4, the processor in the electronic device may be the processor 310 in fig. 4, the memory in the electronic device may be the memory 321 in fig. 4, and the first antenna and the second antenna may be the antenna 2 in fig. 4.
The embodiment of the present application further provides a computer storage medium, where a computer instruction is stored in the computer storage medium, and when the computer instruction runs on an electronic device, the electronic device is enabled to execute the above related method steps to implement the approach discovery method in the above embodiment.
The embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the approach discovery method in the above embodiments.
In addition, an apparatus may be specifically a chip, and the chip may include a processor and a memory, where the memory stores instructions. When executed by a processor, the instructions cause the chip to perform the relevant steps described above to implement the approach discovery method in the above embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a component or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the approach discovery method in the above-mentioned method embodiments.
The electronic device, the chip, the computer storage medium, the computer program product, or the chip provided in the embodiments of the present application are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the chip, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A communication system, the communication system comprising an electronic device and a wireless device, characterized in that:
the wireless device is configured to transmit a discovery message based on a first protocol, the discovery message including identification information;
the electronic device is configured to receive the discovery message through a first antenna and a second antenna;
after the identification information in the discovery message is determined to be matched with the preset identification information, calculating a target Received Signal Strength Indication (RSSI) according to the discovery message received by the first antenna and the second antenna;
when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance;
displaying first information, wherein the first information is used for prompting Bluetooth pairing;
and after the operation that the user indicates pairing is detected, carrying out Bluetooth pairing with the wireless equipment.
2. The communication system of claim 1, wherein the electronic device is further configured to:
receiving the discovery message through the first antenna;
calculating a first RSSI (received signal strength indicator) in the current T1 period according to the discovery message received by the first antenna;
if the first RSSI within the current T1 period is less than a second threshold, continuing to calculate the first RSSI within the next T1 period;
receiving the discovery message through the first antenna and the second antenna if the first RSSI within the current T1 period is greater than or equal to the second threshold.
3. The communication system according to claim 1 or 2, wherein the electronic device is configured to receive the discovery message via the first antenna and the second antenna, in particular comprising:
switching the first antenna and the second antenna in turn by taking T2 as a period within a preset time length so as to receive the discovery message by adopting the first antenna or the second antenna in each T2 period;
determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time length;
and obtaining the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
4. The communication system according to claim 3, wherein the electronic device is configured to determine, according to the discovery messages received by the first antenna and the second antenna respectively within the preset time period, second RSSIs corresponding to the first antenna and the second antenna respectively, specifically including:
determining a third RSSI corresponding to the first antenna in each first target period according to the discovery message received by the first antenna in each first target period, where the first target period is a T2 period within the preset time length when the discovery message is received by the first antenna; the second RSSI corresponding to the first antenna is an average value of each third RSSI corresponding to the first antenna within the preset time length;
determining a third RSSI corresponding to the second antenna in each second target period according to the discovery message received by the second antenna in each second target period, where the second target period is a T2 period within the preset time length when the discovery message is received by the second antenna; the second RSSI corresponding to the second antenna is an average value of each corresponding third RSSI of the second antenna within the preset time period.
5. The communication system according to claim 1 or 2, wherein the electronic device is configured to receive the discovery message via a first antenna and a second antenna, in particular comprising:
within a preset time length, simultaneously adopting the first antenna and the second antenna to receive the discovery message;
determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time length;
and obtaining the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
6. The communication system according to any of claims 3-5, wherein the target RSSI is a maximum value of the second RSSIs corresponding to the first antenna and the second antenna, respectively;
or, the target RSSI is an average value of the second RSSIs corresponding to the first antenna and the second antenna, respectively.
7. The communication system according to any of claims 1-6, wherein the first protocol is a Bluetooth Low Energy (BLE) protocol, the discovery message is a BLE broadcast, and the first and second antennas are Bluetooth antennas.
8. The communication system of any of claims 1-7, wherein the electronic device is further configured to cease receiving discovery messages using the second antenna and to receive/transmit wireless signals using the first antenna if the target RSSI is greater than or equal to a first threshold.
9. The communication system according to any of claims 1-8, wherein the wireless device is configured to send discovery messages based on a first protocol, in particular comprising:
the wireless device is started for the first time;
or after each startup, determining that no Bluetooth pairing is performed with other equipment before;
or after the Bluetooth pairing with other equipment is released;
transmitting the discovery message based on the first protocol.
10. The communication system according to any of claims 1-9, wherein the discovery message comprises pairing information; the electronic device is configured to display first information, and specifically includes:
if the wireless equipment can be subjected to Bluetooth pairing according to the pairing information, displaying the first information;
the electronic device is further configured to:
if the wireless equipment is determined to be incapable of performing Bluetooth pairing according to the pairing information, displaying second information, wherein the second information comprises one or more of electric quantity, equipment name, equipment model, manufacturer information or connection state;
and if the Bluetooth pairing between the electronic equipment and the wireless equipment is finished, establishing Bluetooth connection with the wireless equipment, and displaying third information, wherein the third information is used for prompting a user to establish Bluetooth connection with the wireless equipment.
11. An electronic device, comprising: one or more processors;
a memory;
the wireless device comprises a first antenna and a second antenna, wherein the first antenna and the second antenna are used for receiving a discovery message sent by the wireless device, and the discovery message comprises identification information;
and one or more computer programs, the one or more computer programs being stored in the memory, the one or more computer programs comprising instructions;
the instructions, when executed by the one or more processors, cause the electronic device to:
after the identification information in the discovery message is determined to be matched with the preset identification information, calculating a target Received Signal Strength Indication (RSSI) according to the discovery message received by the first antenna and the second antenna;
when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance;
displaying first information, wherein the first information is used for prompting Bluetooth pairing;
and after the operation that the user indicates pairing is detected, carrying out Bluetooth pairing with the wireless equipment.
12. The electronic device of claim 11, wherein the instructions, when executed by the one or more processors, further cause the electronic device to:
receiving the discovery message through the first antenna prior to receiving the discovery message through the first antenna and the second antenna;
calculating a first RSSI (received signal strength indicator) in the current T1 period according to the discovery message received by the first antenna;
the instructions, when executed by the one or more processors, cause the electronic device to receive the discovery message via the first antenna and the second antenna, comprising:
receiving the discovery message through the first antenna and the second antenna if the first RSSI within the current T1 period is greater than or equal to a second threshold;
the instructions, when executed by the one or more processors, further cause the electronic device to:
if the first RSSI within the current T1 period is less than the second threshold, continue to calculate the first RSSI within the next T1 period.
13. The electronic device of claim 11 or 12, wherein the instructions, when executed by the one or more processors, cause the electronic device to receive the discovery message via the first antenna and the second antenna, in particular comprising:
switching the first antenna and the second antenna in turn by taking T2 as a period within a preset time length so as to receive the discovery message by adopting the first antenna or the second antenna in each T2 period;
determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time length;
and obtaining the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
14. The electronic device of claim 13, wherein when the instructions are executed by the one or more processors, the determining, by the electronic device, second RSSIs corresponding to the first antenna and the second antenna respectively according to the discovery messages received by the first antenna and the second antenna respectively within the preset time period specifically includes:
determining a third RSSI corresponding to the first antenna in each first target period according to the discovery message received by the first antenna in each first target period, where the first target period is a T2 period within the preset time length when the discovery message is received by the first antenna; the second RSSI corresponding to the first antenna is an average value of each third RSSI corresponding to the first antenna within the preset time length;
determining a third RSSI corresponding to the second antenna in each second target period according to the discovery message received by the second antenna in each second target period, where the second target period is a T2 period within the preset time length when the discovery message is received by the second antenna; the second RSSI corresponding to the second antenna is an average value of each third RSSI of the second antenna in the preset time period.
15. The electronic device of claim 11 or 12, wherein the instructions, when executed by the one or more processors, cause the electronic device to receive the discovery message via the first antenna and the second antenna, in particular comprising:
within a preset time length, simultaneously adopting the first antenna and the second antenna to receive the discovery message;
determining second RSSI (received signal strength indicator) respectively corresponding to the first antenna and the second antenna according to the discovery messages respectively received by the first antenna and the second antenna within the preset time length;
and obtaining the target RSSI according to the second RSSI respectively corresponding to the first antenna and the second antenna.
16. The electronic device of any of claims 13-15, wherein the target RSSI is a maximum of the second RSSIs for the first antenna and the second antenna, respectively;
or, the target RSSI is an average value of the second RSSIs corresponding to the first antenna and the second antenna, respectively.
17. The electronic device of any of claims 11-16, wherein the discovery message includes pairing information; when executed by the one or more processors, the instructions cause the electronic device to display first information, including in particular:
and if the wireless equipment can be subjected to Bluetooth pairing according to the pairing information, displaying the first information.
18. The electronic device according to any one of claims 11-17, wherein the discovery message is a Bluetooth Low Energy (BLE) broadcast and the first and second antennas are Bluetooth antennas.
19. The electronic device of any of claims 11-18, wherein the instructions, when executed by the one or more processors, further cause the electronic device to perform the steps of:
and if the target RSSI is greater than or equal to a first threshold value, stopping receiving discovery messages by using the second antenna, and receiving/transmitting wireless signals by using the first antenna.
20. An electronic device, comprising: a first antenna and a second antenna, a bluetooth chip, a display screen, one or more processors, memory, and one or more computer programs; the one or more computer programs are stored in the memory, the one or more computer programs including instructions;
the first antenna and the second antenna are used for receiving discovery messages sent by wireless equipment within a preset time length, wherein the discovery messages comprise identification information;
the bluetooth chip is configured to determine, after determining that identification information in the discovery message matches preset identification information, second Received Signal Strength Indicators (RSSI) respectively corresponding to the first antenna and the second antenna according to the discovery message respectively received by the first antenna and the second antenna within the preset duration;
the instructions, when executed by the one or more processors, cause the electronic device to:
calculating a target RSSI according to the second RSSIs respectively corresponding to the first antenna and the second antenna;
when the target RSSI is greater than or equal to a first threshold value, determining that the distance between the electronic equipment and the wireless equipment is less than or equal to a first preset distance;
the display screen is used for displaying first information, and the first information is used for prompting Bluetooth pairing;
the Bluetooth chip is further used for carrying out Bluetooth pairing with the wireless equipment after detecting that the user indicates pairing operation.
CN201910478059.4A 2019-06-03 2019-06-03 Approach discovery method and device Active CN112040461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910478059.4A CN112040461B (en) 2019-06-03 2019-06-03 Approach discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910478059.4A CN112040461B (en) 2019-06-03 2019-06-03 Approach discovery method and device

Publications (2)

Publication Number Publication Date
CN112040461A true CN112040461A (en) 2020-12-04
CN112040461B CN112040461B (en) 2022-05-24

Family

ID=73575980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910478059.4A Active CN112040461B (en) 2019-06-03 2019-06-03 Approach discovery method and device

Country Status (1)

Country Link
CN (1) CN112040461B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109244628A (en) * 2018-08-28 2019-01-18 东莞市森岭智能科技有限公司 A kind of waterproof ship antenna
CN111949461A (en) * 2020-08-26 2020-11-17 北京华力兴科技发展有限责任公司 Method and system for carrying out remote intelligent diagnosis on equipment
CN113115460A (en) * 2021-04-20 2021-07-13 Oppo广东移动通信有限公司 Time slot selection method and related equipment
CN113207087A (en) * 2021-04-27 2021-08-03 上海闻泰信息技术有限公司 Wireless communication device connection method, system, wireless communication device and storage medium
CN113286282A (en) * 2021-05-18 2021-08-20 Oppo广东移动通信有限公司 Prompting method, prompting device, electronic equipment, target equipment, connection system and medium
CN113311414A (en) * 2021-05-26 2021-08-27 Oppo广东移动通信有限公司 Distance detection method and device, electronic equipment and storage medium
CN113329391A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Prompt information display method and device, electronic equipment and storage medium
CN113453381A (en) * 2021-07-08 2021-09-28 Oppo广东移动通信有限公司 Device pairing method and related product
CN113466841A (en) * 2021-07-16 2021-10-01 Oppo广东移动通信有限公司 Distance measuring method, distance measuring device, electronic device, and storage medium
CN113783994A (en) * 2021-09-06 2021-12-10 Oppo广东移动通信有限公司 Prompt information display method and device, electronic equipment and storage medium
CN113993077A (en) * 2021-12-23 2022-01-28 荣耀终端有限公司 Prompting method, device, equipment and system based on ultra-wideband UWB communication
CN115150139A (en) * 2022-06-24 2022-10-04 南京标杆科技有限公司 Risk assessment device based on website security risk assessment and use method thereof
WO2022247424A1 (en) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 Data processing method and apparatus, and electronic device and computer-readable medium
CN115632683A (en) * 2022-09-08 2023-01-20 国网江苏省电力有限公司淮安供电分公司 Power line carrier networking transmission method based on carrier IP
WO2023029769A1 (en) * 2021-09-01 2023-03-09 Oppo广东移动通信有限公司 Prompting method and apparatus, device, wireless connection system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140210635A1 (en) * 2013-01-25 2014-07-31 Polar Electro Oy Radio apparatus for gym device
CN106534936A (en) * 2016-11-23 2017-03-22 青岛海信电器股份有限公司 Antenna control method, apparatus and system
CN107278380A (en) * 2017-05-16 2017-10-20 深圳市创客工场科技有限公司 Connect the method and terminal device of bluetooth equipment
CN107914667A (en) * 2017-11-21 2018-04-17 大陆汽车投资(上海)有限公司 Keyless entry/activation system
US10142778B2 (en) * 2016-01-07 2018-11-27 Qualcomm Technologies International, Ltd. Direction finding for legacy bluetooth devices
CN109515384A (en) * 2018-11-15 2019-03-26 浙江吉利汽车研究院有限公司 Vehicle shared system and method based on digital key

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140210635A1 (en) * 2013-01-25 2014-07-31 Polar Electro Oy Radio apparatus for gym device
US10142778B2 (en) * 2016-01-07 2018-11-27 Qualcomm Technologies International, Ltd. Direction finding for legacy bluetooth devices
CN106534936A (en) * 2016-11-23 2017-03-22 青岛海信电器股份有限公司 Antenna control method, apparatus and system
CN107278380A (en) * 2017-05-16 2017-10-20 深圳市创客工场科技有限公司 Connect the method and terminal device of bluetooth equipment
CN107914667A (en) * 2017-11-21 2018-04-17 大陆汽车投资(上海)有限公司 Keyless entry/activation system
CN109515384A (en) * 2018-11-15 2019-03-26 浙江吉利汽车研究院有限公司 Vehicle shared system and method based on digital key

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109244628A (en) * 2018-08-28 2019-01-18 东莞市森岭智能科技有限公司 A kind of waterproof ship antenna
CN111949461A (en) * 2020-08-26 2020-11-17 北京华力兴科技发展有限责任公司 Method and system for carrying out remote intelligent diagnosis on equipment
CN113115460A (en) * 2021-04-20 2021-07-13 Oppo广东移动通信有限公司 Time slot selection method and related equipment
CN113115460B (en) * 2021-04-20 2022-12-27 Oppo广东移动通信有限公司 Time slot selection method and related equipment
CN113207087A (en) * 2021-04-27 2021-08-03 上海闻泰信息技术有限公司 Wireless communication device connection method, system, wireless communication device and storage medium
CN113286282A (en) * 2021-05-18 2021-08-20 Oppo广东移动通信有限公司 Prompting method, prompting device, electronic equipment, target equipment, connection system and medium
WO2022247399A1 (en) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 Distance measurement method and apparatus, electronic device, and storage medium
CN113311414A (en) * 2021-05-26 2021-08-27 Oppo广东移动通信有限公司 Distance detection method and device, electronic equipment and storage medium
CN113329391A (en) * 2021-05-26 2021-08-31 Oppo广东移动通信有限公司 Prompt information display method and device, electronic equipment and storage medium
CN113329391B (en) * 2021-05-26 2023-02-24 Oppo广东移动通信有限公司 Prompt information display method and device, electronic equipment and storage medium
WO2022247424A1 (en) * 2021-05-26 2022-12-01 Oppo广东移动通信有限公司 Data processing method and apparatus, and electronic device and computer-readable medium
CN113453381B (en) * 2021-07-08 2023-01-10 Oppo广东移动通信有限公司 Device pairing method and related product
CN113453381A (en) * 2021-07-08 2021-09-28 Oppo广东移动通信有限公司 Device pairing method and related product
CN113466841A (en) * 2021-07-16 2021-10-01 Oppo广东移动通信有限公司 Distance measuring method, distance measuring device, electronic device, and storage medium
WO2023029769A1 (en) * 2021-09-01 2023-03-09 Oppo广东移动通信有限公司 Prompting method and apparatus, device, wireless connection system, and storage medium
CN113783994A (en) * 2021-09-06 2021-12-10 Oppo广东移动通信有限公司 Prompt information display method and device, electronic equipment and storage medium
CN113993077A (en) * 2021-12-23 2022-01-28 荣耀终端有限公司 Prompting method, device, equipment and system based on ultra-wideband UWB communication
CN115150139A (en) * 2022-06-24 2022-10-04 南京标杆科技有限公司 Risk assessment device based on website security risk assessment and use method thereof
CN115632683A (en) * 2022-09-08 2023-01-20 国网江苏省电力有限公司淮安供电分公司 Power line carrier networking transmission method based on carrier IP
CN115632683B (en) * 2022-09-08 2024-01-26 国网江苏省电力有限公司淮安供电分公司 Power line carrier networking transmission method based on carrier IP

Also Published As

Publication number Publication date
CN112040461B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN112040461B (en) Approach discovery method and device
CN113382397B (en) Bluetooth connection method, device and system
CN112789867B (en) Bluetooth connection method and equipment
CN112469013B (en) Bluetooth connection method and related device
CN111601199A (en) Wireless earphone box and system
CN114710768B (en) Bluetooth connection method and related device
CN112312366B (en) Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
WO2021043198A1 (en) Bluetooth pairing method, and related device
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN114422340A (en) Log reporting method, electronic device and storage medium
CN112806092A (en) Microphone MIC switching method and device
CN114257920B (en) Audio playing method and system and electronic equipment
WO2023273476A1 (en) Method for detecting device, and electronic device
CN112272191B (en) Data transfer method and related device
CN112449336B (en) Equipment capability discovery method and P2P equipment
CN114449099A (en) Method for adjusting equipment orientation and terminal equipment
CN115525366A (en) Screen projection method and related device
CN114915359A (en) Method, device, electronic equipment and readable storage medium for selecting channel
CN114554012A (en) Incoming call answering method, electronic equipment and storage medium
CN114339698A (en) Method for establishing wireless connection through equipment touch, electronic equipment and chip
CN114091006A (en) Device connection method and electronic device
CN115705769A (en) Alarm method, electronic device and storage medium
CN114363820A (en) Electronic equipment searching method and electronic equipment
CN114500725A (en) Target content transmission method, master device, slave device and storage medium
CN115134402A (en) Device connection method and electronic 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