[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113395685A - Bluetooth communication system and wireless communication system - Google Patents

Bluetooth communication system and wireless communication system Download PDF

Info

Publication number
CN113395685A
CN113395685A CN202010163215.0A CN202010163215A CN113395685A CN 113395685 A CN113395685 A CN 113395685A CN 202010163215 A CN202010163215 A CN 202010163215A CN 113395685 A CN113395685 A CN 113395685A
Authority
CN
China
Prior art keywords
response message
electronic device
screen projection
screen
determining
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
CN202010163215.0A
Other languages
Chinese (zh)
Other versions
CN113395685B (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 CN202010163215.0A priority Critical patent/CN113395685B/en
Priority to PCT/CN2021/079787 priority patent/WO2021180083A1/en
Publication of CN113395685A publication Critical patent/CN113395685A/en
Application granted granted Critical
Publication of CN113395685B publication Critical patent/CN113395685B/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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a Bluetooth communication system and a wireless communication system, wherein the Bluetooth communication system comprises a Bluetooth headset, a first electronic device and a second electronic device, and the Bluetooth headset is configured to: receiving a first operation of a user; in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device; receiving a first response message of the first electronic device; receiving a second response message of the second electronic equipment, determining that the first electronic equipment has priority based on the first response message and the second response message, and sending a first instruction to the first electronic equipment to enable the first electronic equipment to pop up a pairing prompt box; the first electronic device is configured to: and responding to the first instruction, and displaying a pairing prompt box containing information of the Bluetooth headset on the first interface. Therefore, the Bluetooth headset and the mobile phone can be paired quickly and without interference.

Description

Bluetooth communication system and wireless communication system
Technical Field
The present invention relates to the field of communications, and in particular, to a bluetooth communication system and a wireless communication system.
Background
With the development of wireless communication technology, the communication mode of more and more electronic devices is changed from wired communication to wireless communication. For example, the conventional wired communication mode is gradually changed to the wireless bluetooth communication mode in the earphones and the mobile phones which are closely related to the life of people.
In the process of pairing the bluetooth headset with the mobile phone and the like, a protocol according to a standard bluetooth standard is generally adopted, for example, a scanning paging process is performed, for example, a terminal device receives a command of a user to open a bluetooth switch in a center, and the terminal device scans surrounding proximity discovery broadcast. When the terminal device scans the proximity discovery broadcast sent by the Bluetooth headset, the terminal device pops up a pairing inquiry frame. And after the terminal equipment receives the first permission instruction of the user, the Bluetooth headset is successfully paired with the mobile phone.
Disclosure of Invention
In order to make the aforementioned and other objects of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
In a first aspect, a bluetooth communication system provided in accordance with some embodiments of the present application includes a bluetooth headset, a first electronic device, and a second electronic device, the bluetooth headset configured to: receiving a first operation of a user; in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device; receiving a first response message of the first electronic device; receiving a second response message of the second electronic equipment, determining that the first electronic equipment has priority based on the first response message and the second response message, and sending a first instruction to the first electronic equipment to enable the first electronic equipment to pop up a pairing prompt box; the first electronic device is configured to: and responding to the first instruction, and displaying a pairing prompt box containing information of the Bluetooth headset on the first interface.
In some embodiments, the first response message carries information of the first transmission power of the first electronic device; the second response message carries information of a second transmit power of the second electronic device, the bluetooth headset configured to: calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message; and calculating to obtain a second loss or a second distance based on the second transmission power and a second RSSI of the second response message, and determining that the first electronic device has priority based on the first loss and the second loss or determining that the first electronic device has priority based on the first distance and the second distance.
In some embodiments, when the first transmit power of the first electronic device is the same as the second transmit power of the second electronic device, the bluetooth headset is configured to: determining that the first electronic device has the priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In some embodiments, the first electronic device is configured to: the pairing prompt box comprises a user option and receives a second operation of the user for the user option; in response to the second operation, the Bluetooth headset is successfully paired with the first electronic device.
In some embodiments, the information of the bluetooth headset includes at least one of a name of the bluetooth headset and an icon of the bluetooth headset.
In some embodiments, the first instruction is sent to the first electronic device via a link or broadcast.
In a second aspect, a communication method of a bluetooth headset according to some embodiments of the present application includes the steps of: receiving a first operation of a user; in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device; receiving a first response message of the first electronic device; receiving a second response message of the second electronic device, determining that the first electronic device has the priority based on the first response message and the second response message, and sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box.
In some embodiments, the first response message carries information of the first transmission power of the first electronic device; the second response message carries information of second sending power of the second electronic device, the first electronic device is determined to have priority based on the first response message and the second response message, and the step of sending the first instruction to the first electronic device to enable the first electronic device to pop up the pairing prompt box includes: obtaining a first loss or a first distance based on the first transmission power and a first RSSI calculation of the first response message; obtaining a second loss or a second distance based on the second transmission power and a second RSSI calculation of the second response message, determining that the first electronic device has priority based on the first loss and the second loss, or determining that the first electronic device has priority based on the first distance and the second distance.
In some embodiments, when the first transmission power of the first electronic device is the same as the second transmission power of the second electronic device, determining that the first electronic device has the priority based on the first response message and the second response message, the step of transmitting a first instruction to the first electronic device to cause the first electronic device to pop up the pairing prompt box includes: determining that the first electronic device has the priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In some embodiments, the information of the bluetooth headset includes at least one of a name of the bluetooth headset and an icon of the bluetooth headset.
In a third aspect, a wireless communication system provided in accordance with some embodiments of the present application includes a handset, a first screen projecting device, and a second screen projecting device, the handset configured to: receiving a first operation of a user; responding to the first operation, and sending screen projection broadcast to a first screen projection device and a second screen projection device; receiving a first response message of a first screen projection device; receiving a second response message of the second screen projection equipment, determining that the first screen projection equipment has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box; the first screen-projecting device is configured to: and responding to the first instruction, and displaying a screen projection prompt box on the first interface.
In some embodiments, the first response message carries information of the first transmission power of the first screen projection device; the second response message carries information of second transmission power of the second screen projection device, and the mobile phone is configured to: calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message; and calculating to obtain a second loss or a second distance based on the second transmission power and a second RSSI of the second response message, and determining that the first screen projection device has the priority based on the first loss and the second loss or determining that the first screen projection device has the priority based on the first distance and the second distance.
In some embodiments, when the first transmit power of the first projection device is the same as the second transmit power of the second projection device, the handset is configured to: determining that the first screen casting device has priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In some embodiments, the first screen projecting device is configured to: the screen projection prompt box comprises user options and receives second operation of the user aiming at the user options; and responding to the second operation, and successfully projecting the screen of the mobile phone and the first screen projecting equipment.
In a fourth aspect, a communication method of a mobile phone according to some embodiments of the present application includes the following steps: receiving a first operation of a user; responding to the first operation, and sending screen projection broadcast to a first screen projection device and a second screen projection device; receiving a first response message of a first screen projection device; and receiving a second response message of the second screen projection equipment, determining that the first screen projection equipment has the priority based on the first response message and the second response message, and sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box.
In some embodiments, the first response message carries information of the first transmission power of the first screen projection device; the second response message carries information of second sending power of the second screen projection equipment, the first screen projection equipment is determined to have priority based on the first response message and the second response message, and the step of sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box comprises the following steps: calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message; and calculating to obtain a second loss or a second distance based on the second transmission power and a second RSSI of the second response message, and determining that the first screen projection device has the priority based on the first loss and the second loss or determining that the first screen projection device has the priority based on the first distance and the second distance.
In some embodiments, when the first transmission power of the first screen projection device is the same as the second transmission power of the second screen projection device, the first screen projection device is determined to have priority based on the first response message and the second response message, and the step of sending a first instruction to the first screen projection device to make the first screen projection device pop up the screen projection prompt box includes: determining that the first screen casting device has priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In a fifth aspect, a terminal provided in accordance with some embodiments of the present application includes: a processor, a memory and a touch screen, the memory and the touch screen being coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions which, when read from the memory by the processor, cause the terminal to perform the steps of: receiving a first operation of a user; in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device; receiving a first response message of the first electronic device; receiving a second response message of the second electronic device, determining that the first electronic device has the priority based on the first response message and the second response message, and sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box.
In some embodiments, the first response message carries information of the first transmission power of the first electronic device; the second response message carries information of second sending power of the second electronic device, the first electronic device is determined to have priority based on the first response message and the second response message, and the step of sending the first instruction to the first electronic device to enable the first electronic device to pop up the pairing prompt box includes: obtaining a first loss or a first distance based on the first transmission power and a first RSSI calculation of the first response message; obtaining a second loss or a second distance based on the second transmission power and a second RSSI calculation of the second response message, determining that the first electronic device has priority based on the first loss and the second loss, or determining that the first electronic device has priority based on the first distance and the second distance.
In some embodiments, when the first transmission power of the first electronic device is the same as the second transmission power of the second electronic device, determining that the first electronic device has the priority based on the first response message and the second response message, the step of transmitting a first instruction to the first electronic device to cause the first electronic device to pop up the pairing prompt box includes: determining that the first electronic device has the priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In a sixth aspect, a terminal provided in accordance with some embodiments of the present application includes: a processor, a memory and a touch screen, the memory and the touch screen being coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions which, when read from the memory by the processor, cause the terminal to perform the steps of: receiving a first operation of a user; responding to the first operation, and sending screen projection broadcast to a first screen projection device and a second screen projection device; receiving a first response message of a first screen projection device; and receiving a second response message of the second screen projection equipment, determining that the first screen projection equipment has the priority based on the first response message and the second response message, and sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box.
In some embodiments, the first response message carries information of the first transmission power of the first screen projection device; the second response message carries information of second sending power of the second screen projection equipment, the first screen projection equipment is determined to have priority based on the first response message and the second response message, and the step of sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box comprises the following steps: calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message; and calculating to obtain a second loss or a second distance based on the second transmission power and a second RSSI of the second response message, and determining that the screen projection electronic equipment has the priority based on the first loss and the second loss, or determining that the first screen projection equipment has the priority based on the first distance and the second distance.
In some embodiments, when the first transmission power of the first screen projection device is the same as the second transmission power of the second screen projection device, the first screen projection device is determined to have priority based on the first response message and the second response message, and the step of sending a first instruction to the first screen projection device to make the first screen projection device pop up the screen projection prompt box includes: determining that the first screen casting device has priority based on a first RSSI of the first response message and a second RSSI of the second response message.
In a seventh aspect, a method for determining a device as a service recipient for delivering a service during a predetermined service process is provided according to some embodiments of the present application, and is used in a system including a plurality of electronic devices, where the plurality of electronic devices includes an electronic device as a service initiator device and at least two electronic devices as service recipient devices, and the method includes the following steps: at least two service receiver devices respectively send service availability broadcasts for predetermined services; the method comprises the steps that service initiator equipment scans and receives service availability broadcast from at least two service receiver equipment; the service initiator equipment determines the priority of at least two service receiver equipments based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determines the final service receiver equipment based on the priority; and the service initiator device delivers the service to the final service receiver device.
In some embodiments, the step of determining, by the service initiator device, the priority of at least two service receiver devices based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, includes: the service initiator device respectively calculates the distance between the service initiator device and each service receiver device based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determines the priority of at least two service receiver devices according to the distance.
In some embodiments, the step of determining, by the service initiator device, the priority of at least two service receiver devices based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, includes: the service initiator device calculates the loss between the service initiator device and each service receiver device respectively based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determines the priority of at least two service receiver devices according to the loss.
In some embodiments, further comprising: and the service initiator equipment selects the service receiver equipment corresponding to the service availability broadcast with the minimum distance or loss in the priority.
In some embodiments, the service availability broadcast is a feedback broadcast based on a service-based broadcast sent by a service originator.
In some embodiments, the feedback broadcast carries a first distance or a first loss corresponding to a service-based broadcast sent by a service initiator device.
In some embodiments, the step of the service initiator device calculating a distance between the service initiator device and each service receiver device based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determining the priority of at least two service receiver devices according to the distances includes: the service initiator device calculates an average distance or average loss between the service initiator device and each service receiver device respectively based on the scanned second distance or second loss corresponding to each feedback broadcast and the corresponding first distance or first loss corresponding to the service-based broadcast, and determines the priority of at least two service receiver devices according to the average distance or average loss.
In some embodiments, the service-based broadcast transmitted by the service originator device includes: a proximity discovery broadcast and/or a screen projection broadcast.
In some embodiments, the step of delivering the service to the final service receiver device by the service initiator device includes: and the service initiator equipment delivers the service to the final service receiver equipment in a broadcasting mode or a link mode.
In a sixth aspect, an electronic device provided according to some embodiments of the present application, as a service initiator device, includes: the scanning receiving module is used for scanning and receiving service availability broadcast for the predetermined service from at least two service receiver devices; and the determining module is used for determining the priority of at least two pieces of service receiver equipment based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determining the final service receiver equipment based on the priority.
In a seventh aspect, a system of multiple electronic devices provided in accordance with some embodiments of the present application includes: the electronic device as a service initiator device and at least two electronic devices as service receiver devices, wherein the service initiator device comprises: the scanning receiving module is used for scanning and receiving service availability broadcast for the predetermined service from at least two service receiver devices; and the determining module is used for determining the priority of at least two pieces of service receiver equipment based on the scanned RSSI of the service availability broadcast and the information of the transmission power of the service receiver carried by the RSSI, and determining the final service receiver equipment based on the priority.
Drawings
The following description will explain embodiments of the present invention in further detail with reference to the accompanying drawings.
Fig. 1 is a first schematic diagram illustrating an application scenario of a bluetooth communication system according to some embodiments of the present application;
fig. 2 is a schematic diagram of a second application scenario of the bluetooth communication system according to some embodiments of the present application;
fig. 3 illustrates an example of a true wireless bluetooth headset and charging box provided in accordance with some embodiments of the present application;
fig. 4 illustrates a schematic diagram of a bluetooth headset provided in accordance with some embodiments of the present application;
fig. 5 shows a schematic diagram of a handset provided according to an embodiment of the application;
FIG. 6 is a schematic interface diagram illustrating a pop-up pairing prompt box provided in the embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an interface between a mobile phone and a Bluetooth headset successfully paired according to an embodiment of the present application;
FIG. 8 illustrates a flow chart of Bluetooth headset pairing with a handset, provided in accordance with some embodiments of the present application;
fig. 9 is a schematic diagram illustrating an application scenario of a wireless communication system according to some embodiments of the present application;
fig. 10 illustrates a first flowchart of screen projection between the mobile phone 100 and the screen projection device 300 according to some embodiments of the present application;
fig. 11 illustrates a second flowchart of screen projection between the mobile phone 100 and the screen projection device 300 according to some embodiments of the present application;
FIG. 12 is a block diagram of an apparatus according to an embodiment of the present application;
fig. 13 is a block diagram of a system on chip (SoC) according to an embodiment of the present application.
Detailed Description
It will be understood that, although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used merely for distinguishing and are not intended to indicate or imply relative importance. For example, a first feature may be termed a second feature, and, similarly, a second feature may be termed a first feature, without departing from the scope of example embodiments.
The terms "comprising," "having," and "including" are synonymous, unless the context dictates otherwise. The phrase "A/B" means "A or B". The phrase "A and/or B" means "(A), (B) or (A and B)".
As used herein, the term "module" may refer to, be a part of, or include: memory (shared, dedicated, or group) for executing one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), an electronic circuit and/or processor (shared, dedicated, or group), a combinational logic circuit, and/or other suitable components that provide the described functionality.
Fig. 1 is a first schematic diagram illustrating an application scenario of a bluetooth communication system according to some embodiments of the present application. The bluetooth communication system includes a bluetooth headset 200 (e.g., a true wireless bluetooth headset) and an electronic device such as a cell phone 100.
As shown in fig. 1, the electronic device may be 4 mobile phones 100, or at least two mobile phones 100, such as 2, 3, 5, and 10 mobile phones. In various embodiments of the present application, the mobile Phone 100 may be a smart Phone (e.g., an Android mobile Phone, an iOS mobile Phone, a Windows Phone mobile Phone, etc.). In still other embodiments, the electronic device may also be a personal digital assistant, a handheld PC, a wearable device (e.g., a smart watch, a smart bracelet, etc.), a portable media player, a handheld device, a navigation device, a server, a network device, a graphics device, a video game device, a laptop device, a virtual reality and/or augmented reality device, an internet of things device, an industrial control device, an in-vehicle infotainment device, a streaming media client device, an electronic book, a reading device, and other devices.
As shown in fig. 1, in the process of pairing the bluetooth headset 200 and the mobile phone 100, the mobile phone 100 starts the bluetooth function, and the bluetooth headset 200 may enter the pairing mode with the mobile phone 100 through an opening motion or a key operation (e.g., long pressing).
If the bluetooth headset 200 is not first paired with the mobile phone 100 to be paired, when the bluetooth headset 200 sends the proximity discovery BLE broadcast through the box opening action or the key operation, the connection action with the mobile phone 100 can be automatically realized. This is because the bluetooth headset 200 stores the bluetooth address of the cell phone 100 that was paired, and when the charging box of the bluetooth headset 200 is opened or the bluetooth function is turned on, the bluetooth headset 200 can automatically connect back to the cell phone 100 that was paired last time, thereby implementing a quick connection.
If the bluetooth headset 200 is first paired with the mobile phone 100 to be paired, after the bluetooth headset 200 is executed with an out-of-box action or a key operation, the bluetooth headset 200 sends a proximity discovery BLE broadcast, and after the mobile phone 100 receives the proximity discovery BLE broadcast from the bluetooth headset 200, the mobile phone 100 sends a feedback broadcast to the bluetooth headset 200, and based on the feedback broadcast, the bluetooth headset 200 sends a first instruction to the mobile phone 100, so that the mobile phone 100 pops up a pairing prompt box to inquire whether a user is paired with the bluetooth headset 200, and after the mobile phone 100 receives the user's permission for the pairing operation, the bluetooth headset and the mobile phone are successfully paired.
Typically, the proximity discovery broadcast transmitted from the bluetooth headset 200 is scanned and Received by the handset 100, and the Received Signal Strength Indication (RSSI) magnitude of the proximity discovery broadcast is determined by the handset 100. As one criterion for determining whether to pop up the pairing-up prompt box, the mobile phone 100 determines whether the RSSI of the proximity discovery broadcast exceeds a preset threshold. If the RSSI exceeds the preset threshold, the mobile phone 100 pops up a pairing prompt box to inquire whether the user is paired.
As shown in fig. 2, the RSSI values of the mobile phones a to D all exceed the preset threshold, and the mobile phones a to D all pop up the pairing prompt box. If the target user wants to pair with the target mobile phone C, the pop-up frame of the mobile phone A, B, D is likely to disturb the use of the 3 mobile phones, and the user experience is poor.
According to the bluetooth communication system provided by some embodiments of the present application, as shown in fig. 1, when there are 4 mobile phones a to D near the bluetooth headset 200, only the mobile phone C with the highest priority is triggered to pop out the pairing prompt box, so that the problem that a plurality of mobile phones 100 are triggered to pop out the pairing prompt boxes simultaneously in the pairing process of the mobile phone 100 and the bluetooth headset 200 to disturb a non-target user to use the mobile phone is solved, the bluetooth headset 200 and the mobile phone 100 are paired quickly and without interference, and the user experience is improved.
Fig. 3 illustrates an example of a real wireless bluetooth headset 200 and a charging box provided in accordance with some embodiments of the present application. The true wireless bluetooth headset 200, also called True Wireless Stereo (TWS) headset, completely eliminates the wire connection, including two headsets (e.g., a master headset and a slave headset). For example, when the mobile phone is used, the terminal device (also referred to as a transmitting device, e.g., the mobile phone 100) is wirelessly connected to the master earphone, and then the master earphone is wirelessly connected to the slave earphone through bluetooth, so that the real bluetooth left and right channels can be wirelessly separated for use. The left earphone and the right earphone of the TWS earphone can form a stereo system through Bluetooth, so that the performances of listening to songs, communicating and wearing are improved. In addition, either of the two earphones can also work alone, e.g., the master earphone can return to mono sound quality in case the master earphone is not connected to the slave earphone.
Because there is no physical connection between the left and right earphones of the TWS earphone, the TWS earphone is generally equipped with a charging box having both charging and storing functions. The box of charging can provide electric power and accomodate the function of depositing for wireless earphone, as long as put into the box bluetooth headset 200 when not having the electricity, the earphone can automatic disconnection, and the box of charging charges for the earphone.
The charging box is provided with a function key (not shown in the figure), when the lid of the charging box is opened or the function key is pressed for a preset time (for example, 2 seconds), the bluetooth headset 200 is in the pairing mode, and transmits BLE broadcast to the mobile phone 100 with the bluetooth function turned on.
Fig. 4 illustrates a schematic diagram of a bluetooth headset 200 provided in accordance with some embodiments of the present application. The bluetooth headset 200 may include a speaker unit 221, a control unit 222, a sound receiving unit 223, a Flexible Printed Circuit (FPC) 224, a battery 225, a charging unit 226, a sensing device (not shown in the figure), and the like. Therein, the bluetooth headset 200 further comprises an auxiliary sound receiving unit 227, and the auxiliary sound receiving unit 227 may be a microphone, for example, a microphone picking up background sound in a call scene.
The speaker unit 221 may be an electroacoustic transducer device for converting an audio electrical signal into a sound signal, and the speaker unit 221 may be a moving coil unit, a moving iron unit, or a coil-iron mixing unit. The speaker unit 221 may also be referred to as a horn or a speaker, and thus the moving coil unit, the moving iron unit, or the coil-iron mixing unit may also be referred to as a moving coil speaker (or called dynamic speaker), a moving iron speaker, or a coil-iron mixing speaker, respectively.
In one implementation, the speaker unit 221 is capable of receiving an audio signal, a control signal (e.g., a streaming media control signal) and the like transmitted by the terminal device, and may further transmit the received audio signal, the control signal and the like to another speaker unit, for example, when the speaker unit 221 is used as a master speaker, the audio signal, the control signal and the like received by the slave terminal device may be transmitted to a slave speaker, so that audio is synchronously played in two separate speakers, and a stereo effect is further achieved.
The control unit 222 may include a motherboard (or a main chip or a main control chip), a bluetooth chip, and the like, and may be used for charge management, signal transmission, and the like, and in some embodiments, the control unit 222 may also be used for active noise reduction. Alternatively, the control unit 222 may be a microprocessor.
A sound receiving unit 223, the sound receiving unit 223 including a Microphone (MIC), a waterproof and dustproof film, and the like, which are fixed to a Flexible Printed Circuit (FPC) 224.
The positive pole and the negative pole of the battery 225 are respectively and electrically connected with the flexible circuit board 224, and the charging of the battery 225 and the power supply of the battery 225 to the bluetooth headset 200 can be realized through the circuit in the flexible circuit board 224. The cavity formed by the earphone handle can be also provided with an antenna for receiving and transmitting signals.
The charging unit 226 is used to charge the battery 225, and has one end connected to the flexible circuit board 224 and the other end outside the earphone that can contact with a metal contact inside the charging box to form a charging loop. When the battery 225 is charged, the charging contacts of the earphone are in contact with the contacts in the charging box to form an electrical connection, and the charging current can flow from the positive charging contact to the positive electrode of the battery 225, then from the negative electrode of the battery 225 to the negative charging contact through the circuit on the flexible circuit board 224, and finally returns to the charging box.
In some embodiments, the sensing devices included in the bluetooth headset 200 may include optical sensors, acceleration sensors, distance sensors, bone conduction sensors, etc., which may be disposed on the flexible circuit board 224 for sensing or receiving external signals, etc.
In some embodiments, the bluetooth headset 200 further includes an auxiliary sound receiving unit 227, wherein the auxiliary sound receiving unit 227 may be another microphone, thereby forming a dual microphone with the sound receiving unit 223, wherein the sound receiving unit 223 may be a microphone used for a normal user call for collecting human voice (i.e. for picking up voice of the call), and the auxiliary sound receiving unit 227 may be a microphone for picking up background sound with a background noise collecting function for collecting ambient noise. The auxiliary sound receiving unit 227 is remote from the sound receiving unit 223. The design of the double microphones can effectively resist the ambient noise interference around the earphone, and the definition of normal conversation is greatly improved.
Fig. 5 shows a schematic diagram of the mobile phone 100 provided according to an embodiment of the present application. As shown in fig. 5, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 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.
In some embodiments, processor 110 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, and/or a Subscriber Identity Module (SIM) interface.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the 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 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 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 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 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 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
Referring to fig. 1 in conjunction with fig. 6, a bluetooth communication system according to an embodiment of the present application will be described.
After the setting interface of the mobile phone 100 receives the operation of opening the bluetooth function by the user, the bluetooth pairing function of the mobile phone 100 is activated, for example, as shown in fig. 6, the identifier 10 of the bluetooth is displayed on the upper right corner of the mobile phone interface, and the bluetooth module of the mobile phone 100 is in the background scanning state. When the bluetooth module function of the mobile phone 100 is turned on, the bluetooth module of the mobile phone 100 can perform background scanning regardless of whether the mobile phone is in a screen-locked state or a screen-highlighted state.
When the charging box in which the bluetooth headset 200 is placed is opened (this state is shown in fig. 3), or the function key on the charging box is pressed for a preset time length (for example, 2 seconds), the charging box indicator light (for example, a blue light) flashes, and at this time, the bluetooth headset 200 enters a pairing state and sends a proximity discovery BLE broadcast, where the BLE broadcast carries information such as the MAC address of the bluetooth headset 200, the identifier of the headset manufacturer, and the transmission power.
As shown in fig. 1, after 4 handsets a to D located near the bluetooth headset 200 respectively scan and receive the proximity discovery BLE broadcast from the bluetooth headset 200, the handsets a to D respectively transmit a feedback broadcast to the bluetooth headset 200 immediately. The feedback broadcast carries information corresponding to the transmit power, signal strength, MAC address, handset manufacturer identification, etc. of each handset 100.
The bluetooth headset 200 receives the corresponding feedback broadcasts from the mobile phones a to D, and calculates and obtains the corresponding loss or distance based on the RSSI of the feedback broadcasts and the information corresponding to the transmission power of each mobile phone carried by the RSSI. Further, the bluetooth headset 200 determines, based on the loss or the distance, that the mobile phone with the highest priority among the mobile phones a to D, for example, the mobile phone C has the highest priority, then, as shown in fig. 6, the bluetooth headset 200 sends a first instruction to the mobile phone C, so that the mobile phone C displays the pairing prompt box 20 containing the information of the bluetooth headset 200. In some embodiments, the first instruction may be a private command of bluetooth, and the mobile phone 100 may pop up the pairing prompt box 20 after receiving the instruction.
The information of the bluetooth headset 200 may be at least one of a name of the bluetooth headset 200 and an icon of the bluetooth headset 200. That is, the pairing prompt box 20 may display the name of the bluetooth headset 200, for example, as shown in fig. 6, the name of the bluetooth headset 200 is an initial name "HUAWEI freeballs 3", and the name of the bluetooth headset 200 may also be a user-defined name, for example, "Zhang San's freeballs 3", so that the user can quickly identify whether the bluetooth headset 200 is the bluetooth headset 200 to be paired.
The pairing prompt box 20 may further display an icon of the bluetooth headset 200, which may be a physical diagram of the bluetooth headset 200, so that a user can quickly and accurately identify whether the bluetooth headset 200 is a bluetooth headset 200 to be paired. For example, if the bluetooth headset 200 is white, the pairing prompt box 20 can display an icon of the bluetooth headset 200 that is white and completely consistent with its appearance; if the bluetooth headset 200 is red, the pairing prompt box 20 can display an icon of the bluetooth headset 200 that is red and completely identical to its appearance. Furthermore, the user can quickly and accurately identify whether the bluetooth headset 200 is the bluetooth headset 200 to be paired, so as to perform the subsequent operations, for example, as shown in fig. 6, the option operation of "agree 21" or "ignore 22" is performed in the pairing prompt box 20.
The pairing prompt box 20 can also display information including the name of the bluetooth headset 200 and the icon of the bluetooth headset 200 at the same time, so that the user can more quickly and accurately identify whether the bluetooth headset 200 is the bluetooth headset 200 to be paired.
The pairing prompt box 20 can also display the electric quantity of the left earphone (L), the right earphone (R) and the charging box respectively, so that the user can clearly know the electric quantity condition of the two earphones and the charging box and charge the earphones and the charging box in time.
As shown in fig. 6, if the user clicks the option "agree 21" on the interface of the pairing prompt box 20 popped up by the mobile phone C, the bluetooth headset 200 and the mobile phone 100 establish a connection according to the bluetooth protocol, and the mobile phone C and the bluetooth headset 200 are successfully paired. As shown in fig. 7, the top right hand corner of the interface of handset C displays a headset symbol 30. The mobile phone C enters the next interface. The user can perform some shortcut operations and active noise reduction operations based on the next interface.
If the user clicks the "ignore 22" option on the interface of the pairing prompt box 20 popped up by the mobile phone C, the mobile phone C and the bluetooth headset 200 are not successfully paired.
In some embodiments, the pairing prompt box 20 of the cell phone 100 may pop up when the cell phone C is in a locked or bright screen state. When the mobile phone 100 is in the screen-locked state, the user can perform an option operation such as "agree 21" or "ignore 22" to the mobile phone through the pop-up pairing prompting box 20. After the user clicks the "agree" option, if the mobile phone 100 has no password, the mobile phone 100 may be automatically unlocked, so that the mobile phone 100 is in a bright screen state, which is convenient for the user to perform operations such as listening to songs or playing tv series; if the mobile phone has the password, the mobile phone 100 requires the user to perform an unlocking operation, so as to ensure the privacy and security of the mobile phone 100.
In other embodiments, the pairing prompt box 20 of the mobile phone 100 can be popped up only when the mobile phone 100 is in a bright screen state, so that the situation that the mobile phone 100 pops up the pairing prompt box 20 due to misoperation of the bluetooth headset 200 is avoided, and unnecessary operations of a user are increased.
In some embodiments, the pairing prompt box 20 of the mobile phone 100 may pop up during the service of the mobile phone, for example, the user has powered on the video on the mobile phone 100, and then the user wants to wear the bluetooth headset 200 to watch the remaining video, the user may notify the target mobile phone C of the pop-up pairing prompt box 20 by opening the charging box of the bluetooth headset 200 or pressing a function key on the charging box for a long time (for example, 2 seconds), as shown in fig. 1, and then the user may establish with the bluetooth headset 200 through the operation option shown in fig. 6, and the mobile phone 100 switches the video sound from the power amplifier to the bluetooth headset 200.
In other embodiments, the pairing prompt box 20 of the handset 100 may not pop up during the course of the handset conducting a transaction, such as watching a video or playing a game, to disturb the intended user's use of the handset.
In still other embodiments, the pairing prompt box 20 of the mobile phone 100 may be set by the user on the mobile phone so that the user may pop up when performing certain services, such as watching video, and not pop up when performing other services, such as watching an e-book, playing a game, etc., which are inconvenient to be disturbed.
In some other embodiments, after determining the priority of the mobile phone 100, for example, the priority is C, A, B, D in high-low order, since the bluetooth headset 200 has no display device, the priority list may be sent to any mobile phone, for example, to the mobile phone C, the priority list may be displayed on the mobile phone C, based on a selection operation of the user for the list, for example, selecting a mobile phone in the list, after receiving the instruction, the bluetooth headset sends a pop-up instruction to the mobile phone a, so that the mobile phone a displays the pairing prompt box 20, and receives a pairing operation of the mobile phone a by the user, and the mobile phone a and the bluetooth headset 200 establish a connection with each other. Instead of directly sending the pop-up instruction to the mobile phone with the highest priority after determining the priority of the mobile phone 100, the pairing prompt box 20 is popped up, and thus the controllability of the user is increased.
In some embodiments, the prompt box may be automatically closed or hidden when the mobile phone C does not receive the input operation from the user within a predetermined time, for example, 5 s.
In some embodiments, the communication between the handset 100 and the bluetooth headset 200 may be via a predetermined private frequency, such as bluetooth 5 ghz frequency, so that the handset 100 and the bluetooth headset 200 of the same manufacturer can communicate with each other.
Fig. 8 illustrates a flow chart of pairing a bluetooth headset 200 with a cell phone C according to some embodiments of the present application. The mobile phones A to D have started the Bluetooth background scanning function. The user enters the bluetooth headset 200 into the pairing mode by triggering an action. The triggering action may be by opening the charging box of the bluetooth headset 200, or by long pressing (e.g., 2 seconds) a function key located on the charging box.
The bluetooth headset 200 transmits a proximity discovery BLE broadcast carrying information such as the transmit power, MAC address, headset manufacturer's identifier, etc. of the bluetooth headset 200 and scans.
When the handsets a to D scan and receive the proximity discovery broadcast from the bluetooth headset 200, they immediately send feedback broadcasts a to D to the bluetooth headset 200, respectively. The feedback broadcast carries information corresponding to the transmission power of each handset, etc. That is, the feedback broadcast a carries information such as the transmission power of the mobile phone a, the feedback broadcast B carries information such as the transmission power of the mobile phone B, the feedback broadcast C carries information such as the transmission power of the mobile phone C, and the feedback broadcast D carries information such as the transmission power of the mobile phone D.
The bluetooth headset 200 can measure the RSSI of the feedback broadcast. The bluetooth headset 200 calculates and acquires the corresponding loss or distance based on the RSSI of the feedback broadcast and the information carried by the RSSI corresponding to the transmission power of each handset. That is, the bluetooth headset 200 calculates the acquisition loss a or the distance a based on the RSSI of the feedback broadcast a and the transmission power of the mobile phone a carried by the feedback broadcast a, the bluetooth headset 200 calculates the acquisition loss B or the distance B based on the RSSI of the feedback broadcast B and the transmission power of the mobile phone B carried by the feedback broadcast B, the bluetooth headset 200 calculates the acquisition loss C or the distance C based on the RSSI of the feedback broadcast C and the transmission power of the mobile phone C carried by the feedback broadcast C, and the bluetooth headset 200 calculates the acquisition loss D or the distance D based on the RSSI of the feedback broadcast D and the transmission power of the mobile phone D carried by the feedback broadcast D.
Further, the bluetooth headset 200 determines, based on the losses a to D or the distances a to D, the mobile phone with the highest priority among the mobile phones a to D, for example, the mobile phone C with the highest priority, and sends a first instruction to the mobile phone C to pop up a pairing prompt box.
In some embodiments, the bluetooth headset 200 may prioritize the 4 handsets a-D based on the loss. The smaller the loss, the higher the priority. The specific calculation is as follows:
loss calculation for transmitting feedback broadcast to bluetooth headset 200 by mobile phone 100
Loss-the RSSI of the bluetooth headset 200 receiving the feedback broadcast from the handset-the transmit power of the handset 100. This loss calculation is done at the receiving end, i.e. the bluetooth headset 200.
That is, when the transmission power of each of the handsets a to D is consistent, the loss between the bluetooth headset 200 and the handset 100 can be directly determined by the RSSI of the feedback broadcast received by the bluetooth headset 200, that is, the higher the RSSI is, the smaller the loss is represented, and the higher the priority is.
In other embodiments, the feedback broadcast may also carry information of the first loss, which is calculated based on the RSSI of the proximity discovery broadcast and the transmission power of the bluetooth headset 200 carried by the proximity discovery broadcast. The specific calculation is as follows:
loss calculation for bluetooth headset 200 sending proximity discovery broadcasts to handset 100
The first loss-the RSSI of the proximity discovery broadcast received by the handset 100 from the bluetooth headset 200-is done at the receiving end, i.e., the handset 100.
After the mobile phone 100 calculates and obtains the first loss, the mobile phone 100 can fill the first loss into the field of the feedback broadcast when sending the feedback broadcast to the bluetooth headset 200, so that the bluetooth mobile phone 100 can obtain the first loss.
The second loss is calculated based on the RSSI of the feedback broadcast and the transmit power of the handset 100 carried by the feedback broadcast. The specific calculation is as follows:
loss calculation for transmitting feedback broadcast to bluetooth headset 200 by mobile phone 100
Second loss-the transmission power of the handset 100-the RSSI at which the bluetooth headset 200 received the feedback broadcast from the handset
After the bluetooth headset 200 acquires the first loss and the second loss, the first loss and the second loss are averaged to acquire a final loss average value, and the priorities of the mobile phones a to D are determined according to the loss average value, so that the accuracy of loss calculation can be improved, and the accuracy of determining the priorities of the mobile phones can be improved.
In other embodiments, the bluetooth headset 200 may prioritize the 4 handsets a-D based on distance. The smaller the distance, the higher the priority. The specific calculation is as follows:
regarding the calculation of the distance, the distance d (km) and the loss lfs (db) satisfy the following relation, taking the wireless communication distance when the free space is propagated as an example.
Lfs (db) ═ 32.44+20lgd (km) +20lgf (mhz), where f is the operating frequency.
As can be seen from the above formula, the smaller the loss between the mobile phone 100 and the bluetooth headset 200, the smaller the distance between the mobile phone 100 and the bluetooth headset 200, and the higher the priority.
For the specific calculation, the loss is obtained first, and then the distance is calculated according to the relation between the loss and the distance, which is not described herein again.
After the bluetooth headset 200 determines the priorities of the mobile phones a to D, a pop-up frame first instruction is sent to the mobile phone C with the highest priority, the mobile phone C pops up the pairing prompt frame 20, and after the pairing request is permitted by the user, the bluetooth headset is successfully paired.
The bluetooth headset 200 may send the first pop frame instruction to the mobile phone C in a broadcast manner or a link manner.
And delivering the service in a broadcasting mode. The bluetooth headset 200 broadcasts a payload carrying a handset identifier such as a MAC address or ID information thereof, and the handset C with the highest priority analyzes the identifier after receiving the broadcast and matches the identifier with its own identification information. If so, receiving the service. If not, the service is not received.
And delivering the service in a link mode. The bluetooth headset 200 is paired with the mobile phone 100, and the bluetooth headset 200 informs the mobile phone to establish 100 pairing service through a dedicated signaling.
Fig. 9 is a schematic diagram illustrating an application scenario of a wireless communication system according to some embodiments of the present application. The wireless communication system includes a screen projection device 300 and an electronic device such as a cell phone 100.
As shown in fig. 9, the screen projection device 300 may be a 2-panel and 2-tv. In other embodiments, the screen projection devices 300 may be all tablet computers, or all at least 2 screen projection devices 300 such as televisions. In various embodiments of the present application, the mobile Phone 100 may be a smart Phone (e.g., an Android mobile Phone, an iOS mobile Phone, a Windows Phone mobile Phone, etc.). In still other embodiments, the electronic device may also be a personal digital assistant, a handheld PC, a wearable device (e.g., a smart watch, a smart bracelet, etc.), a portable media player, a handheld device, a navigation device, a network device, a graphics device, a video game device, a virtual reality and/or augmented reality device, an in-vehicle infotainment device, a streaming media client device, an electronic book, a reading device, and others.
As shown in fig. 9, in the process that the mobile phone 100 and the screen projection device 300 want to project a screen, the screen projection device 300 starts the background wireless scanning function, and the mobile phone 100 may trigger a screen projection service through a specific operation such as a mobile phone menu or a gesture.
When the mobile phone 100 is operated by a key or a gesture, the mobile phone 100 sends a screen-casting broadcast. After receiving the screen projection broadcast from the mobile phone 100, the screen projection device 300 immediately sends a feedback broadcast to the mobile phone 100, based on the feedback broadcast, the mobile phone 100 instructs the screen projection device 300 to pop up a screen projection prompt box to inquire whether the user uses the screen projection device 300 to project a screen, and after the screen projection device 300 authenticates, the screen projection device 300 and the mobile phone 100 successfully project the screen.
Generally, after the screen projection device 300 scans and receives the screen projection broadcast transmitted from the mobile phone 100, the screen projection device 300 immediately transmits a feedback broadcast to the mobile phone 100, and after the mobile phone receives the feedback broadcast from the screen projection device 300, the entire list of the screen projection devices 300 for the user to select is displayed on the interface. Since the lists are unordered, the user needs to identify the name of the screen projecting device 300 to be projected in all the lists, and click the name of the screen projecting device 300 to deliver the screen projecting service. Since the list of screen-projecting devices 300 is unordered, the difficulty for the user to identify the devices increases. For example, if the user has two televisions at home, two screen projection devices 300 with the same name are displayed on the list, which is difficult for the user to recognize and poor in user experience.
According to the wireless communication system provided by some embodiments of the present application, as shown in fig. 9, when there are 4 screen projection devices 300 (panel a, panel B, television C, and television D) near the mobile phone 100, only the television C with the highest priority is triggered to pop up the screen projection prompt box, so that the problem that it is difficult to identify a target screen projection device 300 during the screen projection process of the screen projection devices 300 and the mobile phone 100 is solved, the mobile phone 100 and the screen projection device 300 can project a screen quickly and without interference, and the user experience is improved.
Fig. 10 shows a first flowchart of screen projection between the mobile phone 100 and the screen projection device 300 according to some embodiments of the present application.
It is determined that the cell phone 100 is in the same wireless network state as the tablet A, B and the television C, D. When receiving a screen-casting service triggered by a user through a specific operation such as a menu or a gesture, the mobile phone 100 sends a screen-casting broadcast and scans the screen-casting broadcast. The screen-cast broadcast carries information corresponding to the transmission power of the handset 100, etc.
Tablet A, B and television C, D have turned on background scanning. The tablet A, B and television C, D send feedback broadcasts to the cell phone 100 immediately after scanning and receiving the on-screen broadcasts from the cell phone 100. The feedback broadcast carries information corresponding to the transmission power of each screen projection device and the like. Namely, the feedback broadcast a carries information such as the transmitting power of the panel a; the feedback broadcast B carries information such as the transmitting power of the panel B; the feedback broadcast C carries information such as the transmitting power of the television C; the feedback broadcast D carries information such as the transmission power of the television D.
The handset 100 scans and receives feedback broadcasts from the tablet A, B and the television C, D, respectively. The handset 100 can measure the RSSI of the respective feedback broadcasts of the tablet A, B and the tv C, D.
The mobile phone 100 calculates and obtains the corresponding loss or distance based on the RSSI of the feedback broadcast and the information carried by the RSSI corresponding to the transmission power of each screen projection device 300. That is, the mobile phone 100 calculates the acquisition loss a or the distance a based on the RSSI of the feedback broadcast a and the transmission power of the panel a carried by the feedback broadcast a, the mobile phone 100 calculates the acquisition loss B or the distance B based on the RSSI of the feedback broadcast B and the transmission power of the panel B carried by the feedback broadcast B, the mobile phone 100 calculates the acquisition loss C or the distance C based on the RSSI of the feedback broadcast C and the transmission power of the television C carried by the feedback broadcast C, and the mobile phone 100 calculates the acquisition loss D or the distance D based on the RSSI of the feedback broadcast D and the transmission power of the television D carried by the feedback broadcast D.
Further, the bluetooth headset 200 determines, based on the losses a to D or the distances a to D, the screen projecting device with the highest priority among the screen projecting devices a to D, for example, the television C has the highest priority, and sends a first instruction to the television C to pop up a screen projecting prompt box.
For specific loss and distance calculation, reference is made to the description of the bluetooth communication system.
When the television C pops up the screen projection prompt box and the screen projection request is permitted by the user, the mobile phone 100 and the screen projection device 300 successfully project the screen.
The mobile phone 100 may send the first instruction of the pop frame to the mobile phone C in a broadcast manner or a link manner.
And delivering the service in a broadcasting mode. The mobile phone 100 broadcasts a payload carrying a mobile phone identifier such as a MAC address or ID information thereof, and after receiving the broadcast, the tv C with the highest priority parses the identifier and matches the identifier with its own identification information. If so, receiving the service. If not, the service is not received.
And delivering the service in a link mode. The mobile phone 100 and the screen projection device 300 project a screen, and the mobile phone 100 notifies the screen projection device 300 to establish a screen projection service through a special signaling.
In other embodiments, the handset 10 may also provide the user with a priority list of screen projection devices 300 based on distance, and the user determines that the final screen projection action of one screen projection device 300 occurs.
Therefore, the mobile phone 100 can automatically select the target screen projection device C from the plurality of screen projection devices 300 according to the priority, and the user experience is good. Alternatively, the mobile phone 100 may provide the user with the priority list of the screen projection devices 300 based on the distance, so that the user can more intuitively determine each screen projection device 300, and even if the list includes two screen projection devices with the same name, the user can quickly identify the target screen projection device 300.
Fig. 11 shows a second flowchart of screen projection between the mobile phone 100 and the screen projection device 300 according to some embodiments of the present application.
The mobile phone has started wireless background scanning. The screen projection device 300 transmits the broadcast when it is allowed to receive the service. The permission of receiving the service may be understood as that the screen projection device 300 is in a state of waiting for screen projection and is not in a service proceeding state of playing a video or a game.
The broadcast carries information corresponding to the transmission power of each screen projection device, etc. Namely, the feedback broadcast a carries information such as the transmitting power of the panel a; the feedback broadcast B carries information such as the transmitting power of the panel B; the feedback broadcast C carries information such as the transmitting power of the television C; the feedback broadcast D carries information such as the transmission power of the television D.
The mobile phone 100 scans and receives broadcasts from the various screen projection devices 300 (the tablet A, B and the television C, D), the mobile phone 100 can measure the RSSI of the respective feedback broadcasts of the tablet A, B and the television C, D, and the mobile phone 100 calculates and obtains the corresponding loss or distance based on the RSSI of the broadcasts and the information carried by the RSSI and corresponding to the transmission power of the various screen projection devices. That is, the mobile phone 100 calculates the acquisition loss a or the distance a based on the RSSI of the broadcast a and the transmission power of the panel a carried by the broadcast a, the mobile phone 100 calculates the acquisition loss B or the distance B based on the RSSI of the broadcast B and the transmission power of the panel B carried by the broadcast B, the mobile phone 100 calculates the acquisition loss C or the distance C based on the RSSI of the broadcast C and the transmission power of the television C carried by the broadcast C, and the mobile phone 100 calculates the acquisition loss D or the distance D based on the RSSI of the broadcast D and the transmission power of the television D carried by the broadcast D.
Further, the bluetooth headset 200 determines, based on the losses a to D or the distances a to D, the screen projecting device with the highest priority among the screen projecting devices a to D, for example, the television C has the highest priority, and sends a first instruction to the television C to pop up a screen projecting prompt box.
For specific loss and distance calculation, reference is made to the description of the bluetooth communication system.
When the television C pops up the screen projection prompt box and the screen projection request is permitted by the user, the mobile phone 100 and the screen projection device 300 successfully project the screen.
The mobile phone 100 may send the first pop-up instruction to the mobile phone C in a broadcast manner or a link manner.
And delivering the service in a broadcasting mode. The mobile phone 100 broadcasts a payload carrying a mobile phone identifier such as a MAC address or ID information thereof, and after receiving the broadcast, the tv C with the highest priority parses the identifier and matches the identifier with its own identification information. If so, receiving the service. If not, the service is not received.
And delivering the service in a link mode. The mobile phone 100 and the screen projection device 300 project a screen, and the mobile phone 100 notifies the screen projection device 300 to establish a screen projection service through a special signaling.
In other embodiments, the handset 10 may also provide the user with a priority list of screen projection devices 300 according to distance, and the user determines that the final screen projection action of one screen projection device 300 occurs.
Therefore, the mobile phone 100 can automatically select the target screen projection device C from the plurality of screen projection devices 300 according to the priority, and the user experience is good. Alternatively, the mobile phone 100 may provide the user with the priority list of the screen projection devices 300 based on the distance, so that the user can more intuitively determine each screen projection device 300, and even if the list includes two screen projection devices with the same name, the user can quickly identify the target screen projection device 300.
Besides the pairing process of the bluetooth headset 200 and the mobile phone 100 and the screen projection process of the mobile phone 100 and the screen projection device 300, the present application can also be applied to a scenario of file transmission between electronic devices.
Referring to fig. 12, shown is a block diagram of a system 1400 in accordance with one embodiment of the present application. Fig. 12 illustrates an example system 1400 in accordance with various embodiments. In one embodiment, system 1400 may include one or more processors 1404, system control logic 1408 coupled to at least one of processors 1404, system memory 1412 coupled to system control logic 1408, non-volatile memory (NVM)1416 coupled to system control logic 1408, and a network interface 1420 coupled to system control logic 1408.
In some embodiments, processor 1404 may include one or more single-core or multi-core processors. In some embodiments, processor 1404 may include any combination of general-purpose processors and dedicated processors (e.g., graphics processors, application processors, baseband processors, etc.). In embodiments where system 1400 employs an eNB (enhanced Node B) 101 or RAN (Radio Access Network) controller 102, processor 1404 may be configured to perform various consistent embodiments, e.g., as one or more of the embodiments shown in fig. 8, 11, and 11.
In some embodiments, system control logic 1408 may include any suitable interface controllers to provide any suitable interface to at least one of processors 1404 and/or to any suitable device or component in communication with system control logic 1408.
In some embodiments, system control logic 1408 may include one or more memory controllers to provide an interface to system memory 1412. System memory 1412 may be used to load and store data and/or first instructions. Memory 1412 of system 1400 may include any suitable volatile memory, such as suitable Dynamic Random Access Memory (DRAM), in some embodiments.
The NVM/memory 1416 may include one or more tangible, non-transitory computer-readable media for storing data and/or first instructions. In some embodiments, the NVM/memory 1416 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device such as at least one of a HDD (Hard Disk Drive), CD (Compact Disc) Drive, DVD (Digital Versatile Disc) Drive.
The NVM/memory 1416 may comprise a portion of the storage resources on the device on which the system 1400 is installed, or it may be accessible by, but not necessarily a part of, the device. For example, the NVM/storage 1416 may be accessible over a network via the network interface 1420.
In particular, system memory 1412 and NVM/storage 1416 may each include: a temporary copy and a permanent copy of the first instruction 1424. The first instructions 1424 may include: first instructions that when executed by at least one of the processors 1404 cause the system 1400 to implement the methods shown in fig. 8, 11, and 11. In some embodiments, the first instructions 1424, hardware, firmware, and/or software components thereof may additionally/alternatively be located in the system control logic 1408, the network interface 1420, and/or the processor 1404.
Network interface 1420 may include a transceiver to provide a radio interface for system 1400 to communicate with any other suitable device (e.g., front end module, antenna, etc.) over one or more networks. In some embodiments, network interface 1420 may be integrated with other components of system 1400. For example, the network interface 1420 may be integrated with at least one of the processor 1404, the system memory 1412, the NVM/storage 1416, and a firmware device (not shown) having first instructions that, when executed by at least one of the processor 1404, the system 1400 implements the methods shown in fig. 5 and 8-9.
Network interface 1420 may further include any suitable hardware and/or firmware to provide a multiple-input multiple-output radio interface. For example, network interface 1420 may be a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
In one embodiment, at least one of the processors 1404 may be packaged together with logic for one or more controllers of system control logic 1408 to form a System In Package (SiP). In one embodiment, at least one of processors 1404 may be integrated on the same die with logic for one or more controllers of system control logic 1408 to form a system on a chip (SoC).
The system 1400 may further include: input/output (I/O) devices 1432. The I/O device 1432 may include a user interface to enable a user to interact with the system 1400; the design of the peripheral component interface enables peripheral components to also interact with the system 1400. In some embodiments, the system 1400 further includes sensors for determining at least one of environmental conditions and location information associated with the system 1400.
In some embodiments, the user interface may include, but is not limited to, a display (e.g., a liquid crystal display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., still image cameras and/or video cameras), a flashlight (e.g., a light emitting diode flash), and a keyboard.
In some embodiments, the peripheral component interfaces may include, but are not limited to, a non-volatile memory port, an audio jack, and a power interface.
In some embodiments, the sensors may include, but are not limited to, a gyroscope sensor, an accelerometer, a proximity sensor, an ambient light sensor, and a positioning unit. The positioning unit may also be part of the network interface 1420 or interact with the network interface 1420 to communicate with components of a positioning network, such as Global Positioning System (GPS) satellites.
Fig. 13 shows a block diagram of a SoC (System on Chip) 1500 according to an embodiment of the present application. In fig. 11, like parts have the same reference numerals. In addition, the dashed box is an optional feature of more advanced socs. In fig. 11, SoC 1500 includes: an interconnect unit 1550 coupled to the application processor 1515; a system agent unit 1570; a bus controller unit 1580; an integrated memory controller unit 1540; a set or one or more coprocessors 1520 which may include integrated graphics logic, an image processor, an audio processor, and a video processor; an Static Random Access Memory (SRAM) unit 1530; a Direct Memory Access (DMA) unit 1560. In one embodiment, the coprocessor 1520 comprises a special-purpose processor, such as, for example, a network or communication processor, compression engine, GPGPU, a high-throughput MIC processor, embedded processor, or the like.
Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as computer programs or program code executing on programmable systems comprising at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to input first instructions to perform the functions described herein and to generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as first instructions carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the first instructions may be distributed via a network or via other computer readable media. Thus, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy diskettes, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), Random Access Memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared digital signals, etc.) using the internet in an electrical, optical, acoustical or other form of propagated signal. Thus, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic first instructions or information in a form readable by a machine (e.g., a computer).
In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it is to be understood that such specific arrangement and/or ordering may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the illustrative figures. In addition, the inclusion of a structural or methodical feature in a particular figure is not meant to imply that such feature is required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the apparatuses in the present application, each unit/module is a logical unit/module, and physically, one logical unit/module may be one physical unit/module, or may be a part of one physical unit/module, and may also be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logical unit/module itself is not the most important, and the combination of the functions implemented by the logical unit/module is the key to solve the technical problem provided by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules which are not so closely related to solve the technical problems presented in the present application, which does not indicate that no other units/modules exist in the above-mentioned device embodiments.
It is noted that, in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.
In summary, the above-mentioned embodiments are provided only for illustrating the principles and effects of the present invention, and not for limiting the present invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (23)

1. A Bluetooth communication system comprising a Bluetooth headset, a first electronic device and a second electronic device,
the bluetooth headset is configured to:
receiving a first operation of a user;
in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device;
receiving a first response message of the first electronic device;
receiving a second response message of the second electronic device,
determining that the first electronic device has priority based on the first response message and the second response message, and sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box;
the first electronic device is configured to:
and responding to the first instruction, and displaying the pairing prompt box containing the information of the Bluetooth headset on a first interface.
2. The Bluetooth communication system of claim 1,
the first response message carries information of first transmission power of the first electronic device;
the second response message carries information of a second transmission power of the second electronic device,
the bluetooth headset is configured to:
calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message;
calculating a second loss or a second distance based on the second transmission power and a second RSSI of the second response message,
determining that the first electronic device has the priority based on the first loss and the second loss, or
Determining that the first electronic device has the priority based on the first distance and the second distance.
3. The bluetooth communication system according to claim 2, wherein when the first transmission power of the first electronic device is the same as the second transmission power of the second electronic device, the bluetooth headset is configured to:
determining that the first electronic device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
4. The bluetooth communication system according to any of the claims 1-3, wherein the first electronic device is configured to:
the pairing prompt box includes a user option,
receiving a second operation of the user for the user option;
in response to the second operation, the Bluetooth headset is successfully paired with the first electronic device.
5. The bluetooth communication system according to any of claims 1-4, wherein the information of the bluetooth headset comprises at least one of a name of the bluetooth headset and an icon of the bluetooth headset.
6. The bluetooth communication system according to any of the claims 1-5, wherein the first instruction is sent to the first electronic device by means of a link or a broadcast.
7. A communication method of a Bluetooth headset is characterized by comprising the following steps:
receiving a first operation of a user;
in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device;
receiving a first response message of the first electronic device;
receiving a second response message of the second electronic device,
and determining that the first electronic equipment has priority based on the first response message and the second response message, and sending a first instruction to the first electronic equipment to enable the first electronic equipment to pop up a pairing prompt box.
8. The communication method of the bluetooth headset according to claim 7, wherein the first response message carries information of a first transmission power of the first electronic device; the second response message carries information of a second transmission power of the second electronic device,
determining that the first electronic device has priority based on the first response message and the second response message, wherein the step of sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box comprises:
obtaining a first loss or a first distance based on the first transmit power and a first RSSI calculation of the first response message;
obtaining a second loss or a second distance based on the second transmit power and a second RSSI calculation for the second response message,
determining that the first electronic device has the priority based on the first loss and the second loss, or
Determining that the first electronic device has the priority based on the first distance and the second distance.
9. The communication method of the Bluetooth headset according to claim 8, wherein when the first transmission power of the first electronic device is the same as the second transmission power of the second electronic device,
determining that the first electronic device has priority based on the first response message and the second response message, wherein the step of sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box comprises:
determining that the first electronic device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
10. The communication method of a bluetooth headset according to any of claims 7-9, wherein the information of the bluetooth headset comprises at least one of a name of the bluetooth headset and an icon of the bluetooth headset.
11. A wireless communication system comprises a mobile phone, a first screen projection device and a second screen projection device,
the handset is configured to:
receiving a first operation of a user;
responding to the first operation, and sending screen projection broadcast to the first screen projection device and the second screen projection device;
receiving a first response message of the first screen projection equipment;
receiving a second response message of the second screen projecting device,
determining that a first screen projection device has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection device to enable the first screen projection device to pop up a screen projection prompt box;
the first screen projecting device is configured to:
and responding to the first instruction, and displaying the screen projection prompt box on a first interface.
12. The wireless communication system of claim 11,
the first response message carries information of first transmission power of the first screen projection equipment;
the second response message carries information of second transmission power of the second screen projection device,
the handset is configured to:
calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message;
calculating a second loss or a second distance based on the second transmission power and a second RSSI of the second response message,
determining that the first screen projection device has the priority based on the first loss and the second loss, or
Determining that the first screen-casting device has the priority based on the first distance and the second distance.
13. The wireless communication system of claim 12,
when the first transmit power of the first screen projection device is the same as the second transmit power of the second screen projection device, the handset is configured to:
determining that the first screen casting device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
14. The wireless communication system of any of claims 11-13, wherein the first screen-projecting device is configured to:
the screen-up prompt box includes a user option,
receiving a second operation of the user for the user option;
responding to the second operation, and enabling the mobile phone to successfully screen with the first screen projection equipment.
15. A communication method of a mobile phone is characterized by comprising the following steps:
receiving a first operation of a user;
responding to the first operation, and sending screen projection broadcast to a first screen projection device and a second screen projection device;
receiving a first response message of the first screen projection equipment;
receiving a second response message of the second screen projecting device,
and determining that the first screen projection equipment has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box.
16. The communication method of the mobile phone according to claim 15, wherein the first response message carries information of the first transmission power of the first screen projection device; the second response message carries information of second transmission power of the second screen projection device,
determining that the first screen projection device has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection device to enable the first screen projection device to pop up a screen projection prompt box comprises the following steps:
calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message;
calculating a second loss or a second distance based on the second transmission power and a second RSSI of the second response message,
determining that the first screen projection device has the priority based on the first loss and the second loss, or
Determining that the first screen-casting device has the priority based on the first distance and the second distance.
17. The communication method of the cellular phone according to claim 16, wherein when a first transmission power of the first projection device is the same as a second transmission power of the second projection device,
determining that the first screen projection device has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection device to enable the first screen projection device to pop up a screen projection prompt box comprises the following steps:
determining that the first screen casting device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
18. A terminal, comprising: a processor, a memory and a touch screen, the memory and the touch screen being coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the terminal to perform the steps of:
receiving a first operation of a user;
in response to the first operation, transmitting a BLE broadcast to the first electronic device and the second electronic device;
receiving a first response message of the first electronic device;
receiving a second response message of the second electronic device,
and determining that the first electronic equipment has priority based on the first response message and the second response message, and sending a first instruction to the first electronic equipment to enable the first electronic equipment to pop up a pairing prompt box.
19. The terminal of claim 18,
the first response message carries information of first transmission power of the first electronic device;
the second response message carries information of a second transmission power of the second electronic device,
determining that the first electronic device has priority based on the first response message and the second response message, wherein the step of sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box comprises:
obtaining a first loss or a first distance based on the first transmit power and a first RSSI calculation of the first response message;
obtaining a second loss or a second distance based on the second transmit power and a second RSSI calculation for the second response message,
determining that the first electronic device has the priority based on the first loss and the second loss, or
Determining that the first electronic device has the priority based on the first distance and the second distance.
20. The terminal of claim 19, wherein when the first transmit power of the first electronic device is the same as the second transmit power of the second electronic device,
determining that the first electronic device has priority based on the first response message and the second response message, wherein the step of sending a first instruction to the first electronic device to enable the first electronic device to pop up a pairing prompt box comprises:
determining that the first electronic device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
21. A terminal, comprising: a processor, a memory and a touch screen, the memory and the touch screen being coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the terminal to perform the steps of:
receiving a first operation of a user;
responding to the first operation, and sending screen projection broadcast to a first screen projection device and a second screen projection device;
receiving a first response message of the first screen projection equipment;
receiving a second response message of the second screen projecting device,
and determining that the first screen projection equipment has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection equipment to enable the first screen projection equipment to pop up a screen projection prompt box.
22. The terminal of claim 21, wherein the first response message carries information of a first transmission power of the first screen projection device; the second response message carries information of second transmission power of the second screen projection device,
determining that the first screen projection device has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection device to enable the first screen projection device to pop up a screen projection prompt box comprises the following steps:
calculating to obtain a first loss or a first distance based on the first transmission power and a first RSSI of the first response message;
calculating a second loss or a second distance based on the second transmission power and a second RSSI of the second response message,
determining that the first screen projection device has the priority based on the first loss and the second loss, or
Determining that the first screen-casting device has the priority based on the first distance and the second distance.
23. The terminal of claim 22, wherein when a first transmission power of the first projection device is the same as a second transmission power of the second projection device,
determining that the first screen projection device has priority based on the first response message and the second response message, and sending a first instruction to the first screen projection device to enable the first screen projection device to pop up a screen projection prompt box comprises the following steps:
determining that the first screen casting device has the priority based on the first RSSI of the first response message and the second RSSI of the second response message.
CN202010163215.0A 2020-03-10 2020-03-10 Bluetooth communication system and wireless communication system Active CN113395685B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010163215.0A CN113395685B (en) 2020-03-10 2020-03-10 Bluetooth communication system and wireless communication system
PCT/CN2021/079787 WO2021180083A1 (en) 2020-03-10 2021-03-09 Bluetooth communication system and wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010163215.0A CN113395685B (en) 2020-03-10 2020-03-10 Bluetooth communication system and wireless communication system

Publications (2)

Publication Number Publication Date
CN113395685A true CN113395685A (en) 2021-09-14
CN113395685B CN113395685B (en) 2023-07-11

Family

ID=77615227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010163215.0A Active CN113395685B (en) 2020-03-10 2020-03-10 Bluetooth communication system and wireless communication system

Country Status (2)

Country Link
CN (1) CN113395685B (en)
WO (1) WO2021180083A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115993592A (en) * 2023-03-22 2023-04-21 荣耀终端有限公司 Bluetooth ranging method, electronic equipment and storage medium
CN117939449A (en) * 2024-01-25 2024-04-26 深圳市图扬微科技有限公司 Bluetooth encryption communication system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7310705B2 (en) * 2020-05-18 2023-07-19 トヨタ自動車株式会社 AGENT CONTROL DEVICE, AGENT CONTROL METHOD, AND AGENT CONTROL PROGRAM
CN113973290B (en) * 2021-10-27 2024-04-19 深圳市芯中芯科技有限公司 Method for quickly connecting Bluetooth headset
CN114698078B (en) * 2022-02-24 2023-05-16 荣耀终端有限公司 Transmission power adjustment method, electronic device, and storage medium
CN114500730B (en) * 2022-02-28 2023-08-29 歌尔股份有限公司 Popup function control method, popup function control device and computer readable storage medium
CN114666744B (en) * 2022-03-22 2024-03-01 Oppo广东移动通信有限公司 Method, device, equipment, storage medium and product for connecting near field communication equipment
CN116133165A (en) * 2022-08-23 2023-05-16 荣耀终端有限公司 Headset connection system, method, headset, electronic device, and readable storage medium
CN116095887A (en) * 2022-12-29 2023-05-09 海能达通信股份有限公司 Bluetooth connection method, main device, multi-device cooperative system and storage medium
WO2024212378A1 (en) * 2023-04-11 2024-10-17 瑞声声学科技(深圳)有限公司 Capturing control method and related apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100093280A1 (en) * 2008-10-15 2010-04-15 Samsung Electronics Co., Ltd. Bluetooth connection method and apparatus
US20100130131A1 (en) * 2008-11-21 2010-05-27 Samsung Electronics Co. Ltd. Apparatus and method for connecting with bluetooth devices in a terminal using audio channel
US20170223615A1 (en) * 2014-07-31 2017-08-03 Lg Electronics Inc. Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN108446151A (en) * 2017-02-14 2018-08-24 阿里巴巴集团控股有限公司 The means of communication and device
CN110248346A (en) * 2019-06-17 2019-09-17 四川长虹电器股份有限公司 More equipment throw screen method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107087247A (en) * 2017-03-27 2017-08-22 宇龙计算机通信科技(深圳)有限公司 A kind of bluetooth processing method and processing device
CN108271143A (en) * 2018-01-08 2018-07-10 维沃移动通信有限公司 A kind of connection method of Bluetooth device and mobile terminal
CN113382397B (en) * 2019-04-18 2023-12-08 华为技术有限公司 Bluetooth connection method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100093280A1 (en) * 2008-10-15 2010-04-15 Samsung Electronics Co., Ltd. Bluetooth connection method and apparatus
US20100130131A1 (en) * 2008-11-21 2010-05-27 Samsung Electronics Co. Ltd. Apparatus and method for connecting with bluetooth devices in a terminal using audio channel
US20170223615A1 (en) * 2014-07-31 2017-08-03 Lg Electronics Inc. Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN108446151A (en) * 2017-02-14 2018-08-24 阿里巴巴集团控股有限公司 The means of communication and device
CN110248346A (en) * 2019-06-17 2019-09-17 四川长虹电器股份有限公司 More equipment throw screen method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115993592A (en) * 2023-03-22 2023-04-21 荣耀终端有限公司 Bluetooth ranging method, electronic equipment and storage medium
CN115993592B (en) * 2023-03-22 2023-08-08 荣耀终端有限公司 Bluetooth ranging method, electronic equipment and storage medium
CN117939449A (en) * 2024-01-25 2024-04-26 深圳市图扬微科技有限公司 Bluetooth encryption communication system

Also Published As

Publication number Publication date
WO2021180083A1 (en) 2021-09-16
CN113395685B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
CN113395685B (en) Bluetooth communication system and wireless communication system
CN112789867B (en) Bluetooth connection method and equipment
CN110138937B (en) Call method, device and system
CN112822663B (en) Bluetooth connection method and related device
WO2020133183A1 (en) Audio data synchronization method and device
JP7369281B2 (en) Device capacity scheduling method and electronic devices
US12075499B2 (en) Bluetooth reconnection method and related apparatus
CN112789934B (en) Bluetooth service query method and electronic equipment
CN112839303B (en) Method and related device for device reconnection
WO2020078330A1 (en) Voice call-based translation method and electronic device
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
CN115119194A (en) Bluetooth connection method and related device
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
CN112771828B (en) Audio data communication method and electronic equipment
CN112469011A (en) Bluetooth pairing method and related device
CN115633340A (en) File transmission method, terminal, electronic device and storage medium
CN116074793A (en) Bluetooth pairing method, device, system and storage medium
CN115525366A (en) Screen projection method and related device
CN111800836A (en) Communication method, communication device, electronic equipment and storage medium
CN117917899B (en) Audio service processing method, electronic equipment and computer storage medium
CN115733921B (en) TWS earphone decoupling sharing method, TWS earphone decoupling sharing device, TWS earphone decoupling sharing equipment, storage medium and program product
CN117492689B (en) Audio processing method and electronic equipment
WO2022057521A1 (en) Method and devices for configuring device
CN117917899A (en) Audio service processing method, electronic equipment and computer storage medium
CN117014843A (en) Mobile communication method and electronic equipment

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