CN113329389B - Service providing method, device, equipment and storage medium based on Bluetooth connection - Google Patents

Service providing method, device, equipment and storage medium based on Bluetooth connection Download PDF

Info

Publication number
CN113329389B
CN113329389B CN202110728085.5A CN202110728085A CN113329389B CN 113329389 B CN113329389 B CN 113329389B CN 202110728085 A CN202110728085 A CN 202110728085A CN 113329389 B CN113329389 B CN 113329389B
Authority
CN
China
Prior art keywords
bluetooth connection
type
state
switching
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110728085.5A
Other languages
Chinese (zh)
Other versions
CN113329389A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic 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 Beijing Xiaomi Mobile Software Co Ltd, Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110728085.5A priority Critical patent/CN113329389B/en
Publication of CN113329389A publication Critical patent/CN113329389A/en
Application granted granted Critical
Publication of CN113329389B publication Critical patent/CN113329389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • 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/20Manipulation of established 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

Landscapes

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

Abstract

The disclosure provides a service providing method, device, equipment and storage medium based on Bluetooth connection, which are applied to first equipment, wherein the method comprises the following steps: receiving a switching request sent by a third device through the first Bluetooth connection, wherein the switching request is used for indicating the first device to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device; determining, in response to the switch request, whether a switch from the first state to the second state is required; and switching from the first state to the second state under the condition that the switching is required. The embodiment of the disclosure not only saves the connection power consumption, but also realizes the connection of a plurality of devices and the first device, and enriches the application scene.

Description

Service providing method, device, equipment and storage medium based on Bluetooth connection
Technical Field
The disclosure relates to the field of electronic technology, and in particular, to a service providing method, device, equipment and storage medium based on bluetooth connection.
Background
Bluetooth technology is widely applied in the field of consumer electronics, and can be worn, used in smart home, smart car carried and other scenes to see Bluetooth products or Bluetooth solutions. According to market research institution data, the global Bluetooth equipment output in 2018 is about 37 hundred million, and by 2023, the data can reach 54 hundred million, bluetooth equipment can keep 8% of composite growth rate each year, more and more Bluetooth-supporting products are continuously integrated into life, and various innovative experiences are brought.
In the current connection scheme of the terminal and the Bluetooth device, either the switching connection of the Bluetooth device among a plurality of terminals cannot be realized, or the connection switching strategy of the Bluetooth device and the plurality of terminals is prefabricated and cannot be dynamically adjusted according to actual conditions. And bluetooth equipment needs to be supported and connected with a plurality of terminals entirely, and the consumption is great.
Disclosure of Invention
The disclosure provides a service providing method, device, equipment and storage medium based on Bluetooth connection.
According to a first aspect of embodiments of the present disclosure, a service providing method based on bluetooth connection is provided and applied to a first device, where the first device and a second device establish a first type bluetooth connection and a second type bluetooth connection; the first equipment and the third equipment are connected by a first Bluetooth; wherein the power consumption of the first type of bluetooth connection is smaller than the power consumption of the second type of bluetooth connection, the method comprising:
Receiving a switching request sent by a third device through the first Bluetooth connection, wherein the switching request is used for indicating the first device to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
determining, in response to the switch request, whether a switch from the first state to the second state is required;
and switching from the first state to the second state under the condition that the switching is required.
In some embodiments, the determining whether a switch from the first state to the second state is required in response to the switch request comprises:
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
wherein in the absence of said data, a switch from said first state to said second state is required.
In some embodiments, the method further comprises:
determining a service type of the data in the presence of the data;
And determining whether the first state needs to be switched to the second state according to the service type.
In some embodiments, the determining whether a switch from the first state to the second state is required according to the service type comprises:
determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
In some embodiments, the switching from the first state to the second state in the case that it is determined that switching is required includes:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
According to a second aspect of embodiments of the present disclosure, there is provided a service providing method based on bluetooth connection, applied to a third device, the method including:
transmitting a switching request to a first device through a first type of Bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection;
and in the case that the first device determines that the first device needs to be switched from the first state to the second state, establishing the second-type Bluetooth connection between the third device and the first device.
In some embodiments, the method comprises:
determining whether the third device has data to be transmitted based on the second type bluetooth connection;
and sending a switching request to the first device through the first type Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second type Bluetooth connection.
According to a third aspect of embodiments of the present disclosure, there is provided a service providing apparatus based on bluetooth connection, which is applied to a first device, where the first device and a second device establish a first type bluetooth connection and a second type bluetooth connection; the first device also establishes a first type Bluetooth connection with a third device; wherein the power consumption of the first type of bluetooth connection is less than the power consumption of the second type of bluetooth connection, the apparatus comprising:
the first processing module is used for receiving a switching request sent by third equipment through the first Bluetooth connection, wherein the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
a first determining module, configured to determine, in response to the switching request, whether a switch from the first state to the second state is required;
and the second processing module is used for switching from the first state to the second state under the condition that the switching is determined to be needed.
In some embodiments, the first determining module is further configured to;
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
wherein in the absence of said data, a switch from said first state to said second state is required.
In some embodiments, the apparatus further comprises:
a second determining module, configured to determine a service type of the data in the presence of the data;
and the third processing module is used for determining whether the first state needs to be switched to the second state according to the service type.
In some embodiments, the third processing module is further configured to:
determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
In some embodiments, the second processing module is further configured to:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
According to a fourth aspect of embodiments of the present disclosure, there is provided a service providing apparatus based on bluetooth connection, applied to a third device, the apparatus comprising:
the third determining module is used for sending a switching request to the first equipment through the first Bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection;
and the fourth processing module is used for establishing the second-type Bluetooth connection between the third device and the first device under the condition that the first device determines that the first device needs to be switched from the first state to the second state.
In some embodiments, the apparatus further comprises:
a fifth determining module, configured to determine whether the third device has data that needs to be transmitted based on the second type bluetooth connection;
the fourth processing module is further configured to: and sending a switching request to the first device through the first Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second Bluetooth connection.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device comprising a processor, a memory and an executable program stored on the memory and capable of being executed by the processor, the processor executing the steps of the bluetooth connection based service providing method according to the first or second aspect when the executable program is executed.
According to a sixth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon an executable program which when executed by a processor implements the steps of the bluetooth connection based service providing method of the first aspect or the second aspect.
The embodiment of the disclosure discloses a service providing method, device, equipment and storage medium based on Bluetooth connection; the first equipment can be connected with a plurality of equipment such as second equipment and/or third equipment, and the first equipment does not need to be connected with each equipment completely, namely, the first equipment can only establish a first type Bluetooth connection with lower power consumption with part of equipment, the first equipment and all the equipment do not need to be kept in a second type Bluetooth connection state with higher power consumption, and the power consumption is saved. Before switching, the first type Bluetooth connection between the first device and the third device can be quickly switched to the second type Bluetooth connection between the first device and the third device based on the first type Bluetooth connection when the connection is switched, so that the switching rate is improved. Therefore, the technical scheme of the embodiment of the disclosure not only realizes the connection of the plurality of devices and the first device, and does not need to carry out Bluetooth connection through a preset strategy, but also can dynamically adjust the second type Bluetooth connection between the plurality of devices and the first device according to actual conditions, enriches application scenes, and also gives consideration to saving connection power consumption and improving switching rate.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is one of flow diagrams illustrating a bluetooth connection-based service providing method according to an exemplary embodiment;
FIG. 2 is a second flow chart of a method for providing Bluetooth connection-based service according to an exemplary embodiment;
fig. 3 is a flowchart of a service providing method based on bluetooth connection according to an exemplary embodiment;
fig. 4 is a flowchart to four of a service providing method based on bluetooth connection according to an exemplary embodiment;
FIG. 5 is a block diagram of a Bluetooth connection-based service providing apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram of another Bluetooth connection-based service providing apparatus, according to an exemplary embodiment;
fig. 7 is a block diagram showing a composition structure of a service providing apparatus for bluetooth connection according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of embodiments of the present disclosure as detailed in the accompanying claims.
The terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Fig. 1 is a flowchart of a service providing method based on bluetooth connection according to an exemplary embodiment, and as shown in fig. 1, an embodiment of a first aspect of the present disclosure provides a service providing method based on bluetooth connection, which is applied to a first device, where the first device and a second device establish a first type bluetooth connection and a second type bluetooth connection; the first device also establishes a first type Bluetooth connection with a third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection, and the method comprises the following specific steps:
step S101, receiving a switching request sent by a third device through the first Bluetooth connection, wherein the switching request is used for indicating the first device to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
step S102, responding to the switching request, determining whether the switching from the first state to the second state is needed;
step S103, when it is determined that the switching is required, switching from the first state to the second state.
In the disclosed embodiments, a first type of bluetooth connection includes a bluetooth low energy connection (BLE, bluetooth Low Energy), such as: the first type of bluetooth connection is a BLE GATT (generic attribute service, generic Attribute Profile) based connection, where GATT is a generic specification over BLE bluetooth connections that sends and receives shorter data segments.
The second type of bluetooth connection may comprise a classical bluetooth connection. The classical bluetooth connection is also known as a traditional bluetooth connection. For example: the second type of bluetooth connection includes, but is not limited to, HFP (Hands-Free Profile) connections, and/or advanced audio transport services (A2 DP, advanced Audio Distribution Profile) connections.
Generally, the transmission rate of the second type of bluetooth connection is higher than the transmission rate of the first type of bluetooth connection, and the power consumption of the second type of bluetooth connection is greater than the power consumption of the first type of bluetooth connection.
In addition to the transmission rate, the data length transmitted by the second type of bluetooth connection is greater than the data length transmitted by the first type of bluetooth connection, and the data size transmitted by the second type of bluetooth connection is greater than the data size transmitted by the first type of bluetooth connection. For example: the data transmitted based on the first type of bluetooth connection may be broadcast data broadcasting the connection status, name, bluetooth address, etc. of the second device or the third device. The second type of bluetooth connection may be used to transmit call data, video data, or multimedia audio data, etc.
The first type of bluetooth connection can reduce power consumption and cost while maintaining an equivalent communication range as compared to the second type of bluetooth connection.
In step S101, in the first state, the first device and the second device perform data transmission based on the second bluetooth connection. Besides, the first device can establish the first type bluetooth connection with a plurality of devices such as the third device and the fourth device in addition to the first type bluetooth connection with the second device and the third device respectively. At the time of switching, in addition to switching to the third device, switching to the fourth device or the fifth device may be performed. For example: the second state may also be: the first device establishes the second type Bluetooth connection with the fourth device.
Before switching, a first type Bluetooth connection is established between the first device and the third device, and when a second type Bluetooth connection needs to be established between the first device and the third device, pairing between the first device and the third device is not needed, so that partial connection steps are reduced, establishment of the second type Bluetooth connection is quickened, and switching rate is improved.
In some embodiments, the first type of bluetooth connection is a hopp protocol-based connection. HOGP refers to HID Over GATT Profile, wherein HID (human interface device, human Interface Device Profile) comprises e.g. a mouse or a keyboard. This first type of bluetooth connection can be automatically reconnected after disconnection. For example: if the third device is disconnected from the first type bluetooth connection with the first device due to power-off, the third device automatically establishes the first type bluetooth connection with the first device after the third device is powered on.
The first device may be, but not limited to, an electronic device such as an earphone or a microphone, or may be a terminal such as a mobile phone, a wearable device, a notebook computer, a tablet computer, a home appliance or a vehicle-mounted device.
The second device or the third device may be any one of terminals such as a mobile phone, a wearable device, a notebook computer, a tablet computer, a home appliance, or a vehicle-mounted device.
In some embodiments, a first device may maintain a first type of bluetooth connection with at least two other devices over a first type of bluetooth connection and a second type of bluetooth connection with one or both other devices over a second type of bluetooth connection. Wherein the other device comprises a second device or a third device.
The second type of bluetooth connection between the first device and the second device comprises an HFP connection and/or an A2DP connection. The data includes, but is not limited to: voice call data, video call data, live broadcast data, multimedia audio data, or the like.
In step S102, it may be determined whether the first device needs to switch from the first state to the second state according to the data existing in the first device and the data based on the second type bluetooth connection carried in the switching request.
Generally, if the first device and the second device are in the second bluetooth connection state, but there is no transmission data based on the second bluetooth connection, the first device and the second device may be switched. If the first device and the second device have data transmission based on the second type of Bluetooth connection, the service type of the data being transmitted needs to be followed, and whether the switching condition is met is determined. But is not limited thereto.
For example: if the first device and the second device are transmitting voice call data based on the second type bluetooth connection, that is, the first device and the second device are performing voice call, at this time, even if the third device has an incoming call to be connected, the second type bluetooth connection between the first device and the third device cannot be established, and the switching cannot be completed.
In step S103, the third device may perform communication with the first device based on the first type bluetooth connection, so as to establish a second type bluetooth connection between the first device and the third device. For example: the first device establishes an HFP connection or an A2DP connection between the first device and the third device when receiving an HFP or A2DP connection request from the third device based on the first type of Bluetooth connection.
In summary, in the embodiment of the present disclosure, the first device may be connected to a plurality of devices, such as the third device and/or the second device, and the first device does not need to be completely connected to each device, that is, the first device may only establish a first type bluetooth connection with a part of devices with lower power consumption, and does not need to keep the first device and all devices in a higher second type bluetooth connection state, thereby saving power consumption. The first type Bluetooth connection between the first equipment and the third equipment is maintained, and when the connection is switched, the second type Bluetooth connection between the first equipment and the third equipment can be quickly established based on the first type Bluetooth connection, so that the switching rate is improved. Therefore, the technical scheme of the embodiment of the disclosure not only realizes the connection of the plurality of devices and the first device, but also does not need to carry out Bluetooth connection through a preset strategy, and can dynamically adjust the second type Bluetooth connection between the plurality of devices and the first device according to actual conditions, thereby enriching application scenes.
In other optional embodiments, the determining, in response to the switching request, whether switching from the first state to the second state is required includes:
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
wherein in the absence of said data, a switch from said first state to said second state is required.
In practical applications, if the first device and the second device are connected through HFP, but there is no data transmission related to HFP between the first device and the second device, or if the first device and the second device are connected through A2DP, but there is no data transmission related to A2DP between the first device and the second device, or if the first device and the second device are connected through HFP and A2DP, but there is no data transmission related to A2DP or HFP between the first device and the second device; it may be determined that there is no data in the first device that is transmitted by the second device over the second type of bluetooth connection, but is not limited thereto. At this time, switching can be performed.
According to the mode of the embodiment of the disclosure, bluetooth connection between the first equipment and other equipment can be flexibly switched according to actual application conditions, so that application scenes are further enriched, and user experience is improved.
In other alternative embodiments, the method further comprises:
determining a service type of the data in the presence of the data;
and determining whether the first state needs to be switched to the second state according to the service type.
In some embodiments, if the priority of the data existing in the first device is lower than the priority of the data carried by the handover request; and/or, the data existing in the first device is: the pre-recorded multimedia information is determined to switch from the first state to the second state.
Without limitation, the priority of the data existing in the first device is lower than or equal to the priority of the data carried by the request from the switch, and/or the data being transmitted is data capable of suspending transmission, and the switch from the first state to the second state is determined. The data capable of suspending transmission includes, but is not limited to, prerecorded multimedia information, and after the transmission of the data between the first device and the third device is completed, the second type bluetooth connection between the first device and the second device is established again, and the data capable of suspending transmission is continuously transmitted on the basis of the previous transmission until the transmission is completed.
If the data being transmitted is data which cannot be paused, the data is determined not to be switched from the first state to the second state. Wherein the data that cannot suspend transmission includes, but is not limited to: at least one of voice call data, video call data, or live data.
For example: the priority of the multimedia audio data is lower than the priority of the voice call. If the data being transmitted between the first device and the second device is multimedia audio data, the data transferred from the second device to the third device is voice call data, and the switching condition is determined to be met, and the switching can be performed.
For another example: the priority of the multimedia audio data is lower than the priority of the voice call. If the data being transmitted between the first device and the second device is multimedia audio data or voice call data, the data transferred from the second device to the third device is multimedia audio data, and it is determined that the switching condition is not satisfied, the transmission of the multimedia audio data between the first device and the second device cannot be disconnected, and the first device is still transmitting the multimedia audio data or the call data from the second device.
In other optional embodiments, the determining whether a switch from the first state to the second state is required according to the service type includes:
Determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
In some embodiments, the priority of the data corresponding to the first type of service is higher than the priority of the data corresponding to the second type of service.
In some embodiments, the first type of service may be data that is not capable of suspending transmission, including but not limited to voice call data, such as: voice call data, video call data, or live data; the second type of service may be data capable of suspending transmission, for example: the second type of service type includes: pre-recorded multimedia data.
In some embodiments, the data corresponding to the first type of service is incoming call data, for example: the data corresponding to the first type of service type includes data that can be transmitted based on the A2DP connection. Illustratively: the data corresponding to the first service type includes, but is not limited to, a voice call of the social application program, an incoming call of the terminal system, and the like. The data corresponding to the second type of service type is multimedia playing data, for example: the data corresponding to the second class of service type includes data that can be transferred based on the HFP connection, for example, the data corresponding to the second class of service type includes, but is not limited to, music playing data of a music application.
In other optional embodiments, the switching from the first state to the second state in the case that it is determined that switching is required includes:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
In some embodiments, said disconnecting said second type of bluetooth connection between said first device and said second device comprises: and according to the service type of the data carried by the switching request and the second-type Bluetooth connection state between the first equipment and the second equipment, disconnecting part of the second-type Bluetooth connection between the first equipment and the second equipment, or disconnecting all the second-type Bluetooth connection between the first equipment and the second equipment.
In practical applications, the first type of service refers to a type of service of data that can be transmitted based on the HFP connection, and the second type of service refers to a type of service of data that can be transmitted based on the A2DP connection. If the second type bluetooth connection between the first device and the second device is an A2DP connection and/or an HFP connection, and the service type of the data carried by the handover request is the second type service type, the A2DP connection between the first device and the second device may be disconnected, but the HFP connection between the first device and the second device is maintained when it is determined that the handover is required. If the second type bluetooth connection between the first device and the second device is an A2DP connection and/or an HFP connection, and the service type of the data carried by the handover request is the first type service type, if it is determined that handover is required, the HFP connection between the first device and the second device may be disconnected, but the A2DP connection between the first device and the second device is maintained.
For example: if the second type bluetooth connection between the first device and the second device includes an A2DP connection and an HFP connection, and if the data transmitted between the first device and the second device through the second type bluetooth connection is voice call data and the data carried by the handover request is also voice call data, the HFP connection between the first device and the second device may be disconnected, but the A2DP connection between the first device and the second device is reserved.
When the second-type Bluetooth connection between the first device and the second device is disconnected, the second-type Bluetooth connection between the first device and the third device is established, and the second-type Bluetooth connection between the first device and the second device is switched to the second-type Bluetooth connection between the first device and the third device.
In some embodiments, as shown in fig. 3, the first device is a C-phone, and the third device and the second device are both mobile phones, which are called a-phone and B-phone, respectively, for distinction. And the A mobile phone and the B mobile phone respectively establish BLE GATT connection with the earphone. The service providing method based on Bluetooth connection is applied to a first device, the first device is a headset, a third device and a second device are respectively marked as an A mobile phone and a B mobile phone, and the method comprises the following steps:
step S201, a C earphone receives a voice call data connection request of an A mobile phone;
step S202, determining the connection state of the C earphone, if no data is transmitted between the C earphone and the B mobile phone based on the second type Bluetooth connection, executing step S206 to step S207, and if data is being transmitted between the C earphone and the B mobile phone based on the second type Bluetooth connection, executing step S203;
step S203, determining the service type of the transmission data; if the multimedia audio data is being transmitted between the C earphone and the B mobile phone based on the A2DP connection, executing the step S204; if voice call data is being transmitted between the C-phone and the B-phone based on the HFP connection, step S208 is executed;
Step S204, determining whether the voice call data is greater than the priority of the multimedia audio data; in this example, the priority of the voice call data is greater than the priority of the multimedia audio data, and step S205 is executed if an option is selected;
step S205, disconnecting the data transmission between the C earphone and the B mobile phone;
step S206, disconnecting HFP connection between the C earphone and the B mobile phone;
step S207, responding to the voice call data connection request, and establishing HFP connection between the C earphone and the B mobile phone;
step S208, refusing the voice call data connection request.
In a second aspect of the present disclosure, there is also provided a service providing method based on bluetooth connection, as shown in fig. 4, applied to a third device, the method including:
step S301, a switching request is sent to a first device through a first type Bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection;
Step S302, when the first device determines that the first device needs to switch from the first state to the second state, the second type bluetooth connection between the third device and the first device is established.
In an embodiment of the disclosure, the first type of bluetooth connection includes a bluetooth low energy connection; the second category of bluetooth connections includes classical bluetooth connections, such as: the HFP connection and/or the A2DP connection is maintained between the first device and the second device.
In step S301, the third device may implement establishing a second type bluetooth connection between the first device and the third device based on the communication between the first type bluetooth connection and the first device. For example: when the third device has an incoming call or multimedia audio play, the third device may send an HFP or A2DP connection request to the first device based on the first type bluetooth connection, and if the connection request is responded, the HFP connection or the A2DP connection between the first device and the third device may be completed, so as to implement voice call data transmission or multimedia audio data transmission between the third device and the first device.
In step S302, it may be understood that, if the service type of the data between the first device and the second device is the first service type, and it is determined that the first device does not need to switch from the first state to the second state, the first device may reject the connection request of the third device, and at this time, the second bluetooth connection between the third device and the first device cannot be established.
In the embodiment of the disclosure, after the second type bluetooth connection (for example, HFP connection) between the first device and the third device is established, the first device outputs data from the third device.
In other alternative embodiments, the method includes:
determining whether the third device has data to be transmitted based on the second type bluetooth connection;
and sending a switching request to the first device through the first type Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second type Bluetooth connection.
Without limitation, the running state of the third device may be detected by an application (app) or a system, and if the third device has a service such as an incoming call, multimedia audio playing, etc., it is determined that there is data to be transmitted based on the second type bluetooth connection.
The third device has service types requiring data based on the second type of bluetooth transmission including the first type of service type and the second type of service type.
The data includes, but is not limited to, voice call data, video call data, live data, multimedia audio data, or the like.
When the third device does not have data to be transmitted based on the second-type Bluetooth connection, the third device can communicate with the first device only through the first-type Bluetooth connection, and the second-type Bluetooth connection with larger power consumption is not established with the first device, so that the power consumption is saved. When the third device has data to be transmitted based on the second Bluetooth connection, the third device can be quickly switched to the second Bluetooth connection between the third device and the first device based on the first Bluetooth connection, so that the switching rate is improved, and the user experience is improved.
In some embodiments, as shown in fig. 2, after the C-phone binds A, B two phones, the a-phone and the C-phone maintain the first type bluetooth connection, or the B-phone and the C-phone maintain the first type bluetooth connection, or the a-phone and the B-phone respectively maintain the first type bluetooth connection with the C-phone. And the C earphone and the A mobile phone are connected by a second type Bluetooth. Meanwhile, an Application (Application) on the B mobile phone monitors the behavior of the B mobile phone, when the B mobile phone responds with audio and telephone functions, the B mobile phone sends a switching request through a first type Bluetooth connection, and when the C earphone determines that the C mobile phone needs to be switched from a first state to a second state, the second type Bluetooth connection of the C earphone and the B mobile phone is established, so that the purposes of power saving and automatic switching are achieved.
The automatic switching function of the C-earphone from the first state to the second state can be controlled individually. Namely, under the condition that the switching function is started, and under the condition that the C determines that the C needs to be switched from the first state to the second state, the second-type Bluetooth connection between the C earphone and the B mobile phone can be established, and the switching is realized. If the switching function is turned off, even when the C-earphone can be switched from the first state to the second state, the C-earphone cannot be switched. In practical application, the switching function can be started by turning on the Bluetooth switch on the A mobile phone and/or the B mobile phone.
In the call scenario, as shown in fig. 2, the C-phone is connected to the a-phone through HFP, and if the a-phone receives a call, no handover is initiated. For example: c, the earphone is connected with the mobile phone A through the HFP, if the mobile phone B answers the call, the APP on the mobile phone B recognizes the call action, and the earphone C is requested to switch the HFP to be connected to the mobile phone B through the BLE GATT; and when the C earphone receives the request, if voice call data based on HFP connection of the A mobile phone exists, rejecting the request of the B mobile phone, otherwise, responding to the request.
In the music playing scene, as shown in fig. 2, the C-earphone is connected with the a-mobile phone through the A2DP, and if the a-mobile phone plays audio data, the B-mobile phone does not initiate switching when the B-mobile phone needs to play audio data through the C-earphone. Specifically, the C earphone is connected with the A mobile phone through the A2DP, if the B mobile phone plays the audio, the APP on the B mobile phone recognizes the playing action, and requests the C earphone to switch the A2DP to be connected to the B mobile phone through the BLE GATT; and when the C earphone receives the request, if the A2DP audio stream of the A mobile phone exists, rejecting the request of the B mobile phone, otherwise, responding to the request. Whereas when the C earphone is connected with the B mobile phone through the A2DP, the A mobile phone also processes the C mobile phone.
According to the embodiment of the disclosure, whether the third device has data to be transmitted based on the second type Bluetooth connection or not can be determined according to the APP, and the switching request is sent through the first type Bluetooth connection, so that the switching of the second type Bluetooth connection among 2 different devices is realized, and the problem that the low-cost Bluetooth device is flexibly switched among multiple hosts is solved. While reducing the cost of the device, a better user experience is maintained. Moreover, the embodiment of the disclosure can increase the Multipoint (Multipoint connection) function of the equipment capability at the hardware end with lower cost, has wider application range and solves the scene functions of reconnection and switching with low cost; compared with manual switching, pure-ble switching and multi-point functional equipment, the technical scheme disclosed by the invention can be matched with APP to perform automatic switching; in addition, in the scheme, the expandability of other devices connected with the first device is high, and the device can be expanded into automatic switching of three, four or more devices, one-time connection and automatic switching use, so that the user experience is improved.
In a third aspect of the present disclosure, there is also provided a service providing apparatus 400 based on bluetooth connection, as shown in fig. 5,
the method is applied to first equipment, wherein the first equipment and second equipment are provided with a first Bluetooth connection and a second Bluetooth connection, and the first equipment and third equipment are also provided with a first Bluetooth connection; wherein the power consumption of the first type of bluetooth connection is less than the power consumption of the second type of bluetooth connection, the apparatus comprising:
a first processing module 410, configured to receive a switching request sent by a third device through the first bluetooth connection, where the switching request is used to instruct the first device to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
a first determining module 420, configured to determine, in response to the switching request, whether a switch from the first state to the second state is required;
the second processing module 430 is configured to switch from the first state to the second state if it is determined that switching is required.
In other alternative embodiments, the first determining module is further configured to;
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
wherein in the absence of said data, a switch from said first state to said second state is required.
In other alternative embodiments, the apparatus further comprises:
a second determining module, configured to determine a service type of the data in the presence of the data;
and the third processing module is used for determining whether the first state needs to be switched to the second state according to the service type.
In other optional embodiments, the third processing module is further configured to:
determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
In other alternative embodiments, the second processing module is further configured to:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
In a fourth aspect of the present disclosure, there is also provided a service providing apparatus 500 based on bluetooth connection, as shown in fig. 6, applied to a third device, the apparatus including:
a third determining module 510, configured to send a handover request to the first device through the first type bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection;
and a fourth processing module 520, configured to establish the second type bluetooth connection between the third device and the first device when the first device needs to be switched.
In other alternative embodiments, the apparatus further comprises:
a fifth determining module, configured to determine whether the third device has data that needs to be transmitted based on the second type bluetooth connection;
the fourth processing module is further configured to: and sending a switching request to the first device through the first Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second Bluetooth connection.
The disclosed embodiments also provide an electronic device comprising a processor, a memory and an executable program stored on the memory and capable of being run by the processor, the processor executing the steps of the bluetooth connection based service providing method as described in the embodiments of the first or second aspect when the executable program is run.
The embodiments of the present disclosure also provide a storage medium having stored thereon an executable program which when executed by a processor implements the steps of the bluetooth connection based service providing method as described in the embodiments of the first or second aspect above.
Embodiments of the first aspect to the fourth aspect of the present disclosure may further be adapted by transplantation, and may be extended to other technical fields. Such as extending to WiFi APs (wireless hotspots) controlling multiple terminal connections, etc.
Fig. 7 is a block diagram illustrating a service providing apparatus 800 for bluetooth connection based services according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. The service providing method based on the Bluetooth connection is characterized by being applied to first equipment, wherein the first equipment and second equipment are provided with a first type Bluetooth connection and a second type Bluetooth connection; the first device also establishes a first type Bluetooth connection with a third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection, and the first type of Bluetooth connection can be automatically connected back after being disconnected; the method comprises the following steps:
Receiving a switching request sent by a third device through the first Bluetooth connection, wherein the switching request is used for indicating the first device to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
determining, in response to the switch request, whether a switch from the first state to the second state is required;
under the condition that the switching is required, switching from the first state to the second state;
after the first device binds the second device and the third device, the second device and the third device maintain the first type bluetooth connection with the first device respectively.
2. The bluetooth connection-based service providing method according to claim 1, wherein the determining whether a switch from the first state to the second state is required in response to the switch request comprises:
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
Wherein in the absence of said data, a switch from said first state to said second state is required.
3. The bluetooth connection-based service providing method according to claim 2, wherein the method further comprises:
determining a service type of the data in the presence of the data;
and determining whether the first state needs to be switched to the second state according to the service type.
4. A bluetooth connection based service providing method according to claim 3, wherein said determining whether a switch from the first state to the second state is required according to the service type comprises:
determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
5. The bluetooth connection-based service providing method according to claim 1, wherein the switching from the first state to the second state in the case where it is determined that switching is required, comprises:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
6. A service providing method based on bluetooth connection, applied to a third device, the method comprising:
transmitting a switching request to a first device through a first type of Bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that a second type Bluetooth connection is established between the first device and the second device; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection; the first Bluetooth connection can be automatically connected back after being disconnected;
establishing the second type Bluetooth connection between the third device and the first device under the condition that the first device determines that the first device needs to be switched from a first state to a second state;
After the first device binds the second device and the third device, the second device and the third device maintain the first type bluetooth connection with the first device respectively.
7. The service providing method according to claim 6, characterized in that the method comprises:
determining whether the third device has data to be transmitted based on the second type bluetooth connection;
and sending the switching request to the first device through the first type Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second type Bluetooth connection.
8. The service providing device based on the Bluetooth connection is characterized by being applied to first equipment, wherein the first equipment and second equipment are provided with a first Bluetooth connection and a second Bluetooth connection, and the first equipment and third equipment are also provided with a first Bluetooth connection; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection, and the first type of Bluetooth connection can be automatically connected back after being disconnected; the device comprises:
the first processing module is used for receiving a switching request sent by third equipment through the first Bluetooth connection, wherein the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that the second type Bluetooth connection is established between the first equipment and the second equipment; the second state is that the second type Bluetooth connection is established between the first device and the third device;
A first determining module, configured to determine, in response to the switching request, whether a switch from the first state to the second state is required;
the second processing module is used for switching from the first state to the second state under the condition that the switching is required;
after the first device binds the second device and the third device, the second device and the third device maintain the first type bluetooth connection with the first device respectively.
9. The apparatus of claim 8, wherein the first determination module is further configured to;
determining whether data transmitted by the second device through the second type Bluetooth connection exists in the first device;
wherein in the absence of said data, a switch from said first state to said second state is required.
10. The apparatus of claim 9, wherein the apparatus further comprises:
a second determining module, configured to determine a service type of the data in the presence of the data;
and the third processing module is used for determining whether the first state needs to be switched to the second state according to the service type.
11. The apparatus of claim 10, wherein the third processing module is further configured to:
determining that switching from the first state to the second state is not required in the case that the service type is a first type of service type;
under the condition that the service type is the second type of service type, determining whether the service type carried in the switching request needs to be switched from the first state to the second state or not according to the service type; under the condition that the service type carried in the switching request is a first service type, the switching from the first state to the second state is needed; and under the condition that the service type carried in the switching request is the second type of service type, the switching from the first state to the second state is not needed.
12. The apparatus of claim 8, wherein the second processing module is further configured to:
and under the condition that the switching is required, disconnecting the second-type Bluetooth connection between the first device and the second device, and establishing the second-type Bluetooth connection between the first device and the third device.
13. A service providing apparatus based on bluetooth connection, applied to a third device, the apparatus comprising:
The third processing module sends a switching request to the first equipment through the first Bluetooth connection; the switching request is used for indicating the first equipment to switch from a first state to a second state; the first state is that a second type Bluetooth connection is established between the first device and the second device; the second state is that the second type Bluetooth connection is established between the first device and the third device; the power consumption of the first type of Bluetooth connection is smaller than that of the second type of Bluetooth connection; the first Bluetooth connection can be automatically connected back after being disconnected;
a fourth processing module, configured to establish the second type bluetooth connection between the third device and the first device when the first device determines that a switch from a first state to a second state is required;
after the first device binds the second device and the third device, the second device and the third device maintain the first type bluetooth connection with the first device respectively.
14. The apparatus of claim 13, wherein the apparatus further comprises:
a fifth determining module, configured to determine whether the third device has data that needs to be transmitted based on the second type bluetooth connection;
The fourth processing module is further configured to: and sending a switching request to the first device through the first Bluetooth connection under the condition that the third device has data which needs to be transmitted based on the second Bluetooth connection.
15. An electronic device comprising a processor, a memory and an executable program stored on the memory and capable of being run by the processor, wherein the processor performs the steps of the bluetooth connection based service providing method according to any one of claims 1 to 5 when running the executable program; or alternatively, the first and second heat exchangers may be,
the processor, when running the executable program, performs the steps of the bluetooth connection based service providing method according to claim 6 or 7.
16. A storage medium having stored thereon an executable program, wherein the executable program when executed by a processor performs the steps of the bluetooth connection based service providing method according to any one of claims 1 to 5; or alternatively, the first and second heat exchangers may be,
the executable program when executed by a processor implements the steps of the bluetooth connection based service providing method according to claim 6 or 7.
CN202110728085.5A 2021-06-29 2021-06-29 Service providing method, device, equipment and storage medium based on Bluetooth connection Active CN113329389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110728085.5A CN113329389B (en) 2021-06-29 2021-06-29 Service providing method, device, equipment and storage medium based on Bluetooth connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110728085.5A CN113329389B (en) 2021-06-29 2021-06-29 Service providing method, device, equipment and storage medium based on Bluetooth connection

Publications (2)

Publication Number Publication Date
CN113329389A CN113329389A (en) 2021-08-31
CN113329389B true CN113329389B (en) 2023-05-23

Family

ID=77425046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110728085.5A Active CN113329389B (en) 2021-06-29 2021-06-29 Service providing method, device, equipment and storage medium based on Bluetooth connection

Country Status (1)

Country Link
CN (1) CN113329389B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844735B (en) * 2022-03-28 2023-10-27 海信视像科技股份有限公司 Display equipment and voice forwarding method
CN116669225B (en) * 2022-12-28 2024-04-19 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016017909A1 (en) * 2014-07-31 2016-02-04 엘지전자(주) Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN111436038A (en) * 2019-10-23 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth connection method and system, Bluetooth master and slave device connection method and Bluetooth master and slave device
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737917B2 (en) * 2009-07-24 2014-05-27 Broadcom Corporation Method and system for a dual-mode bluetooth low energy device
US10917920B2 (en) * 2015-05-14 2021-02-09 Lg Electronics Inc. Method and apparatus for connecting alternative communication means using bluetooth low energy (LE)
CN108377482B (en) * 2016-11-07 2021-05-28 中兴通讯股份有限公司 Method, device, system and equipment for connecting terminal with Bluetooth equipment
US10959128B2 (en) * 2019-02-08 2021-03-23 Arm Limited Bluetooth low energy connected isochronous stream acknowledgement and flush algorithm and implementation
CN113225693B (en) * 2019-04-18 2022-04-15 华为技术有限公司 Bluetooth connection method, equipment and system
CN112822663B (en) * 2019-10-31 2022-06-14 华为技术有限公司 Bluetooth connection method and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016017909A1 (en) * 2014-07-31 2016-02-04 엘지전자(주) Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal
CN111436038A (en) * 2019-10-23 2020-07-21 珠海市杰理科技股份有限公司 Bluetooth connection method and system, Bluetooth master and slave device connection method and Bluetooth master and slave device

Also Published As

Publication number Publication date
CN113329389A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
JP6383109B2 (en) Network connection method, network connection device, terminal, communication device, network connection system, program, and recording medium
US10237214B2 (en) Methods and devices for sharing media data between terminals
WO2017045307A1 (en) Method and apparatus for displaying answering extension function
CN113329389B (en) Service providing method, device, equipment and storage medium based on Bluetooth connection
WO2020097845A1 (en) Method and device for using network slice
US11596018B2 (en) Region configuration method and device
CN106507282B (en) Wireless connection control method and device
WO2021081796A1 (en) Paging signaling receiving method and apparatus, and paging signaling transmitting method and apparatus
CN111049984A (en) Audio playback control method and apparatus, and storage medium
CN108848484B (en) Equipment sharing method, device and storage medium
CN105208089A (en) Information display method, apparatus and system
US9723639B2 (en) Communication method and terminal
CN109525966B (en) Intelligent device query method and device and storage medium
CN111010721A (en) Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN107371222B (en) Virtual card disabling method and device
CN106933111B (en) Method and device for controlling equipment
WO2021223157A1 (en) Communication control method and communication control apparatus
CN112702803A (en) Channel determination method and device, terminal equipment and computer readable storage medium
CN108028810B (en) Method and device for establishing service connection
WO2023240443A1 (en) Bluetooth communication method and apparatus, and storage medium
CN107277422B (en) Video call method, device and system
CN113692067A (en) Device connection method, device and readable storage medium
CN112882622A (en) Data processing method and device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant