CN108834013B - Wearable equipment electric quantity balancing method and related product - Google Patents

Wearable equipment electric quantity balancing method and related product Download PDF

Info

Publication number
CN108834013B
CN108834013B CN201810550571.0A CN201810550571A CN108834013B CN 108834013 B CN108834013 B CN 108834013B CN 201810550571 A CN201810550571 A CN 201810550571A CN 108834013 B CN108834013 B CN 108834013B
Authority
CN
China
Prior art keywords
earplug
slave
master
earphone
electric quantity
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.)
Expired - Fee Related
Application number
CN201810550571.0A
Other languages
Chinese (zh)
Other versions
CN108834013A (en
Inventor
张伟正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810550571.0A priority Critical patent/CN108834013B/en
Publication of CN108834013A publication Critical patent/CN108834013A/en
Application granted granted Critical
Publication of CN108834013B publication Critical patent/CN108834013B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a wearable device electric quantity balancing method and a related product, wherein the method is applied to a wearable device, and the wearable device comprises: the earphone comprises a first earphone and a second earphone, wherein the first earphone and the second earphone are connected in a wireless mode; wherein; the first earplug receives a first pairing request of the second earplug, and is connected with the second earplug in a pairing mode according to the first pairing request; the first earplug receives second earplug electric quantity sent by the second earplug; and calculating the difference value of the electric quantity of the first earplug and the electric quantity of the second earplug, selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference value, if the first earplug is determined to be the master earplug, sending a second pairing request to the electronic equipment to realize the connection with the electronic equipment. The technical scheme provided by the application has the advantage of high user experience.

Description

Wearable equipment electric quantity balancing method and related product
Technical Field
The application relates to the technical field of mobile terminal accessories, in particular to a wearable device electric quantity balancing method and a related product.
Background
With the popularization and application of smart phones, users increasingly rely on smart phones, and wearable devices, such as wireless earphones, smart watches, smart bracelets and other devices, are also widely applied with the rise of smart phones. For wearable equipment, a wireless earphone is taken as an example here, the wireless earphone has the advantage of being conveniently connected with a smart phone, for the wireless earphone, due to the wireless limitation, the wireless earphone is provided with a battery definitely, the wireless Bluetooth earphone is smaller in size, the capacity of a built-in battery is smaller, the electric quantity of each earphone is possibly different due to different use frequencies when the existing wireless earphone is used, but the existing wireless earphone does not perform equalization processing on different electric quantities, so that the difference of the electric quantities of different earphones is possibly larger, the use of a user is influenced, and further the experience degree of the user is influenced.
Disclosure of Invention
The embodiment of the application provides a wearable device electric quantity equalization method and a wearable device, so that the electric quantity of the wearable device is improved to perform equalization processing, and the user experience is improved.
In a first aspect, an embodiment of the present application provides a wearable device, where the wearable device includes: the earphone comprises a first earphone and a second earphone, wherein the first earphone and the second earphone are connected in a wireless mode; wherein;
the first earplug is used for receiving a first pairing request of the second earplug and carrying out pairing connection with the second earplug according to the first pairing request;
the first earplug is also used for receiving second earplug electric quantity sent by the second earplug; and calculating the difference value of the electric quantity of the first earplug and the electric quantity of the second earplug, selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference value, if the first earplug is determined to be the master earplug, sending a second pairing request to the electronic equipment to realize the connection with the electronic equipment.
In a second aspect, a wearable device power equalization method is provided, where the method is applied to a wearable device, and the wearable device includes: the earphone comprises a first earphone and a second earphone, wherein the first earphone and the second earphone are connected in a wireless mode; wherein;
the first earplug receives a first pairing request of the second earplug, and is connected with the second earplug in a pairing mode according to the first pairing request;
the first earplug receives second earplug electric quantity sent by the second earplug; and calculating the difference value of the electric quantity of the first earplug and the electric quantity of the second earplug, selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference value, if the first earplug is determined to be the master earplug, sending a second pairing request to the electronic equipment to realize the connection with the electronic equipment.
In a third aspect, a computer-readable storage medium is provided, which stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided by the second aspect.
In a fourth aspect, there is provided a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method provided by the second aspect
It can be seen that the first earplug and the second earplug provided by the application are connected in a pairing manner, then the electric quantity of the second earplug reported by the second earplug is received, the difference value of the electric quantities of the two earplugs is calculated, and the master earplug and the slave earplug in the two earplugs are determined according to the difference value, so that the connection between the slave earplug and the electronic equipment can be reduced, the power consumption of the slave earplug is reduced, the electric quantity adjustment between the master earplug and the slave earplug is realized by determining the earplug with high electric quantity as the master earplug with higher electric consumption, the electric quantity balance of the two earplugs is improved, and the user experience degree is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture of a wearable device and a wireless communication device.
Fig. 1a is a schematic structural diagram of a wireless headset provided in the present application.
Fig. 1b is another schematic structural diagram of a wireless headset provided in the present application.
Fig. 2 is a schematic structural diagram of a wearable device provided in the present application.
Fig. 3 is a schematic flow chart of a wearable device power equalization method according to the present application.
Fig. 4 is a schematic structural diagram of a wearable device of the present application.
Fig. 5 is a schematic structural diagram of a mobile phone according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the wearable device provided by the first aspect, the first earpiece is further configured to send an alert pairing message to the second earpiece if the first earpiece is determined to be the slave earpiece, where the alert pairing message is configured to alert the second earpiece to send a pairing request to the electronic device.
In the wearable device provided in the first aspect, the first ear plug is specifically configured to determine that the first ear plug is a master ear plug and the second ear plug is a slave ear plug if the difference is greater than a first voltage threshold, and determine that the first ear plug is a slave ear plug and the second ear plug is a slave ear plug if the difference is less than a second voltage threshold, where the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
In the wearable device provided by the first aspect, the first ear plug is further configured to obtain a type and a running time of a running application program, determine a number of ear plugs to be run according to the type, calculate a first remaining capacity of a master ear plug and a second remaining capacity of a slave ear plug according to the number of ear plugs and the running time, and determine whether a handover request needs to be sent to an electronic device according to the first remaining capacity and the second remaining capacity, where the handover request is used for performing master-slave interchange between the master ear plug and the slave ear plug.
In the wearable device provided by the first aspect, the first ear plug is specifically configured to determine whether the application program contains audio information, such as audio information, determine whether the application program is a voice call, such as the application program is a voice call, determine that the number of ear plugs is 1, such as the application program contains audio information but is not a voice call, and determine that the number of ear plugs is 2.
In a second aspect, there is provided a method further comprising:
if it is determined that the first earpiece is a slave earpiece, the first earpiece sends an alert pairing message to the second earpiece, the alert pairing message prompting the second earpiece to send a pairing request to the electronic device.
In a second aspect, the selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference specifically includes:
and if the difference is larger than a first voltage threshold, determining that the first earplug is a master earplug and the second earplug is a slave earplug, and if the difference is smaller than a second voltage threshold, determining that the first earplug is a slave earplug and the second earplug is a slave earplug, wherein the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
In a second aspect, there is provided a method further comprising:
the first earplug obtains the type and the running time of an application program to be run, the number of earplugs to be run is determined according to the type, a first residual capacity of a master earplug and a second residual capacity of a slave earplug are calculated according to the number of earplugs and the running time, and whether a switching request is required to be sent to an electronic device is determined according to the first residual capacity and the second residual capacity, wherein the switching request is used for performing master-slave interchange of the master earplug and the slave earplug.
In the method provided in the second aspect, the determining the number of earplugs to be operated according to the type specifically includes:
determining whether the application program contains audio information, such as audio information, determining whether the application program is a voice call, such as the application program is a voice call, determining that the number of the earplugs is 1, such as the application program contains audio information but is not a voice call, and determining that the number of the earplugs is 2.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. Of course, in other applications, the electronic device may also be a network side device, for example, a network side device such as a base station and an access point. For convenience of description, the above-mentioned devices are collectively referred to as wireless communication devices.
Referring to fig. 1, fig. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present application, where the network architecture may include an electronic device and a wireless headset, where the wireless headset may be communicatively connected to the electronic device through a wireless network (e.g., bluetooth, infrared, or WiFi). It should be noted that the wireless headset may include one or more earplugs, and the embodiments of the present application are not limited thereto. In a specific implementation, the wireless headset may send a pairing request to the electronic device, and the electronic device may receive the pairing request sent by the wearable device, where the wearable device includes at least one independent component, and in response to the pairing request, detect a number of components included in the wearable device, and display information of the wearable device, such as an electric quantity, a pairing number, and the like, according to the number of components.
Fig. 1a is a structural diagram of a wireless headset according to an embodiment of the present disclosure, as shown in fig. 1a, two earplugs may be completely separated from each other. As shown in fig. 1a, the wireless headset includes: two earplugs, each earplug comprising: an earbud housing 121, a speaker disposed on a surface of the earbud housing 121, the earbud further comprising: the wireless transceiver 122, a processing chip (not shown), and a battery (not shown), wherein the processing chip is electrically connected to the touch pad, the wireless transceiver, and the speaker, specifically, the electrical connection may be through a bus, but in practical applications, the electrical connection may also be through other connection methods.
Referring to fig. 1b, fig. 1b is a schematic structural diagram of an electronic device 100 disclosed in the embodiment of the present application, where the electronic device 100 includes a storage and processing circuit 110, and a communication circuit 120 and an audio component 140 connected to the storage and processing circuit 110, and a display component 130 or a touch component may also be disposed in some specific electronic devices 100.
The electronic device 100 may include control circuitry, which may include storage and processing circuitry 110. The storage and processing circuitry 110 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the electronic device 100, such as Voice Over Internet Protocol (VOIP) telephone call applications, simultaneous interpretation functions, media playing applications, operating system functions, and so forth. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functions implemented based on a status indicator such as a status indicator light of a light emitting diode, touch event detection based on a touch sensor, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 100, to name a few.
The electronic device 100 may also include input-output circuitry 150. The input-output circuit 150 may be used to enable the electronic device 100 to input and output data, i.e., to allow the electronic device 100 to receive data from an external device and also to allow the electronic device 100 to output data from the electronic device 100 to the external device. The input-output circuit 150 may further include a sensor 170. The sensors 170 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 150 may also include a touch sensor array (i.e., display 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 100 may also include an audio component 140. The audio component 140 may be used to provide audio input and output functionality for the electronic device 100. The audio components 140 in the electronic device 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
The communication circuit 120 may be used to provide the electronic device 100 with the capability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 120 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The electronic device 100 may further include a battery, power management circuitry, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes or other status indicators, and the like.
A user may input commands through input-output circuitry 150 to control the operation of electronic device 100, and may use output data of input-output circuitry 150 to enable receipt of status information and other outputs from electronic device 100.
Referring to fig. 2, fig. 2 provides a wearable device, as shown in fig. 2, the wearable device includes: the first ear plug 201 and the second ear plug 202, wherein the first ear plug 201 and the second ear plug 202 are connected through a wireless communication mode, the wireless communication mode may specifically be a bluetooth mode, a radio frequency mode, and the like, and of course, in practical applications, other wireless communication modes may also be adopted, and the specific implementation of the present application is not limited to the specific mode of the wireless communication mode. The first and second earplugs 201, 202 may each include: a processor, a wireless transceiver, and a battery;
a first earpiece 201 for receiving a first pairing request of a second earpiece;
the pairing request in step S202 may be determined based on a wireless connection protocol between the first ear bud and the second ear bud, for example, in an alternative embodiment of the present application, if the second ear bud supports a bluetooth 4.0 protocol with the first ear bud, the second ear bud sends the pairing request based on the bluetooth 4.0 protocol, although other protocols may be used in practical applications, and the present application is not limited to a specific connection protocol and a specific pairing request.
A first earplug 201, further configured to pair with a second earplug according to the first pairing request;
the mating connections of the first and second earplugs described above are separate connections.
For the description of this connection, the applicant believes that for bluetooth headsets, in particular split bluetooth headsets, the two earplugs are mechanically completely independent, but the split bluetooth headset is not communicatively completely independent, for example, in an alternative solution, the two earplugs of the split bluetooth headset may be distinguished as a master earplug and a slave earplug, which are connected to the electronic device and also to the slave earplug, and which are connected only to the master earplug and not to the electronic device, in which case the slave earplug cannot of course receive any information from the electronic device if the connection between the master earplug and the electronic device fails.
The first earplug 201 is further used for receiving the second earplug power transmitted by the second earplug;
the second earplug power can be carried by a newly created power notification message, and certainly, in practical applications, the second earplug power can also be loaded in an existing message, and the specific carrying manner or the notification manner of the second earplug power is not limited in this application.
The first earplug 201 is further configured to calculate a difference between the first earplug power and the second earplug power, select a master earplug and a slave earplug from the first earplug and the second earplug according to the difference, and send a second pairing request to the electronic device to implement connection with the electronic device if the first earplug is determined to be the master earplug.
The utility model provides a first earplug and second earplug pair and are connected, then receive the second earplug electric quantity that the second earplug reported, calculate the difference of two earplug electric quantities, confirm main earplug and the follow earplug in two earplugs according to this difference, can reduce the connection between follow earplug and the electronic equipment like this, the power consumptive of following the earplug has been reduced, through confirming the earplug that the electric quantity is high for the main earplug that power consumption is bigger, the electric quantity adjustment between main earplug and the follow earplug has been realized, the electric quantity balance of two earplugs has been improved, user experience degree has been improved.
Optionally, the first earplug 201 is specifically configured to determine that the first earplug is a master earplug and the second earplug is a slave earplug if the difference is greater than a first voltage threshold, and determine that the first earplug is a slave earplug and the second earplug is a slave earplug if the difference is less than a second voltage threshold, where the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
For the determination manner of the difference, if the difference is positive and larger than the first voltage threshold, it is proved that the electric quantity of the first earplug is larger than the electric quantity of the second earplug, at this time, the first earplug with the larger electric quantity is determined as the master earplug, and the second earplug with the smaller electric quantity is determined as the slave earplug, and if the difference is negative and smaller than the second voltage threshold, it is proved that the electric quantity of the first earplug is smaller than the second electric quantity, at this time, the second earplug with the larger electric quantity is determined as the master earplug, and the first earplug with the smaller electric quantity is determined as the slave earplug, in short, the earplug with the larger electric quantity is always determined as the master earplug, and the earplug with the smaller.
Optionally, the first earplug 201 is further configured to obtain a type and a running time of the running application, determine a number of earplugs to be run according to the type, calculate a first remaining power of the master earplug and a second remaining power of the slave earplug according to the number and the running time of the earplugs, and determine whether a handover request needs to be sent to the electronic device according to the first remaining power and the second remaining power, where the handover request is used for performing a master-slave interchange between the master earplug and the slave earplug.
According to the technical scheme, the number of the earplugs to be operated is determined according to the type of the application program to be operated, then the first residual capacity of the master earplug and the second residual capacity of the slave earplug are calculated according to the number of the earplugs and the operation time, and whether the interchange between the master earplug and the slave earplug is started or not is further determined.
The determining the number of the earplugs to be operated according to the type of the application program may specifically be determining whether the application program includes audio information, such as audio information, determining whether the application program is a voice call, such as the application program is a voice call, determining that the number of the earplugs is 1, such as the application program includes audio information but is not a voice call, and determining that the number of the earplugs is 2.
The technical scheme mainly aims at determining the number of the earplugs according to the type of the application program, for the earplugs, the earplugs only contain audio information and are used, for voice call information, the single-ear type is used, namely, the main earplugs work, for other applications containing audio information, such as movie and television type applications, music type applications and game type applications, two earplugs are generally used for listening to the audio information, and therefore the specific number of the earplugs to be executed can be determined according to the type of the application program.
The first earplug 201, in particular for determining the number of earplugs to be 2,
first remaining power is first power-Kt*(X1+X2)*t/Q;
Second remaining power is second power-Kt*X1*t/Q;
Where Q is the total charge of the earplug (typically a fixed value, e.g., 100mkwh), and K istThe temperature adjustment coefficient can be obtained from a table look-up table of temperature and adjustment coefficient according to the value of the ambient temperature, X1 is the required power for playing, the power value can be obtained according to a table look-up table of the volume of the earphone, X2 is the wireless transmission power, which is generally a constant value, and t is the operation time.
The technical scheme provided by the application fully considers the influence of the temperature on the electric quantity, and for the electric quantity of the battery, the difference of the environmental temperature is large, for example, the difference of the environmental temperature of 10 ℃ can cause the difference of about 10% of the electric quantity, so the temperature adjusting coefficient is specially increased here.
For the master earpiece it is responsible for two functions, the first a play function and the second a transmit function, so it has a power consumption of two functions, whereas for the slave earpiece it only needs to play and receive, not transmit, so it considers the power consumption of only one function, X1. Therefore, the technical scheme provided by the application has the advantage of accurate calculation of the residual capacity.
Referring to fig. 3, fig. 3 provides a wearable device power equalization method, which is applied to a wearable device that includes a first ear plug and a second ear plug, and the first ear plug and the second ear plug are wirelessly connected, and the method includes the following steps:
step S301, the first earplug receives a first pairing request of the second earplug, and is connected with the second earplug in a pairing mode according to the first pairing request;
step S302, the first earplug receives second earplug electric quantity sent by the second earplug; calculating a difference between a first earplug electrical quantity and the second earplug electrical quantity;
step S303, the first earplug selects a master earplug and a slave earplug from the first earplug and the second earplug according to the difference, and if the first earplug is determined to be the master earplug, a second pairing request is sent to the electronic device to realize the connection with the electronic device;
the utility model provides a first earplug and second earplug pair and are connected, then receive the second earplug electric quantity that the second earplug reported, calculate the difference of two earplug electric quantities, confirm main earplug and the follow earplug in two earplugs according to this difference, can reduce the connection between follow earplug and the electronic equipment like this, the power consumptive of following the earplug has been reduced, through confirming the earplug that the electric quantity is high for the main earplug that power consumption is bigger, the electric quantity adjustment between main earplug and the follow earplug has been realized, the electric quantity balance of two earplugs has been improved, user experience degree has been improved.
Fig. 4 is a block diagram illustrating a partial structure of a wireless headset related to a wearable device provided in an embodiment of the present application. Referring to fig. 4, the first and second earpieces in the wireless headset may each include: radio Frequency (RF) circuitry 510, memory 520, input unit 530, sensor 550, audio collector 560, application processor AP580, power supply 590, etc. Those skilled in the art will appreciate that the wireless headset structure shown in fig. 4 is not limited to a mobile phone, and may include more or less components than those shown, or some components in combination, or different component arrangements, for example, the rf circuit 910 may be connected to a plurality of antennas, which may specifically be bluetooth antennas, although in practical applications, other wireless protocols or standard antennas may also be used.
The following specifically describes each constituent component of the wearable device with reference to fig. 4:
the input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the input unit 530 may include a touch display panel 533, physical keys 534, and other input devices 532. In particular, other input devices 532 may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, and the like. Wherein the content of the first and second substances,
a radio frequency circuit 510 for receiving a first pairing request of the second earpiece;
AP580 for pairing-connecting with the second earpiece in accordance with the first pairing request;
a radio frequency circuit 510, further configured to receive a second earpiece power transmitted by the second earpiece;
and the AP580 is further configured to calculate a difference between the power of the first earplug and the power of the second earplug, select a master earplug and a slave earplug from the first earplug and the second earplug according to the difference, and send a second pairing request to the electronic device to enable connection with the electronic device if the first earplug is determined to be the master earplug.
AP580, further for sending an alert pairing message to a second earpiece, if the first earpiece is determined to be the slave earpiece, the alert pairing message for alerting the second earpiece to send a pairing request to the electronic device.
The AP580 is further configured to determine that the first earplug is a master earplug and the second earplug is a slave earplug if the difference is greater than a first voltage threshold, and determine that the first earplug is a slave earplug and the second earplug is a slave earplug if the difference is less than a second voltage threshold, where the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
The AP580 is further configured to obtain a type and a running time of the running application, determine a number of earplugs to be run according to the type, calculate a first remaining capacity of the master earplug and a second remaining capacity of the slave earplug according to the number of earplugs and the running time, and determine whether a handover request needs to be sent to the electronic device according to the first remaining capacity and the second remaining capacity, where the handover request is used for performing a master-slave interchange between the master earplug and the slave earplug.
The AP580 is further configured to determine whether the application program contains audio information, such as contains audio information, determine whether the application program is a voice call, such as the application program is a voice call, determine that the number of earplugs is 1, such as contains audio information but the application program is not a voice call, and determine that the number of earplugs is 2.
The AP580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby integrally monitoring the mobile phone. Optionally, AP580 may include one or more processing units; alternatively, the AP580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 580.
Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one flash memory device, or other volatile solid state storage device.
RF circuitry 510 may be used for the reception and transmission of information. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. The wireless communication may use any communication standard or protocol including, but not limited to, bluetooth, WIFI, radio frequency, and the like.
The ear bud of the wireless headset may also include at least one sensor 550, such as an ultrasonic sensor, an angle sensor, a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust brightness of the touch display screen according to brightness of ambient light, and the proximity sensor may detect an ear insertion action of the wireless headset when the wireless headset moves to an ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), and can detect the magnitude and direction of gravity when the headset is stationary, so that the accelerometer sensor can be used for recognizing the posture of the wireless headset; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured to the wireless headset, further description is omitted here.
Audio collector 560, speaker 561, microphone 562. The audio collector 560 can transmit the electrical signal converted from the received audio data to the speaker 561, and the electrical signal is converted into a sound signal by the speaker 561 for playing; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is received by the audio collector 960 and converted into audio data, and then the audio data is processed by the audio data playing AP580, and then the audio data is sent to another electronic device, such as a mobile phone, through the RF circuit 510, or the audio data is played to the memory 520 for further processing.
WiFi belongs to short-range wireless transmission technology. Although fig. 4 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the wireless headset and may be omitted entirely as needed within the scope of not changing the essence of the application.
The wireless headset further includes a power supply 590 (e.g., a battery) for supplying power to various components, and optionally, the power supply may be logically connected to the AP580 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal provided in an embodiment of the present application. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, sensor 950, audio collector 960, Wireless Fidelity (WiFi) module 970, application processor AP980, power supply 990, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components, for example, the rf circuitry 910 may be coupled to multiple antennas.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a touch display screen 933, a fingerprint recognition apparatus 931, a face recognition apparatus 936, an iris recognition apparatus 937, and other input devices 932. The input unit 930 may also include other input devices 932. In particular, other input devices 932 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. Wherein the content of the first and second substances,
a radio frequency circuit 910 for receiving a pairing request of a master ear bud;
AP980 for establishing a connection with the master earpiece in accordance with the pairing request.
Optionally, a radio frequency circuit 910, for receiving a handover request of the master earpiece,
AP980 for switching the master earplug to a slave earplug, in dependence of the switching request, which will release the connection of the master earplug.
The AP980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions and processes of the mobile phone by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Optionally, AP980 may include one or more processing units; alternatively, the AP980 may integrate an application processor that handles primarily the operating system, user interface, and applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 980.
Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, new air interface, email, short message service, etc.
The handset may also include at least one sensor 950, such as an ultrasonic sensor, an angle sensor, a light sensor, a motion sensor, and others. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio collector 960, speaker 961, microphone 962 may provide an audio interface between the user and the handset. The audio collector 960 can transmit the received electrical signal converted from the audio data to the speaker 961, and the audio data is converted into a sound signal by the speaker 961 for playing; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio collector 960 and converted into audio data, and then the audio data is processed by the audio data playing AP980, and then the audio data is sent to another mobile phone through the RF circuit 910, or the audio data is played to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 5 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope of not changing the essence of the application.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to various components, and optionally, the power supply may be logically connected to the AP980 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, a light supplement device, a light sensor, and the like, which are not described herein again.
It can be seen that the technical scheme that this application provided confirms whether to be in the sleep state through acquireing position coordinate and time, if be in the sleep state, judge whether contain the baby through the picture of gathering, when containing the baby, control wireless transceiver's communication function, reduce the influence of wireless transceiver's radiation to the baby like this, improve user's experience degree.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to perform part or all of the steps of any one of the wearable device power equalization methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform part or all of the steps of any one of the wearable device power equalization methods as recited in the above method embodiments.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The foregoing is an implementation of the embodiments of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the embodiments of the present application, and these modifications and decorations are also regarded as the protection scope of the present application.

Claims (7)

1. A wearable device, characterized in that the wearable device comprises: the earphone comprises a first earphone and a second earphone, wherein the first earphone and the second earphone are connected in a wireless mode; wherein;
the first earplug is used for receiving a first pairing request of the second earplug and carrying out pairing connection with the second earplug according to the first pairing request;
the first earplug is also used for receiving second earplug electric quantity sent by the second earplug; calculating a difference value between the electric quantity of the first earplug and the electric quantity of the second earplug, selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference value, if the first earplug is determined to be the master earplug, sending a second pairing request to the electronic device to realize connection with the electronic device;
the first earplug is further used for obtaining the type, the running time and the environment temperature of a running application program, the number of the earplugs needing to be run is determined to be one or two according to the type, the first residual capacity of the master earplug and the second residual capacity of the slave earplug are calculated according to the number of the earplugs, the running time and the temperature adjustment coefficient corresponding to the environment temperature, the master earplug and the slave earplug are determined to perform master-slave interchange according to the first residual capacity and the second residual capacity, and the electric quantity difference between the master earplug and the slave earplug is reduced, wherein the first residual capacity is first electric quantity-Kt(X1+ X2) t/Q; the second remaining capacity is the second capacity-KtX1 t/Q; q is the total quantity of electricity of the earplug, KtFor the temperature adjustment coefficient, X1 is the power required for playing, X2 is the wireless transmission power, and t is the running time;
the method for acquiring the type of the running application program comprises the following steps: determining whether the application program contains audio information, such as audio information, determining whether the application program is a voice call, such as the application program is a voice call, determining that the number of the earplugs is 1, such as the application program contains audio information but is not a voice call, and determining that the number of the earplugs is 2.
2. The wearable device according to claim 1,
the first earpiece is further configured to send an alert pairing message to the second earpiece, if the first earpiece is determined to be the slave earpiece, the alert pairing message configured to alert the second earpiece to send a pairing request to the electronic device.
3. The wearable device according to claim 1,
the first earplug is specifically configured to determine that the first earplug is a master earplug and the second earplug is a slave earplug if the difference is greater than a first voltage threshold, and determine that the first earplug is a slave earplug and the second earplug is a slave earplug if the difference is less than a second voltage threshold, where the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
4. A wearable device power equalization method is applied to a wearable device, and the wearable device comprises: the earphone comprises a first earphone and a second earphone, wherein the first earphone and the second earphone are connected in a wireless mode; wherein;
the first earplug receives a first pairing request of the second earplug, and is connected with the second earplug in a pairing mode according to the first pairing request;
the first earplug receives second earplug electric quantity sent by the second earplug; calculating a difference value between the electric quantity of the first earplug and the electric quantity of the second earplug, selecting a master earplug and a slave earplug from the first earplug and the second earplug according to the difference value, if the first earplug is determined to be the master earplug, sending a second pairing request to the electronic device to realize connection with the electronic device;
the first earplug is further used for acquiring the type, the running time and the ambient temperature of the running application program, determining the number of the earplugs to be run to be one or two according to the type, and determining the number of the earplugs to be run according to the numberCalculating a first remaining capacity of a master earplug and a second remaining capacity of a slave earplug according to the quantity, the running time and the temperature adjustment coefficient corresponding to the environment temperature, determining that the master earplug and the slave earplug perform master-slave interchange according to the first remaining capacity and the second remaining capacity, and reducing a capacity difference value between the master earplug and the slave earplug, wherein the first remaining capacity is a first capacity-Kt(X1+ X2) t/Q; the second remaining capacity is the second capacity-KtX1 t/Q; q is the total quantity of electricity of the earplug, KtFor the temperature adjustment coefficient, X1 is the power required for playing, X2 is the wireless transmission power, and t is the running time;
the method for acquiring the type of the running application program comprises the following steps: determining whether the application program contains audio information, such as audio information, determining whether the application program is a voice call, such as the application program is a voice call, determining that the number of the earplugs is 1, such as the application program contains audio information but is not a voice call, and determining that the number of the earplugs is 2.
5. The method of claim 4, further comprising:
if it is determined that the first earpiece is a slave earpiece, the first earpiece sends an alert pairing message to the second earpiece, the alert pairing message prompting the second earpiece to send a pairing request to the electronic device.
6. The method of claim 4, wherein the selecting the master and slave earplugs from the first and second earplugs based on the difference comprises:
and if the difference is larger than a first voltage threshold, determining that the first earplug is a master earplug and the second earplug is a slave earplug, and if the difference is smaller than a second voltage threshold, determining that the first earplug is a slave earplug and the second earplug is a slave earplug, wherein the first voltage threshold is a positive voltage value and the second voltage threshold is a negative voltage value.
7. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 4-6.
CN201810550571.0A 2018-05-31 2018-05-31 Wearable equipment electric quantity balancing method and related product Expired - Fee Related CN108834013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810550571.0A CN108834013B (en) 2018-05-31 2018-05-31 Wearable equipment electric quantity balancing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810550571.0A CN108834013B (en) 2018-05-31 2018-05-31 Wearable equipment electric quantity balancing method and related product

Publications (2)

Publication Number Publication Date
CN108834013A CN108834013A (en) 2018-11-16
CN108834013B true CN108834013B (en) 2020-06-30

Family

ID=64145385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810550571.0A Expired - Fee Related CN108834013B (en) 2018-05-31 2018-05-31 Wearable equipment electric quantity balancing method and related product

Country Status (1)

Country Link
CN (1) CN108834013B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915880B (en) * 2018-12-07 2023-07-07 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN114556816B (en) * 2019-10-16 2024-05-14 雷蛇(亚太)私人有限公司 Audio device and method for operating an audio device
CN113038333B (en) * 2021-04-26 2023-04-28 维沃移动通信有限公司 Bluetooth headset control method and device, electronic equipment and readable storage medium
CN115347904B (en) * 2022-08-12 2023-10-10 恒玄科技(上海)股份有限公司 Method for reducing electromagnetic interference to loudspeaker and wireless audio device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768092A (en) * 2015-01-30 2015-07-08 西安乾易企业管理咨询有限公司 Earphone and mobile terminal state switching system and method based on earphone
CN105430547B (en) * 2015-10-23 2019-03-29 小米科技有限责任公司 The dormancy method and device of bluetooth headset

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone
CN107820155A (en) * 2017-11-08 2018-03-20 深圳市沃特沃德股份有限公司 Control method, device and the wireless headset of wireless headset

Also Published As

Publication number Publication date
CN108834013A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN109040887B (en) Master-slave earphone switching control method and related product
CN109068206B (en) Master-slave earphone switching control method and related product
US11102697B2 (en) Method for controlling earphone switching and earphone
CN109150221B (en) Master-slave switching method for wearable equipment and related product
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN108900231B (en) Dynamic antenna adjustment method and related product
CN108541080B (en) Method for realizing loop connection between first electronic equipment and second electronic equipment and related product
CN108897516B (en) Wearable device volume adjustment method and related product
CN109561420B (en) Emergency help-seeking method and related equipment
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN108600887B (en) Touch control method based on wireless earphone and related product
CN108683980B (en) Audio signal transmission method and mobile terminal
CN109121034B (en) Master-slave switching method based on volume and related product
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
CN108810261B (en) Antenna switching method in call and related product
CN112367425B (en) Volume adjusting method and device and terminal
CN108882085B (en) Wearable equipment electric quantity balancing method and related product
CN109040425B (en) Information processing method and related product
CN113168302A (en) Audio mode correction method and device and electronic equipment
CN103618982A (en) Circuit and method for lowering far-end echoes, headset detecting circuit and method and headset
CN112823530A (en) Method for disconnecting earphone, related equipment and computer readable storage medium
CN111371204B (en) Charging method and electric energy transfer device
CN113411702B (en) Sound channel configuration method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200630