CN114666744B - Method, device, equipment, storage medium and product for connecting near field communication equipment - Google Patents

Method, device, equipment, storage medium and product for connecting near field communication equipment Download PDF

Info

Publication number
CN114666744B
CN114666744B CN202210280707.7A CN202210280707A CN114666744B CN 114666744 B CN114666744 B CN 114666744B CN 202210280707 A CN202210280707 A CN 202210280707A CN 114666744 B CN114666744 B CN 114666744B
Authority
CN
China
Prior art keywords
near field
field communication
communication device
broadcast signals
directional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210280707.7A
Other languages
Chinese (zh)
Other versions
CN114666744A (en
Inventor
王泽卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210280707.7A priority Critical patent/CN114666744B/en
Publication of CN114666744A publication Critical patent/CN114666744A/en
Priority to PCT/CN2022/139602 priority patent/WO2023179119A1/en
Application granted granted Critical
Publication of CN114666744B publication Critical patent/CN114666744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/38TPC being performed in particular situations
    • H04W52/383TPC being performed in particular situations power control in peer-to-peer links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The application relates to a near field communication device connection method, a device, equipment, a storage medium and a product. The method comprises the following steps: monitoring whether the first near field communication device triggers a near field communication connection; if the first near field communication device triggers near field communication connection, the first near field communication device sends a plurality of groups of communication broadcast signals to the surrounding; each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmission power of the directional broadcast signals in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signals, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one. By adopting the method, the paired short-distance communication devices can be connected quickly, and the disturbance to surrounding devices can be reduced.

Description

Method, device, equipment, storage medium and product for connecting near field communication equipment
Technical Field
The present disclosure relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a product for connecting a short-range communication device.
Background
With the continuous development of bluetooth technology, bluetooth devices applying bluetooth technology are increasing and popular, and the scenes and the duration of using bluetooth devices by users are increasing, so that the scenes of discovery, pairing and connection between bluetooth devices are also increasing. Taking the bluetooth device as an example, in order to quickly pair the bluetooth headset with the mobile phone or remind the user of successful connection, each manufacturer designs a bluetooth connection popup window mechanism.
In the related art, taking a bluetooth headset as an example, when a user opens a cover of the bluetooth headset, the bluetooth headset starts to send a broadcast signal to the surrounding, the broadcast signal includes an MAC address of the bluetooth headset, and bluetooth devices around the bluetooth headset can be paired with the bluetooth headset after receiving the broadcast signal. The broadcast signal sent by the bluetooth headset may include a directional broadcast signal or a non-directional broadcast signal, where the directional broadcast signal is used to connect the bluetooth headset with a paired device, and the non-directional broadcast signal is used to connect the bluetooth headset with a new unpaired device.
However, when the bluetooth headset transmits a broadcast signal to the surrounding, since all devices around the bluetooth headset receive the popup window prompt of the bluetooth connection, some of the devices are not target devices to be paired by the bluetooth headset, and thus may cause serious disturbance to the devices.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment, a storage medium and a product for connecting near field communication equipment, which can reduce harassment to surrounding equipment under the condition of quickly connecting paired equipment.
In a first aspect, there is provided a near field communication device connection method, including:
monitoring whether the first near field communication device triggers a near field communication connection;
if the first near field communication device triggers near field communication connection, the first near field communication device sends a plurality of groups of communication broadcast signals to the surrounding;
each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmitting power of the directional broadcast signal in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signal, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one.
In a second aspect, there is provided a near field communication device connection apparatus including:
the monitoring module is used for monitoring whether the first short-range communication equipment triggers short-range communication connection or not;
the sending module is used for sending a plurality of groups of communication broadcast signals to the surrounding if the first near field communication equipment triggers near field communication connection; each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmitting power of the directional broadcast signal in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signal, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one.
In a third aspect, there is provided a near field communication device including a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the near field communication device connection method of the first aspect described above.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of the first aspect described above.
The above-described near field communication device connection method, apparatus, near field communication device, computer-readable storage medium, and computer program product are configured to monitor whether a first near field communication device triggers a near field communication connection, and transmit a plurality of sets of communication broadcast signals to the surroundings when the first near field communication device triggers the near field communication connection; wherein each group of communication broadcast signals includes a directional broadcast signal and a non-directional broadcast signal, and the transmission power of the directional broadcast signal in the first M groups of communication broadcast signals is greater than the transmission power of the non-directional broadcast signal. In the method, the first near field communication device transmits a directional broadcast signal with larger transmission power and transmits an unoriented broadcast signal with smaller transmission power in the first M groups of communication broadcast signals, and the directional broadcast signal is used for connecting paired devices, so that the first near field communication device can be quickly connected with the paired devices by transmitting the directional broadcast signal with larger power in most of practical scenes, the transmission duration of the communication broadcast signal can be reduced, and the disturbance to other devices can be reduced in the time dimension, on the other hand, in order to ensure the connection efficiency, the first near field communication device can also transmit the unoriented broadcast signal, but only devices in a smaller range can receive the unoriented broadcast signal due to smaller transmission power of the unoriented broadcast signal, so that the disturbance to other devices can be reduced in the space dimension.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application environment diagram of a method of connecting a near field communication device in one embodiment;
FIG. 2 is a flow chart of a method of connecting a near field communication device in one embodiment;
FIG. 3 is a flowchart of a method of connecting a near field communication device in another embodiment;
fig. 4 is an exemplary diagram of intermittently transmitting a directional broadcast signal and a non-directional broadcast signal in another embodiment;
FIG. 5 is a flowchart of a method of connecting a near field communication device in another embodiment;
fig. 6 is a flowchart of a method for connecting a near field communication device according to another embodiment;
FIG. 7 is a block diagram showing the structure of a connecting apparatus for a short-range communication device in one embodiment;
fig. 8 is a block diagram of a short-range communication device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
At present, taking a bluetooth headset as an example, in order to quickly pair and connect the bluetooth headset and a mobile phone and remind a user of successful connection, each manufacturer designs a bluetooth connection popup window mechanism. In the related art, generally, when a user opens a cover of a bluetooth headset, the bluetooth headset starts to send a broadcast signal to the surrounding, wherein the broadcast signal includes an MAC address of the bluetooth headset, and bluetooth devices around the bluetooth headset can be paired with the bluetooth headset after receiving the broadcast signal. However, when the bluetooth headset transmits a broadcast signal to the surroundings, since all devices around the bluetooth headset receive the popup window alert of the bluetooth connection, some of the devices are not target devices to be paired by the bluetooth headset, and thus, serious disturbance may be caused to the devices. Based on this, the following embodiments of the present application provide a near field communication device connection method, apparatus, near field communication device, computer readable storage medium, and computer program product, which can solve the above technical problems.
The method for connecting the near field communication device, provided by the embodiment of the application, can be applied to an application environment shown in fig. 1. The first near field communication device 102 may be connected to other near field communication devices 104 in a near field communication manner. The close range communication connection may be bluetooth connection, NFC connection, or the like, and the embodiment of the present application does not limit a manner of close range connection.
The first near field communication device 102 may be a headset, a wristwatch, a bracelet, a speaker, etc. Other near field communication devices 104 may be various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. In addition, each of the near field communication devices 102 and 104 may include an antenna, a speaker, a microphone, a near field communication main control circuit, a battery, and the like, and when the first near field communication device 102 is paired with or connected back to the other near field communication device 104, the first near field communication device 102 and the other near field communication device 104 are connected by near field communication signals. The other short-range communication devices may include a short-range communication device that has been history-paired with the first short-range communication device 102 (for convenience of description of the embodiments described below, the short-range communication devices that have been history-paired are all referred to as second short-range communication devices), and may include a new device that has not been history-paired with the first short-range communication device 102.
In one embodiment, as shown in fig. 2, a method for connecting a near field communication device is provided, which is described by taking the application of the method to the first near field communication device in fig. 1 as an example, and may include the following steps:
s202, monitoring whether the first near field communication device triggers a near field communication connection.
In this step, the first near field communication device may be the first near field communication device 102 in fig. 1 described above, which may be an earphone, a wristwatch, a bracelet, a sound box, or the like.
Specifically, the first near field communication device may continuously monitor whether itself triggers the near field communication connection process, for example, may monitor whether to open the box cover, whether to trigger a power on/off button on the device, whether to input power on/off information or whether to input connection information, and so on, and may obtain a monitoring result through monitoring.
Taking this first close range communication equipment as an example of bluetooth headset, bluetooth headset can all put into the earphone box when not using generally, then when the user need use bluetooth headset and open bluetooth headset lid, will trigger bluetooth headset's close range communication connection flow, and bluetooth headset just can monitor the close range communication connection that has triggered this moment. The monitoring connection mode when the first near field communication device is other devices can be similar to that of a bluetooth headset, and only an example is given here.
S204, if the first near field communication device triggers a near field communication connection, the first near field communication device transmits a plurality of sets of communication broadcast signals to the surrounding.
In this step, each group of communication broadcast signals includes a directional broadcast signal and a non-directional broadcast signal, and the transmission power of the directional broadcast signal in the first M groups of communication broadcast signals is greater than the transmission power of the non-directional broadcast signal, where the directional broadcast signal is used to connect to a paired device, and the non-directional broadcast signal is used to pair to connect to an unpaired device, where M is a positive integer greater than or equal to one.
Specifically, the directional broadcast signals include MAC (Media Access Control ) addresses of the close-range communication devices that are paired with the first close-range communication device in advance, each directional broadcast signal includes a MAC address of the paired close-range communication device, and each group of communication broadcast signals includes one directional broadcast signal, so that the multiple groups of communication broadcast signals correspond to multiple directional broadcast signals, and the MAC address of the paired close-range communication device included in each directional broadcast signal may be a MAC address of the same close-range communication device or may be a MAC address of a different close-range communication device, which is not specifically limited in this embodiment. The non-directional broadcast signals include the MAC address of the first near field communication device, and each group of communication broadcast signals includes one non-directional broadcast signal, so that the plurality of groups of communication broadcast signals correspond to a plurality of/a plurality of groups of non-directional broadcast signals, and each non-directional broadcast signal includes the MAC address of the first near field communication device.
In addition, the first near field communication device may transmit a plurality of sets of communication broadcast signals including a directional broadcast signal and a non-directional broadcast signal to the surroundings when it detects that the near field communication connection flow is triggered. Specifically, when each group of communication broadcast signals is transmitted, the directional broadcast signals may be transmitted first, and then the non-directional broadcast signals may be transmitted, or the non-directional broadcast signals may be transmitted first, and then the directional broadcast signals may be transmitted. In this embodiment, it is preferable to transmit the directional broadcast signal first and then transmit the non-directional broadcast signal, so that the device paired with the first near field communication device can be connected to the first near field communication device more quickly.
Further, when the first near field communication device transmits the directional broadcast signal and the non-directional broadcast signal to the surroundings, the transmission power of the directional broadcast signal is not particularly limited, and for example, the first near field communication device may transmit at any transmission power. For example, the transmission power of the directional broadcast signals in the first M groups of communication broadcast signals may be a fixed/same transmission power, which may be assumed to be the maximum transmission power of the first near field communication device when transmitting signals; of course, the transmission power of the directional broadcast signals in each group of communication broadcast signals may be different, so long as the transmission power of the directional broadcast signals in each group of communication broadcast signals can be ensured to be greater than the transmission power of the non-directional broadcast signals, for example, the power of each group of directional broadcast signals may be gradually increased.
Likewise, for the transmission power of the non-directional broadcast signals, the transmission power of the non-directional broadcast signals in the first M groups of communication broadcast signals may be a fixed/same transmission power, or may be different from the transmission power of the non-directional broadcast signals in each group of communication broadcast signals, so long as the transmission power of the directional broadcast signals in each group of communication broadcast signals can be ensured to be greater than the transmission power of the non-directional broadcast signals.
In addition, optionally, the transmission power of the directional broadcast signal from the m+1th group is equal to the transmission power of the non-directional broadcast signal. That is, starting from the m+1th group, the transmission power of the non-directional broadcast signal may be increased to be equal to the transmission power of the directional broadcast signal, or the transmission power of the directional broadcast signal and the transmission power of the non-directional broadcast signal may be increased to be equal to each other, which may be the case.
It should be noted that, the broadcast distances corresponding to different transmission powers of the signals are different, the larger the transmission power of the signals is, the farther the corresponding broadcast distance is, the more devices exist in the corresponding range, and the more disturbance is caused to the devices. In the embodiment, the transmission power of the directional broadcast signal is larger than that of the non-directional broadcast signal, so that the reconnection efficiency of the first near field communication device and the paired device can be improved; in addition, when the first near field communication device is connected with the new device, the new device and the first near field communication device are generally close to each other, so that the new device can receive the signal by adopting lower transmitting power of the non-directional broadcast signal, and other surrounding users or devices can not receive the broadcast signal at a longer distance, thereby ensuring quick popup and connection between the new device and the first near field communication device and ensuring low harassment to other users or devices.
In addition, the first near field communication device may continuously detect whether the connection between the first near field communication device and the surrounding device is successful while sending the broadcast signal, and when the connection between the first near field communication device and the surrounding device is detected to be successful, the first near field communication device may stop sending all broadcast signals to the surrounding until the next time to re-trigger the connection flow or send the communication broadcast signal, for example, the first near field communication device is a bluetooth headset, and may be a bluetooth headset cover or the like until the next time to re-open, so that the power consumption of the first near field communication device may be saved.
In the above-mentioned short-range communication device connection method, by monitoring whether the first short-range communication device triggers a short-range communication connection, and when the first short-range communication device triggers a short-range communication connection, sending a plurality of groups of communication broadcast signals to the surroundings; wherein each group of communication broadcast signals includes a directional broadcast signal and a non-directional broadcast signal, and the transmission power of the directional broadcast signal in the first M groups of communication broadcast signals is greater than the transmission power of the non-directional broadcast signal. In the method, the first near field communication device transmits a directional broadcast signal with larger transmission power and transmits an unoriented broadcast signal with smaller transmission power in the first M groups of communication broadcast signals, and the directional broadcast signal is used for connecting paired devices, so that the first near field communication device can be quickly connected with the paired devices by transmitting the directional broadcast signal with larger power in most of practical scenes, the transmission duration of the communication broadcast signal can be reduced, and the disturbance to other devices can be reduced in the time dimension, on the other hand, in order to ensure the connection efficiency, the first near field communication device can also transmit the unoriented broadcast signal, but only devices in a smaller range can receive the unoriented broadcast signal due to smaller transmission power of the unoriented broadcast signal, so that the disturbance to other devices can be reduced in the space dimension.
In the above embodiments, it is mentioned that the transmission power of each group of non-directional broadcasting power may be the same value or may be different values, and the following embodiments will describe a case where the transmission power of each group of non-directional broadcasting power is different values.
In another embodiment, the transmission power of the non-directional broadcast signal in the next group of communication broadcast signals is greater than the transmission power of the non-directional broadcast signal in the previous group of communication broadcast signals in every two adjacent groups of communication broadcast signals.
In this embodiment, for the transmission power of the non-directional broadcast signal, the transmission is performed with gradually increasing transmission power until the maximum transmission power of the first near field communication device when transmitting the signal is increased, so that the transmission power of the non-directional broadcast signal is not increased. For example, three times are respectively t1, t2 and t3, the sequence of which is t1< t2< t3, and each time transmits a group of communication broadcast signals, then the transmission power of the non-directional broadcast signals transmitted at the time t3 is greater than the transmission power of the non-directional broadcast signals transmitted at the time t2, and the transmission power of the non-directional broadcast signals transmitted at the time t2 is greater than the transmission power of the non-directional broadcast signals transmitted at the time t 1.
In addition, the step of increasing the transmission power of each group of non-directional broadcast signals may be performed in a stepwise manner by using the same step, or may be performed in a stepwise manner by using different steps. When the transmission power of each group of non-directional broadcasting signals is gradually increased by adopting different step sizes, for example, the step sizes of the increase of the transmission power of each group of non-directional broadcasting signals can be gradually increased according to a law from slow to fast, so that the comparison accords with a signal attenuation law, the longer the general signal transmission distance is, the faster the attenuation is, the accuracy of signal transmission can be improved, and the success rate of connection of surrounding equipment and first near-field communication equipment is improved.
In this embodiment, the power of the non-directional broadcast signal is gradually increased, so that the broadcast distance is gradually increased, and when there is no connected device in the short broadcast distance, the broadcast distance is gradually increased, so that the surrounding devices can be successfully connected, and the disturbance to other devices around the first near field communication device can be reduced while the surrounding devices are ensured to be quickly connected back. In addition, when the first near field communication device is connected with the new device, the new device and the first near field communication device are generally close to each other, so that the new device can receive signals by adopting lower transmitting power, and other surrounding users or devices can not receive broadcast signals due to longer distance, thereby ensuring quick popup and connection between the new device and the first near field communication device and ensuring low harassment to other users or devices. Further, since the transmitting power of the non-directional broadcasting signal can be gradually increased, that is, the transmitting power of the non-directional broadcasting signal can be adjusted from small to large, the broadcasting distance of the non-directional broadcasting signal can be gradually enlarged, so that the new device far away from the first near field communication device can be quickly connected with the first near field communication device, and the success rate of connection between the new device and the first near field communication device is improved.
In the above embodiment, when the directional broadcast signal includes the MAC address of the paired device, it may be further determined in advance whether the paired device is stored when the first short-range communication device transmits the plurality of sets of communication broadcast signals to the surroundings, and this will be described in detail below.
In another embodiment, another method for connecting a near field communication device is provided, and the step S204 may include the following steps on the basis of the above embodiment:
and step A, if the first near field communication device stores a second near field communication device which is historically paired with the first near field communication device, the first near field communication device transmits a plurality of groups of communication broadcast signals to the surrounding, wherein the directional broadcast signals in the groups of communication broadcast signals correspond to the second near field communication device.
In this step, it may be determined in advance whether or not the first short-range communication device has stored therein a second short-range communication device for which the first short-range communication device has been subjected to history pairing, and generally, when the first short-range communication device has been paired with the second short-range communication device, the MAC address of the second short-range communication device is stored in the memory of the first short-range communication device. In general, the memory of the first near field communication device may store the latest N devices (N is greater than or equal to 1), where the stored devices may be denoted as the second near field communication device, and the size of N may be set according to the actual situation, for example, may be 5, 6, 10, etc.
Since the memory of the first close-range communication device stores the MAC address of the second close-range communication device paired in history, by judging whether the memory of the first close-range communication device has the MAC address of the second close-range communication device, when the memory of the first close-range communication device has the MAC address of the second close-range communication device, the first close-range communication device is characterized as being paired with other close-range communication devices before, the first close-range communication device can be preferentially paired, so that multiple groups of communication broadcast signals including directional broadcast signals and non-directional broadcast signals can be sent to the surrounding, and the first close-range communication device can be quickly connected back to the surrounding paired devices.
Further, when the first near field communication device transmits a plurality of sets of communication broadcast signals to the surroundings, wherein the directional broadcast signals in each set of communication broadcast signals correspond to the respective second near field communication devices, that is, the MAC address included in each directional broadcast signal is the MAC address of the second near field communication device. Here, each directional broadcast signal may include a MAC address of a different second near field communication device, or each m adjacent directional broadcast signals may include a MAC address of the same second near field communication device, where m may be 2, 3, 4, and so on.
Further alternatively, if the second near field communication device is not stored in the first near field communication device, in this case, the first near field communication device may transmit a plurality of sets of non-directional broadcast signals to the surroundings. That is, when the paired second near field communication device is not stored in the first near field communication device, it is considered that the first near field communication device needs to be connected to a new near field communication device, and the first near field communication device always transmits a non-directional broadcast signal to the surroundings, so that the surrounding devices can quickly obtain the MAC address of the first near field communication device to connect with the first near field communication device. Further, in order to reduce disturbance to devices around the first near field communication device, the transmission power of the non-directional broadcast signal may also be transmitted in a manner of gradually increasing the transmission power, that is, when the first near field communication device transmits multiple sets of non-directional broadcast signals to the surrounding, the transmission power of the latter set of non-directional broadcast signals is greater than the transmission power of the former set of non-directional broadcast signals in every two adjacent sets of non-directional broadcast signals.
In this embodiment, when a history paired device exists in the first near field communication device, a plurality of groups of communication broadcast signals may be sent to the surrounding, so that the device history paired with the first near field communication device may be quickly connected back to the first near field communication device, and meanwhile, the disturbance to other surrounding devices may be reduced. In addition, when no history paired device exists in the first near field communication device, multiple groups of non-directional broadcast signals can be sent to the surrounding, so that the first near field communication device can be quickly connected with surrounding new devices, and the connection time of the first near field communication device and the new devices is shortened.
In the above-described embodiments, it is mentioned that the MAC address of the paired device may be stored in the first near field communication device, and then a directional broadcast signal including the MAC address of the paired device may be transmitted to the surroundings, and the following embodiments describe in detail how to transmit the directional broadcast signal.
In another embodiment, another method for connecting a near field communication device is provided, and based on the above embodiment, as shown in fig. 3, the step S204 may include the following steps:
s302, the first near field communication device determines connection priority of each second near field communication device.
In this step, at least two second near field communication devices are stored in the first near field communication device, and at the same time, the time of performing history pairing between each second near field communication device and the first near field communication device may be stored in the first near field communication device, so that optionally, the first near field communication device may determine the connection priority of each second near field communication device according to the history pairing time between each second near field communication device and the first near field communication device. The closer the historical pairing time of the second near-field communication device and the first near-field communication device is to the current moment, the higher the corresponding connection priority is, namely the highest connection priority of the second near-field communication device which is paired with the first near-field communication device last. Thus, by the historic pairing time of each second near field communication device and the first near field communication device, the connection priority corresponding to each second near field communication device can be obtained.
S304, the first near field communication device transmits a plurality of sets of communication broadcast signals to the surroundings according to the connection priority of each second near field communication device.
In this step, after the connection priority of each second near field communication device is obtained, the MAC address of each second near field communication device may be sequentially inserted into each group of directional broadcast signals from high to low according to the connection priority of each second near field communication device, so as to obtain and broadcast a plurality of groups of communication broadcast signals. That is, here, the MAC address of the second near field communication device having the highest connection priority can be preferentially broadcast, so that the probability of the second near field communication device becoming successful in connection with the first near field communication device can be increased.
In this embodiment, the first near field communication device sends multiple groups of communication broadcast signals to the surrounding according to the determined connection priority of each second near field communication device, so that multiple groups of communication broadcast signals can be sent to the surrounding in a targeted manner, and the accuracy and efficiency of sending the communication broadcast signals are improved. Further, the connection priority of each second short-range communication device can be determined through the historical pairing time of the first short-range communication device and each second short-range communication device, so that the connection priority of each second short-range communication device can be rapidly and accurately determined, the time for setting each group of communication broadcast signals is shortened, and the accuracy and the efficiency of communication broadcast signal transmission are further improved.
In the above-described embodiments, the first near field communication device may transmit, to the surrounding, a plurality of sets of communication broadcast signals each including a directional broadcast signal and a non-directional broadcast signal, and the manner of how to transmit the plurality of sets of communication broadcast signals is not specifically referred to, and the following embodiments describe in detail how to transmit the plurality of sets of communication broadcast signals.
In another embodiment, another method for connecting a near field communication device is provided, and the step S204 may include the following steps on the basis of the above embodiment:
and B, the first near field communication equipment transmits every two adjacent groups of communication broadcast signals at intervals of a first preset time length.
In this step, as shown in fig. 4, the first near field communication device may intermittently transmit a plurality of sets of communication broadcast signals to the surroundings, wherein the directional broadcast signals and the non-directional broadcast signals in each set of communication broadcast signals may be continuously transmitted, i.e., there is no time interval to transmit. The first preset time length between every two adjacent groups of communication broadcast signals can be the same or different, and the size of the first preset time length can be set according to actual conditions, for example, can be 0s, 0.2s, 0.5s and the like.
In fig. 4, the maximum transmission power at which the first near field communication device transmits signals may be denoted as Pmax, where the transmission power of each set of directional broadcast signals may be the same, and may be exemplified as the maximum transmission power Pmax, and the transmission power of each set of non-directional broadcast signals may be sequentially increased from P1 to P2, P3, P4, until Pmax, where P1< P2< P3< … < Pmax. By gradually increasing the transmission power of the non-directional broadcast signal, it is possible to minimize disturbance to equipment surrounding the first near field communication device.
In this embodiment, the first near-field communication device may send every two adjacent groups of communication broadcast signals at intervals of a first preset duration, so that devices around the first near-field communication device may be conveniently and quickly connected to the first near-field communication device, and meanwhile, scanning of surrounding devices and power consumption of the first near-field communication device may be reduced.
In another embodiment, the first near field communication device sequentially transmits the directional broadcast signal and the non-directional broadcast signal in each group of communication broadcast signals to the surrounding.
That is, when each group of communication broadcast signals is transmitted, the first near-field communication device transmits the directional broadcast signals first and then transmits the non-directional broadcast signals, so that the first near-field communication device can be conveniently connected with the paired device preferentially, and the reconnection efficiency of the first near-field communication device and the paired device is improved.
The above embodiments refer to that the first near field communication device may transmit the directional broadcast signals of each group at any transmission power, and the following embodiments provide two possible implementations of the transmission power of the first near field communication device.
In one possible implementation, the transmit power of the directional broadcast signal in each set of communication broadcast signals is greater than a target transmit power threshold. The target transmission power threshold may be set according to the actual situation, and may be, for example, a maximum transmission power when the first near field communication device transmits a signal, or may be 90% of the maximum transmission power when the first near field communication device transmits a signal, or the like.
In this possible embodiment, optionally, the transmission power of the directional broadcast signal in each set of communication broadcast signals is the maximum transmission power of the first near field communication device when transmitting the signals. That is, the transmission power of the directional broadcast signals in each group of communication broadcast signals is the same, and is the maximum transmission power of the first near-field communication device when transmitting signals, so that the first near-field communication device can conveniently and quickly set each group of directional broadcast signals, and paired devices around the first near-field communication device can conveniently and quickly connect back to the first near-field communication device.
In another possible embodiment, in each two adjacent sets of communication broadcast signals, the transmission power of the directional broadcast signal in the latter set of communication broadcast signals is greater than the transmission power of the directional broadcast signal in the former set of communication broadcast signals.
In this possible embodiment, each set of directional broadcast signals may also be broadcast to the surroundings in a gradually increasing transmission power, until the maximum transmission power of the first near field communication device when transmitting signals is increased, so that the transmission power of the directional broadcast signals is not increased any more. Here, in the actual short-range communication device connection scenario, the user is generally located closer to the surrounding devices when using the first short-range communication device, so that the connection with the surrounding devices can be performed without too high transmission power, and directional broadcasting can also be performed by gradually increasing the transmission power instead of using a fixed maximum transmission power, so that the power consumption of the first short-range communication device when transmitting communication broadcast signals of each group can be reduced.
The above-described embodiment has mentioned that the first near field communication device can transmit a plurality of sets of communication broadcast signals to the surroundings, and the case when transmission is stopped is not mentioned, and the following embodiment will explain the procedure in detail.
In another embodiment, another method for connecting a near field communication device is provided, and based on the above embodiment, as shown in fig. 5, the method may further include the following steps:
s502, if the signal stop transmission condition is satisfied, the first short-range communication apparatus stops transmitting the communication broadcast signal.
In this step, the first near field communication device may continuously monitor whether a signal stop transmission condition is satisfied while transmitting the communication broadcast signal, and optionally, the signal stop transmission condition may include at least one of the following: the time length of the first near field communication device for sending the communication broadcast signal is longer than a second preset time length; the transmitting power of the directional broadcasting signal and the transmitting power of the non-directional broadcasting signal are equal to the maximum transmitting power of the first near field communication device when transmitting the signals.
First, a first case will be described herein, in which the first short-range communication device transmits a communication broadcast signal for a time period longer than a second preset time period. Specifically, the first near field communication device continuously detects whether the duration of sending the communication broadcast signal by the first near field communication device is longer than a second preset duration; and if the time period of the communication broadcasting signal sent by the first short-range communication equipment is longer than the second preset time period, stopping sending the communication broadcasting signal by the first short-range communication equipment.
The second preset duration may be set according to practical situations, for example, may be 5s, 10s, and so on. It should be noted that, the second preset duration is greater than a duration during which the transmission power of the non-directional broadcast signal increases from P1 to Pmax. That is, here, after the transmission power of the non-directional broadcast signal is increased from P1 to Pmax, several sets of non-directional broadcast signals are further transmitted to the surroundings with the transmission power of Pmax.
Specifically, when the first near field communication device starts to send multiple groups of communication broadcast signals to the surrounding, the duration of sending the multiple groups of communication broadcast signals can be counted, the counted duration is compared with a second preset duration, whether the counted duration is greater than the second preset duration or not is judged, and a judgment result is obtained. When the counted time length of the first short-distance communication equipment is longer than the second preset time length, the first short-distance communication equipment is characterized to be not successfully connected with other equipment for a long time, and the transmission of communication broadcasting signals can be stopped, so that the power consumption of the first short-distance communication equipment is saved.
Next, a description will be given here of a second case where the transmission power of the above-described directional broadcast signal and the transmission power of the non-directional broadcast signal are both equal to the maximum transmission power of the first near field communication device when transmitting the signal.
In this case, the transmission power of the directional broadcast signal and the transmission power of the non-directional broadcast signal in each group of communication broadcast signals may be gradually increased, so that when both the transmission power of the directional broadcast signal and the transmission power of the non-directional broadcast signal are increased to the maximum transmission power of the first near field communication device when transmitting the signals, it is indicated that there is no near field communication device around the first near field communication device that can be connected, so that the first near field communication device may stop transmitting the communication broadcast signal at this time in order to save power consumption of the first near field communication device.
In this embodiment, when the time period for the first near field communication device to transmit the communication broadcast signal is longer than the second preset time period, or when the transmission power of the directional broadcast signal and the transmission power of the non-directional broadcast signal are both equal to the maximum transmission power of the first near field communication device when transmitting the signal, the first near field communication device may stop transmitting the communication broadcast signal, so that the power consumption of the first near field communication device may be saved.
In order to facilitate the detailed description of the technical solution of the embodiments of the present application, a specific embodiment is given below to describe the technical solution of the present application, and on the basis of the above embodiment, as shown in fig. 6, the above method may include the following steps:
S601, monitoring whether the first near field communication device triggers near field communication connection, if so, executing S602, otherwise, continuing monitoring.
S602, judging whether a second near field communication device which is historically paired with the first near field communication device is stored in the first near field communication device, if so, executing S603, otherwise, executing S604.
S603, the first near field communication device intermittently transmits a directional broadcast signal and a non-directional broadcast signal to the surroundings, and the transmission power of the non-directional broadcast signal gradually increases.
S604, the first near field communication device transmits a plurality of sets of non-directional broadcast signals to the surroundings, and the transmission power of the non-directional broadcast signals gradually increases.
S605, the first near field communication device judges whether the connection of the existing device is successful, if yes, S606 is executed, otherwise S607 is executed.
S606, the first short-range communication apparatus stops transmitting the communication broadcast signal.
S607, the first near field communication device detects whether the duration of sending the communication broadcast signal is greater than the second preset duration, or the first near field communication device detects whether the transmission power of the directional broadcast signal and the transmission power of the non-directional broadcast signal are both equal to the maximum transmission power of the first near field communication device when the first near field communication device transmits the signal, if yes, S606 is executed, otherwise S608 is executed.
S608, the first short-range communication apparatus continues to transmit the directional broadcast signal and the non-directional broadcast signal to the surroundings.
The implementation principle of the S601-S608 is the same as that of the schemes described in the above embodiments, and the technical effects achieved are the same, so that the embodiment is not described here again.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a near field communication device connection apparatus for implementing the above related near field communication device connection method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device for connecting a short-range communication apparatus provided below may be referred to the limitation of the method for connecting a short-range communication apparatus hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 7, there is provided a near field communication device connection apparatus including: a monitoring module 11 and a transmitting module 12, wherein:
a monitoring module 11, configured to monitor whether the first near field communication device triggers a near field communication connection;
a transmitting module 12, configured to transmit a plurality of sets of communication broadcast signals to the surroundings if the first near field communication device triggers a near field communication connection; each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmitting power of the directional broadcast signal in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signal, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one.
Optionally, the transmission power of the directional broadcast signal from the m+1th group is equal to the transmission power of the non-directional broadcast signal.
In another embodiment, in each two adjacent sets of the communication broadcast signals, the transmission power of the non-directional broadcast signal in the communication broadcast signal in the latter set is greater than the transmission power of the non-directional broadcast signal in the communication broadcast signal in the former set.
In another embodiment, another apparatus for connecting a near field communication device is provided, where the transmitting module 12 includes:
and the first sending unit is used for sending a plurality of groups of communication broadcast signals to the surrounding if the first near-field communication device stores a second near-field communication device which is historically paired with the first near-field communication device, wherein the directional broadcast signals in the groups of communication broadcast signals correspond to the second near-field communication device.
Optionally, the sending module 12 further includes:
and the second sending unit is used for sending a plurality of groups of non-directional broadcast signals to the surrounding if the first short-range communication equipment does not store the second short-range communication equipment.
In another embodiment, there is provided another near field communication device connection apparatus, wherein the first near field communication device stores therein at least two of the second near field communication devices, and the first transmitting unit includes:
A priority determining subunit configured to determine a connection priority of each of the second near field communication devices;
and a transmitting subunit configured to transmit a plurality of groups of communication broadcast signals to the surroundings according to connection priorities of the second near field communication devices.
Optionally, the priority determining subunit is specifically configured to determine the connection priority of each second near-field communication device according to the historical pairing time of each second near-field communication device and the first near-field communication device.
In another embodiment, another apparatus for connecting a near field communication device is provided, where the transmitting module 12 includes:
and the third sending unit is used for sending every two adjacent groups of communication broadcast signals at intervals of a first preset time length.
In another embodiment, the sending module 12 includes:
and a fourth transmitting unit for sequentially transmitting the directional broadcast signal and the non-directional broadcast signal among the respective sets of communication broadcast signals to the surroundings.
In another embodiment, another short-range communication device connection apparatus is provided, and on the basis of the above embodiment, the transmission power of the directional broadcast signal in each group of communication broadcast signals is greater than the target transmission power threshold.
Optionally, the transmission power of the directional broadcast signal in each group of communication broadcast signals is the maximum transmission power of the first near field communication device when transmitting signals.
In another embodiment, another apparatus for connecting a near field communication device is provided, where, based on the above embodiment, the transmission power of the directional broadcast signal in the communication broadcast signal in the next group is greater than the transmission power of the directional broadcast signal in the communication broadcast signal in the previous group.
In another embodiment, another apparatus for connecting a near field communication device is provided, where the apparatus further includes:
and the transmission stopping module is used for stopping transmitting the communication broadcast signal if the signal transmission stopping condition is met.
Optionally, the signal stop transmission condition includes at least one of the following: the time length of the first near field communication device for sending the communication broadcast signal is longer than a second preset time length; the transmitting power of the directional broadcasting signal and the transmitting power of the non-directional broadcasting signal are equal to the maximum transmitting power of the first near field communication device when transmitting signals.
The above-described respective modules in the short-range communication apparatus connecting device may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or independent of the processor in the first near field communication device, or may be stored in software in a memory in the first near field communication device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a near field communication device is provided, and an internal structure diagram of the near field communication device may be as shown in fig. 8. The near field communication device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the near field communication device is configured to provide computing and control capabilities. The memory of the near field communication device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the near field communication device is used for exchanging information between the processor and the external device. The communication interface of the near field communication device is used for conducting wired or wireless communication with an external near field communication device, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of connecting a near field communication device. The display unit of the near field communication device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the near field communication device can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the near field communication device, and can also be an external keyboard, a touch pad or a mouse and the like.
In one possible implementation, the above-mentioned near field communication device may be a bluetooth headset, which may include all or part of the modules in the above-mentioned near field communication device, and may further include a transceiver, a speaker/speaker, a microphone, a battery, and the like. Wherein the transceiver is used for receiving and transmitting data; the loudspeaker/speaker is used for playing voice signals; the microphone is used for recording voice signals and converting the voice signals into electric signals; the battery is used for supplying power to each module in the Bluetooth headset.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation of the near field communication device to which the present application is applied, and that a specific near field communication device may include more or less components than those shown in the drawings, or may combine some components, or may have different arrangements of components.
Embodiments of the present application also provide a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the near field communication device connection method described above.
The embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the above-described near field communication device connection method.
It should be noted that, the data (including, but not limited to, data for analysis, stored data, displayed data, etc.) referred to in the present application are all data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (17)

1. A near field communication device connection method, comprising:
monitoring whether the first near field communication device triggers a near field communication connection;
if the first near field communication device triggers near field communication connection, the first near field communication device sends a plurality of groups of communication broadcast signals to the surrounding;
each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmission power of the directional broadcast signals in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signals, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one.
2. The method of claim 1, wherein the transmit power of the directional broadcast signal is equal to the transmit power of the non-directional broadcast signal from group m+1.
3. The method of claim 1, wherein the transmission power of the non-directional broadcast signal in the next group of communication broadcast signals is greater than the transmission power of the non-directional broadcast signal in the previous group of communication broadcast signals in each adjacent two groups of communication broadcast signals.
4. The method of claim 1, wherein the first near field communication device transmitting a plurality of sets of communication broadcast signals to the surroundings, comprising:
and if the first near field communication equipment stores a second near field communication equipment which is historically paired with the first near field communication equipment, the first near field communication equipment transmits a plurality of groups of communication broadcast signals to the surrounding, wherein the directional broadcast signals in each group of communication broadcast signals correspond to the second near field communication equipment.
5. The method according to claim 4, wherein the method further comprises:
and if the second near field communication device is not stored in the first near field communication device, the first near field communication device sends a plurality of groups of non-directional broadcast signals to the surrounding.
6. The method of claim 4, wherein the first near field communication device has at least two of the second near field communication devices stored therein, the first near field communication device transmitting a plurality of sets of the communication broadcast signals to the surroundings, comprising:
the first near field communication device determines the connection priority of each second near field communication device;
the first near field communication device transmits a plurality of sets of the communication broadcast signals to the surroundings according to the connection priority of each of the second near field communication devices.
7. The method of claim 6, wherein the first near field communication device determining a connection priority for each of the second near field communication devices comprises:
the first near field communication device determines connection priority of each second near field communication device according to historical pairing time of each second near field communication device and the first near field communication device.
8. The method of claim 1, wherein the first near field communication device transmitting a plurality of sets of communication broadcast signals to the surroundings, comprising:
and the first near field communication equipment transmits every two adjacent groups of communication broadcast signals at intervals of a first preset time length.
9. The method of claim 1, wherein the first near field communication device transmitting a plurality of sets of communication broadcast signals to the surroundings, comprising:
the first near field communication device sequentially transmits a directional broadcast signal and a non-directional broadcast signal in each group of communication broadcast signals to the surroundings.
10. The method of claim 1, wherein the transmit power of the directional broadcast signals in each of the sets of communication broadcast signals is greater than a target transmit power threshold.
11. The method of claim 10, wherein the transmit power of the directional broadcast signals in each set of the communication broadcast signals is a maximum transmit power of the first near field communication device when transmitting signals.
12. The method of claim 1, wherein the transmission power of the directional broadcast signal in the next group of communication broadcast signals is greater than the transmission power of the directional broadcast signal in the previous group of communication broadcast signals in each adjacent two groups of communication broadcast signals.
13. The method according to claim 1, wherein the method further comprises:
and if the signal stopping transmission condition is met, stopping transmitting the communication broadcasting signal by the first near-field communication device.
14. The method of claim 13, wherein the signal stop transmission condition comprises at least one of:
the time period of the first near field communication device for transmitting the communication broadcast signal is longer than a second preset time period;
the transmitting power of the directional broadcasting signal and the transmitting power of the non-directional broadcasting signal are equal to the maximum transmitting power of the first near field communication device when transmitting signals.
15. A short-range communication device connecting apparatus, characterized by comprising:
the monitoring module is used for monitoring whether the first short-range communication equipment triggers short-range communication connection or not;
the sending module is used for sending a plurality of groups of communication broadcast signals to the surrounding if the first near field communication equipment triggers near field communication connection; each group of communication broadcast signals comprises a directional broadcast signal and a non-directional broadcast signal, the transmission power of the directional broadcast signals in the first M groups of communication broadcast signals is larger than that of the non-directional broadcast signals, the directional broadcast signals are used for connecting paired equipment, and the non-directional broadcast signals are used for pairing and connecting unpaired equipment, wherein M is a positive integer larger than or equal to one.
16. A near field communication device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 14.
17. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 14.
CN202210280707.7A 2022-03-22 2022-03-22 Method, device, equipment, storage medium and product for connecting near field communication equipment Active CN114666744B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210280707.7A CN114666744B (en) 2022-03-22 2022-03-22 Method, device, equipment, storage medium and product for connecting near field communication equipment
PCT/CN2022/139602 WO2023179119A1 (en) 2022-03-22 2022-12-16 Near field communication device connection method and apparatus, device, storage medium, and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210280707.7A CN114666744B (en) 2022-03-22 2022-03-22 Method, device, equipment, storage medium and product for connecting near field communication equipment

Publications (2)

Publication Number Publication Date
CN114666744A CN114666744A (en) 2022-06-24
CN114666744B true CN114666744B (en) 2024-03-01

Family

ID=82031777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210280707.7A Active CN114666744B (en) 2022-03-22 2022-03-22 Method, device, equipment, storage medium and product for connecting near field communication equipment

Country Status (2)

Country Link
CN (1) CN114666744B (en)
WO (1) WO2023179119A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666744B (en) * 2022-03-22 2024-03-01 Oppo广东移动通信有限公司 Method, device, equipment, storage medium and product for connecting near field communication equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN109756878A (en) * 2018-12-26 2019-05-14 与德科技有限公司 A kind of Bluetooth pairing methods and equipment
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN110267358A (en) * 2019-07-01 2019-09-20 张洋 Establish the system, method and blue-tooth device of bluetooth connection
CN111464957A (en) * 2020-03-31 2020-07-28 Oppo(重庆)智能科技有限公司 Bluetooth audio transmission method and device, electronic equipment and storage medium
CN113366439A (en) * 2018-12-26 2021-09-07 荣耀终端有限公司 Method and device for connecting Bluetooth device
WO2021180083A1 (en) * 2020-03-10 2021-09-16 华为技术有限公司 Bluetooth communication system and wireless communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6856789B2 (en) * 2002-04-02 2005-02-15 Qualcomm Incorporated System and method for bluetooth paging with transmit power reduced according to channel metrics measured during inquiry process
US8879465B2 (en) * 2011-05-19 2014-11-04 Disney Enterprises, Inc. System and method for multi-power signaling device
CN103702391B (en) * 2013-11-30 2017-05-03 北京智谷睿拓技术服务有限公司 Broadcasting method, broadcasting equipment, scanning method and scanning equipment for wireless communication
CN113490218B (en) * 2021-06-08 2024-03-12 深圳Tcl新技术有限公司 Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium
CN114666744B (en) * 2022-03-22 2024-03-01 Oppo广东移动通信有限公司 Method, device, equipment, storage medium and product for connecting near field communication equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN109756878A (en) * 2018-12-26 2019-05-14 与德科技有限公司 A kind of Bluetooth pairing methods and equipment
CN113366439A (en) * 2018-12-26 2021-09-07 荣耀终端有限公司 Method and device for connecting Bluetooth device
CN109862549A (en) * 2019-03-28 2019-06-07 南昌黑鲨科技有限公司 Bluetooth connecting method, device, readable storage medium storing program for executing and mobile device
CN110267358A (en) * 2019-07-01 2019-09-20 张洋 Establish the system, method and blue-tooth device of bluetooth connection
WO2021180083A1 (en) * 2020-03-10 2021-09-16 华为技术有限公司 Bluetooth communication system and wireless communication system
CN111464957A (en) * 2020-03-31 2020-07-28 Oppo(重庆)智能科技有限公司 Bluetooth audio transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114666744A (en) 2022-06-24
WO2023179119A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
US11240874B2 (en) Data transmission method and device
US9697725B2 (en) Apparatus and method for providing battery information, and user terminal therefor
KR102194839B1 (en) Method of Controlling for Transmission Power and Device therefor
US11212854B2 (en) Method and device for indicating radio bearer
CN108391205B (en) Left and right channel switching method and device, readable storage medium and terminal
US10027301B2 (en) Method and electronic device for controlling volume
US9621986B2 (en) Electronic device, audio device, and method for supplying power to the audio device
US11284398B2 (en) Communication link configuration method and device
CN109788303A (en) Method for pushing, device, electronic equipment and the storage medium of live video stream
CN106488413A (en) Notification message based reminding method and mobile terminal
US11864190B2 (en) Method and apparatus for configuring and determining transmission block scheduling interval, and base station
WO2019047168A1 (en) Paging configuration method and device, paging message receiving method and device, and base station
CN114666744B (en) Method, device, equipment, storage medium and product for connecting near field communication equipment
US20230052215A1 (en) Communication method and apparatus
CN106951281B (en) Electronic equipment and mode switching method thereof
KR101955285B1 (en) Method for setting data transmitting and receiving period and apparatus for the same
CN113391743B (en) Display method and electronic equipment
US11394495B2 (en) Hybrid automatic repeat request (HARQ) feedback method and device and data receiving apparatus
KR20150068136A (en) Contents download method of electronic apparatus and electronic appparatus thereof
WO2019227318A1 (en) Physical downlink control channel monitoring configuration method and apparatus, physical downlink control channel monitoring method and apparatus, and base station
KR20150084192A (en) Apparatus And Method For Providing Sound
US20220304080A1 (en) Method and apparatus for processing data
CN116231815A (en) Method for controlling charging and electronic equipment
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
US11477591B2 (en) Audio data processing method, terminal device, and storage medium

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