CN110572803A - Bluetooth switching method and Bluetooth device - Google Patents

Bluetooth switching method and Bluetooth device Download PDF

Info

Publication number
CN110572803A
CN110572803A CN201910677545.9A CN201910677545A CN110572803A CN 110572803 A CN110572803 A CN 110572803A CN 201910677545 A CN201910677545 A CN 201910677545A CN 110572803 A CN110572803 A CN 110572803A
Authority
CN
China
Prior art keywords
bluetooth
service
bluetooth device
connection
traditional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910677545.9A
Other languages
Chinese (zh)
Inventor
王书峰
胡征远
王向阳
王金成
郝良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910677545.9A priority Critical patent/CN110572803A/en
Publication of CN110572803A publication Critical patent/CN110572803A/en
Priority to PCT/CN2020/103358 priority patent/WO2021013156A1/en
Pending legal-status Critical Current

Links

Classifications

    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

disclosed are a Bluetooth switching method and Bluetooth equipment, relating to the field of short-distance communication. The bluetooth device includes a processor, a BLE device, and a legacy bluetooth device. The bluetooth device has established a first bluetooth connection with the electronic device. And when the processor determines that the first service exists, the processor controls the traditional Bluetooth device to establish a second Bluetooth connection with the electronic equipment, the traditional Bluetooth device transmits the data of the first service with the electronic equipment through the second Bluetooth connection, and the processor determines that the transmission of the first service is finished and controls the traditional Bluetooth device to be powered down. Therefore, high-speed data transmission between the Bluetooth equipment and the electronic equipment is realized, and low-power-consumption long-endurance of the equipment is realized.

Description

Bluetooth switching method and Bluetooth device
Technical Field
The present application relates to the field of short-distance communication, and in particular, to a bluetooth switching method and a bluetooth device.
Background
bluetooth (Bluetooth) is a wireless technology standard that enables short-range data interaction between different devices. If the mobile phone can start the Bluetooth module to perform short-distance data interaction with the Bluetooth headset, the Bluetooth headset is used as audio input/output equipment of the mobile phone to realize functions of conversation, music playing and the like.
Currently, the wireless connection established between a device with a Bluetooth function (referred to as a Bluetooth device for short) and a mobile phone may be a conventional Bluetooth (classic Bluetooth) wireless connection or a Bluetooth Low Energy (BLE) wireless connection. When the traditional Bluetooth wireless connection is adopted, user services are mainly used, and high-speed transmission of a large amount of data (such as audio data or video data) is realized. When the low-power-consumption Bluetooth wireless connection is adopted, standby power consumption is mainly used, and low-speed transmission of small data is realized. As the amount of user traffic increases, users desire both higher data transmission rates and long-endurance standby for bluetooth devices, which are two contradictory aspects. Therefore, how to enable the bluetooth device to realize high-speed data transmission and low-power-consumption long endurance is an urgent problem to be solved.
Disclosure of Invention
the application provides a Bluetooth switching method and Bluetooth equipment, and solves the problem of how to enable the Bluetooth equipment to realize high-speed data transmission and low-power-consumption long-endurance.
In order to achieve the purpose, the technical scheme is as follows:
In a first aspect, a bluetooth handover method is provided, where the bluetooth handover method is applied to a bluetooth device, where the bluetooth device includes a processor, a BLE device, and a legacy bluetooth device, and the method includes: the method comprises the steps that a BLE device establishes a first Bluetooth connection with an electronic device, the first Bluetooth connection is a BLE connection, after a processor determines that a first service exists, the processor controls a traditional Bluetooth device to be powered on, the traditional Bluetooth device establishes a second Bluetooth connection with the electronic device, the second Bluetooth connection is a traditional Bluetooth connection, the traditional Bluetooth device and the electronic device transmit data of the first service through the second Bluetooth connection, and the first service can be a service needing high-speed transmission of a large data stream; after the processor determines that the first service transmission is finished, the traditional Bluetooth device is controlled to be powered off, the second Bluetooth connection established between the traditional Bluetooth device and the electronic equipment is disconnected, the first Bluetooth connection between the BLE device and the electronic equipment is kept, and low-power-consumption standby is achieved.
According to the Bluetooth switching method provided by the embodiment of the application, the Bluetooth equipment can keep the first Bluetooth connection with the electronic equipment through the low-power Bluetooth device, so that low-power standby is realized, and a small amount of data is transmitted; when a service request of a large data stream exists, the connection is automatically switched to the second Bluetooth connection, and high-speed data transmission can be realized through the second Bluetooth connection. Therefore, the Bluetooth device can realize high-speed data transmission and low-power-consumption long endurance, and the user experience of the Bluetooth device is effectively improved.
In one possible design, the BLE device receives a request message for a first service over the first bluetooth connection, the request message for the first service including an identification of the first service; the processor determines that the first service exists according to the identifier of the first service, and controls the traditional Bluetooth device to be powered on.
in another possible design, before the processor determines that there is the first service, the method further includes: the conventional bluetooth device establishes a second bluetooth connection with the electronic device. And after the processor determines that the first service does not exist, controlling the traditional Bluetooth device to be powered down, and disconnecting the second Bluetooth connection established between the traditional Bluetooth device and the electronic equipment.
in a second aspect, a bluetooth device is provided for implementing the method described in the first aspect above. The bluetooth device includes a processor, a BLE device, and a legacy bluetooth device. The BLE device is used for establishing a first Bluetooth connection with the electronic equipment, the first Bluetooth connection is a BLE connection, the processor is used for determining that a first service exists and controlling the traditional Bluetooth device to be powered on, the traditional Bluetooth device is used for establishing a second Bluetooth connection with the electronic equipment, and the second Bluetooth connection is a traditional Bluetooth connection; the traditional Bluetooth device is also used for transmitting data of the first service with the electronic equipment through a second Bluetooth connection; the processor is further configured to determine that the first service transmission is ended, control the conventional bluetooth device to power down, and disconnect a second bluetooth connection established between the conventional bluetooth device and the electronic device.
In one possible design, the BLE device is to receive a request message for a first service over the first bluetooth connection, the request message for the first service including an identification of the first service; the processor is used for determining that the first service exists according to the identifier of the first service and controlling the traditional Bluetooth device to be powered on.
In one possible design, the legacy bluetooth device is used to establish a second bluetooth connection with the electronic device; the processor is used for determining that the first service does not exist, controlling the traditional Bluetooth device to be powered down, and disconnecting the second Bluetooth connection established between the traditional Bluetooth device and the electronic equipment.
In a third aspect, a computer-readable storage medium is provided, comprising: computer software instructions; the computer software instructions, when executed in a bluetooth device, cause the bluetooth device to perform the method of the first aspect described above.
In a fourth aspect, there is provided a computer program product comprising instructions which, when run in a bluetooth device, cause the bluetooth device to perform the method of the first aspect described above.
in a fifth aspect, a Near Field Communication (NFC) device is provided for use in an NFC reader, the NFC device comprising at least one processor and a memory, the memory being coupled to the processor, wherein: the memory is used for storing the service type information supported by the NFC card reader; the at least one processor is used for instructing the NFC card reader to establish Bluetooth connection with the electronic equipment according to the received information sent by the electronic equipment.
In one possible implementation, the NFC device is an NFC chip.
In a sixth aspect, a communication system is provided, comprising a smart watch and a cell phone, wherein the smart watch comprises a processor and two independent bluetooth devices, the two independent bluetooth devices comprising a BLE device and a legacy bluetooth device, wherein:
The BLE device is used for establishing a first Bluetooth connection with the mobile phone, and the first Bluetooth connection is a BLE connection;
the mobile phone is used for sending a request message of a first service to the smart watch through a first Bluetooth connection when the first service is determined to exist, wherein the request message of the first service comprises an identifier of the first service;
The BLE device is further configured to receive a request message for a first service over a first Bluetooth connection;
the processor of the intelligent watch is used for controlling the traditional Bluetooth device to be powered on according to the identifier of the first service;
The traditional Bluetooth device is used for establishing a second Bluetooth connection with the mobile phone, and the second Bluetooth connection is a traditional Bluetooth connection;
The traditional Bluetooth device is also used for transmitting data of the first service with the mobile phone through a second Bluetooth connection;
and the processor of the intelligent watch is also used for controlling the traditional Bluetooth device to be powered down when the first service transmission is determined to be finished.
In one possible design, the conventional bluetooth device is further configured to establish a second bluetooth connection with the mobile phone; the processor of the smart watch is also used for determining that the first service does not exist and controlling the traditional Bluetooth device to be powered down.
In addition, the technical effects brought by the design manners of any aspect can be referred to the technical effects brought by the different design manners in the first aspect, and are not described herein again.
In the embodiment of the present application, the names of the bluetooth device and the electronic device do not limit the devices themselves, and in practical implementation, the devices may appear by other names. Insofar as the functions of the respective devices are similar to those explained in the embodiments of the present application, they are within the scope of the claims of the present application and their equivalents.
Drawings
fig. 1 is a diagram illustrating an exemplary architecture of a communication system according to an embodiment;
Fig. 2 is a diagram illustrating an example of a smart watch according to an embodiment;
FIG. 3 is a first diagram illustrating an exemplary configuration of an electronic device according to an embodiment;
Fig. 4 is a first flowchart of a bluetooth handover method according to an embodiment;
Fig. 5A is a diagram illustrating an example of a bluetooth switch interface according to an embodiment;
Fig. 5B is an exemplary diagram of an interface of a bluetooth handover result according to an embodiment;
fig. 6 is a flowchart of a bluetooth handover method according to an embodiment;
Fig. 7 is a diagram illustrating an exemplary configuration of a bluetooth device according to an embodiment;
Fig. 8 is a second exemplary composition diagram of an electronic device according to an embodiment.
Detailed Description
the terms "first," "second," and "third," etc. in the description and claims of this application and the above-described drawings are used for distinguishing between different objects and not for limiting a particular order.
in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Today, Bluetooth is managed by the Bluetooth Special Interest Group (SIG), which is mainly responsible for the formulation of the Bluetooth specification. The bluetooth specification has evolved from bluetooth specification version 1.0 to bluetooth specification version 4.2. In the bluetooth specification version 4.0, bluetooth low energy was first proposed by SIG, i.e. bluetooth specification 4.0 includes both the legacy bluetooth and bluetooth low energy specifications. Conventional bluetooth may also be referred to as classic bluetooth. Conventional bluetooth and bluetooth low energy are two completely different specifications. Legacy bluetooth 4.0 is an upgraded version of legacy bluetooth 3.0, being backwards compatible. And bluetooth low energy is a new branch and is not downward compatible.
The following is a brief description of the differences between conventional bluetooth and bluetooth low energy.
When the low-power Bluetooth is used for transmitting data, the length of the data packet is short. Bluetooth low energy is mainly used in products with high real-time requirements but relatively low data transmission rates. Such as: remote control products (such as a keyboard or a remote control mouse), sensing equipment (such as a heart rate belt, a sphygmomanometer and a temperature sensor) and the like. When the traditional Bluetooth is used for transmitting data, the length of the data packet is longer. The conventional bluetooth is mainly applied to products which have relatively high data transmission rate and need to transmit a large amount of data (such as audio data or video data). Such as: mobile phones, tablets, media players, robotic systems, handheld devices, laptops, game pads, and some high-quality headphones, modems, watches, and the like.
After completing the data transmission and reception using bluetooth low energy, bluetooth low energy may suspend transmitting wireless signals (but may still receive data) waiting for the next connection reactivation. Whereas conventional bluetooth is continuously maintaining a connection.
It takes only 3 milliseconds to complete a bluetooth low energy wireless connection (scan for other devices, establish a link, send data, authenticate, and end appropriately). Whereas it takes hundreds of milliseconds to complete a conventional bluetooth wireless connection.
Bluetooth low energy is of no power class, typically with a transmit power of +4dBm, and a transmission distance of 70 m. And the traditional Bluetooth has 3 power levels, and supports transmission distances of 100 meters, 10 meters and 1 meter respectively.
In summary, compared with the conventional bluetooth, the bluetooth low energy has the advantages of fast search, fast connection, ultra-low energy connection and transmission of a small amount of data (e.g., alert tones (such as incoming call alert tone, ring back tone, short message alert tone, etc.)), but the data transmission rate of the bluetooth low energy is low. While the data transmission rate of the conventional bluetooth is high, the power consumption of the conventional bluetooth is large.
Currently, the wireless connection established between the bluetooth device and the mobile phone may be a conventional bluetooth connection or a BLE connection. When the traditional Bluetooth connection is adopted, user services are mainly used, and high-speed transmission of a large amount of data (such as audio data or video data) is realized. When BLE connection is adopted, standby power consumption is mainly used, and low-speed transmission of small data is achieved. As the amount of user traffic increases, users desire both higher data transmission rates and long-endurance standby for bluetooth devices, which are two contradictory aspects. Therefore, how to enable the bluetooth device to realize high-speed data transmission and low-power-consumption long endurance is an urgent problem to be solved.
an embodiment of the present application provides a bluetooth switching method, which may be applied to a process in which an electronic device (e.g., a smart phone) and a bluetooth device (e.g., a wearable device) transmit high-speed data. The bluetooth device may specifically include a BLE device and a legacy bluetooth device. The BLE device is used for realizing the function of the low-power Bluetooth. The conventional bluetooth device is used to implement the functions of the conventional bluetooth. The method comprises the following steps: the method comprises the steps that a first Bluetooth connection is established between a Bluetooth device and an electronic device, the first Bluetooth connection is BLE connection, when a processor of the Bluetooth device determines that a first service exists, a traditional Bluetooth device is controlled to be powered on, a second Bluetooth connection is established between the traditional Bluetooth device and the electronic device, the second Bluetooth connection is traditional Bluetooth connection, and the traditional Bluetooth device and the electronic device transmit data of the first service through the second Bluetooth connection; and after the processor of the Bluetooth device determines that the first service transmission is finished, controlling the traditional Bluetooth device to be powered off, disconnecting the traditional Bluetooth device from the second Bluetooth of the electronic device, and keeping the low-power Bluetooth device connected with the first Bluetooth of the electronic device.
Hereinafter, the first service may refer to a service that requires high-speed transmission of a large amount of data. In some embodiments, the first service may be a voice service (e.g., a voice call or a voice call using an application (e.g., WeChat, Facebook)) or a video service (e.g., a video playback or a video call using an application (e.g., WeChat, Facebook)). Accordingly, the data of the first service may include audio data and video data. The audio data may include: voice data during a call, voice data or voice messages during a voice call or a video call using an application (e.g., WeChat, facebook), music, voice data while playing video, and so on. The video data may include: image data during a video call, image data during a video play, and the like are performed using an application (e.g., WeChat, face book).
According to the Bluetooth switching method provided by the embodiment of the application, when the first service does not exist, the Bluetooth device can keep the first Bluetooth connection with the electronic device through the low-power Bluetooth, so that low-power standby is realized, and a small amount of data which is not the first service is transmitted through the first Bluetooth connection; when the first service exists, the Bluetooth device can be automatically switched to the second Bluetooth connection, and high-speed data transmission can be realized through the second Bluetooth connection. Therefore, the Bluetooth device can realize high-speed data transmission and low-power-consumption long endurance, and the user experience of the Bluetooth device is effectively improved.
In some embodiments, the bluetooth device may pre-store a service identification associated with a service that requires high-speed transmission of a large amount of data. For example, a service identity repository may be established, which comprises at least one service identity. After the bluetooth device acquires the current service identifier, the current service identifier is compared with the service identifiers in the service identifier library, and if the service identifier library covers the current service identifier, the bluetooth device can determine that the service corresponding to the current service identifier is not a service with a large data stream, and does not need to use a traditional bluetooth device to transmit the data of the service corresponding to the current service identifier.
The bluetooth device may be a wearable device. Wearable equipment can also be called wearable intelligent equipment, is the general term of applying wearable technique to carry out intelligent design, develop the equipment that can dress to daily wearing, like glasses, gloves, wrist-watch, dress and shoes etc.. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable smart device includes full functionality, large size, and can implement full or partial functionality without relying on a smart phone, such as: smart watches or smart glasses and the like, and only focus on a certain type of application functions, and need to be used in cooperation with other devices such as smart phones, such as various smart bracelets for physical sign monitoring, smart jewelry and the like.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a diagram showing an example of an architecture of a communication system that can be applied to the embodiments of the present application. As shown in fig. 1, the communication system includes a bluetooth device 101 and an electronic device 102. The bluetooth device 101 and the electronic device 102 may establish a bluetooth connection using bluetooth. The bluetooth apparatus 101 may include, among other things, a bluetooth low energy device 1011, a conventional bluetooth device 1012, and a processor 1013. The bluetooth apparatus 101 may establish a first bluetooth connection with the electronic apparatus 102 through the bluetooth low energy apparatus 1011. The bluetooth device 101 may also establish a second bluetooth connection with the electronic device 102 through the legacy bluetooth apparatus 1012. Based on the established bluetooth connection, short-distance data interaction can be realized between the bluetooth device 101 and the electronic device 102.
In some embodiments, the processor 1013 may control the conventional bluetooth apparatus 1012 to power down and disconnect the second bluetooth connection between the conventional bluetooth apparatus 1012 and the electronic device 102 when it determines that there is no first service. When the processor 1013 determines that there is the first service, the conventional bluetooth apparatus 1012 may be controlled to be powered on, and the conventional bluetooth apparatus 1012 establishes a second bluetooth connection with the electronic device 102.
by powering up may be meant powering up the legacy bluetooth device 1012. Powering down may refer to powering down the conventional bluetooth device 1012.
In some embodiments, bluetooth device 101 may be a smart watch. The smart watch and the electronic device 102 may transmit audio data based on the second bluetooth connection. For example, based on the second bluetooth connection, the smart watch may enable a call as an audio input/output device of the electronic device 102. For another example, based on the second bluetooth connection, the smart watch may be used as an output device of the electronic device 102, such as a speaker to play music.
Fig. 2 is a diagram illustrating an example of a structure of a smart watch according to an embodiment of the present application. The smart watch may include: a processor 201, a memory 202, a sensor 203, at least one microphone 204, at least one microphone 205, a power source 206, a bluetooth low energy device 207, and a conventional bluetooth device 208.
the memory 202 may be used to store application code, such as application code that enables pairing of a smart watch with the electronic device 102 described above. The processor 201 may control the execution of the above application program codes to implement the functions of the smart watch in this embodiment.
The memory 202 may also have stored therein a bluetooth address for uniquely identifying the smart watch. Additionally, the memory 202 may also store connection data with electronic devices that have been successfully paired with the smart watch before. For example, the connection data may be a bluetooth address of an electronic device that was successfully paired with the smart watch. Based on the connection data, the smart watch can be automatically paired with the electronic device without configuring a connection therebetween, such as performing legitimacy verification and the like. The bluetooth address may be a Media Access Control (MAC) address.
The sensor 203 may be a distance sensor or a proximity light sensor. The processor 201 of the smart watch may determine whether it is worn by the user through the sensor 203. For example, the processor 201 of the smart watch may utilize a proximity light sensor to detect whether an object is near the smart watch, thereby determining whether the smart watch is worn by the user. Upon determining that the smart watch is worn, the processor 201 of the smart watch may turn on the receiver 204. In some embodiments, the smart watch may further include a bone conduction sensor, incorporated into a bone conduction headset. The bone conduction sensor can acquire a vibration signal of a vibration bone block of a sound part, and the processor 201 analyzes the voice signal to realize a control function corresponding to the voice signal. In other embodiments, the smart watch may further include a touch sensor or a pressure sensor for detecting a touch operation and a press operation of the user, respectively. In other embodiments, the smart watch may further include a fingerprint sensor for detecting a fingerprint of the user, identifying the identity of the user, and the like. In other embodiments, the smart watch may further include an ambient light sensor, and the processor 201 of the smart watch may adaptively adjust some parameters, such as volume, according to the brightness of the ambient light sensed by the ambient light sensor.
the bluetooth low energy device 207 is configured to establish a first bluetooth connection with the electronic device 102. The legacy bluetooth device 208 is configured to establish a second bluetooth connection with the electronic device 102. Enabling the smart watch to perform short-range data interaction with the electronic device 102. The receiver 204, which may also be referred to as a "handset," may be used to convert the audio electrical signal into a sound signal and play it. For example, when the smart watch is used as the audio output device of the electronic device 102, the receiver 204 can convert the received audio electrical signal into a sound signal and play the sound signal.
The microphone 205, which may also be referred to as a "microphone," is used to convert sound signals into electrical audio signals. For example, when the smart watch is used as an audio input device of the electronic device 102, the microphone 205 may collect a voice signal of the user and convert the voice signal into an audio electrical signal when the user speaks (e.g., calls or sends a voice message). The audio electrical signal is the audio data in this embodiment.
a power supply 206 may be used to power the various components included in the smart watch. In some embodiments, the power source 206 may be a battery, such as a rechargeable battery.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the smart watch. It may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. For example, the smart watch may further include an indicator light (which may indicate a status such as a power level), a dust screen (which may be used with an earpiece), and other components. The various components shown in fig. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
It is noted that the smart watch may include a left ear plug and a right ear plug. The left and right earplugs may be identical in construction. For example, the left and right earplugs of a smart watch may both include the components shown in fig. 2. Alternatively, the structures of the left and right earplugs of the smart watch may be different. For example, one ear bud (e.g., the right ear bud) of the smart watch may include the components shown in fig. 2, while another ear bud (e.g., the left ear bud) may include other components in fig. 2 in addition to the microphone 206.
Optionally, the bluetooth device 101 may also be any one of the following devices, such as: bluetooth speaker, bluetooth bracelet, the bluetooth is on-vehicle, bluetooth intelligence glasses etc. and this application embodiment does not do the injecing to bluetooth equipment's concrete form.
In some embodiments, the electronic device 102 may be a mobile phone (as shown in fig. 1), a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, a media player, a television, and the like, and the embodiment is not limited to a specific form of the device.
In an embodiment of the present application, as shown in fig. 3, a structure of the electronic device 102 may be a schematic structural diagram of an electronic device in the communication system shown in fig. 1 according to an embodiment of the present application.
As shown in fig. 3, the electronic device 102 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 present embodiment does not constitute a specific limitation to the electronic device 102. In other embodiments, the electronic device 102 may include more or fewer components than illustrated, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
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, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules illustrated in the present embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device 102. In other embodiments of the present application, the electronic device 102 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 102. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The wireless communication function of the electronic device 102 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 102 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 102. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 102, 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.
In some embodiments, antenna 1 of electronic device 102 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 102 can communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 102 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The internal memory 121 may be used to store, among other things, computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 102 and data processing by executing instructions stored in the internal memory 121. For example, in the present embodiment, the processor 110 may implement a bluetooth handover function by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 102, and the like. In addition, the internal memory 121 may include a high speed random access memory, and may further include a nonvolatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 102 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
the touch sensor 180K is also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 102 at a different position than the display screen 194.
Next, specific embodiments will be described in detail with reference to the accompanying drawings. For convenience of description, the electronic device is a mobile phone as an example. The bluetooth device includes a processor, a bluetooth low energy device, and a conventional bluetooth device. Fig. 4 is a flowchart of a bluetooth handover method according to an embodiment of the present application, and as shown in fig. 4, the method may include:
S401, the mobile phone establishes a first Bluetooth connection with a low-power Bluetooth device in the Bluetooth equipment.
S402, the mobile phone establishes a second Bluetooth connection with a traditional Bluetooth device in the Bluetooth equipment.
the user may operate the mobile phone, which establishes a first bluetooth connection with a low power bluetooth device in the bluetooth apparatus, and a second bluetooth connection with a legacy bluetooth device in the bluetooth apparatus. Wherein the first bluetooth connection is a BLE connection. The first bluetooth connection is a BLE connection.
Before the mobile phone is connected with the Bluetooth device in the first Bluetooth mode, the mobile phone needs to be matched and authenticated with the Bluetooth device, and after the mobile phone is matched with the Bluetooth device and authenticated successfully, the mobile phone can be connected with the Bluetooth device in the Bluetooth mode. For example, a cell phone and a bluetooth device may be paired using a key. After the mobile phone is paired with the Bluetooth device and successfully authenticated, the secret key can be stored so that the mobile phone can be used when the connection with the Bluetooth device is established again. The specific pairing method and connection method may refer to the prior art and are not described in detail.
In some embodiments, the handset includes a bluetooth low energy device and a conventional bluetooth device. Establishing the second bluetooth connection between the mobile phone and the conventional bluetooth device in the bluetooth apparatus may be alternatively described as establishing the second bluetooth connection between the conventional bluetooth device in the mobile phone and the conventional bluetooth device in the bluetooth apparatus. The establishment of the first bluetooth connection between the mobile phone and the bluetooth low energy device in the bluetooth apparatus may be alternatively described as the establishment of the first bluetooth connection between the bluetooth low energy device in the mobile phone and the bluetooth low energy device in the bluetooth apparatus.
The operation may be a gesture or voice instruction input by the user. The gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
Fig. 5A is a diagram illustrating an example of a bluetooth connection process according to an embodiment of the present application. Fig. 5A (a) is a schematic front view of a mobile phone according to an embodiment of the present disclosure. In the user main interface, the user performs a slide operation according to the slide track 501. As shown in (b) in fig. 5A, the mobile phone displays a pull-down menu 502 in response to the sliding operation, and the pull-down menu 502 includes a bluetooth icon 503 therein. The user may click on bluetooth icon 503, as shown in fig. 5A (c), and the mobile phone may display a bluetooth user interface in response to the click operation, and the mobile phone may automatically scan nearby bluetooth devices, and the bluetooth user interface may include an identifier 504 (e.g., MAC address) of the scanned bluetooth device. In still other embodiments, the bluetooth user interface may further include a connection button 505 for each bluetooth device's identification. The user may click on the identifier 504 of the bluetooth device or the connection key 505 corresponding to the identifier of the bluetooth device, and the mobile phone establishes the first bluetooth connection and the second bluetooth connection with the bluetooth device in response to the click operation, and performs S403. In some other embodiments, as shown in (d) of fig. 5A, in response to the click operation, the user interface of bluetooth may further include a connected key 506 corresponding to the identifier of the bluetooth device. It should be noted that "connected" here may mean that both the second bluetooth connection and the first bluetooth connection are connected.
In other embodiments, as shown in (c) of fig. 5A, the user interface may further include an all connection button 507, the user may click the all connection button 507, the mobile phone, in response to the click operation, establishes the second bluetooth connection and the first bluetooth connection with all the scanned bluetooth devices, and performs S403.
And S403, the processor of the Bluetooth device determines that no first service exists, and controls the traditional Bluetooth device to be powered down.
In some embodiments, the processor of the bluetooth device may control the conventional bluetooth device to power down, i.e., stop supplying power to the conventional bluetooth device, so that the conventional bluetooth device stops working. And the mobile phone detects that the connection with the traditional Bluetooth device is overtime, and disconnects the second Bluetooth connection with the traditional Bluetooth device of the Bluetooth equipment.
After the conventional bluetooth device of the bluetooth device is disconnected from the second bluetooth connection of the mobile phone, the bluetooth device and the mobile phone may store the paired device identifiers (e.g., MAC addresses), so that the conventional bluetooth device of the bluetooth device may re-establish the second bluetooth connection with the mobile phone according to the paired device identifiers.
for example, after the bluetooth device disconnects the second bluetooth connection established with the mobile phone, as shown in fig. 5B, the bluetooth user interface may include a bluetooth 1 button 508 and a bluetooth 2 button 509 corresponding to the identifier of the bluetooth device. Here, "bluetooth 1" may mean that the first bluetooth connection is connected and the second bluetooth connection is disconnected. "bluetooth 2" may indicate that the second bluetooth connection is connected and the first bluetooth connection is disconnected. In some other embodiments, bluetooth 2 may indicate that the first bluetooth connection is connected and the second bluetooth connection is disconnected. "bluetooth 1" may indicate that the second bluetooth connection is connected and the first bluetooth connection is disconnected. The embodiments of the present application do not limit this.
It should be noted that, after the bluetooth device disconnects the second bluetooth connection established with the mobile phone, the bluetooth device and the mobile phone maintain the first bluetooth connection, so that a data stream with a small data volume is transmitted between the bluetooth device and the mobile phone by using the first bluetooth connection.
If the mobile phone determines that the first service exists, the mobile phone and the Bluetooth device can reestablish a second Bluetooth connection, and data of the first service is transmitted through the second Bluetooth connection of the mobile phone and the Bluetooth device. As described in S404 to S407 below.
S404, the processor of the Bluetooth device determines that the first service exists and controls the traditional Bluetooth device to be powered on.
In some embodiments, the processor of the bluetooth device may initiate the first service itself. When the bluetooth device starts the first service, the processor of the bluetooth device may determine that there is the first service, and execute S405. For example, the bluetooth device is a bluetooth smart glasses, the first service may be a video service, after the bluetooth smart glasses are turned on, the video playing function is turned on, and the bluetooth smart glasses may determine that the video service is turned on.
in other embodiments, the bluetooth device may determine that there is the first service based on the received message. As shown in fig. 6, the bluetooth device determining that there is the first service may include the following steps.
S4041, the mobile phone sends a request message of the first service to a low power consumption Bluetooth device of the Bluetooth equipment.
After the handset determines that the first service is initiated, a request message for the first service may be sent to the bluetooth device. Wherein the request message of the first service comprises an identification of the first service. In some embodiments, the handset may send a request message for a first service to the bluetooth device over the first bluetooth connection.
s4042, the low-power-consumption Bluetooth device of the Bluetooth equipment receives a request message of a first service sent by the mobile phone.
The low-power consumption Bluetooth device of the Bluetooth equipment receives a request message of a first service through a first Bluetooth connection established with the mobile phone.
s4043, the processor of the Bluetooth device controls the traditional Bluetooth device to be powered on according to the identifier of the first service.
The request message for the first service may include an identification of the first service. After the bluetooth low energy device of the bluetooth device receives the request message of the first service sent by the mobile phone, the processor of the bluetooth device may determine, according to the identifier of the first service, that data of the first service needs to be transmitted between the mobile phone and the bluetooth device, and the bluetooth device establishes a second bluetooth connection with the mobile phone.
In some embodiments, the bluetooth device may pre-store a service identification associated with a service that requires high-speed transmission of a large amount of data. For example, a service identity repository may be established, which comprises at least one service identity. After the bluetooth device acquires the identifier of the first service, the identifier of the first service is compared with the service identifier in the service identifier library, and if the service identifier library covers the identifier of the first service, the bluetooth device can determine that data of the first service needs to be transmitted between the mobile phone and the bluetooth device, and control the traditional bluetooth device to be powered on.
The processor of the Bluetooth device controls the traditional Bluetooth device to be powered on, namely, the traditional Bluetooth device is powered on, so that the traditional Bluetooth device starts to work, and the traditional Bluetooth device is connected with the mobile phone through the second Bluetooth. The bluetooth device stores the paired device identifier (e.g., MAC address), so that the conventional bluetooth apparatus of the bluetooth device can re-establish the second bluetooth connection with the mobile phone according to the paired device identifier.
S405, a traditional Bluetooth device in the Bluetooth equipment establishes a second Bluetooth connection with the mobile phone.
In some embodiments, as shown in fig. 6, establishing a second bluetooth connection with the handset by the bluetooth device may include the following steps.
s4051, the conventional bluetooth apparatus of the bluetooth device sends a conventional bluetooth setup request message to the mobile phone.
In some embodiments, the legacy bluetooth setup request message includes a device identification of the bluetooth device.
S4052, the mobile phone receives a conventional bluetooth setup request message sent by a conventional bluetooth device of the bluetooth apparatus.
after the mobile phone receives the traditional bluetooth establishment request message sent by the traditional bluetooth device of the bluetooth device, the traditional bluetooth device of the bluetooth device can establish the second bluetooth connection with the mobile phone again according to the paired device identifier.
In other embodiments, the bluetooth low energy device of the bluetooth apparatus may send a conventional bluetooth setup request message to the handset over the first bluetooth connection. The mobile phone receives a traditional Bluetooth establishment request message sent by a low-power Bluetooth device of the Bluetooth equipment through the first Bluetooth connection. Thus, the bluetooth device establishes a second bluetooth connection with the handset.
s406, the traditional Bluetooth device of the Bluetooth equipment transmits the data of the first service with the mobile phone through the second Bluetooth connection.
After the bluetooth device and the mobile phone establish the second bluetooth connection, the mobile phone can select to transmit the data of the first service through the traditional bluetooth device of the bluetooth device and the second bluetooth connection according to the identifier of the first service, so as to realize the high-speed transmission of the data of the first service.
And S407, the processor of the Bluetooth device determines that the first service transmission is finished, and controls the traditional Bluetooth device to be powered down.
In some embodiments, when the bluetooth device determines that the data of the first service has been transmitted, the bluetooth device may determine that the transmission of the first service is finished. The processor of the Bluetooth device can control the traditional Bluetooth device to be powered off, namely, the traditional Bluetooth device is stopped to be powered on, so that the traditional Bluetooth device stops working, and the second Bluetooth connection established between the traditional Bluetooth device and the mobile phone is disconnected. And the mobile phone detects that the connection with the traditional Bluetooth device is overtime, and disconnects the second Bluetooth connection with the traditional Bluetooth device of the Bluetooth equipment.
In other embodiments, the bluetooth device may determine that the first traffic transmission is terminated based on the received message. As shown in fig. 6, the bluetooth device determining that the first traffic transmission is ended may include the following steps.
S4071, the mobile phone sends an end message of the first service to the conventional bluetooth apparatus of the bluetooth device.
For example, the handset may send an end message of the first service to the bluetooth device over the second bluetooth connection. Wherein the end message of the first service includes an identifier of the first service.
S4072, the conventional bluetooth apparatus of the bluetooth device receives an end message of the first service sent by the mobile phone.
S4073, the processor of the Bluetooth device determines that the first service transmission is finished, and controls the traditional Bluetooth device to power down.
According to the Bluetooth switching method provided by the embodiment of the application, the Bluetooth equipment can keep a first Bluetooth connection with the mobile phone through the low-power Bluetooth device, so that low-power standby is realized, and a small amount of data is transmitted through the first Bluetooth connection; when a service request of a large data stream exists, the connection is automatically switched to the second Bluetooth connection, and high-speed data transmission can be realized through the second Bluetooth connection. Therefore, the Bluetooth device can realize high-speed data transmission and low-power-consumption long endurance, and the user experience of the Bluetooth device is effectively improved.
The Bluetooth device is a smart watch, and the Bluetooth headset comprises a processor, a low-power Bluetooth device and a traditional Bluetooth device. The electronic device is a mobile phone as an example, and a bluetooth switching method is exemplified.
For example, a user pairs with a smart watch by operating a mobile phone to establish a bluetooth connection. For example, a bluetooth icon is displayed on a display screen of the mobile phone, the user can click the bluetooth icon, the mobile phone displays a bluetooth user interface in response to a click operation, the mobile phone can automatically scan a nearby smart watch, and the bluetooth user interface may include a connection key corresponding to a scanned MAC address of the smart watch and a scanned MAC address of the smart watch. The user can click the MAC address of the smart watch or a connection key corresponding to the MAC address of the smart watch, the mobile phone responds to the click operation, and the mobile phone and the smart watch establish second Bluetooth connection and first Bluetooth connection. For a specific interface schematic, reference may be made to the description of fig. 5A, which is not repeated. If the processor of the smart watch determines that the first service does not exist, the processor of the smart watch controls the traditional Bluetooth device to power down, and the traditional Bluetooth device of the smart watch is disconnected from the second Bluetooth connection established with the mobile phone. When a user drives a vehicle, the mobile phone of the user receives a voice call, the mobile phone transmits audio data of the voice call to the low-power-consumption Bluetooth device of the smart watch through the first Bluetooth connection, after the low-power-consumption Bluetooth device of the smart watch receives the audio data of the voice call, a processor of the smart watch determines that a voice call service is started, the processor of the smart watch controls a traditional Bluetooth device to be powered on, and the traditional Bluetooth device and the mobile phone establish a second Bluetooth connection. Subsequently, after the user answers the voice call, the traditional bluetooth device of the smart watch and the mobile phone can transmit voice call data through the second bluetooth connection. After the user directly hangs up the voice call without answering the voice call, or the user answers the voice call to carry out conversation and then hangs up the voice call, the processor of the smart watch determines that the voice conversation service transmission is finished, the processor of the smart watch controls the traditional Bluetooth device to be powered down, then the second Bluetooth connection reconstructed with the mobile phone is disconnected, and the first Bluetooth connection with the mobile phone is kept.
in the foregoing embodiments, the method provided in the embodiments of the present application is introduced from the perspective of a bluetooth device, an electronic device, and an interaction between the bluetooth device and the electronic device. It is understood that, for each network element, for example, the bluetooth device and the electronic device, to implement each function in the method provided in the embodiments of the present application, the bluetooth device and the electronic device include corresponding hardware structures and/or software modules for performing each function. Those of skill in the art will readily appreciate that the various embodiments of the application are capable of being implemented in hardware or a combination of hardware and computer software for performing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the bluetooth device and the electronic device may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
other embodiments of the present application also provide a bluetooth device. As shown in fig. 7, the bluetooth device may include: one or more processors 701, memory 702, communication interface 703, headphones 704, microphone 705, and one or more computer programs 706, legacy bluetooth devices 707, and low-power bluetooth devices 708; the various devices described above may be connected by one or more communication buses 709. Wherein the one or more computer programs 706 are stored in the memory 702 and configured to be executed by the one or more processors 701, the one or more computer programs 706 comprising instructions that may be used to perform the steps as performed in the respective embodiments of fig. 4 or fig. 6. Of course, the bluetooth device shown in fig. 7 may further include other devices such as a sensor, which is not limited in this embodiment.
Still other embodiments of the present application provide an electronic device, as shown in fig. 8, the electronic device may include: a touch screen 801, wherein the touch screen 801 may include a touch sensitive surface 806 and a display screen 807; one or more processors 802; a memory 803; and one or more computer programs 804; a Bluetooth device 808; the various devices described above may be connected by one or more communication buses 805. Wherein the one or more computer programs 804 are stored in the memory 803 and configured to be executed by the one or more processors 802, the one or more computer programs 804 comprising instructions which may be used to perform the steps performed by the electronic device in the respective embodiments of fig. 4 or fig. 6. Of course, the electronic device shown in fig. 8 may also include other devices such as a sensor module, an audio module, and a SIM card interface, which is not limited in this embodiment. When the electronic device shown in fig. 8 further includes other devices such as a sensor module, an audio module, and a SIM card interface, it may be the electronic device shown in fig. 3.
The present embodiment also provides a computer-readable storage medium, which includes instructions, when the instructions are executed on an electronic device, cause the electronic device to execute the relevant method steps in fig. 4 or fig. 6, so as to implement the method in the above-mentioned embodiment.
The present embodiment also provides a computer-readable storage medium, which includes instructions that, when executed on a bluetooth device, cause the bluetooth device to execute the relevant method steps in fig. 4 or fig. 6 to implement the method in the foregoing embodiment.
The present embodiment also provides a computer program product containing instructions, which when run on an electronic device, causes the electronic device to perform the relevant method steps as in fig. 4 or fig. 6, to implement the method in the above-described embodiments.
The present embodiment also provides a computer program product containing instructions, which, when run on a bluetooth device, causes the bluetooth device to perform the relevant method steps as in fig. 4 or fig. 6, to implement the method in the above-mentioned embodiments.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
in the several embodiments provided in this embodiment, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present embodiment essentially or partially contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method described in the embodiments. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The utility model provides a communication system, its characterized in that, this communication system includes intelligent wrist-watch and cell-phone, wherein, intelligent wrist-watch includes treater and two independent bluetooth device, two independent bluetooth device are bluetooth low energy BLE device and traditional bluetooth device respectively, wherein:
The BLE device is used for establishing a first Bluetooth connection with the mobile phone, and the first Bluetooth connection is a BLE connection;
The mobile phone is used for sending a request message of a first service to the smart watch through the first Bluetooth connection when the first service is determined to exist, wherein the request message of the first service comprises an identifier of the first service;
The BLE device is further configured to receive a request message for the first traffic over the first bluetooth connection;
The processor of the smart watch is used for controlling the traditional Bluetooth device to be powered on according to the identifier of the first service;
The traditional Bluetooth device is used for establishing a second Bluetooth connection with the mobile phone, and the second Bluetooth connection is a traditional Bluetooth connection;
The traditional Bluetooth device is also used for transmitting the data of the first service with the mobile phone through the second Bluetooth connection;
and the processor of the intelligent watch is also used for controlling the traditional Bluetooth device to be powered down when the first service transmission is determined to be finished.
2. The system of claim 1,
the traditional Bluetooth device is also used for establishing the second Bluetooth connection with the mobile phone;
And the processor of the intelligent watch is also used for determining that the first service does not exist and controlling the traditional Bluetooth device to be powered down.
3. a Bluetooth handover method applied to a Bluetooth device, wherein the Bluetooth device comprises a processor, a Bluetooth Low Energy (BLE) device and a conventional Bluetooth device, the method comprising:
The BLE device establishes a first Bluetooth connection with the electronic equipment, wherein the first Bluetooth connection is a BLE connection;
the processor controls the traditional Bluetooth device to be powered on when determining that a first service exists, the traditional Bluetooth device establishes a second Bluetooth connection with the electronic equipment, and the second Bluetooth connection is a traditional Bluetooth connection;
The traditional Bluetooth device transmits the data of the first service with the electronic equipment through the second Bluetooth connection;
And the processor determines that the first service transmission is finished and controls the traditional Bluetooth device to be powered down.
4. the method of claim 3, further comprising:
Receiving, by the BLE device, a request message for the first traffic over the first Bluetooth connection, the request message for the first traffic including an identification of the first traffic;
The processor controls the conventional Bluetooth device to be powered on, and comprises:
And the processor controls the traditional Bluetooth device to be powered on according to the identifier of the first service.
5. The method of claim 3 or 4, wherein before the processor determines that there is the first traffic, the method further comprises:
the traditional Bluetooth device and the electronic equipment establish the second Bluetooth connection;
and the processor determines that the first service does not exist, and controls the traditional Bluetooth device to be powered down.
6. A Bluetooth device, comprising a processor, a Bluetooth Low Energy (BLE) device, and a legacy Bluetooth device, wherein:
The BLE device is used for establishing a first Bluetooth connection with the electronic equipment, and the first Bluetooth connection is a BLE connection;
the processor is used for controlling the traditional Bluetooth device to be powered on when the first service is determined to exist;
The traditional Bluetooth device is used for establishing a second Bluetooth connection with the electronic equipment, and the second Bluetooth connection is a traditional Bluetooth connection;
The traditional Bluetooth device is also used for transmitting the data of the first service with the electronic equipment through the second Bluetooth connection;
The processor is further configured to determine that the first service transmission is finished, and control the conventional bluetooth device to power down.
7. The Bluetooth device of claim 6,
The BLE device is configured to receive a request message for a first service over the first bluetooth connection, the request message for the first service including an identification of the first service;
The processor is used for controlling the traditional Bluetooth device to be powered on according to the identification of the first service.
8. The Bluetooth device of claim 6 or 7,
the traditional Bluetooth device is used for establishing the second Bluetooth connection with the electronic equipment;
The processor is used for determining that the first service does not exist and controlling the traditional Bluetooth device to be powered down.
9. a computer-readable storage medium, comprising: computer software instructions;
the computer software instructions, when run in a bluetooth device or a chip built-in to a bluetooth device, cause the bluetooth device to perform the bluetooth handover method according to any one of claims 3-5.
10. a computer program product comprising instructions for causing a bluetooth device to perform the bluetooth handover method according to any one of claims 3-5, when the computer program product is run in the bluetooth device or a chip built in the bluetooth device.
CN201910677545.9A 2019-07-25 2019-07-25 Bluetooth switching method and Bluetooth device Pending CN110572803A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910677545.9A CN110572803A (en) 2019-07-25 2019-07-25 Bluetooth switching method and Bluetooth device
PCT/CN2020/103358 WO2021013156A1 (en) 2019-07-25 2020-07-21 Bluetooth switching method and bluetooth device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910677545.9A CN110572803A (en) 2019-07-25 2019-07-25 Bluetooth switching method and Bluetooth device

Publications (1)

Publication Number Publication Date
CN110572803A true CN110572803A (en) 2019-12-13

Family

ID=68773536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910677545.9A Pending CN110572803A (en) 2019-07-25 2019-07-25 Bluetooth switching method and Bluetooth device

Country Status (2)

Country Link
CN (1) CN110572803A (en)
WO (1) WO2021013156A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111867150A (en) * 2020-07-29 2020-10-30 青岛交互物联科技有限公司 High-speed data transmission method and system
WO2021013156A1 (en) * 2019-07-25 2021-01-28 华为技术有限公司 Bluetooth switching method and bluetooth device
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN113852945A (en) * 2021-10-12 2021-12-28 维沃移动通信有限公司 Electronic equipment and communication method thereof
CN115550891A (en) * 2021-06-29 2022-12-30 华为技术有限公司 Service data transmission method and related equipment
WO2024060777A1 (en) * 2022-09-21 2024-03-28 Oppo广东移动通信有限公司 Bluetooth switching method and apparatus, and bluetooth device and computer-readable medium
WO2024060750A1 (en) * 2022-09-22 2024-03-28 Oppo广东移动通信有限公司 Bluetooth switching method and apparatus, bluetooth connection method and apparatus, and electronic device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11907039B2 (en) * 2021-03-25 2024-02-20 Dell Products L.P. Information handling system location wakeup radio interface synchronized communications
US11943712B2 (en) 2021-03-25 2024-03-26 Dell Products L.P. Information handling system and peripheral group wakeup radio interface synchronized communications
US11737026B2 (en) 2021-03-25 2023-08-22 Dell Products L.P. Information handling system and peripheral wakeup radio interface synchronized communications
CN113613226A (en) * 2021-07-30 2021-11-05 上海闻泰信息技术有限公司 Connection method and device of Bluetooth equipment, electronic equipment and storage medium
CN113873589A (en) * 2021-09-18 2021-12-31 深圳市爱都科技有限公司 Bluetooth connection switching method, Bluetooth headset and computer readable storage medium
CN116033597B (en) * 2022-08-08 2023-12-12 荣耀终端有限公司 Bluetooth connection method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702322A (en) * 2013-12-09 2015-06-10 通用汽车环球科技运作有限责任公司 Method and apparatus for controlling operating states of bluetooth interfaces of a bluetooth module
CN105472542A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Data transmission method and system for smart wearable equipment and mobile terminal based on low-power consumption Bluetooth standard
CN205263518U (en) * 2015-11-12 2016-05-25 朗昇科技(苏州)有限公司 Low -power consumption intelligence bluetooth wrist -watch
CN106658677A (en) * 2016-11-01 2017-05-10 飞天诚信科技股份有限公司 Bluetooth communication method considering communication speed and power consumption and terminal
CN106707735A (en) * 2015-11-12 2017-05-24 朗昇科技(苏州)有限公司 Low-power consumption intelligent Bluetooth watch
US20170208639A1 (en) * 2016-01-15 2017-07-20 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN107135463A (en) * 2017-04-01 2017-09-05 杭州联络互动信息科技股份有限公司 A kind of Bluetooth connecting method and device
CN109788461A (en) * 2017-11-15 2019-05-21 深圳市优必选科技有限公司 Bluetooth dual mode data communication means and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506910B (en) * 2014-12-31 2018-07-06 青岛歌尔声学科技有限公司 A kind of remote control thereof and bimodulus blue Tooth remote controller
US10165613B2 (en) * 2016-10-06 2018-12-25 Htc Corporation Control method for bluetooth communication and bluetooth low energy communication
CN110572803A (en) * 2019-07-25 2019-12-13 华为技术有限公司 Bluetooth switching method and Bluetooth device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702322A (en) * 2013-12-09 2015-06-10 通用汽车环球科技运作有限责任公司 Method and apparatus for controlling operating states of bluetooth interfaces of a bluetooth module
CN205263518U (en) * 2015-11-12 2016-05-25 朗昇科技(苏州)有限公司 Low -power consumption intelligence bluetooth wrist -watch
CN106707735A (en) * 2015-11-12 2017-05-24 朗昇科技(苏州)有限公司 Low-power consumption intelligent Bluetooth watch
CN105472542A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Data transmission method and system for smart wearable equipment and mobile terminal based on low-power consumption Bluetooth standard
US20170208639A1 (en) * 2016-01-15 2017-07-20 Lg Electronics Inc. Method and apparatus for controlling a device using bluetooth technology
CN106658677A (en) * 2016-11-01 2017-05-10 飞天诚信科技股份有限公司 Bluetooth communication method considering communication speed and power consumption and terminal
CN107135463A (en) * 2017-04-01 2017-09-05 杭州联络互动信息科技股份有限公司 A kind of Bluetooth connecting method and device
CN109788461A (en) * 2017-11-15 2019-05-21 深圳市优必选科技有限公司 Bluetooth dual mode data communication means and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021013156A1 (en) * 2019-07-25 2021-01-28 华为技术有限公司 Bluetooth switching method and bluetooth device
CN111867150A (en) * 2020-07-29 2020-10-30 青岛交互物联科技有限公司 High-speed data transmission method and system
CN112423280A (en) * 2020-10-27 2021-02-26 上海影创信息科技有限公司 Wireless communication method, system and medium based on Bluetooth private protocol
CN115550891A (en) * 2021-06-29 2022-12-30 华为技术有限公司 Service data transmission method and related equipment
CN113852945A (en) * 2021-10-12 2021-12-28 维沃移动通信有限公司 Electronic equipment and communication method thereof
CN113852945B (en) * 2021-10-12 2024-03-29 维沃移动通信有限公司 Electronic equipment and communication method thereof
WO2024060777A1 (en) * 2022-09-21 2024-03-28 Oppo广东移动通信有限公司 Bluetooth switching method and apparatus, and bluetooth device and computer-readable medium
WO2024060750A1 (en) * 2022-09-22 2024-03-28 Oppo广东移动通信有限公司 Bluetooth switching method and apparatus, bluetooth connection method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2021013156A1 (en) 2021-01-28

Similar Documents

Publication Publication Date Title
CN110572803A (en) Bluetooth switching method and Bluetooth device
CN113382397B (en) Bluetooth connection method, device and system
CN113613238B (en) SIM module management method and electronic equipment
EP4080941A1 (en) Method for guiding intelligent device to access network, and medium, control terminal, and system
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
US20220039179A1 (en) Bluetooth Connection Method and Device
CN112771900B (en) Data transmission method and electronic equipment
CN112243220A (en) Method for establishing communication connection and wearable device
CN111405681B (en) Wi-Fi Aware link establishment method, wi-Fi Aware link establishment system, electronic equipment and storage medium
CN114079893B (en) Bluetooth communication method, terminal device and computer readable storage medium
CN114710768B (en) Bluetooth connection method and related device
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
CN113923611B (en) Call forwarding system and related device
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
US20240073978A1 (en) Method for monitoring link and terminal device
CN112469011A (en) Bluetooth pairing method and related device
EP4099732A1 (en) Network access method, electronic device, and chip
CN112771828B (en) Audio data communication method and electronic equipment
WO2020062304A1 (en) File transmission method and electronic device
CN114554012B (en) Incoming call answering method, electronic equipment and storage medium
CN113766468B (en) Smart card sharing method, electronic device and computer readable storage medium
WO2021129128A1 (en) Wireless charging method for mobile terminal and mobile terminal
CN111111188B (en) Game sound effect control method and related device
CN116261124A (en) Data transmission method and device, electronic equipment and intelligent terminal
CN113453327A (en) Transmission power control method, terminal, chip system and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213