CN114666694A - Bluetooth headset loss prevention method and electronic equipment - Google Patents

Bluetooth headset loss prevention method and electronic equipment Download PDF

Info

Publication number
CN114666694A
CN114666694A CN202011526985.3A CN202011526985A CN114666694A CN 114666694 A CN114666694 A CN 114666694A CN 202011526985 A CN202011526985 A CN 202011526985A CN 114666694 A CN114666694 A CN 114666694A
Authority
CN
China
Prior art keywords
wearable device
bluetooth headset
electronic device
lost
location information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011526985.3A
Other languages
Chinese (zh)
Inventor
刘永胜
吴俊宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011526985.3A priority Critical patent/CN114666694A/en
Publication of CN114666694A publication Critical patent/CN114666694A/en
Pending legal-status Critical Current

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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Landscapes

  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a Bluetooth headset loss prevention method and electronic equipment; the utility model relates to a terminal technology field can obtain its position of losing with the help of the electronic equipment analysis that links to each other rather than installing under the condition of GPS chip at wireless bluetooth headset, and supplementary finding is avoided losing. The method comprises the following steps: the electronic equipment receives an abnormal notification sent by the wearable equipment when the acceleration measurement value is determined to be matched with the gravity acceleration; and/or when the timeout number of the keep-alive messages transmitted between the wearable device and the wearable device is larger than or equal to a first threshold value and/or the packet loss rate is larger than or equal to a second threshold value, starting to record the position information. Thereby, the location information can be subsequently utilized to obtain a recovery suggestion for indicating the lost location area of the wearable device, and the user is assisted in recovering the wearable device.

Description

Bluetooth headset loss prevention method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a Bluetooth headset loss prevention method and electronic equipment.
Background
Along with the development of intelligent terminal technology, wearable equipment types are also abundant, and the use requirements of users in different scenes can be met. For example, the types of earphones include wired earphones, wireless bluetooth earphones, headsets, in-ear earphones, over-the-ear earphones, and the like. Wherein, wireless bluetooth headset receives user's favor more and more with its advantage such as nimble, portable, small and exquisite, but relatively, wireless bluetooth headset also leads to its easy problem of losing to appear because of its small and exquisite.
In contrast, a currently adopted scheme is to add a Global Positioning System (GPS) chip in the wireless bluetooth headset to assist the wireless bluetooth headset in positioning and retrieving. However, the installation of the GPS chip increases the cost of the wireless bluetooth headset, which increases the burden on the user. And, wireless bluetooth headset starts GPS chip location, increases its consumption, causes power consumption to increase, influences operating duration.
Disclosure of Invention
According to the Bluetooth headset loss prevention method and the electronic equipment, when the wireless Bluetooth headset is judged to be lost under the condition that a GPS chip is not installed on the wireless Bluetooth headset, the lost position of the wireless Bluetooth headset can be obtained by means of analysis of the electronic equipment connected with the wireless Bluetooth headset, the Bluetooth headset loss prevention method and the electronic equipment can be retrieved in an auxiliary mode, and loss is avoided.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for preventing a bluetooth headset from being lost, where the method may include: receiving an abnormal notification sent by the wearable device and/or meeting a first condition of communication quality between the wearable device and the received abnormal notification; the abnormal notification is a notification sent by the wearable device when the acceleration measurement value is determined to be matched with the gravity acceleration; the first condition comprises that the overtime quantity of the keep-alive messages is larger than or equal to a first threshold value, and/or the packet loss rate is larger than or equal to a second threshold value. The position information is recorded. With the location information, retrieval recommendations are obtained, the retrieval recommendations indicating a location area where the wearable device is lost.
For example, the wearable device can determine whether the acceleration measurement is the same as or similar to the acceleration of gravity using its own acceleration sensor. If the acceleration is the same or similar, determining that the acceleration is matched, enabling the wearable device to be in a free-fall state, sending an abnormal notification to the electronic device, notifying the abnormal state, and determining that the wearable device is in a lost scene by the electronic device through receiving the abnormal notification. And/or the electronic device and the wearable device communicate through wireless connection, and the signal transmission quality changes along with the change of the communication distance between the electronic device and the wearable device, and if the communication distance is larger, the communication quality is worse, and the electronic device judges that the wearable device is in a loss scene. The transmission quality can be measured by using the keep-alive heartbeat timeout quantity and/or the packet loss rate of the data packets transmitted between the electronic device and the wearable device.
As such, the electronic device determines whether the wearable device is in a lost scenario from the wearable device acceleration measurements and/or the communication quality. If the mobile terminal is in a lost scene, the electronic device may be used to record the location information, for example, the electronic device GPS may be used to record the location information. Then, based on the position information, through a big data analysis method, retrieving suggestions such as a lost position area and time of the wearable device are obtained, the user is helped to recall lost scenes, the user is assisted to retrieve the wearable device, and loss is avoided. Furthermore, the wearable device can be lost and recovered without adding a GPS chip in the wearable device, and the cost of the wearable device is reduced.
In one possible implementation manner, if an exception notification sent by the wearable device is received, recording the location information includes: the first location information is recorded at a first frequency. Determining that the communication quality between the wearable device and the user equipment meets a first condition, and recording second position information at a second frequency, wherein the second frequency is higher than the first frequency, and the position information comprises first position information and second position information.
For example, after the electronic device receives an exception notification sent by the wearable device, the GPS is started to record the electronic device location at frequency a. Then, if the communication quality is worse, the communication distance between the electronic device and the wearable device is increased, and the electronic device is far away from the wearable device. The loss probability of the wearable device becomes higher, the position information recording frequency of the electronic device is increased, for example, the position of a mobile phone is recorded by the frequency B, and B & gtA & gt 0. If the communication quality is not changed or becomes better after being degraded, the wearable device is not lost, and the recording of the position information is stopped.
Therefore, more effective position information is obtained by adjusting the position information recording frequency, so that more accurate retrieval suggestions can be obtained.
In one possible implementation, obtaining the retrieval suggestion using the location information includes: and sending the position information to a server. And receiving a retrieval suggestion, wherein the retrieval suggestion is determined by the server according to the position information.
The position information comprises the position recorded by the electronic equipment and a corresponding timestamp.
In some embodiments, the server receives the location information sent by the electronic device, and based on the location information, determines possible missing location area information for the wearable device. For example, after receiving the location information, the server determines the location area where the wearable device is lost in combination with a map. Further, the server can calculate the mobile phone moving speed and judge the user motion scene, such as walking, riding and the like, by using the position contained in the position information and the corresponding timestamp. And the scene of the user can be judged by combining the map and the moving speed. For example, the server determines that the user takes a bus and moves according to the moving speed, and determines that the moving track of the user is a certain bus route according to the map, so that the server can determine that the lost position may be a certain bus stop for taking a bus to go out when the user loses the wearable device. The lost location area of the wearable device can also be described as a lost location hotspot of the wearable device, a lost track hotspot of the wearable device, and the like. Optionally, after the electronic device completes recording of the location information, the electronic device may also directly perform local analysis and calculation by using the location information, determine a location area and a loss time that the wearable device may be lost, and generate an auxiliary retrieval suggestion.
So, electronic equipment can obtain the suggestion of getting back to for the user provides the suggestion of getting back, the wearable equipment of supplementary user getting back avoids losing.
In one possible implementation, after recording the location information, the method further includes: prompting that the wearable equipment is lost by a user in a preset reminding mode; the preset reminding mode comprises one or more of vibration reminding, voice broadcast reminding and notification message reminding.
Therefore, when the electronic equipment determines that the wearable equipment is in a lost scene and is possibly lost, the electronic equipment can prompt the user that the wearable equipment is lost abnormally through a preset reminding mode, and the user can timely retrieve the wearable equipment after receiving the reminding to avoid loss.
In one possible implementation, before obtaining the retrieval suggestion using the location information, the method further includes: a first connection disconnection with the wearable device is determined. The recording of the position information is stopped.
In some embodiments, the electronic device begins recording location information until after the electronic device is disconnected from the wearable device, the recording is stopped. In the process of recording the location information, the electronic device may use a last received signal (i.e., a disconnection signal) as a loss confirmation signal, and the recorded location information should include location information when the electronic device and the wearable device are disconnected.
Therefore, the server can determine the possible loss range of the wearable device by utilizing the position and the timestamp during disconnection in the process of determining the auxiliary recovery suggestion, so that the lost position area of the wearable device is increased, and the accuracy of position area determination is improved. Furthermore, after the disconnection is determined, the electronic equipment can automatically turn off the GPS, does not record the position information any more, and can save power consumption while providing the position information.
In one possible implementation, the method further comprises: and displaying a first interface, wherein the first interface is used for displaying the retrieval suggestion. A location area where the wearable device is missing is determined. Searching for a first signal sent by the wearable device according to a preset period, wherein the first signal is a signal sent by the wearable device in a low-power-consumption mode, and the first signal is used for representing that the wearable device is to be connected. Based on the first signal, a second connection is established with the wearable device.
In some embodiments, after the wearable device is disconnected from the electronic device, the low power consumption mode needs to be started, and the service and hardware functions of the wearable device need to be closed, so that the power consumption is reduced, the electric quantity is saved, the standby time is prolonged, and the recovery probability is improved. The wireless communication module is started to send the broadcast signal only according to the preset period, so that the electronic equipment can find the wearable equipment conveniently.
In some embodiments, the electronic device receives an assisted recovery suggestion sent by the server. And then, the electronic equipment detects that the user starts the operation of retrieving the wearable equipment function, and then displays an auxiliary retrieving suggestion, guides the user to determine the lost position area of the wearable equipment, and helps the user to recall the possible lost position.
And then, the electronic equipment searches for the broadcast signal sent by the wearable equipment according to a preset period, and the electronic equipment is paired with the wearable equipment again to establish wireless connection. After the wireless connection is established, a specific location of the wearable device is found based on the wireless connection. For example, based on the wireless connection, the wearable device is controlled to emit sound so that the user discovers the wearable device. So, realize getting for back of wearable equipment, avoid losing.
In a second aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a display screen; the memory, the display screen, and the processor are coupled, the memory for storing computer program code, the computer program code including computer instructions that, when read from the memory by the processor, cause the electronic device to perform operations comprising: receiving an abnormal notification sent by the wearable device and/or meeting a first condition of communication quality between the wearable device and the received abnormal notification; the abnormal notification is a notification sent by the wearable device when the acceleration measurement value is determined to be matched with the gravity acceleration; the first condition comprises that the overtime quantity of the keep-alive messages is larger than or equal to a first threshold value, and/or the packet loss rate is larger than or equal to a second threshold value. The position information is recorded. With the location information, retrieval recommendations are obtained, the retrieval recommendations being indicative of the location area where the wearable device is lost.
In one possible implementation manner, if an exception notification sent by the wearable device is received, recording the location information includes: the first location information is recorded at a first frequency. Determining that the communication quality between the wearable device and the user equipment meets a first condition, and recording second position information at a second frequency, wherein the second frequency is higher than the first frequency, and the position information comprises first position information and second position information.
In one possible implementation, obtaining the retrieval suggestion using the location information includes: and sending the position information to a server. And receiving a retrieval suggestion, wherein the retrieval suggestion is determined by the server according to the position information.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: prompting that the wearable equipment is lost by a user in a preset reminding mode; the preset reminding mode comprises one or more of vibration reminding, voice broadcast reminding and notification message reminding.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: a first connection disconnection with the wearable device is determined. The recording of the position information is stopped.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: and displaying a first interface, wherein the first interface is used for displaying the retrieval suggestion. A location area where the wearable device is missing is determined. Searching for a first signal sent by the wearable device according to a preset period, wherein the first signal is a signal sent by the wearable device in a low power consumption mode, and the first signal is used for representing that the wearable device is to be connected. Based on the first signal, a second connection is established with the wearable device.
In addition, for the technical effect of the electronic device according to the second aspect, reference may be made to the technical effect of the method for preventing the bluetooth headset from being lost according to the first aspect, which is not described herein again.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device has a function of implementing the method for preventing the bluetooth headset from being lost as described in the first aspect and any one of the possible implementation manners. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform the bluetooth headset loss prevention method according to any one of the first aspect and any one of the possible implementation manners of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to execute the bluetooth headset loss prevention method according to any one of the first aspect and any one of its possible implementation manners.
In a sixth aspect, there is provided circuitry comprising processing circuitry configured to perform the bluetooth headset loss prevention method as described in the first aspect and any one of its possible implementations.
In a seventh aspect, an embodiment of the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiving function and send an instruction to the at least one processor, and when the at least one processor executes the instruction, the at least one processor executes the method for preventing a bluetooth headset from being lost, as described in the first aspect and any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system provided in an embodiment of the present application;
fig. 2 is a first structural schematic diagram of a wearable device provided in the embodiment of the present application;
fig. 3A is a first schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3B is a block diagram illustrating a software structure of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a first schematic view of an interface provided in an embodiment of the present application;
fig. 5A is a schematic view of an interface provided in the present embodiment;
fig. 5B is a schematic view of an interface provided in the present embodiment;
fig. 6 is a first schematic view of a bluetooth headset loss scenario provided in an embodiment of the present application;
FIG. 7 is a fourth schematic interface diagram provided by an embodiment of the present application;
fig. 8 is a schematic diagram of a bluetooth headset loss scene two according to an embodiment of the present application;
FIG. 9 is a fifth schematic view of an interface provided by an embodiment of the present application;
fig. 10 is a flowchart of a first method for preventing a bluetooth headset from being lost according to an embodiment of the present application;
fig. 11 is a flowchart of a bluetooth headset loss prevention method according to an embodiment of the present application;
fig. 12 is a flowchart of a bluetooth headset loss prevention method according to the embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a wearable device provided in the embodiment of the present application.
Detailed Description
The method for preventing the bluetooth headset from being lost and the electronic device provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings.
The terms "comprises" and "comprising," and any variations thereof, as used in the description of the embodiments of the present application, 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 but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
Fig. 1 is a schematic diagram of a communication system to which a bluetooth headset loss prevention method according to an embodiment of the present invention is applied. As shown in fig. 1, the communication system includes a wearable device 100 and an electronic device 200.
For example, the wearable device 100 may be a wireless headset, a smart watch, a smart bracelet, or smart glasses, among others. The electronic device 200 may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a Personal Digital Assistant (PDA), a desktop, a laptop, a handheld computer, a vehicle-mounted terminal, an artificial intelligence (artificial intelligence) device, and the like, and the specific forms of the wearable device 100 and the electronic device 200 according to the embodiment of the present disclosure are not limited at all.
The wearable device 100 may establish a wireless connection with the electronic device 200 through wireless communication technology. The wireless communication technology may include Bluetooth (BT) (e.g., conventional bluetooth or low energy BLE bluetooth), Wireless Local Area Network (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Zigbee, Frequency Modulation (FM), Near Field Communication (NFC), infrared (infrared, IR), or general 2.4G/5G band wireless communication technology.
The embodiment of the present application takes a wireless communication technology as an example for explanation. After the wearable device 100 and the electronic device 200 establish bluetooth connection, the wearable device 100 and the electronic device 200 may determine a connection status of the other party by transmitting keep-alive messages to each other. For example, the electronic device 200 sends a keep-alive message to the wearable device 100, and starts a timer, and if the electronic device 200 receives a keep-alive response message returned by the wearable device 100 within a preset time, it is determined that the connection state is good; if the keep-alive response message is received beyond the preset time, determining that the connection signal is poor; and if the keep-alive response message is not received, determining that the connection is disconnected.
In some embodiments, there is a working distance limit after the wearable device 100 and the electronic device 200 are connected via bluetooth. For example, after the distance between the wearable device 100 and the electronic device 200 exceeds 20 meters, the interaction signal gradually decreases to be completely disconnected as the distance increases. If the user does not currently find the wearable device 100 to be abnormally disconnected, a loss problem may occur. It is understood that the bluetooth chip in the wearable device 100 and the electronic device 200 have different working performance and working distance, for example, the working distance is 10 meters, 20 meters, 50 meters, etc. Beyond the working distance, the wearable device 100 automatically disconnects bluetooth from the electronic device 200.
In some embodiments, a first Application (APP) is installed in the electronic device 200 for finding the wearable device 100 connected to the electronic device 200, and preventing the wearable device 100 from being lost. The first application is, for example, finding an APP, preventing loss of an APP, or the like.
In some scenarios, when an Acceleration (ACC) sensor in the wearable device 100 determines that the acceleration of the wearable device is the same as or similar to the acceleration of gravity, it determines that the wearable device is falling freely and is in a falling scene. Wearable device 100 sends a signal to electronic device 200, and after receiving the signal, the first application starts GPS for location recording until electronic device 200 moves beyond the bluetooth working distance between wearable device 100 and electronic device 200 to disconnect. Thereafter, the electronic device 200 analyzes the recorded location information, determines a lost location of the wearable device 100, and assists the user in retrieving the wearable device 100. Optionally, the electronic device 200 may also notify the user that the wearable device 100 may be lost at the same time of recording the location, and prompt the user to retrieve the wearable device 100 in time, so as to reduce the possibility of loss.
In other scenarios, the wearable device 100 and the electronic device 200 transmit the keep-alive messages, and when the timeout times of the keep-alive messages increase, the first application starts the GPS to record the location until the connection is disconnected after exceeding the working distance. The electronic device 200 can thus obtain the lost position of the wearable device 100 by analyzing the position information, preventing the wearable device 100 from being lost.
In some embodiments, as shown in fig. 1, the communication system described above may also include a server 300. The electronic device 200 may transmit the recorded location information to the server 300. The server 300 analyzes the data and determines the location area where the wearable device 100 is lost.
Alternatively, the server 300 may be a device or a server having a computing function, such as a cloud server or a network server. The server 300 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
Fig. 2 shows a schematic structural diagram of a wearable device 100. The wearable device 100 may include at least one processor 101, at least one memory 102, a wireless communication module 103, a power management module 104, an audio module 105, an acceleration sensor 106, a touch sensor 107, an indicator 108, a motor 109, and the like.
Wherein the memory 102 may be used to store application code, such as application code for a wireless pairing connection of the wearable device 100 and the electronic device 200, such that a wireless connection is established between the wearable device 100 and the electronic device 200; processing audio traffic of the electronic device 200; and for charging the wearable device 100, etc.
The processor 101 may be configured to execute the application code, and call the relevant modules to implement the functions of the wearable device 100 in the embodiment of the present application. For example, functions of wireless bluetooth connection, audio playing, call receiving/making, and the like between the wearable device 100 and the electronic device 200 are realized. As another example, enabling the electronic device 200 to receive a notification sent by the wearable device 100 to determine whether the wearable device 100 is in a lost scenario, and/or the like.
The processor 101 may include one or more processing units, and the different processing units may be separate devices or may be integrated in one or more of the processors 101. The processor 101 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to execute the functions belonging to the processor 101 described in the embodiments of the present application.
The wireless communication module 103 may be configured to support data exchange between the wearable device 100 and the electronic device 200 thereof, including BT, WLAN (e.g., Wi-Fi), Zigbee, FM, NFC, IR, or general 2.4G/5G wireless communication technologies.
In some embodiments, the wireless communication module 103 may be a bluetooth chip. The wearable device 100 can pair with the bluetooth chip of the electronic device 200 through the bluetooth chip and establish a wireless connection, so as to implement wireless communication and business processing between the wearable device 100 and the electronic device 200 through the wireless connection. In general, a bluetooth chip may support Basic Rate (BR)/enhanced rate (EDR) bluetooth and Bluetooth Low Energy (BLE), for example, may receive/transmit paging (page) information, receive/transmit BLE broadcast messages, and the like. The bluetooth may also be a bluetooth transceiver. The wearable device 100 can establish a wireless connection with the electronic device 200 through the bluetooth transceiver to enable short-range data exchange therebetween. For example, audio data is exchanged, control data is exchanged, etc.
In addition, the wireless communication module 103 may further include an antenna, receive an electromagnetic wave signal via the antenna, perform frequency modulation and filtering processing on the electromagnetic wave signal, and transmit the processed signal to the processor 101. The wireless communication module 103 may also receive a signal to be transmitted from the processor 101, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna to radiate the electromagnetic waves.
A power management module 104, which may be configured to provide a system power of the wearable device 100 and supply power to each module of the wearable device 100; the support wearable device 100 receives a charging input, etc. The power management module 104 may include a Power Management Unit (PMU) and a battery. The power supply management unit can receive external charging input; the electric signal input by the charging circuit is provided for the battery to charge after being transformed, and the electric signal provided by the battery can be provided for other modules such as the wireless communication module 103, the audio module 105 and the like after being transformed; and to prevent overcharging, overdischarging, short-circuiting, overcurrent, etc. of the battery. In some embodiments, power management module 104 may also include a wireless charging coil for wirelessly charging wearable device 100. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle number, battery health state (leakage, impedance) and the like.
The audio module 105 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 105 may also include an encoder and a decoder for encoding and decoding an audio signal. In some embodiments, the audio module 105 may be disposed in the processor 101, or some functional modules of the audio module 105 may be disposed in the processor 101.
In some embodiments, electronic device 200 may control wearable device 100 to emit sound with audio module 105 through the first application so that the user can find a specific location of wearable device 100 through voice guidance.
An Acceleration (ACC) sensor 106 may detect the magnitude of acceleration of wearable device 100 in various directions (typically three axes). In some embodiments, the processor 101 obtains the acceleration detected by the acceleration sensor 106, determines that the current acceleration is the same or similar to the acceleration of gravity, determines that the wearable device 100 is currently falling, and sends a notification message to the electronic device 200 using the wireless communication module 103. The electronic device 200 can thus determine that the wearable device 100 may be in a lost scenario based on the notification message, initiating GPS to begin recording location information.
The touch sensor 107 is also referred to as a "touch device". The touch sensor 107 is used to detect a touch operation applied thereto or nearby. Touch sensor 107 can pass the detected touch operation to an application processor to determine the touch event type. For example, the touch sensor 107 detects a touch operation by the user, stops playing music, or the like.
The indicator 108 may be an indicator light that may be used to indicate a state of charge, a change in charge, a connection status, etc.
The motor 109 may generate a vibration cue. The motor 109 may be used in conjunction with vibration cues, as well as for touch vibration feedback. The motor 109 may also respond to different vibration feedback effects, which may also support customization.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the wearable device 100. It may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
Fig. 3A is a schematic structural diagram of an electronic device 200 according to an embodiment of the present application.
The electronic device 200 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a GPS module 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, keys 196, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not limit the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 200. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 200 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 200. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 200 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 200 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 200 implements display functions through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 200 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 200 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, the electronic device 200 may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phone book, etc.) created during use of the electronic device 200, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 200 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 200 may implement audio functions through the audio module 170, as well as an application processor, etc. Such as music playing, recording, etc. The audio module 170 may include a speaker, a receiver, a microphone, an earphone interface, and the like. For converting digital audio information into an analog audio signal output and for converting an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Touch sensors, also known as "touch devices". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor may be disposed on a surface of the electronic device 200 at a different location than the display screen 194.
The bone conduction sensor may acquire a vibration signal. In some embodiments, the bone conduction sensor may acquire a vibration signal of a human voice vibrating a bone mass. The bone conduction sensor can also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone block vibrated by the sound part obtained by the bone conduction sensor, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signals acquired by the bone conduction sensor, and a heart rate detection function is realized.
And the GPS module 190 is used for realizing a positioning function. In some embodiments, the electronic device 200 activating the GPS module 190 may locate the current position of the electronic device 200 and may also be used to record the motion trajectory of the electronic device 200. For example, if the number of times of timeout that the electronic device 200 receives the keep-alive message sent by the wearable device 100 increases or the packet loss rate increases, the GPS module 190 is started to record the motion trajectory of the electronic device 200 until the electronic device is disconnected from the wearable device 100, and the internal memory 121 is used to store the recorded location information. So that the subsequent processor 110 can determine the lost location of the wearable device 100 based on the location information.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 200 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 200 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
Keys 196 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 200 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 200.
The software system of the electronic device 200 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 200.
Fig. 3B is a block diagram of a software structure of the electronic device 200 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 3B, the application package may include applications such as camera, calendar, map, navigation, WLAN, music, short message, bluetooth, talk, video, etc.
In some embodiments, the application programs may also include a first application through which a user may edit and manage one or more wearable devices 100 connected with the electronic device 200. The first application also supports the function of initiating a GPS fix to record the electronic device 200 location information. The first application is also used to send a notification to the wearable device 100, such as to control the wearable device 100 to sound, upon detecting the user's operation.
Alternatively, the user may utilize the first application to set the wearable device 100, such as switch modes, add a new device, and so on. Wherein the signaling of the setting is typically a proprietary bluetooth protocol.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3B, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, application manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 200. Such as management of call status (including connection, hangup, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text in a status bar at the top of the system, such as a notification of a running application in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The application manager may manage, for example, a lifecycle of at least one application.
In some embodiments, the electronic device 200 determines that the wearable device 100 is lost, and may prompt the user that the wearable device 100 may be lost by displaying a prompt text, emitting a prompt sound, controlling vibration of the electronic device, and the like by using a notification manager, so as to facilitate the user to find the wearable device in time and avoid the loss.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), two-dimensional graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the following embodiments, a bluetooth headset is taken as the wearable device 100, and a mobile phone is taken as the electronic device 200 for example. The bluetooth headset includes, for example, a wireless bluetooth headset.
In some scenarios, the mobile phone has a retrieving function, which can be used to retrieve other devices connected thereto. For example, after the mobile phone is connected with the bluetooth headset, when the user cannot find the bluetooth headset, the bluetooth headset can be found by using the finding function in the mobile phone. Optionally, the function of finding back the mobile phone can be realized by using the first application, for example, finding the APP, preventing the APP from being lost, and the like.
Illustratively, as shown in the main interface 401 in fig. 4 (a), after the mobile phone detects an operation of clicking the find APP icon 41 by the user, the find APP is started, and an interface 402 shown in fig. 4 (b) is displayed for displaying one or more devices that establish a connection with the mobile phone, such as a connection with a bluetooth headset. The handset detects the operation of the user clicking on the bluetooth headset control 42, and the interface 403 shown in fig. 5A is displayed. After detecting the operation of clicking the play sound control 43 by the user on the interface 403, the mobile phone makes a "click" prompt sound with the bluetooth headset 44, so that the user can find the bluetooth headset 44 conveniently.
So, the cell-phone realizes that bluetooth headset retrieves through the initiative sound production of first application control bluetooth headset, avoids losing. However, in the current solution, the handset and the bluetooth headset must be connected to each other, so that the bluetooth headset can be controlled to sound through the wireless connection. However, in general, when a user finds that the bluetooth headset is lost, the bluetooth headset is disconnected from the mobile phone, and cannot be retrieved by using the current scheme, so that the loss probability is high.
In other scenes, a GPS chip is installed in the Bluetooth headset, and the Bluetooth headset reports the position information of the Bluetooth headset to the mobile phone in real time or periodically by using the GPS chip. Then after the bluetooth headset is lost, the mobile phone can provide the user with a history of the location information of the bluetooth headset, thereby helping the user to retrieve the bluetooth headset.
Illustratively, as shown in (B) of fig. 4, interface 402 collects operations of detecting a user clicking on the bluetooth headset control 42, and displays interface 404 shown in fig. 5B. The interface 404 includes a display area 4041 and a display area 4042, where the display area 4041 is used to display a function control corresponding to the bluetooth headset, and the display area 4042 is used to display position information of the bluetooth headset. For example, after the mobile phone detects the user's operation of clicking the pointing device control 45, the location of the bluetooth headset, such as location a, is displayed in the display area 4042. Optionally, if the mobile phone is connected to the bluetooth headset, the position a is a real-time position of the bluetooth headset, and if the mobile phone is disconnected from the bluetooth headset, the position a is a last position before the bluetooth headset is disconnected.
Therefore, even if the mobile phone is disconnected with the Bluetooth headset, the user can also find the headset through the position information reported by the Bluetooth headset. However, adding a GPS chip to a bluetooth headset increases the cost of the bluetooth headset. Secondly, the bluetooth headset needs to report the position information in real time or periodically, and the working power consumption of the GPS chip is large, which results in the increase of the power consumption of the bluetooth headset. Moreover, the volume of the Bluetooth headset is small, the capacity of a battery is limited, the working time of the Bluetooth headset after charging every time is limited, and the use experience of a user is influenced by the increase of the charging times. Furthermore, after the Bluetooth headset is lost, the Bluetooth headset still can continuously send position information, the residual power is exhausted in a short time, and the retrieving difficulty is increased.
Based on this, the embodiment of the application provides a method for preventing a bluetooth headset from being lost, a GPS chip does not need to be installed in the bluetooth headset, and when the mobile phone and/or the bluetooth headset judge that the bluetooth headset is in a lost scene, the mobile phone and/or the bluetooth headset can record position information by calling the GPS chip in the mobile phone, so as to help a user to find back the bluetooth headset and avoid loss.
In some scenes, an ACC sensor is installed in the Bluetooth headset and used for measuring self acceleration, and the Bluetooth headset can judge the reason of the change of the current acceleration according to the measured value of the acceleration. For example, the bluetooth headset can determine, from the acceleration measurement, whether the increase in the current acceleration is due to an operation of the user to remove the bluetooth headset or due to the bluetooth headset being dropped. For example, the bluetooth headset measures a sudden increase in current acceleration to match the acceleration of gravity (e.g., the same or similar to the acceleration of gravity), e.g., an acceleration measurement of 9.8m/s2. And then, if the acceleration is changed into 0, judging that the current Bluetooth headset falls off and possibly losing abnormity. Then, the bluetooth headset sends the current abnormal condition to the mobile phone, and the mobile phone further judges whether the current scene is a bluetooth headset loss scene. Among them, an ACC sensor is generally provided in a bluetooth headset for drop detection. If the Bluetooth headset falls, the ACC sensor can be used for detecting the falling scene, and the mobile phone is informed of pausing the audio function corresponding to the Bluetooth headset currently, such as pausing music playing. Therefore, measuring acceleration with an ACC sensor does not increase the cost of the bluetooth headset.
It should be noted that the bluetooth headset missing scene includes a monaural missing scene and a binaural missing scene. The method for preventing the Bluetooth headset from being lost provided by the embodiment of the application is described by taking a single-ear loss scene as an example, and the scenes that two ears are lost are not repeated.
For example, as shown in fig. 6, during walking, the bluetooth headset 61 is abnormally dropped at the position a (e.g., the ground), and during dropping of the bluetooth headset 61, the ACC sensor in the bluetooth headset 61 measures the self-acceleration and determines that the current acceleration matches the acceleration due to gravity. After that, upon falling at the position a, the ACC sensor in the bluetooth headset 61 measures that the self acceleration becomes 0. At this time, there are at least two cases. In one case, the user finds the bluetooth headset dropped and picks up the headset. In the present situation, the ACC sensor in the bluetooth headset 61 measures the change of the self acceleration, and then it is determined that the bluetooth headset is not in the loss scene. Alternatively, the user does not find the bluetooth headset dropped and continues to move forward (as in position B) in the direction of arrow 62. The ACC sensor in the bluetooth headset 61 measures that the self acceleration is unchanged within a first preset time period, and if the acceleration value is kept to be 0 within X seconds, and X is greater than 0, it is determined that the bluetooth headset is in a lost scene. It should be understood that in the scenario shown in fig. 6, the user should move while carrying the mobile phone during the movement process, which is not described below.
In some embodiments, the bluetooth headset sends an exception notification to the mobile phone, and after receiving the exception notification, the mobile phone determines whether the bluetooth headset is in a loss scene. Optionally, when the bluetooth headset judges that the self acceleration is matched with the gravitational acceleration, an abnormal notification is sent to the mobile phone, then the bluetooth headset sends an acceleration value to the mobile phone in real time, the mobile phone monitors the acceleration change condition of the bluetooth headset, analyzes whether the bluetooth headset is in a lost scene, and reduces the power consumption of the bluetooth headset for judging the lost scene. Or after the Bluetooth headset determines that the acceleration value of the Bluetooth headset is matched with the gravity acceleration and is subsequently changed into 0, the Bluetooth headset sends an abnormal notification to the mobile phone. Or the Bluetooth headset sends an abnormal notification to the mobile phone after determining that the acceleration value of the Bluetooth headset is changed from being matched with the gravity acceleration to 0 and is kept to be 0 in the first time period, so that misjudgment is avoided.
In some embodiments, after receiving the abnormal notification, the mobile phone reminds the user that the current bluetooth headset may be lost through a preset reminding mode. If the mobile phone receives the abnormal notification sent by one Bluetooth headset and judges that the other Bluetooth headset is working normally, the normally working Bluetooth headset can be used for sounding to notify the user that the Bluetooth headset is lost. If the voice broadcast 'please notice that the bluetooth headset may be lost, please confirm'. If the mobile phone receives the abnormal notification sent by one Bluetooth headset and judges that the other Bluetooth headset does not work normally (if the other Bluetooth headset is not started), or if the mobile phone receives the abnormal notification sent by the two Bluetooth headsets, the mobile phone is used for reminding a user that the Bluetooth headset is abnormal in loss. The preset reminding mode comprises one or more of vibration reminding, voice broadcast reminding and notification message reminding.
For example, as shown in a notification interface 701 in fig. 7, after the mobile phone receives the abnormal notification, a prompt box 71 is displayed to prompt the user that the bluetooth headset may be lost.
From this, through the acceleration that bluetooth headset detected, the cell-phone judges whether bluetooth headset freely falls and drops, and if bluetooth headset freely falls, the cell-phone reminds user bluetooth headset to lose unusually through the aforesaid warning mode of predetermineeing, and the user receives this warning back, can in time find back bluetooth headset, avoids losing.
In some scenarios, after the mobile phone reminds the user through a preset reminding mode, the user may not obtain the reminding in time, and then the mobile phone may generate an auxiliary retrieving suggestion to help the user retrieve the bluetooth headset when finding that the bluetooth headset is lost.
In some embodiments, after receiving the abnormal notification, the first application in the mobile phone starts the GPS to start position recording and record time at the same time, so as to facilitate subsequent analysis of the position and time lost by the bluetooth headset. Optionally, the recording duration is preset, and after the mobile phone receives the exception notification, the mobile phone records the mobile location information and time of the mobile phone within the preset recording duration (e.g., N seconds). Or after the mobile phone receives the abnormal notification, the mobile phone starts to record the position information and the time of the mobile phone until the mobile phone is disconnected with the Bluetooth headset, and then the recording is stopped. In the process of recording the position information, the mobile phone can use the last received signal (namely, the disconnection signal) as a loss confirmation signal, and the recorded position information should include the position information when the mobile phone and the bluetooth headset are disconnected.
In some embodiments, after the mobile phone completes recording the location information by using the GPS, the location information and the corresponding time information are sent to the cloud server. And the cloud server performs data analysis by using the received position information and the time information, determines the lost position area and the lost time of the Bluetooth headset, and generates an auxiliary retrieving suggestion. The location area where the bluetooth headset is lost may also be described as a location hot area where the bluetooth headset is lost, a track hot area where the bluetooth headset is lost, or the like. Optionally, after the mobile phone completes recording the position information, the mobile phone may also directly perform local analysis and calculation by using the position information, determine a lost position area and lost time of the bluetooth headset, and generate an auxiliary retrieving suggestion.
Illustratively, after receiving the position information and the time information, the cloud server determines a position area where the bluetooth headset is lost by combining a map. Furthermore, the cloud server can calculate the mobile speed of the mobile phone by utilizing the position information and the time information, and judge the motion scenes of the user, such as walking, riding and the like. And the scene of the user can be judged by combining the map and the moving speed. As shown in fig. 8, the cloud server determines that the user takes a bus and moves according to the moving speed, and determines that the moving track of the user is a certain bus route according to the map, so that it can be determined that the lost position may be a certain bus stop for taking a bus to go out when the user loses the bluetooth headset 81.
In other embodiments, the mobile phone can also determine the GPS position recording frequency according to the self moving speed. For example, the mobile phone may record the location information using a low frequency when determining that the mobile speed is between 4km/h and 6km/h and determining that the user is walking. For another example, if the mobile phone determines that the user is moving by a car based on the moving speed, it is necessary to record the position information at a high frequency. Then, more effective position information can be obtained, and then the lost position area of the Bluetooth headset can be determined more accurately.
Therefore, after the Bluetooth headset is lost, the position information can be recorded by using a GPS in the mobile phone connected with the Bluetooth headset, and the lost position area of the Bluetooth headset can be determined by analyzing the position information. And then follow-up when the user gets back bluetooth headset, can utilize position information, help the user to remember the possible position of losing, get back bluetooth headset, avoid the loss.
For example, after discovering that the bluetooth headset is lost, the user may retrieve the lost bluetooth headset using the first application. As shown in the interface 402 in (b) of fig. 4, after the mobile phone detects the operation of clicking the bluetooth headset control 42 by the user in the first application, the interface 901 shown in (a) of fig. 9 is displayed. After detecting the operation of the user clicking the loss retrieving control 91, the mobile phone displays an interface 902 as shown in fig. 9 (b). Interface 902 is used to display assistance recovery suggestions, such as including lost location information, lost time, etc. For example, the assisted recovery recommendation as shown in interface 902 includes a bluetooth headset lost area and a corresponding time. The area A is a central area and is used for representing the maximum probability loss position of the Bluetooth headset. Optionally, the central point (the position shown as the mark 92) of the area a is the position where the acceleration changes to 0 after the acceleration measured by the bluetooth headset is matched with the acceleration of gravity, that is, the initial position recorded when the GPS is started. The area B is used for representing a possible loss area of the Bluetooth headset; and the area C is a recorded mobile phone moving position area after the Bluetooth headset is disconnected with the mobile phone. And then, the mobile phone can provide a navigation function for the user to help the user to plan and retrieve the route.
In some embodiments, the mobile phone and the bluetooth headset communicate through the bluetooth connection, and the signal transmission quality may change as the communication distance between the mobile phone and the bluetooth headset changes, for example, the larger the communication distance is, the worse the communication quality is. The transmission quality can be measured by using the keep-alive heartbeat timeout quantity and/or the packet loss rate of the data packets transmitted between the mobile phone and the Bluetooth headset. If the number of keep-alive heartbeat overtime and/or the packet loss rate of the data packet increases, it indicates that the transmission quality is deteriorated, and then it is determined that the communication distance increases. After the mobile phone receives the abnormal notification sent by the Bluetooth headset, the GPS is started to record the position of the mobile phone by the frequency A. If the communication quality is not changed or becomes better after being degraded, it indicates that the bluetooth headset is not lost, and the recording of the position information is stopped. If the communication quality is worse and worse, the communication distance between the mobile phone and the Bluetooth headset is increased, and the mobile phone is far away from the Bluetooth headset. The loss probability of the Bluetooth headset becomes higher, the position information recording frequency of the mobile phone is increased, and if the position of the mobile phone is recorded by the frequency B, B is more than A and more than 0. Furthermore, in the scene that the wearable device is lost is judged by using the communication quality at present, an ACC sensor does not need to be configured in the Bluetooth headset, and the electronic device can judge that the Bluetooth headset is in the lost scene so as to reduce the cost of the Bluetooth headset. Or, the ACC sensor is configured in the Bluetooth headset, but the wearable device is judged to be in a lost scene by the electronic device based on the communication quality, so that the working power consumption of the ACC sensor of the Bluetooth headset can be reduced, and the power consumption is reduced. Or, an ACC sensor is configured in the Bluetooth headset, the Bluetooth headset measures acceleration by using the ACC sensor, and then the electronic device judges that the Bluetooth headset is in a lost scene based on the acceleration measurement value and the communication quality of the Bluetooth headset, so that the accuracy of judging the lost scene is improved.
For example, as shown in fig. 6, the bluetooth headset 61 is left at the position a, the mobile phone moves in the direction indicated by the arrow 62, and the number of heartbeat timeouts and/or the packet loss rate increase during the moving process, and exceeds the preset threshold when moving to the position B. During the movement from position a to position B, the handset records the handset position at frequency a. And then, the mobile phone continues to move, the keep-alive heartbeat timeout quantity and/or the packet loss rate of the data packet gradually increase, the mobile phone moves to the position C along the direction indicated by the arrow 63, and the mobile phone is disconnected from the Bluetooth headset. And recording the position of the mobile phone at the frequency B during the movement from the position B to the position C.
Also exemplarily, corresponding to the scenario shown in fig. 6, as shown in an interface 902 (B) in fig. 9, the area a corresponds to the mobile phone moving position information from the position a to the position B, the area B corresponds to the mobile phone moving position information from the position B to the position C, the area C is the position information recorded within a second after the mobile phone and the bluetooth headset are disconnected from the position C, and a > 0. Further, the position indicated by the mark 93 is the position of the position C shown in fig. 6, that is, the position where disconnection is confirmed.
In other scenes, the bluetooth headset is lost by the user in a certain place, and the bluetooth headset cannot fall freely at the moment, namely the lost scene cannot be judged by using the acceleration. At this time, whether the bluetooth headset is in a lost scene can be directly judged by using the communication quality.
Illustratively, the mobile phone receives the timeout of the keep-alive messages (or the messages are described as periodic heartbeats) sent by the Bluetooth headset periodically, and the timeout quantity is increased; and/or the packet loss rate of the data packet transmitted between the mobile phone and the Bluetooth headset is increased. At the moment, the mobile phone starts a first application, and the first application starts a GPS to start recording the mobile position information of the mobile phone.
In some embodiments, the mobile phone starts to record the location information when determining that the keep-alive message is timed out. Or, when the mobile phone determines that the number of the keep-alive messages exceeds a threshold i and/or the packet loss rate exceeds a threshold j, the mobile phone starts to record the mobile position. Wherein i and j are greater than zero.
In some embodiments, when the mobile phone determines that the number of keep-alive messages exceeds the time limit and/or the packet loss rate increases, a preset reminding mode is adopted to remind the user that the bluetooth headset may be lost. Such as a vibration of the phone and/or a sound, and/or the user is notified by way of a notification message via the interface 701 as shown in fig. 7.
In some embodiments, the mobile phone records the location information with a frequency a, and if the number of keep-alive messages overtime and/or the packet loss rate continues to increase, the location information recording frequency is increased, for example, the location is recorded with a frequency B, where B > a > 0. If the number of the keep-alive messages is overtime and/or the packet loss rate is reduced, the position information recording frequency can be reduced, if the position is recorded by the frequency C, A is more than C and is more than 0. When the number of keep alive messages is over time and/or the packet loss rate is continuously reduced to 0, the recording of the position information can be stopped, and the situation that the current Bluetooth headset is not lost is judged.
Therefore, the mobile phone and the Bluetooth headset judge whether the Bluetooth headset is in a loss scene or not through the acceleration measured value and/or the communication quality of the Bluetooth headset. If the Bluetooth headset is in a lost scene, the GPS in the mobile phone is used for recording position information, and the lost position information and the lost time information of the Bluetooth headset are obtained through a big data analysis method, so that the user can be helped to recall the lost scene, and the user can be assisted to find the Bluetooth headset. Therefore, the Bluetooth headset can be lost and recovered without adding a GPS chip in the Bluetooth headset, the cost of the Bluetooth headset is reduced, and the problem that the power consumption of the Bluetooth headset is increased due to the real-time reporting of the position information is solved.
In some scenarios, the bluetooth headset is small and has a limited battery capacity, resulting in a limited operating time after each charging. If the bluetooth headset is lost and keeps a normal working state, the bluetooth headset may be powered off after the power consumption is exhausted before the user finds the bluetooth headset, and the retrieving difficulty is increased. Therefore, after the Bluetooth headset is determined to be lost, the Bluetooth headset can start a low power consumption mode, and power consumption is reduced. Optionally, after determining to disconnect from the mobile phone, the bluetooth headset may start the low power consumption mode. The low power consumption mode may also describe a silent mode, a low frequency mode, a full silent-low frequency discovery mode, etc.
In some embodiments, services and hardware functions associated with detectability are periodically enabled after the bluetooth headset initiates the low power mode, and other services and hardware functions remain off. For example, as shown in fig. 2, the bluetooth headset turns off non-detectability-related services and hardware functions such as an audio module for implementing an audio function, a storage module for implementing a storage function, and the like, and only periodically starts the wireless communication module related to detectability to perform signal broadcasting for informing other devices that the bluetooth headset is currently in a connectable state. And if the reconnection is successful within the preset time, exiting the low power consumption mode and starting normal operation. If reconnection fails within the preset time length, the low power consumption mode is kept, all service and hardware functions are closed, and the wireless communication module related to detectability is started in the next period to continue to send broadcast signals. For example, the bluetooth headset wakes up every X minutes, and broadcasts a signal for reestablishing a bluetooth connection with the mobile phone. And after Y seconds, if the mobile phone is not reconnected with the mobile phone, the mobile phone enters the low power consumption mode again, and wakes up again after waiting for X minutes to broadcast signals. Wherein X and Y are both greater than zero.
In some embodiments, such as the scenario shown in fig. 9, the handset guides the user to the bluetooth headset lost location area using an assisted recovery recommendation. Then, the mobile phone starts the Bluetooth function, searches the broadcast signal of the Bluetooth earphone and tries to connect. It will be appreciated that the search duration should be greater than the period duration, e.g., greater than X minutes, during which detectably relevant services and hardware functions are woken up in the bluetooth headset low power mode.
And then, the mobile phone and the Bluetooth headset reestablish Bluetooth connection. As shown in the interface 402 in (b) of fig. 4, the first application is launched by the mobile phone, and after detecting that the user clicks the bluetooth headset control 42, the interface 901 shown in (a) of fig. 9 is displayed. After the operation that the user clicks the playing sound control 94 is detected, the Bluetooth headset is controlled to send out a click prompt tone, so that the user can conveniently confirm the specific position of the lost Bluetooth headset and find the lost Bluetooth headset, and the loss is avoided.
So, through starting low power consumption mode, it is long when increasing bluetooth headset standby, ensure that bluetooth headset can possess more time after losing and be given for change, increase the probability of giving for change, further avoid bluetooth headset to lose.
Fig. 10 is a schematic flowchart of a method for preventing a bluetooth headset from being lost according to an embodiment of the present disclosure. Referring to FIG. 10, the method includes S1001-S1009.
S1001, the wearable device determines that the acceleration is matched with the gravity acceleration.
S1002, the wearable device sends an abnormal notification to the electronic device.
In some embodiments, in the above steps S1001 and S1002, the bluetooth headset is connected to the wearable device via bluetooth, the ACC sensor in the wearable device measures a self-acceleration, and if it is determined that the self-acceleration is the same as or similar to the gravitational acceleration, it is determined that the wearable device is in a free-fall state and may be lost, and an abnormal notification is sent to the electronic device connected to the wearable device to notify the electronic device of the abnormal state of the wearable device. Or after the wearable device determines that the self acceleration is the same as or similar to the gravity acceleration, the self acceleration becomes 0, and then an abnormal notification is sent to the electronic device connected with the wearable device, so as to notify the electronic device of the abnormal state of the current wearable device.
S1003, the electronic equipment records position information and prompts the user that the wearable equipment is lost possibly in a preset reminding mode.
In some embodiments, after receiving the exception notification, the first application in the electronic device activates the GPS to start recording the electronic device location information. The first application is an application program used for managing or searching the wearable device in the electronic device. The position information includes time information corresponding to the recording position. As at time a, position 1 is reached; time B, arrival at position 2, etc. Furthermore, the electronic equipment prompts a user that the wearable equipment is possibly lost through one or more prompting modes of vibration prompting, voice broadcast prompting and notification message prompting.
So, the user can in time confirm whether wearable equipment loses according to the suggestion, avoids wearable equipment to appear losing unusually.
In some embodiments, after the electronic device starts the GPS, the electronic device collects the location information with a lower frequency, and if the acceleration of the wearable device is still zero, it is determined that the wearable device is actually in a lost scene, and the collection frequency of the location information is increased. And then, judging that the distance between the wearable device and the user equipment is increased by utilizing the communication quality, and continuously increasing the acquisition frequency of the position information.
In some embodiments, the electronic device may change the location information collection frequency according to its location change speed. For example, if the user is moving on foot and the electronic device determines that the current movement speed is slow, the electronic device may collect location information with a low frequency. For another example, when the user is moving by a car and the electronic device determines that the current moving speed is fast, the electronic device needs to acquire the position information at a high frequency. Thereby guarantee before disconnected with wearable equipment, can gather more positional information, generate more accurate supplementary suggestion of finding back, and then improve the possibility that the user found back wearable equipment.
In some embodiments, the user may not be concerned with or receive the reminder, and then the auxiliary retrieval suggestion needs to be generated through the following steps, so as to help the user to determine the lost position more quickly in the subsequent process of finding the wearable device, and improve the possibility of retrieving the wearable device.
S1004, the Bluetooth connection between the electronic device and the wearable device is disconnected.
In some embodiments, the bluetooth connection has a communication distance (or may be described as a working distance) limitation, and in the process of recording the position information of the movement of the electronic device, due to the movement of the electronic device, the distance between the electronic device and the wearable device may become larger and larger, which results in exceeding the bluetooth communication distance, and if the signal sent by the wearable device cannot be received, the bluetooth connection is disconnected from the wearable device. For example, within a preset time period after the electronic device receives a certain signal sent by the wearable device, the electronic device does not receive the next signal, and then determines that the connection state between the electronic device and the wearable device is abnormal, closes the local bluetooth adapter, and disconnects the bluetooth connection. For another example, if the distance between the electronic device and the wearable device is greater than the distance threshold, and the electronic device signal is read abnormally, it is determined that the I/O interface is abnormal, and the bluetooth connection is disconnected. The electronic device determines that the Bluetooth connection is disconnected, and determines that the current wearable device loss scene is a valid loss scene, namely, it is determined that the wearable device is lost. The following step S1005 is performed to transmit the location information to the server. Accordingly, the wearable device can also determine that the bluetooth connection is disconnected by using the above method, and then execute the following step S1006 to start the low power consumption mode.
It is understood that the electronic device and the wearable device may also determine the disconnection state of the bluetooth connection in other manners, and the embodiment of the present application is not particularly limited.
S1005, the electronic device sends the recorded location information to the server.
In some embodiments, after determining that the wearable device is disconnected from the wearable device by the method in step S1004, the electronic device stops recording the location information (for example, automatically turns off the GPS), and sends all the recorded location information to the server for analysis. Optionally, the location information sent by the electronic device to the server includes location information at the disconnection time. Or after the electronic equipment is determined to be disconnected from the wearable equipment, the position information of the preset time length is recorded, and all recorded position information is sent to the server for analysis.
In some embodiments, the electronic device may package and send the recorded location information to the server, the location information including, for example, the location of the record and a corresponding timestamp.
And S1006, the wearable device starts a low power consumption mode and broadcasts a signal according to a preset period.
In some embodiments, after the wearable device is disconnected from the electronic device by the method in step S1004, the low power consumption mode needs to be started, and the service and hardware functions of the wearable device need to be shut down, so as to reduce power consumption, save electric power, increase standby time, and improve the recovery probability. The wireless communication module is started to send the broadcast signal only according to the preset period, so that the electronic equipment can find the wearable equipment conveniently.
In other embodiments, after completing the recording of the location information, the electronic device may not send the recorded location information to the server, and may process the recorded location information by using its own processing module to generate an auxiliary retrieval suggestion.
It should be noted that, in the embodiment of the present application, the execution sequence of the above step S1005 and step S1006 is not specifically limited. For example, after the bluetooth connection between the electronic device and the wearable device is disconnected, the wearable device starts a low power consumption mode while the electronic device sends the recorded location information to the server, and broadcasts a signal according to a preset period.
S1007, the server generates an auxiliary recovery suggestion.
In some embodiments, the server receives the location information sent by the electronic device, and based on the location information, determines possible missing location area information for the wearable device. For example, as shown in the interface 902 in fig. 9 (b), the server determines the lost positions of the wearable device with different probabilities by using the position and the timestamp included in the position information, and generates the auxiliary recovery suggestion. The position containing the maximum probability loss of the wearable device is the area A if the auxiliary recovery suggestion is included, and the position corresponding to the area A and the specific time are included.
S1008, the server sends the auxiliary retrieving suggestion to the electronic device.
S1009, displaying an auxiliary retrieving suggestion and assisting the user in retrieving the wearable device.
In some embodiments, the electronic device receives an assisted recovery suggestion sent by the server. Thereafter, the electronic device detects that the user initiates an operation to retrieve the wearable device function, and displays an auxiliary retrieval suggestion, such as an interface 902 shown in fig. 9 (b). As shown at 10: 00, the electronic equipment is located on the XXX path, and guides the user to determine the lost position area of the wearable equipment and helps the user to remember possible lost positions.
And then, the electronic equipment searches for the broadcast signal sent by the wearable equipment according to a preset period, and the electronic equipment is paired with the wearable equipment again to establish Bluetooth connection. After the bluetooth connection is established, based on the bluetooth connection, look for the specific location of wearable device. For example, based on the bluetooth connection, the wearable device is controlled to sound so that the user discovers the wearable device.
In addition, the electronic device may further perform the steps and functions performed by the mobile phone in the above embodiments, the wearable device may further perform the steps and functions performed by the bluetooth headset in the above embodiments, and the server may further perform the steps and functions performed by the cloud server in the above embodiments, so that the method for preventing the bluetooth headset from being lost in the above embodiments is implemented.
In other scenarios, the wearable device is not lost by dropping, but is forgotten somewhere by the user to cause it to be lost, and it needs to determine that the wearable device is in the lost scenario by using the bluetooth headset loss prevention method shown in fig. 11. Or, the wearable device is not configured with an ACC sensor and cannot measure the self-acceleration, and it needs to determine that the wearable device is in a loss scene by using the bluetooth headset loss prevention method shown in fig. 11.
Fig. 11 is a schematic flowchart of another bluetooth headset loss prevention method according to an embodiment of the present disclosure. Referring to FIG. 11, the method includes S1101-S1108.
S1101, the electronic device determines that the communication quality between the electronic device and the wearable device meets a first condition.
The first condition comprises that the overtime quantity of the keep-alive messages is larger than or equal to a first threshold value, and/or the packet loss rate is larger than or equal to a second threshold value.
In some embodiments, the wearable device is forgotten somewhere, the electronic device moves away from the wearable device, and the communication quality is worse as the distance between the electronic device and the wearable device is larger. For example, the communication quality is determined by using the keep-alive messages and/or the packet loss rates of the transmission data packets transmitted between the electronic device and the wearable device, and if the number of the keep-alive messages overtime and/or the packet loss rates are larger and larger, the communication quality is worse and worse. The electronic device judges that the wearable device is in a lost scene, and needs to start a GPS to record position information.
S1102, the electronic equipment records position information and prompts the user that the wearable equipment is lost possibly in a preset reminding mode.
In some embodiments, if the electronic device is still getting worse and worse in the process of recording the position information, the position information collection frequency is increased. If the communication quality of the electronic equipment becomes good in the process of recording the position information, the position information acquisition frequency is reduced. Therefore, the position information is collected more flexibly, and the working power consumption of the GPS is reduced while the position information used for determining the auxiliary retrieval suggestion is ensured to be obtained.
S1103, the Bluetooth connection between the electronic device and the wearable device is disconnected.
S1104, the electronic equipment sends the recorded position information to the server.
S1105, the wearable device starts a low power consumption mode and broadcasts signals according to a preset period.
S1106, the server generates an auxiliary retrieval suggestion.
S1107, the server sends an auxiliary recovery suggestion to the electronic device.
S1108, the electronic equipment displays the auxiliary retrieving suggestion to assist the user in retrieving the wearable equipment.
Optionally, the remaining contents of step S1102 to step S1108 may refer to the related contents of step S1003 to step 1009, and are not described herein again.
In addition, the electronic device may further perform the steps and functions performed by the mobile phone in the above embodiments, the wearable device may further perform the steps and functions performed by the bluetooth headset in the above embodiments, and the server may further perform the steps and functions performed by the cloud server in the above embodiments, so that the method for preventing the bluetooth headset from being lost in the above embodiments is implemented.
For example, based on the method flow diagrams shown in fig. 10 and fig. 11, fig. 12 is a flow diagram of another bluetooth headset loss prevention method provided in the embodiment of the present application. Referring to fig. 12, the method includes S1201-S1210.
S1201, the wearable device determines that the acceleration is matched with the gravity acceleration.
S1202, the wearable device sends an exception notification to the electronic device.
S1203, the electronic equipment records position information and prompts a user that the wearable equipment is lost possibly in a preset reminding mode.
S1204, the electronic device determines that the communication quality between the electronic device and the wearable device meets a first condition.
S1205, the Bluetooth connection between the electronic equipment and the wearable equipment is disconnected.
In some embodiments, the electronic device monitors acceleration of the wearable device and monitors quality of communication with the wearable device after determining that the wearable device is free-falling. If the acceleration of the wearable device is kept to be zero and the communication quality is increasingly poor, the electronic device judges that the wearable device is in a lost scene, and a GPS (global positioning system) is required to be started to record the position information, namely, a wearable device retrieving mode is started.
Therefore, the electronic equipment judges whether the wearable equipment is in a lost scene or not through two judgment conditions of the acceleration and the communication quality of the wearable equipment, and the accuracy of judging the lost scene is improved.
And S1206, the electronic equipment sends the recorded position information to the server.
S1207, the wearable device starts a low power consumption mode and broadcasts signals according to a preset period.
S1208, the server generates an auxiliary retrieval suggestion.
S1209, the server sends an auxiliary recovery suggestion to the electronic equipment.
S1210, the electronic equipment displays an auxiliary retrieving suggestion to assist a user in retrieving the wearable equipment.
Optionally, the remaining contents of steps S1201 to S1210 may refer to the related contents of steps S1001 to S1009, or refer to the related contents of steps S1201 to S1208, which is not described herein again.
Optionally, the step S1201 and the step S1202 are optional steps, and if the bluetooth headset loss prevention method shown in fig. 12 does not include the step S1201 and the step S1202, the electronic device first executes the step S1204, and then executes the step S1203. That is, if the ACC sensor is not configured in the wearable device, the electronic device can directly determine whether the wearable device is in a lost scene or not and whether recording of the location information needs to be started or not based on whether the communication quality between the electronic device and the wearable device meets the first condition or not.
In addition, the electronic device may further perform the steps and functions performed by the mobile phone in the above embodiments, the wearable device may further perform the steps and functions performed by the bluetooth headset in the above embodiments, and the server may further perform the steps and functions performed by the cloud server in the above embodiments, so that the method for preventing the bluetooth headset from being lost in the above embodiments is implemented.
The method for preventing the bluetooth headset from being lost provided by the embodiment of the present application is described in detail above with reference to fig. 10, 11 and 12. The bluetooth headset loss prevention apparatus provided in the embodiment of the present application is described in detail below with reference to fig. 13 and fig. 14.
In a possible design, fig. 13 is a schematic structural diagram of an electronic device provided in this embodiment of the present application, where the electronic device is used as a bluetooth headset loss prevention apparatus, and can be used to implement the methods described in the above method embodiments. As shown in fig. 13, the electronic device 1300 includes: a processing module 1301 and a transceiver module 1302. The electronic device 1300 may be used to implement the functionality of the electronic device involved in the method embodiments described above. The electronic device 1300 may be a device itself, or may be a functional unit or a chip in the device.
Optionally, the processing module 1301 is configured to support the electronic apparatus 1300 to perform step S1003 and step S1009 in fig. 10; and/or, support the electronic device 1300 to execute step S1102 and step S1108 in fig. 11; and/or, the supporting electronic device 1300 performs step S1203 and step S1210 in fig. 12; and/or other processes for the techniques described herein.
Optionally, the transceiver module 1302 is configured to support the electronic apparatus 1300 to perform step S1002, step S1004, step S1005 and step S1008 in fig. 10; and/or, the support electronic device 1300 performs step S1101, step S1103, step S1104 and step S1107 in fig. 11; and/or the support electronic device 1300 performs step S1202, step S1204, step S1205, step S1206, and step S1209 in fig. 12; and/or other processes for the techniques described herein.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Optionally, the electronic device 1300 shown in fig. 13 may further include a storage unit (not shown in fig. 13) that stores the program or the instructions. When the processing module 1301 and the transceiver module 1302 execute the program or the instructions, the electronic device 1300 shown in fig. 13 may execute the bluetooth headset loss prevention method according to the above method embodiment.
Optionally, the transceiver module 1302 may include a receiving module and a transmitting module. The receiving module is used for receiving data sent by the wearable device or the server. And the sending module is used for sending data to the wearable equipment or the server. The embodiment of the present application does not specifically limit the specific implementation manner of the transceiver module.
For technical effects of the electronic device 1300 shown in fig. 13, reference may be made to technical effects of the method for preventing the bluetooth headset from being lost in the foregoing method embodiment, which are not described herein again.
In a possible design, fig. 14 is a schematic structural diagram of a wearable device provided in this embodiment, where the wearable device is used as a bluetooth headset anti-loss device, and can be used to implement the methods described in the above method embodiments. As shown in fig. 14, the wearable device 1400 includes: a processing module 1401 and a transceiver module 1402. The wearable device 1400 may be used to implement the functions of the wearable device involved in the above method embodiments. The wearable device 1400 may be the device itself, or may be a functional unit or a chip in the device.
Optionally, the processing module 1401 is configured to support the wearable device 1400 to perform step S1001 and step S1006 in fig. 10; and/or support the wearable device 1400 to perform step S1105 in fig. 11; and/or, support the wearable device 1400 to perform steps S1201 and S1207 in fig. 12; and/or other processes for the techniques described herein.
Optionally, the transceiver module 1402 is configured to support the wearable device 1400 to perform step S1002 and step S1004 in fig. 10; and/or supporting the wearable device 1400 to perform steps S1101 and S1103 in fig. 11; and/or supporting the wearable device 1400 to perform step S1202, step S1204 and step S1205 in fig. 12; and/or other processes for the techniques described herein.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Optionally, the wearable device 1400 shown in fig. 14 may further include a storage unit (not shown in fig. 14) storing a program or instructions. When the processing module 1401 and the transceiver module 1402 execute the program or the instructions, the wearable device 1400 shown in fig. 14 may execute the bluetooth headset loss prevention method according to the above method embodiment.
Optionally, the transceiver module 1402 may include a receiving module and a transmitting module. The receiving module is used for receiving data sent by the electronic equipment. And the sending module is used for sending data to the electronic equipment. The embodiment of the present application does not specifically limit the specific implementation manner of the transceiver module.
Technical effects of the wearable device 1400 shown in fig. 14 can refer to technical effects of the bluetooth headset loss prevention method related to the above method embodiment, and are not described herein again.
An embodiment of the present application further provides a chip system, including: a processor coupled to a memory, the memory for storing a program or instructions, which when executed by the processor, causes the system-on-chip to implement the method in any of the method embodiments described above.
Optionally, the number of processors in the system on chip may be one or more. The processor may be implemented by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
Optionally, the memory in the system-on-chip may also be one or more. The memory may be integrated with the processor or may be disposed separately from the processor, and the embodiments of the present application are not limited thereto. For example, the memory may be a non-transitory processor, such as a read only memory ROM, which may be integrated on the same chip as the processor, or may be separately disposed on different chips, and the embodiment of the present application is not particularly limited to the type of the memory and the arrangement manner of the memory and the processor.
The system-on-chip may be, for example, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit (DSP), a Microcontroller (MCU), a Programmable Logic Device (PLD), or other integrated chips.
It will be appreciated that the steps of the above described method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Embodiments of the present application also provide a storage medium for storing instructions for use by the above-described communication apparatus.
The embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a server, the server executes the above related method steps to implement the bluetooth headset loss prevention method in the above embodiment.
The embodiment of the present application further provides a computer program product, when the computer program product runs on a computer, the computer executes the above related steps, so as to implement the method for preventing the bluetooth headset from being lost in the above embodiment.
In addition, the present application also provides an apparatus, which may be specifically a component or a module, and may include one or more processors and a memory connected to each other; wherein the memory is used to store computer programs, one or more of which comprise instructions. The instructions, when executed by the one or more processors, cause the apparatus to perform the bluetooth headset loss prevention method in the above-described method embodiments.
The apparatus, the computer-readable storage medium, the computer program product, or the chip provided in the embodiments of the present application are all configured to execute the corresponding methods provided above, so that the beneficial effects achieved by the apparatus, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
The steps of a method or algorithm described in connection with the disclosure of the embodiments disclosed herein may be embodied in hardware or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC).
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of modules or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, 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 can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A method for preventing loss of a Bluetooth headset, the method comprising:
receiving an abnormal notification sent by a wearable device and/or the communication quality between the wearable device and the wearable device meets a first condition; the anomaly notification is a notification sent by the wearable device when it is determined that the acceleration measurement matches the gravitational acceleration; the first condition comprises that the overtime quantity of the keep-alive messages is larger than or equal to a first threshold value, and/or the packet loss rate is larger than or equal to a second threshold value;
recording position information;
obtaining, using the location information, a retrieval recommendation indicating a location area where the wearable device is lost.
2. The method of claim 1, wherein the recording location information if the anomaly notification sent by the wearable device is received comprises:
recording first position information according to a first frequency;
determining that a quality of communication with the wearable device satisfies the first condition, recording second location information at a second frequency, the second frequency being higher than the first frequency, the location information including the first location information and the second location information.
3. The method according to claim 1 or 2, wherein the obtaining of the retrieval recommendation by using the location information comprises:
sending the position information to a server;
and receiving the retrieval suggestion, wherein the retrieval suggestion is determined by the server according to the position information.
4. The method according to any of claims 1-3, wherein after said recording location information, the method further comprises:
prompting the user that the wearable equipment is lost by adopting a preset prompting mode; the preset reminding mode comprises one or more of vibration reminding, voice broadcast reminding and notification message reminding.
5. The method of any of claims 1-4, wherein prior to said obtaining a recovery recommendation using said location information, said method further comprises:
determining that a first connection with the wearable device is broken;
stopping recording the position information.
6. The method according to any one of claims 1-5, further comprising:
displaying a first interface for displaying the retrieval suggestion;
determining a location area where the wearable device is lost;
searching a first signal sent by the wearable device according to a preset period, wherein the first signal is a signal sent by the wearable device in a low power consumption mode and is used for indicating that the wearable device is to be connected;
establishing a second connection with the wearable device based on the first signal.
7. An electronic device, comprising: a processor, a memory, and a display screen, the memory, the display screen coupled with the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform the bluetooth headset loss prevention method of any of claims 1-6.
8. A computer-readable storage medium comprising a program or instructions which, when executed, implement the method of any of claims 1-6.
9. A computer program product comprising instructions for causing an electronic device to perform the bluetooth headset loss prevention method of any one of claims 1-6 when the computer program product is run on the electronic device.
CN202011526985.3A 2020-12-22 2020-12-22 Bluetooth headset loss prevention method and electronic equipment Pending CN114666694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011526985.3A CN114666694A (en) 2020-12-22 2020-12-22 Bluetooth headset loss prevention method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011526985.3A CN114666694A (en) 2020-12-22 2020-12-22 Bluetooth headset loss prevention method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114666694A true CN114666694A (en) 2022-06-24

Family

ID=82024667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011526985.3A Pending CN114666694A (en) 2020-12-22 2020-12-22 Bluetooth headset loss prevention method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114666694A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980363A (en) * 2022-07-27 2022-08-30 荣耀终端有限公司 Bluetooth connection method and related device thereof
CN115883428A (en) * 2022-11-30 2023-03-31 中汇信息技术(上海)有限公司 Method and device for reminding user of losing contact of wireless Internet of things equipment and electronic equipment
CN116699477A (en) * 2022-12-23 2023-09-05 荣耀终端有限公司 Spring needle interface connection state detection method, combined device and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227209A (en) * 2008-01-25 2008-07-23 宇龙计算机通信科技(深圳)有限公司 Method and theftproof system of mobile terminal based on blue tooth submachine
CN107003969A (en) * 2014-12-04 2017-08-01 苹果公司 Connection attribute for being connected using electronic accessories promotes the main equipment of positioning attachment
CN107950062A (en) * 2016-06-30 2018-04-20 华为技术有限公司 A kind of method for scanning wireless fidelity network and mobile equipment
CN207835738U (en) * 2018-02-06 2018-09-07 北京纽曼腾飞科技有限公司 A kind of bluetooth headset of the two-way loss prevention function of band
CN108769848A (en) * 2018-03-29 2018-11-06 肇庆高新区亿米阳光创意科技有限公司 A kind of antitheft mobile phone bluetooth headset and theft preventing method
CN108834052A (en) * 2018-06-12 2018-11-16 歌尔科技有限公司 A kind of TWS earphone anti-lost method, TWS earphone and anti-lose system
CN109462787A (en) * 2018-10-16 2019-03-12 倬韵科技(深圳)有限公司 A kind of true wireless stereo Bluetooth earphone and its anti-lost method
CN109922402A (en) * 2019-04-29 2019-06-21 歌尔科技有限公司 A kind of earphone anti-lost method, true wireless headset, charging box and earphone complete sets of products
JP2019114198A (en) * 2017-12-26 2019-07-11 株式会社Jvcケンウッド Terminal device, product assurance application system, method for checking validity of assurance application, and program form checking validity of assurance application
CN110650408A (en) * 2019-10-29 2020-01-03 歌尔股份有限公司 Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN110708626A (en) * 2019-09-26 2020-01-17 上海摩软通讯技术有限公司 Earphone loss prevention method and earphone loss prevention
CN110826115A (en) * 2019-10-28 2020-02-21 维沃移动通信有限公司 Management method, wearable device and electronic device
CN111770409A (en) * 2020-07-13 2020-10-13 珠海市杰理科技股份有限公司 Earphone loss prevention method, device and system and earphone

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227209A (en) * 2008-01-25 2008-07-23 宇龙计算机通信科技(深圳)有限公司 Method and theftproof system of mobile terminal based on blue tooth submachine
CN107003969A (en) * 2014-12-04 2017-08-01 苹果公司 Connection attribute for being connected using electronic accessories promotes the main equipment of positioning attachment
CN107950062A (en) * 2016-06-30 2018-04-20 华为技术有限公司 A kind of method for scanning wireless fidelity network and mobile equipment
JP2019114198A (en) * 2017-12-26 2019-07-11 株式会社Jvcケンウッド Terminal device, product assurance application system, method for checking validity of assurance application, and program form checking validity of assurance application
CN207835738U (en) * 2018-02-06 2018-09-07 北京纽曼腾飞科技有限公司 A kind of bluetooth headset of the two-way loss prevention function of band
CN108769848A (en) * 2018-03-29 2018-11-06 肇庆高新区亿米阳光创意科技有限公司 A kind of antitheft mobile phone bluetooth headset and theft preventing method
CN108834052A (en) * 2018-06-12 2018-11-16 歌尔科技有限公司 A kind of TWS earphone anti-lost method, TWS earphone and anti-lose system
CN109462787A (en) * 2018-10-16 2019-03-12 倬韵科技(深圳)有限公司 A kind of true wireless stereo Bluetooth earphone and its anti-lost method
CN109922402A (en) * 2019-04-29 2019-06-21 歌尔科技有限公司 A kind of earphone anti-lost method, true wireless headset, charging box and earphone complete sets of products
CN110708626A (en) * 2019-09-26 2020-01-17 上海摩软通讯技术有限公司 Earphone loss prevention method and earphone loss prevention
CN110826115A (en) * 2019-10-28 2020-02-21 维沃移动通信有限公司 Management method, wearable device and electronic device
CN110650408A (en) * 2019-10-29 2020-01-03 歌尔股份有限公司 Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN111770409A (en) * 2020-07-13 2020-10-13 珠海市杰理科技股份有限公司 Earphone loss prevention method, device and system and earphone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980363A (en) * 2022-07-27 2022-08-30 荣耀终端有限公司 Bluetooth connection method and related device thereof
CN114980363B (en) * 2022-07-27 2024-03-19 荣耀终端有限公司 Bluetooth reconnection method and related device thereof
CN115883428A (en) * 2022-11-30 2023-03-31 中汇信息技术(上海)有限公司 Method and device for reminding user of losing contact of wireless Internet of things equipment and electronic equipment
CN116699477A (en) * 2022-12-23 2023-09-05 荣耀终端有限公司 Spring needle interface connection state detection method, combined device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111724775B (en) Voice interaction method and electronic equipment
CN111095723B (en) Wireless charging method and electronic equipment
CN114666694A (en) Bluetooth headset loss prevention method and electronic equipment
US20220360942A1 (en) Bluetooth-based object searching method and electronic device
CN113747374B (en) Message pushing method and device
CN112637758B (en) Equipment positioning method and related equipment thereof
CN114079892A (en) Bluetooth communication method, wearable device and system
CN111602108A (en) Application icon display method and terminal
CN114579389A (en) Application management method, device, equipment and storage medium
CN114500241A (en) Abnormal reset processing method and terminal equipment
CN116709180B (en) Geofence generation method and server
CN113890929B (en) Method and device for switching audio output channel and electronic equipment
CN116032942A (en) Method, device, equipment and storage medium for synchronizing cross-equipment navigation tasks
CN114911400A (en) Method for sharing pictures and electronic equipment
CN116684525B (en) Event reminding method, electronic equipment and storage medium
CN112014866B (en) Motion trail recording method and related equipment
CN116095223B (en) Notification display method and terminal device
CN116844375B (en) Parking information display method and electronic equipment
CN115297530B (en) Network connection method and device
CN116400974B (en) Method for entering long standby mode, electronic device and readable storage medium
CN117273687B (en) Card punching recommendation method and electronic equipment
CN116347550B (en) Network switching method and electronic equipment
WO2023160217A1 (en) Method for detecting embedded subscriber identity module (esim) card, and terminal device
CN111801931B (en) Method for switching on and hanging up telephone when call occurs SRVCC switch
CN116684525A (en) Event reminding method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220624