CN113329389A - 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
CN113329389A
CN113329389A CN202110728085.5A CN202110728085A CN113329389A CN 113329389 A CN113329389 A CN 113329389A CN 202110728085 A CN202110728085 A CN 202110728085A CN 113329389 A CN113329389 A CN 113329389A
Authority
CN
China
Prior art keywords
state
bluetooth connection
type
equipment
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110728085.5A
Other languages
Chinese (zh)
Other versions
CN113329389B (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 present disclosure provides a service providing method, device, equipment and storage medium based on bluetooth connection, which are applied to a first device, and the method includes: receiving a switching request sent by a third device through the first-class Bluetooth connection, wherein the switching request is used for indicating that the first device is switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection; determining whether a switch from the first state to the second state is required in response to the switch request; switching from the first state to the second state if it is determined that switching is required. The embodiment of the disclosure not only saves connection power consumption, but also realizes connection of a plurality of devices and the first device, and enriches application scenarios.

Description

Service providing method, device, equipment and storage medium based on Bluetooth connection
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method, an apparatus, a device, and a storage medium for providing services based on bluetooth connection.
Background
The Bluetooth technology is widely applied in the field of consumer electronics, and Bluetooth products or Bluetooth solutions can be seen in a plurality of scenes such as wearable, smart home, smart car-mounted and the like. According to data display of market research institutions, the global Bluetooth equipment is about 37 hundred million in 2018, and the data reaches 54 hundred million in 2023, the Bluetooth equipment keeps 8% of composite growth rate every year, more and more products supporting Bluetooth are continuously merged into life, and various innovative experiences are brought.
In the existing 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. Moreover, the Bluetooth device needs to completely support connection of a plurality of terminals, and the power consumption is large.
Disclosure of Invention
The present disclosure provides a service providing method, apparatus, device and storage medium based on bluetooth connection.
According to a first aspect of the embodiments of the present disclosure, a service providing method based on bluetooth connection is provided, 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 and the third device establish a first-class 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 method comprising:
receiving a switching request sent by a third device through the first-class Bluetooth connection, wherein the switching request is used for indicating that the first device is switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
determining whether a switch from the first state to the second state is required in response to the switch request;
switching from the first state to the second state if it is determined that switching is required.
In some embodiments, said determining whether a switch from said first state to said second state is required in response to said switch request comprises:
determining whether data transmitted by the second device through the second type of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
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 or not according to the service type.
In some embodiments, said determining whether a switch from said first state to said second state is required in dependence on said service type comprises:
determining that a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
In some embodiments, said switching from said first state to said second state in the event that it is determined that switching is required comprises:
and under the condition that the switching is determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
According to a second aspect of the embodiments of the present disclosure, there is provided a service providing method based on bluetooth connection, applied to a third device, the method including:
sending a switching request to a first device through a first type of Bluetooth connection; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
and under the condition that the first equipment determines that the first equipment needs to be switched to a second state from a first state, establishing the second-class Bluetooth connection between the third equipment and the first equipment.
In some embodiments, the method comprises:
determining whether the third device has data to be transmitted based on the second type of Bluetooth connection;
and sending a switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
According to a third aspect of the 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 is also connected with a third device through a first class Bluetooth; 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 configured to receive, through the first-class bluetooth connection, a handover request sent by a third device, where the handover request is used to instruct the first device to switch from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
a first determining module, configured to determine whether a switch from the first state to the second state is required in response to the switch request;
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 of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
In some embodiments, the apparatus further comprises:
a second determining module, configured to determine a service type of the data if the data exists;
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 a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
In some embodiments, the second processing module is further configured to:
and under the condition that the switching is determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a service providing apparatus based on bluetooth connection, applied to a third device, the apparatus including:
the third determining module is used for sending a switching request to the first equipment through the first-class Bluetooth connection; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
and the fourth processing module is used for establishing the second-class Bluetooth connection between the third equipment and the first equipment under the condition that the first equipment determines that the first equipment 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 data that needs to be transmitted based on the second type of bluetooth connection exists in the third device;
the fourth processing module is further configured to: and sending a switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
According to a fifth aspect of the 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, wherein the processor executes the steps of the bluetooth connection-based service providing method according to the first aspect or the second aspect when executing the executable program.
According to a sixth aspect of the 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 or second aspect.
The embodiment of the disclosure discloses a service providing method, device, equipment and storage medium based on Bluetooth connection; the first device can be connected with a plurality of devices such as the second device and/or the third device, and the first device does not need to be completely connected with each device, namely the first device can only establish first-class Bluetooth connection with lower power consumption with partial devices, and does not need to keep the first device and all devices in a higher second-class Bluetooth connection state, so that the power consumption is saved. Before switching, the first-class Bluetooth connection between the first equipment and the third equipment can be quickly switched to the second-class Bluetooth connection between the first equipment and the third equipment based on the first-class Bluetooth connection when the connection is switched, so that the switching speed 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, does not need to perform bluetooth connection through a preset strategy, and can dynamically adjust the second type of bluetooth connection between the plurality of devices and the first device according to actual conditions, thereby enriching application scenarios, and also 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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is one of flow diagrams illustrating a method for providing a service based on a bluetooth connection according to an exemplary embodiment;
fig. 2 is a second flowchart illustrating a method for providing services based on bluetooth connection according to an exemplary embodiment;
fig. 3 is a flow chart illustrating a method for providing a service based on a bluetooth connection according to an exemplary embodiment;
fig. 4 is a flowchart illustrating a method for providing a service based on a bluetooth connection according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a bluetooth connection-based service providing apparatus according to an exemplary embodiment;
fig. 6 is a block diagram illustrating another bluetooth connection-based service providing apparatus according to an example embodiment;
fig. 7 is a block diagram illustrating a configuration of a service providing apparatus for a bluetooth-based connection according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with embodiments of the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the embodiments of the present disclosure, as detailed in the appended claims.
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present disclosure. As used in the disclosed embodiments 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 and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, 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 "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a service providing method based on bluetooth connection according to an exemplary embodiment, and as shown in fig. 1, in an embodiment of a first aspect of the present disclosure, a service providing method based on bluetooth connection is provided, which is applied in a first device, and the first device and a second device establish a first type bluetooth connection and a second type bluetooth connection; the first device is also connected with a third device through a first class Bluetooth; 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 method comprises the following specific steps:
step S101, receiving a switching request sent by a third device through the first-class Bluetooth connection, wherein the switching request is used for indicating that the first device is switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
step S102, responding to the switching request, and determining whether the first state needs to be switched to the second state;
and step S103, switching from the first state to the second state under the condition that switching is determined to be needed.
In the embodiment of the present disclosure, the first type of Bluetooth connection includes a Bluetooth Low Energy (BLE), for example: the first type of bluetooth connection is a connection based on BLE GATT (Generic Attribute Profile), which is a common specification for transmitting and receiving short data segments over a BLE bluetooth connection.
The second type of bluetooth connection may comprise a classic bluetooth connection. The classic 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 (telephone Hands Free protocol) connection, and/or Advanced Audio Distribution Profile (A2 DP) connection.
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 that broadcasts the connection status, name, bluetooth address, etc. of the second device or the third device. The second type of bluetooth connection may be used for transmitting call data, video data, multimedia audio data, or the like.
Compared with the second type of Bluetooth connection, the first type of Bluetooth connection can reduce power consumption and cost while keeping the same communication range.
In step S101, in the first state, the first device and the second device perform data transmission based on the second type bluetooth connection. Besides, the first device establishes first-class bluetooth connections with the second device and the third device, the first device can also establish first-class bluetooth connections with a plurality of devices such as the third device and the fourth device. During switching, the switching can be performed to the fourth device or the fifth device in addition to the third device. For example: the second state may also be: the first device and the fourth device establish the second type of Bluetooth connection.
Before switching, the first-class Bluetooth connection is established between the first device and the third device, and when the second-class Bluetooth connection is required to be established between the first device and the third device, the first device and the third device do not need to be paired, so that partial connection steps are reduced, the establishment of the second-class Bluetooth connection is accelerated, and the switching rate is increased.
In some embodiments, the first type of bluetooth connection is a connection based on the HOGP protocol. HOGP refers to HID OVER GATT Profile, wherein HID (Human Interface Device) comprises a mouse or a keyboard, for example. This first type of bluetooth connection can automatically reconnect after disconnection. For example: if the first-class Bluetooth connection between the third device and the first device is disconnected due to power-off of the third device, but the third device automatically establishes the first-class Bluetooth connection with the first device after the third device is powered on.
Without limitation, the first device may be an electronic device such as an earphone and a microphone, or a terminal such as a mobile phone, a wearable device, a notebook computer, a tablet computer, a home appliance device, or an in-vehicle 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 household appliance device, 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 maintain a second type of bluetooth connection with one or two other devices over a second type of bluetooth connection. Wherein the other device comprises the second device or the third device.
The second type of bluetooth connection between the first device and the second device includes HFP connection and/or A2DP connection. Data includes, but is not limited to: voice call data, video call data, live data, multimedia audio data, or the like.
In step S102, it may be determined whether 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, the first device and the second device can be switched if they are in the second type bluetooth connection state but do not have transmission data based on the second type bluetooth connection. 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 of bluetooth connection, that is, the first device and the second device are performing voice call, at this time, even if the third device also has an incoming call to be connected, the second type of bluetooth connection between the first device and the third device cannot be established, and the handover cannot be completed.
In step S103, the third device may communicate with the first device based on the first-class bluetooth connection, so as to establish a second-class bluetooth connection between the first device and the third device. For example: the first device establishes HFP connection or A2DP connection between the first device and the third device upon receiving an HFP or A2DP connection request of the third device based on the first type 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 establish only the first type bluetooth connection with lower power consumption with some devices, and does not need to maintain the first device and all devices in the higher second type bluetooth connection state, which saves power consumption. The first class Bluetooth connection between the first equipment and the third equipment is maintained, the second class Bluetooth connection between the first equipment and the third equipment can be quickly established based on the first class Bluetooth connection when the connection is switched, and the switching speed 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, does not need to perform Bluetooth connection through a preset strategy, can dynamically adjust the second type of Bluetooth connection between the plurality of devices and the first device according to actual conditions, and enriches application scenarios.
In other optional 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 of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
In practical applications, if the first device and the second device are connected through HFP, but there is no data transmission between the first device and the second device related to HFP, or if the first device and the second device are connected through A2DP, but there is no data transmission between the first device and the second device related to A2DP, or if the first device and the second device are connected through HFP and A2DP, but there is no data transmission between the first device and the second device related to A2DP or HFP; it may be determined that the data transmitted by the second device over the second type of bluetooth connection is not present in the first device, but is not limited thereto. At this time, a handover may be performed.
The mode of the embodiment of the disclosure can flexibly switch the Bluetooth connection between the first device and other devices according to the actual application situation, further enriches the application scenes, and improves the user experience.
In other optional 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 or not according to the service type.
In some embodiments, if the priority of the data present in the first device is lower than the priority of the data carried by the handover request; and/or the data present in the first device is: the pre-recorded multimedia information is determined to be switched 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 from the handover request, and/or the data being transmitted is data capable of suspending transmission, and the handover from the first state to the second state is determined. The data capable of suspending transmission includes, but is not limited to, pre-recorded multimedia information, the data capable of being transmitted can be re-established in the second type of bluetooth connection between the first device and the second device after the data transmission between the first device and the third device is completed, and the data capable of being suspended transmission will continue to be transmitted on the basis of the previous transmission until the transmission is completed.
If the data being transmitted is data which can not be suspended, the first state is determined not to be switched to the second state. Data that cannot be suspended include, but are not limited to: at least one of voice call data, video call data, or live data.
For example: the multimedia audio data has a lower priority than 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 it is determined that a handover condition is satisfied, handover is possible.
For another example: the multimedia audio data has a lower priority than 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 met, 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 the switching from the first state to the second state is required according to the service type includes:
determining that a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
In some embodiments, the priority of the data corresponding to the first type of service type is higher than the priority of the data corresponding to the second type of service type.
In some embodiments, the first type of service type may be data that cannot be suspended from 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 type may be data that can be suspended for 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 type is incoming call data, for example: the data corresponding to the first type of service includes data that can be transmitted over an A2DP connection. The method comprises the following steps: the data corresponding to the first type of service includes, but is not limited to, a voice call of a social application program, an incoming call of a 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 service type includes data that can be transmitted based on HFP connection, and illustratively, the data corresponding to the second 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 determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
In some embodiments, said disconnecting said second type of bluetooth connection between said first device and said second device comprises: and disconnecting part of the second-class Bluetooth connection between the first equipment and the second equipment or disconnecting all the second-class Bluetooth connection between the first equipment and the second equipment according to the service type of the data carried by the switching request and the second-class Bluetooth connection state between the first equipment and the second equipment.
In practical applications, the first service type refers to a service type of data that can be transferred based on the HFP connection, and the second service type refers to a service type of data that can be transferred based on the A2DP connection. If the second type of bluetooth connection between the first device and the second device is A2DP connection and/or HFP connection and the service type of the data carried by the switching request is the second type of service type, in the case that it is determined that the switching is required, 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. If the second type of bluetooth connection between the first device and the second device is the A2DP connection and/or the HFP connection and the service type of the data carried by the switching request is the first type of service, if it is determined that the switching 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 of bluetooth connection between the first device and the second device includes the connection of A2DP and the connection of HFP, if the data transmitted between the first device and the second device through the second type of bluetooth connection is voice call data and the data carried by the handover request is also voice call data, only the connection of HFP between the first device and the second device may be disconnected, but the connection of A2DP between the first device and the second device is maintained.
When the second-class Bluetooth connection between the first equipment and the second equipment is disconnected, the second-class Bluetooth connection between the first equipment and the third equipment is established, and the second-class Bluetooth connection between the first equipment and the second equipment is switched to the second-class Bluetooth connection between the first equipment and the third equipment.
In some embodiments, as shown in fig. 3, the first device is a C-headset and the third device and the second device are both handsets, referred to as a-handset and B-handset, respectively, for the sake of distinction. The A mobile phone and the B mobile phone are respectively connected with the earphone through BLE GATT. The service providing method based on Bluetooth connection is applied to first equipment, the first equipment is an earphone, and third equipment and second equipment are respectively marked as an A mobile phone and a B mobile phone, and the method comprises the following steps:
step S201, the earphone C receives a voice call data connection request of the mobile phone A;
step S202, determining the connection state of the earphone C, executing step S206 to step S207 if the data is not transmitted between the earphone C and the mobile phone B based on the second type of Bluetooth connection, and executing step S203 if the data is transmitted between the earphone C and the mobile phone B based on the second type of Bluetooth connection;
step S203, determining the service type of the transmission data; if the multimedia audio data is being transmitted between the headset C and the handset B based on the A2DP connection, go to step S204; if the earphone C is connected with the mobile phone B based on HFP and voice call data is being transmitted, 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 that of the multimedia audio data, and the step S205 is executed if the selection is yes;
step S205, disconnecting the data transmission between the earphone C and the mobile phone B;
step S206, disconnecting the HFP connection between the earphone C and the mobile phone B;
step S207, establishing HFP connection between the C headset and the B handset in response to the voice call data connection request;
step S208, rejecting the voice call data connection request.
In an embodiment of the 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, sending a switching request to a first device through a first-class Bluetooth connection; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
step S302, in a case that the first device determines that it needs to switch from the first state to the second state, establishing the second-class bluetooth connection between the third device and the first device.
In an embodiment of the disclosure, the first type of bluetooth connection comprises a low power bluetooth connection; the second class of bluetooth connections includes classical bluetooth connections, such as: HFP connection and/or A2DP connection are maintained between the first device and the second device.
In step S301, the third device may communicate with the first device based on the first type bluetooth connection, so as to establish the second type bluetooth connection between the first device and the third device. For example: when the third device has an incoming call or multimedia audio playing, the third device may send an HFP or A2DP connection request to the first device based on the first type of bluetooth connection, and if the connection request is responded, HFP connection or 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 can be understood that, if the service type of the data between the first device and the second device is the first type service type, and it is determined that the first device does not need to be switched 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 type 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 optional embodiments, the method comprises:
determining whether the third device has data to be transmitted based on the second type of Bluetooth connection;
and sending a switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
Without limitation, the running state of the third device may be detected through an application (app) or a system, and if the third device has services such as an incoming call, multimedia audio playing, and the like, it is determined that data that needs to be transmitted based on the second type of bluetooth connection exists in the third device.
The service types of the third equipment needing the data transmitted based on the second type of Bluetooth comprise a first type of service type and a 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-class Bluetooth connection, the third device can communicate with the first device only through the first-class Bluetooth connection, and does not establish the second-class Bluetooth connection with the first device, so that the power consumption is reduced. When the third device has data to be transmitted based on the second type of Bluetooth connection, the third device can be quickly switched to the second type of Bluetooth connection between the third device and the first device based on the first type of Bluetooth connection, so that the switching speed is improved, and the user experience is improved.
In some embodiments, as shown in fig. 2, after the C headset binds A, B two handsets, the a handset maintains the first type bluetooth connection with the C headset, or the B handset maintains the first type bluetooth connection with the C headset, or the a handset and the B handset maintain the first type bluetooth connection with the C headset respectively. And the earphone C and the mobile phone A are connected by the second type of Bluetooth. And simultaneously monitoring the behavior of the B mobile phone by an Application program (App) on the B mobile phone, when the B mobile phone has audio and telephone functions to respond, sending a switching request by the B mobile phone through the first-class Bluetooth connection, and establishing the second-class Bluetooth connection between the C earphone and the B mobile phone under the condition that the C earphone determines that the first state needs to be switched to the second state, so that the purposes of power saving and automatic switching are achieved.
The automatic switching function of the earphone from the first state to the second state can be controlled independently. Namely, under the condition that the switching function is started and under the condition that C determines that the first state needs to be switched to the second state, the second-class Bluetooth connection between the earphone C and the mobile phone B can be established, so that the switching is realized. If the switching function is off, even if the C earphone can be switched from the first state to the second state, the switching function cannot be switched. In practical application, the switching function can be started by opening the Bluetooth switch on the mobile phone A and/or the mobile phone B.
In a call scenario, as shown in fig. 2, the C headset is connected to the a handset through HFP, and if the a handset answers the call, the switching is not initiated. For example: the C earphone is connected with the A mobile phone through the HFP, if the B mobile phone answers the call, the APP on the B mobile phone recognizes the call action, and the BLE GATT requests the C earphone to switch the HFP to be connected with the B mobile phone; and when the C earphone receives the request, if voice call data connected by the A mobile phone based on HFP exists, rejecting the request of the B mobile phone, and otherwise, responding the request.
In a music playing scene, as shown in fig. 2, the C earphone is connected to the a handset through the A2DP, and if the a handset plays audio data, the B handset does not initiate switching when the B handset needs to play audio data through the C earphone. Specifically, the headset C is connected with the mobile phone A through the A2DP, if the mobile phone B plays audio, the APP on the mobile phone B recognizes the playing action, and the BLE GATT requests the headset C to switch the A2DP to be connected to the mobile phone B; and C, when the headset receives the request, if the A2DP audio stream of the A mobile phone exists, rejecting the request of the B mobile phone, and otherwise, responding the request. Otherwise, when the C earphone is connected with the B mobile phone through the A2DP, the A mobile phone also processes the same.
The embodiment of the disclosure can determine whether the third device has data to be transmitted based on the second type of Bluetooth connection according to the APP, and sends the switching request through the first type of Bluetooth connection, so as to realize the switching of the second type of Bluetooth connection among 2 different devices, and realize the problem of flexible switching of the low-cost Bluetooth device among multiple hosts. The equipment cost is reduced, and meanwhile, better user experience is maintained. Moreover, the multi-point function of the device capability can be added at the hardware end by low cost, the application range is wider, and the multi-point and switching scene function is solved at low cost; compared with manual switching, pure ble switching and Multipoint functional equipment, the technical scheme disclosed by the invention can be matched with APP to perform automatic switching; in addition, other devices connected with the first device in the scheme of the disclosure have strong expansibility, and 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 an embodiment of the 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, first-class Bluetooth connection and second-class Bluetooth connection are established between the first equipment and second equipment, and first-class Bluetooth connection is also established between the first equipment and third equipment; 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, through the first-class bluetooth connection, a handover request sent by a third device, where the handover request is used to instruct the first device to switch from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
a first determining module 420, configured to determine whether a switch from the first state to the second state is required in response to the switch request;
a second processing module 430, configured to switch from the first state to the second state if it is determined that switching is required.
In other optional embodiments, the first determining module is further configured to;
determining whether data transmitted by the second device through the second type of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
In other optional embodiments, the apparatus further comprises:
a second determining module, configured to determine a service type of the data if the data exists;
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 a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
In other optional embodiments, the second processing module is further configured to:
and under the condition that the switching is determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
In an embodiment of the 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; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
a fourth processing module 520, configured to establish the second-class bluetooth connection between the third device and the first device when the first device needs to be switched.
In other optional embodiments, the apparatus further comprises:
a fifth determining module, configured to determine whether data that needs to be transmitted based on the second type of bluetooth connection exists in the third device;
the fourth processing module is further configured to: and sending a switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
The embodiment of the present disclosure further provides an electronic device, which includes a processor, a memory, and an executable program stored on the memory and capable of being executed by the processor, and when the processor executes the executable program, the steps of the service providing method based on bluetooth connection as described in the first aspect embodiment or the second aspect embodiment are executed.
The embodiments of the present disclosure also provide a storage medium, on which an executable program is stored, and when executed by a processor, the executable program implements the steps of the service providing method based on bluetooth connection as described in the first aspect embodiment or the second aspect embodiment.
The embodiments of the first aspect to the fourth aspect of the present disclosure may also be expanded to other technical fields through transplantation adjustment in the present technical solution. Such as extending to WiFi APs (wireless hotspots) to control multiple terminal connections, etc.
Fig. 7 is a block diagram illustrating a service providing apparatus 800 for a bluetooth-based connection according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction 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 device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
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 apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices 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 an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A service providing method based on Bluetooth connection is characterized in that the method is applied to first equipment, and the first equipment and second equipment establish first type Bluetooth connection and second type Bluetooth connection; the first device is also connected with a third device through a first class Bluetooth; 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 method comprising:
receiving a switching request sent by a third device through the first-class Bluetooth connection, wherein the switching request is used for indicating that the first device is switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
determining whether a switch from the first state to the second state is required in response to the switch request;
switching from the first state to the second state if it is determined that switching is required.
2. The method of 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 of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
3. The method for providing services based on bluetooth connection 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 or not according to the service type.
4. The method of claim 3, wherein the determining whether the switching from the first state to the second state is required according to the service type comprises:
determining that a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
5. The method for providing services based on bluetooth connection according to claim 1, wherein the switching from the first state to the second state in case of determining that the switching is required comprises:
and under the condition that the switching is determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
6. A service providing method based on Bluetooth connection is applied to a third device, and the method comprises the following steps:
sending a switching request to a first device through a first type of Bluetooth connection; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
and under the condition that the first equipment determines that the first equipment needs to be switched to a second state from a first state, establishing the second-class Bluetooth connection between the third equipment and the first equipment.
7. The service providing method according to claim 6, wherein the method comprises:
determining whether the third device has data to be transmitted based on the second type of Bluetooth connection;
and sending the switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
8. A service providing device based on Bluetooth connection is characterized in that the device is applied to a first device, the first device and a second device establish a first type Bluetooth connection and a second type Bluetooth connection, and 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 configured to receive, through the first-class bluetooth connection, a handover request sent by a third device, where the handover request is used to instruct the first device to switch from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of Bluetooth connection;
a first determining module, configured to determine whether a switch from the first state to the second state is required in response to the switch request;
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.
9. The apparatus of claim 8, wherein the first determining module is further configured to;
determining whether data transmitted by the second device through the second type of Bluetooth connection exists in the first device;
wherein the first state needs to be switched to the second state if the data is not present.
10. The apparatus of claim 9, further comprising:
a second determining module, configured to determine a service type of the data if the data exists;
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 a switch from the first state to the second state is not required if the service type is a first type of service type;
under the condition that the service type is a second service type, determining whether the first state needs to be switched to the second state or not according to the service type carried in the switching request; when the service type carried in the switching request is a first type service type, switching from the first state to the second state is required; and under the condition that the service type carried in the switching request is a second service type, the first state does not need to be switched to the second state.
12. The apparatus of claim 8, wherein the second processing module is further configured to:
and under the condition that the switching is determined to be needed, disconnecting the second-class Bluetooth connection between the first equipment and the second equipment, and establishing the second-class Bluetooth connection between the first equipment and the third equipment.
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-class Bluetooth connection; wherein the switching request is used for indicating the first equipment to be switched from a first state to a second state; the first state is that the first equipment and the second equipment establish the second type of Bluetooth connection; the second state is that the first equipment and the third equipment establish the second type of 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;
and the fourth processing module is used for establishing the second-class Bluetooth connection between the third equipment and the first equipment under the condition that the first equipment determines that the first equipment needs to be switched from the first state to the second state.
14. The apparatus of claim 13, further comprising:
a fifth determining module, configured to determine whether data that needs to be transmitted based on the second type of bluetooth connection exists in the third device;
the fourth processing module is further configured to: and sending a switching request to the first equipment through the first-class Bluetooth connection under the condition that the third equipment has data needing to be transmitted based on the second-class Bluetooth connection.
15. An electronic device comprising a processor, a memory and an executable program stored on the memory and executable by the processor, wherein the processor executes the executable program to perform the steps of the bluetooth connection based service providing method according to any one of claims 1 to 5; or the like, or, alternatively,
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 an executable program stored thereon, wherein the executable program, when executed by a processor, implements the steps of the bluetooth connection-based service providing method according to any one of claims 1 to 5; or the like, or, alternatively,
the executable program when executed by a processor implements the steps of the bluetooth connection based service providing method as claimed in 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 true CN113329389A (en) 2021-08-31
CN113329389B 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)

Cited By (2)

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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110021142A1 (en) * 2009-07-24 2011-01-27 Prasanna Desai Method and system for a dual-mode bluetooth low energy device
WO2016017909A1 (en) * 2014-07-31 2016-02-04 엘지전자(주) Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
WO2016182404A1 (en) * 2015-05-14 2016-11-17 엘지전자(주) Method and device for connecting alternative communication means using bluetooth low energy technology
WO2018082335A1 (en) * 2016-11-07 2018-05-11 中兴通讯股份有限公司 Method, apparatus, system, and device for connecting bluetooth device
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
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
US20200260322A1 (en) * 2019-02-08 2020-08-13 Arm Limited Bluetooth low energy connected isochronous stream acknowledgement and flush algorithm and implementation
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal
WO2021082829A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Bluetooth connection method and related apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110021142A1 (en) * 2009-07-24 2011-01-27 Prasanna Desai Method and system for a dual-mode bluetooth low energy device
WO2016017909A1 (en) * 2014-07-31 2016-02-04 엘지전자(주) Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
WO2016182404A1 (en) * 2015-05-14 2016-11-17 엘지전자(주) Method and device for connecting alternative communication means using bluetooth low energy technology
WO2018082335A1 (en) * 2016-11-07 2018-05-11 中兴通讯股份有限公司 Method, apparatus, system, and device for connecting bluetooth device
CN108377482A (en) * 2016-11-07 2018-08-07 中兴通讯股份有限公司 A kind of method, apparatus, system and the equipment of terminal connection bluetooth equipment
CN111602344A (en) * 2018-08-01 2020-08-28 华为技术有限公司 Bluetooth communication method and dual-mode Bluetooth terminal
US20200260322A1 (en) * 2019-02-08 2020-08-13 Arm Limited Bluetooth low energy connected isochronous stream acknowledgement and flush algorithm and implementation
CN110191442A (en) * 2019-04-18 2019-08-30 华为技术有限公司 A kind of Bluetooth connecting method, equipment and system
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
WO2021082829A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Bluetooth connection method and related apparatus

Cited By (3)

* 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
CN116669225A (en) * 2022-12-28 2023-08-29 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium
CN116669225B (en) * 2022-12-28 2024-04-19 广州源动智慧体育科技有限公司 Device connection method, electronic device and storage medium

Also Published As

Publication number Publication date
CN113329389B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US11425769B2 (en) Wireless communication method, terminal, audio component, device, and storage medium
EP4030276B1 (en) Content continuation method and electronic device
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
US10237214B2 (en) Methods and devices for sharing media data between terminals
EP3322167B1 (en) Method and device for adjusting frequencies of intercom apparatuses
JP2017531974A (en) Network connection method, device, system, program, and recording medium
CN112037787A (en) Wake-up control method, device and computer readable storage medium
CN113329389B (en) Service providing method, device, equipment and storage medium based on Bluetooth connection
CN113078921B (en) Data processing method, device and storage medium
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
US9723639B2 (en) Communication method and terminal
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN112882622A (en) Data processing method and device, terminal and storage medium
CN105227426B (en) Application interface switching method and device and terminal equipment
CN107371222B (en) Virtual card disabling method and device
EP3280217B1 (en) Method and device for establishing service connection
WO2021223157A1 (en) Communication control method and communication control apparatus
CN112702803A (en) Channel determination method and device, terminal equipment and computer readable storage medium
CN112672389A (en) Network switching method
WO2023240443A1 (en) Bluetooth communication method and apparatus, and storage medium
CN105227891A (en) A kind of video call method and device
US11678391B2 (en) Communication methods and electronic devices
WO2019000431A1 (en) Wireless communication method and device, and computer readable 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