CN116095218B - Control method and device of terminal equipment and computer readable storage medium - Google Patents

Control method and device of terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN116095218B
CN116095218B CN202210854287.9A CN202210854287A CN116095218B CN 116095218 B CN116095218 B CN 116095218B CN 202210854287 A CN202210854287 A CN 202210854287A CN 116095218 B CN116095218 B CN 116095218B
Authority
CN
China
Prior art keywords
earphone
user
terminal device
box
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.)
Active
Application number
CN202210854287.9A
Other languages
Chinese (zh)
Other versions
CN116095218A (en
Inventor
李欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210854287.9A priority Critical patent/CN116095218B/en
Publication of CN116095218A publication Critical patent/CN116095218A/en
Application granted granted Critical
Publication of CN116095218B publication Critical patent/CN116095218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724094Interfacing with a device worn on the user's body to provide access to telephonic functionalities, e.g. accepting a call, reading or composing a message
    • H04M1/724097Worn on the head
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a control method and device of terminal equipment. In the technical scheme provided by the application, under the condition that the terminal equipment is in a connection state with the earphone, the terminal equipment can receive the first feedback information and the second feedback information from the earphone, and determine the in-box state and the wearing state of the earphone based on the first feedback information and the second feedback information, if the earphone is not in the box and the earphone is not in the wearing state, the terminal equipment can output first prompt information, and the first prompt information is used for prompting that the earphone is not in the earphone box. According to the method, the terminal equipment outputs the first prompt information, so that a user knows that the earphone is not in the box and then can put the earphone into the earphone box.

Description

Control method and device of terminal equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal devices, and in particular, to a method and an apparatus for controlling a terminal device.
Background
The true wireless (true wireless stereo, TWS) earphone refers to an earphone without a connection wire, that is, the left earphone and the right earphone are connected with each other and the earphone and the terminal device in a wireless manner.
A real wireless earphone generally needs to be provided with an earphone box, which not only can charge the earphone, but also has the function of accommodating the earphone. That is, the user can put the earphone into the earphone box, and when the earphone needs to be used, the earphone is taken out from the earphone box.
However, the following frequently occurs: when the user opens the earphone box to take the earphone, no earphone or only part of earphone is arranged in the earphone box.
Disclosure of Invention
The application provides a control method and device of terminal equipment, which are used for solving the problem that in the prior art, when a user opens an earphone box to take an earphone, no earphone or insufficient earphone exists in the earphone box.
In a first aspect, the present application provides a method for controlling a terminal device, where a current time of the terminal device is a preset time and/or a position where the terminal device is located is a preset place, and the terminal device and an earphone are in a connection state, where the method includes: receiving first feedback information from the earphone, wherein the first feedback information is used for indicating the box state of the earphone; receiving second feedback information from the earphone, wherein the second feedback information is used for indicating the wearing state of the earphone; if the box-shaped state of the earphone comprises that the earphone is not in the earphone box and the earphone is not in the wearing state, outputting first prompt information, wherein the first prompt information is used for prompting that the earphone is not in the earphone box.
In the method, when the current time is a preset time and/or the position of the terminal equipment is a preset place, and the terminal equipment is in a connection state with the earphone, the terminal equipment can send first request information to the earphone, wherein the first request information is used for requesting the earphone to feed back in a box state. After the earphone receives the first request information, the in-box state of the earphone can be detected, and after the in-box state of the earphone is detected, first feedback information is sent to the terminal equipment. The terminal device may determine an in-box status of the earphone based on the first feedback information, the in-box status of the earphone including in-box and out-of-box.
When the terminal device determines that the earphone is not in the box, the terminal device can send second request information to the earphone, wherein the second request information is used for requesting the earphone to feed back the wearing state. After receiving the second request information, the earphone can detect the wearing state of the earphone, and after detecting the wearing state of the earphone, the earphone sends second feedback information to the terminal equipment. The terminal device can determine the wearing state of the earphone based on the second feedback information.
In a first example, the first hint information may be as shown in fig. 1. In this example, the terminal device may output the first prompt information as long as at least one earphone is not in the earphone box, so that the user knows that the earphone is not placed in the earphone box after the earphone box.
In a second example, the first hint information may be as shown in FIG. 2. In this example, the terminal device may determine the number of wireless headphones that are not placed in the headphone case, and include the number in the first prompt information, so that after knowing the number of headphones that are not in the headphone case, the user only needs to find the number of headphones.
For example, if the first prompt information indicates that one earphone is not in the earphone box, the user only needs to put the earphone in the earphone box after finding the earphone, so that the user does not need to spend unnecessary time to find the other earphone, thereby saving time.
For another example, if the first prompt information indicates that one earphone is not in the earphone box, the user can directly use the earphone placed in the earphone box without searching for the earphone, so that the user does not need to spend extra time searching for the earphone, and the user time is saved.
In a third example, the first hint information may be as shown in FIG. 3. In this example, the terminal device may determine the wearing orientation of the wireless earphone that is not placed in the earphone box, i.e., determine whether the wireless earphone that is not placed in the earphone box is a left earphone or a right earphone, so that the user can learn which earphone needs to be found, in particular.
In some possible implementations, the method may further include: receiving a first instruction input by a user, wherein the first instruction is used for indicating the preset time; and setting the preset time in response to the first instruction.
In this implementation, the preset time may be set by the user.
Before the terminal device receives the first instruction, the user interface shown in (a) of fig. 4 may be output, where the user interface may include a soft key "prompt time", and after the user clicks the soft key "prompt time", the terminal device may output the user interface shown in (b) of fig. 4, so that the user may set a preset time in the user interface.
In this example, the preset time may be set by dragging a number. Alternatively, the user may set the time in other ways, for example, the user may directly input the time value.
In some possible implementations, the method may further include: acquiring first user behavior data in the terminal equipment; determining a time period in which each behavior of at least one behavior of a user of the terminal equipment is located according to the first user behavior data; setting the starting time of the time period of each action in the at least one action as the preset time.
In this implementation, the preset time may be automatically set by the terminal device based on the first user behavior data.
In this implementation, the first user behavior data may include at least one behavior of the user over a continuous period of time (e.g., one week or one month) and a time or period corresponding to each of the at least one behavior.
For example, assuming that the terminal device acquires the time of getting up and leaving the user for one week, if the user gets up from seven to seventy-five in the morning and leaves from eight to eighty-five in the morning for more than five days in the week, the terminal device may set the seven in the morning as the preset time.
In some possible implementations, the method may further include: receiving a second instruction input by a user, wherein the second instruction is used for indicating the preset place; and setting the preset place in response to the second instruction.
In this implementation, the preset location may be set by the user.
Before receiving the second instruction, the terminal device may output a user interface as shown in (a) of fig. 5, where the user interface may include a soft key "prompt location", and after the user clicks the soft key "prompt location", the terminal device may output a user interface as shown in (b) of fig. 5, so that the user may set a preset location in the user interface.
In this example, the preset place may be set by dragging the text. Alternatively, the user may set the time in other ways, for example, the user may directly input a preset place.
In some possible implementations, the method may further include: acquiring second user behavior data in the terminal equipment; determining the place of the user of the terminal equipment when the preset time is located according to the second user behavior data; and setting the place where the user is located at the preset time as the preset place.
In this implementation, the preset location may be automatically set by the terminal device based on the second user behavior data.
In this implementation, the second user behavior data may include a preset time and a place where the preset time is located for a continuous period of time (e.g., one week or one month).
For example, assuming that the preset time is seven points, the terminal device acquires a place where the user is located at seven points every day in a week, and if the user is at home at seven points in the morning for more than five days in the week, the terminal device may set the home as the preset place corresponding to the preset time.
In some possible implementations, the method may further include: receiving a third instruction input by a user, wherein the third instruction is used for indicating a prompting mode of the first prompting information; and setting a prompting mode of the first prompting information in response to the third instruction.
Before receiving the third instruction, the terminal device may output a user interface as shown in fig. 4 (a), and the user may include a soft key in a prompting manner, so that the terminal device may output the first prompting information according to a manner set by the user.
Alternatively, the soft keys of the prompt mode may include "message popup", "music play" and "no prompt".
In some possible implementations, when the alert mode includes music playing, the method may further include: receiving a fourth instruction input by a user, wherein the fourth instruction is used for indicating played music content; and setting music content which is played when the earphone is not in the box and is prompted by music playing in response to the fourth instruction.
For example, in the case where the user clicks the soft key "music play" in the user interface as shown in fig. 4 (a), the user may also click the soft key "music select" so that the user may select music that the headphones are not playing while they are in the box.
After the user clicks the soft key "music selection", the terminal device may output a music selection interface so that the user may input a fourth instruction in the interface. Alternatively, an example of the music selection interface is similar to fig. 4 (b), only by replacing the time information with song names.
In some possible implementations, the method may further include: outputting second prompt information, wherein the second prompt information is used for prompting a user whether to retrieve the earphone which is not in the earphone box; receiving a fifth instruction input by a user, wherein the fifth instruction is used for indicating to retrieve the earphone which is not in the earphone box; and sending first indication information to the earphone which is not in the earphone box, wherein the first indication information is used for indicating the earphone which is not in the earphone box to output third prompt information, and the third prompt information comprises one or more of lamplight, music or vibration.
For example, the terminal device outputs the first prompt message and outputs the second prompt message; for another example, after the terminal device outputs the first prompt information, if the user inputs an operation instruction on the user interface of the first prompt information, for example, touches the first prompt information, the terminal device outputs the second prompt information.
In one example, the user interface through which the user outputs the second prompt may be as shown in fig. 6 (a). When the user clicks the soft key "yes" in the user interface, the terminal device may send the first indication information to the earphone.
Alternatively, the terminal device may further provide a user interface for setting the content of the third hint information, and set the content of the third hint information based on information input by the user. When the content of the third prompt information includes music, optionally, the terminal device may provide music that the user sets to retrieve the earphone.
In some possible implementations, the method may further include: and sending second indication information to the earphone which is not in the earphone box, wherein the second indication information is used for indicating the output time length of the third indication information.
Optionally, the duration of outputting the third prompt information by the earphone may be preset in the terminal device, and when the terminal device sends the first instruction information to the earphone, the second instruction information may also be sent.
In this case, after the terminal device transmits the first indication information, the terminal device may output a user interface diagram as shown in (b) of fig. 6, which may provide the option "recovered headphones" and the option "continue to recover headphones". If the user selects "continue retrieving headset", the terminal device may retransmit the first indication information.
In some possible implementations, the method may further include: and sending third indication information to the earphone not in the earphone box, wherein the third indication information is used for indicating the earphone not in the box to stop outputting the third prompt information.
Alternatively, after the earphone receives the first indication information, the third indication information may be output all the time.
In this case, the terminal device may output a user interface diagram as shown in fig. 6 (c), in which the option "recovered headphones" and the fourth hint information "… … in the recovered headphones" may be provided. If the user selects 'recovered earphone', the terminal equipment sends third indication information to the earphone.
In a second aspect, the present application provides a control device of a terminal device, where the device may include respective functional modules for implementing the method in the first aspect. Each of the functional modules may be implemented in software and/or hardware.
As an example, the apparatus may include: a receiving module and an output module.
The receiving module can be used for receiving first feedback information from the earphone, wherein the first feedback information is used for indicating the box state of the earphone; the receiving module may be further configured to receive second feedback information from the earphone, where the second feedback information is used to indicate a wearing state of the earphone; the output module may be configured to output a first prompt message if the in-box state of the earphone includes that the earphone is not in the earphone box and the earphone is not in the wearing state, where the first prompt message is used to prompt that the earphone is not in the earphone box.
Optionally, the receiving module may be further configured to receive a first instruction input by a user, where the first instruction is used to indicate the preset time.
Optionally, the apparatus may further comprise a setting module, which may be configured to set the preset time in response to the first instruction.
Optionally, the apparatus may further include an acquisition module and a determination module. The acquiring module may be configured to acquire first user behavior data in the terminal device; the determining module may be configured to determine, according to the first user behavior data, a time period in which each behavior of at least one behavior of a user of the terminal device is located; correspondingly, the setting module may be further configured to set a start time of a time period in which each of the at least one behavior is located as the preset time.
Optionally, the receiving module may be further configured to receive a second instruction input by a user, where the second instruction is used to indicate the preset location; the setting module may be further configured to set the preset location in response to the second instruction.
Optionally, the acquiring module may be further configured to acquire second user behavior data in the terminal device; the determining module is further configured to determine, according to the second user behavior data, a location where a user of the terminal device is located at the preset time; the setting module may be further configured to set a location where the user is located at the preset time as the preset location.
Optionally, the receiving module may be further configured to receive a third instruction input by a user, where the third instruction is used to indicate a prompting manner of the first prompting information; the setting module may be further configured to set a prompting manner of the first prompting information in response to the third instruction.
Optionally, the receiving module may be further configured to receive a fourth instruction input by a user, where the fourth instruction is used to indicate played music content; the setting module may be further configured to set, in response to the fourth instruction, music content that should be played when the headphones are not in the box by music play.
Optionally, the output module may be further configured to output a second prompt, where the second prompt is used to prompt a user whether to retrieve an earphone that is not in the earphone box; the receiving module may be further configured to receive a fifth instruction input by a user, where the fifth instruction is used to instruct retrieving headphones that are not in the headphone box; correspondingly, the device can further comprise a sending module, wherein the sending module can be used for sending first indication information to the earphone which is not in the earphone box, the first indication information is used for indicating the earphone which is not in the earphone box to output third prompt information, and the third prompt information comprises one or more of lamplight, music or vibration.
Optionally, the sending module may be further configured to send second indication information to the earphone not in the earphone box, where the second indication information is used to indicate an output duration of the third indication information.
Optionally, the sending module may be further configured to send third indication information to the earphone not in the earphone box, where the third indication information is used to instruct the earphone not in the box to stop outputting the third prompt information.
In a third aspect, the present application provides a control apparatus of a terminal device, which may include a memory, and a processor coupled to the memory.
The processor is configured to execute program instructions to implement instructions executed by the method of the first aspect; the memory is used for storing instructions executed by the processor or input data required by the processor to run the instructions or data generated after the processor runs the instructions.
In a fourth aspect, the present application provides a computer readable storage medium storing program code for execution by a processor, the program code comprising instructions for implementing the method of the first aspect.
In a fifth aspect, the present application provides a computer program product for enabling a control apparatus of a terminal device to carry out the method of the first aspect when the computer program product is run on a processor.
It is understood that the control device, the computer-readable storage medium and the computer program product of the terminal device provided in the present application may refer to the first aspect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an exemplary user interface for outputting first prompt information by a terminal device according to an embodiment of the present application;
fig. 2 is another exemplary user interface for outputting first prompt information by a terminal device provided in an embodiment of the present application;
fig. 3 is another exemplary user interface for outputting first prompt information by a terminal device according to an embodiment of the present application;
FIG. 4 is a diagram of an exemplary user interface for setting a preset time, a prompting mode of a first prompting message, and a ring content by a user according to an embodiment of the present application;
FIG. 5 is an exemplary user interface diagram of a user setting a preset time, a preset place, a prompting mode of a first prompting message, and a ring content according to an embodiment of the present application;
FIG. 6 is an exemplary user interface diagram of a terminal device provided herein;
Fig. 7 is a schematic hardware structure of a terminal device according to an embodiment of the present application;
fig. 8 is a flow chart of a control method of a terminal device according to an embodiment of the present application;
fig. 9 is a flowchart of a control method of a terminal device according to another embodiment of the present application;
fig. 10 is a flowchart of a control method of a terminal device according to another embodiment of the present application;
fig. 11 is a schematic hardware structure of a real wireless headset according to an embodiment of the present application;
fig. 12 is a flowchart of a control method of a wireless headset according to an embodiment of the present application;
fig. 13 is a schematic diagram of a control device of a terminal device according to an embodiment of the present application;
fig. 14 is a schematic diagram of a control device of a terminal device according to another embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The system applicable to the technical scheme can comprise a wireless earphone and terminal equipment. The terminal equipment and the wireless earphone can be connected first, and after the connection is successful, the communication of control instructions and audio data can be carried out. After the wireless earphone and the terminal device are connected, the wireless earphone and the terminal device can be always in a connected state as long as any one of the wireless earphone and the terminal device does not actively disconnect the connection.
The wireless headset may detect whether it is in a worn state. The wireless earphone is configured with an earphone box in which the wireless earphone can be placed. The wireless earphone can detect the box-in state of the wireless earphone, and the box-in state of the wireless earphone comprises a box-in state and a box-out state. Wherein, the box means that two earphones are placed in the earphone box; the case is not included in the case, the first is that only one wireless earphone is placed in the earphone case or only one earphone is not in the earphone case, and the second is that neither wireless earphone is in the earphone case.
In some examples of the present application, the terminal device may be a mobile phone. Optionally, the terminal device may also be a wearable terminal device such as a tablet computer, a personal computer (personal computer, PC), an intelligent screen, and a smart watch, or may be various teaching aids (e.g., learning machine, early education machine), an intelligent toy, a portable robot, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) device, a Virtual Reality (VR) device, or the like, or may be a device with a mobile office function, a device with an audio/video entertainment function, a device supporting intelligent travel, or the like. It should be understood that the embodiments of the present application do not limit the specific technology and specific device configuration adopted by the terminal device.
In some examples of the present application, the wireless headset may be a true wireless headset. The true wireless earphone refers to an earphone without a connecting wire, and comprises a Bluetooth earphone, a wireless earphone and the like.
In some possible implementations, the true wireless headset may establish a connection with the terminal device via bluetooth. For example, when the real wireless earphone and the terminal device are both in an on state and a bluetooth on state and the distance between the real wireless earphone and the terminal device is within a fixed distance range, after the terminal device receives a connection instruction input by a user, a bluetooth connection can be established with the real wireless earphone. Optionally, after the bluetooth connection is first established between the real wireless earphone and the terminal device, the real wireless earphone may be automatically connected to the terminal device when the real wireless earphone and the terminal device are both in an on state and a bluetooth on state and a distance between the real wireless earphone and the terminal device is within a fixed distance range.
Users often face the following problems in using wireless headphones: when the earphone box is opened to prepare for taking the earphone, no earphone or only part of earphone is arranged in the earphone box.
For example, a user places headphones anywhere after using them at home, but misunderstands that the headphones are placed in a configured headphone case. When the user prepares to use the headset at other places (e.g. company, on the way to work or work), the headset box is opened, but only part of the headset or no headset is found in the headset box, so that the user can only use part of the headset, and even cannot use the headset.
In order to solve the above problems, when a user needs to use the wireless earphone, all wireless earphones are placed in the earphone box, and the following technical scheme is provided in the embodiment of the application: and outputting first prompt information through the terminal equipment if the wireless earphone is not in the earphone box and the wireless earphone is not in a wearing state at preset time and/or preset place, wherein the first prompt information is used for prompting that the wireless earphone is not in the box so as to facilitate a user to know that the wireless earphone is not in the box and then put the wireless earphone into the earphone box.
For example, 8: an exemplary user interface for outputting the first prompt message by the terminal device in a scenario where the preset time is 00 and/or the current location of the terminal device is a preset location is shown in fig. 1. In the example shown in fig. 1, the terminal device outputs the first prompt information that the earphone is not in the earphone box as long as at least one earphone is not in the earphone box. In this implementation, the number of headphones that are not in the box is not distinguished, nor is the left or right headphone that is not in the box.
It can be understood that the outputting of the first prompt information by the text manner in fig. 1 is merely an example, and the embodiment of the present application is not limited to the outputting manner of the first prompt information. For example, the terminal device may also output the first prompt information by ringing and/or lighting.
In some implementations of the present application, the terminal device may determine a number of wireless headphones that are not placed in the headphone case, and include the number in the first alert message.
For example, 8: another exemplary user interface for outputting the first prompt information by the terminal device in a scenario where 00 is a preset time and/or where the terminal device is currently located is a preset location is shown in fig. 2. Fig. 2 (a) is an exemplary user interface diagram of the terminal device outputting the first prompt message in a scenario where the earphone is not in the earphone box. Fig. 2 (b) is an exemplary user interface diagram of the terminal device outputting the first prompt message in a scenario where two headphones are not in the headphone case.
In some implementations of the present application, the terminal device may determine a wearing position of the wireless earphone that is not placed in the earphone box, that is, determine whether the wireless earphone that is not placed in the earphone box is a left earphone or a right earphone, and include the wearing position in the first prompt information.
For example, 8: another exemplary user interface for outputting the first prompt information by the terminal device in a scenario where 00 is a preset time and/or where the terminal device is currently located is a preset location is shown in fig. 3. Fig. 3 (a) is an exemplary user interface diagram of the terminal device outputting the first prompt information in a scenario where the left earphone is not in the earphone box. Fig. 3 (b) is an exemplary user interface diagram of the terminal device outputting the first prompt information in a scenario where the right earphone is not in the earphone box. Fig. 3 (c) is an exemplary user interface diagram of the terminal device outputting the first prompt information in a scenario where neither the left nor the right earphone is in the earphone box.
In some implementations of the present application, optionally, the preset time and/or the preset place may be set by a user; optionally, the prompting mode of the first prompting information may be set by a user; optionally, when the prompting manner of the first prompting information includes a ring, the ring content may be set by the user.
An exemplary user interface diagram of the user setting the preset time, the prompting mode of the first prompting message, and the ring content is shown in fig. 4. After the user clicks the soft key "hint time" in fig. 4 (a), the terminal device may provide the time setting interface shown in fig. 4 (b).
In the user interface shown in fig. 4 (b), the user can set time by dragging a number. Wherein "×" indicates that the user interface is exited and "v" indicates that the setting is confirmed.
After the user clicks the soft key "hint interval" in fig. 4 (a), the terminal device may provide a setting interface similar to that in fig. 4 (b), which will not be described here again.
It will be appreciated that (b) in fig. 4 is only an exemplary diagram of a user interface for setting time, and that the time may be set in other manners in embodiments of the present application, for example, the user may directly input a time value.
If the user clicks the selection button after the text message "music playing" in fig. 4 (a), it indicates that the user sets the prompting mode to music playing; if the user clicks the selection button after the text message popup in fig. 4 (a), it means that the user sets the prompting mode to the text prompting mode.
In the case where the user clicks the selection key after the text information "music play" in fig. 4 (a), the user may also click the "music selection" soft key to cause the terminal device to display a music selection interface. An example of a music selection interface is similar to that of fig. 4 (b), except that the time information is replaced with song names.
The user clicks the soft key "no prompt" in fig. 4 (a), and the terminal device does not output the first prompt information in any way if the output condition of the first prompt information is satisfied.
An exemplary user interface diagram of the user setting the preset time, the preset place, the prompting mode of the first prompting message, and the ring content is shown in fig. 5. After the user clicks the soft key "hint location" in fig. 5 (a), the terminal device may provide a location setting interface shown in fig. 5 (b).
In the user interface shown in fig. 5 (b), the user can set a place by dragging a text. Wherein "×" indicates that the user interface is exited and "v" indicates that the setting is confirmed.
It will be appreciated that (b) in fig. 5 is merely an exemplary diagram of a user interface for setting a location, and that the location may be set in other manners in embodiments of the present application, for example, the user may directly input a preset location.
It can be understood that the preset time, the prompting mode of the first prompting information and the setting mode of the ring content in fig. 5 are identical to those in fig. 4, and are not repeated here.
In some implementations of the present application, optionally, the preset time and/or preset location may be set by the terminal device based on behavior data of the user, and related content will be described later.
In some implementations of the present application, after the terminal device outputs the first prompt information, the terminal device may further output a second prompt information, where the second prompt information is used to prompt the user whether to retrieve the wireless earphone that is not placed in the earphone box. For example, the terminal device outputs the first prompt message and outputs the second prompt message; for another example, after the terminal device outputs the first prompt information, if the user inputs an operation instruction on the user interface of the first prompt information, for example, touches the first prompt information, the terminal device outputs the second prompt information.
An exemplary user interface for the terminal device to output the second prompt is shown in fig. 6 (a). The terminal device outputs a second prompt message "whether to retrieve the earphone? ", and gives two options of" yes "and" no ". If the user selects yes, the terminal device may send first indication information to the earphone, where the first indication information is used to instruct the earphone to output third prompt information, and the third prompt information includes one or more of light, music, and vibration. If the user selects no, the user can return to the main desktop or enter a screen locking state.
Alternatively, the terminal device may transmit the first indication information only to the wireless headphones that are not placed in the headphone case, or the terminal device may transmit the first indication information to all the wireless headphones.
In some examples, the terminal device may provide a user interface for setting the content of the third hint information and set the content of the third hint information based on information entered by the user. When the content of the third prompt information includes music, optionally, the terminal device may provide music that the user sets to retrieve the earphone.
In a scenario in which the terminal device sends the first indication information to the earphone, in some implementations, the duration of outputting the third prompt information by the earphone may be preset in the terminal device, and when the terminal device sends the first indication information to the earphone, the terminal device may also send second indication information, where the second indication information is used to indicate the output duration of the third prompt information.
In a scenario where the output duration of the third prompt message is a fixed duration, after the terminal device sends the first instruction message, the terminal device may output a user interface diagram as shown in (b) in fig. 6. As shown in fig. 6 (b), the user interface may be provided with the option "recovered headset" and the option "continue to recover headset". If the user selects 'recovered earphone', the user is indicated to have found the earphone and can return to the main desktop; if the user selects "continue retrieving headset", the terminal device may retransmit the first indication information.
In a scenario where the terminal device sends the first indication information to the earphone, in other implementations, after the earphone receives the first indication information, the third prompt information may be output all the time.
In this implementation, after the terminal device transmits the first indication information, the terminal device may output a user interface diagram as shown in (c) of fig. 6. As shown in fig. 6 (c), the user interface may provide the option "recovered headset" and the fourth prompt "… … in recovered headset". If the user selects 'recovered earphone', the terminal device sends third indication information to the earphone, wherein the third indication information is used for indicating the earphone to stop outputting third prompt information. Alternatively, the terminal device may display the main desktop.
The operation change process of the user interface of the terminal device in the embodiment of the present application is described above with reference to the accompanying drawings, and the internal flow of the terminal device is described below. In order to better understand the embodiments of the present application, the following describes the hardware structure of the terminal device of the embodiments of the present application. Fig. 7 is a schematic hardware structure of a terminal device according to an embodiment of the present application.
As shown in fig. 7, the terminal device 700 may include a processor 701, a memory 702, a wireless communication module 703, touch keys 704, a display 705, and an audio module 706, among others. The modules may be connected by a bus or other manner, and in this embodiment, the modules are exemplified by a bus connection.
The processor 701 may be used to read and execute computer readable instructions. In a specific implementation, the processor 701 may mainly include a controller, an operator, and a register. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In particular implementations, the hardware architecture of the processor 701 may be an application specific integrated circuit (application specific integrated circuit, ASIC) architecture, a microprocessor without internal interlocking pipeline stages (microprocessor without interlocked piped stages architecture, MIPS) architecture, an advanced reduced instruction set machine (advanced reduced instruction set computer machine, ARM) architecture, or a network processor (network processor, NP) architecture, among others.
In some embodiments, the processor 701 may be configured to parse data information received by the wireless communication module 703. The processor 701 may respond according to the data information to perform the corresponding operations. The processor 701 may also be configured to generate signals, such as bluetooth signals, that are transmitted outwardly by the wireless communication module 703.
Memory 702 is coupled to processor 701 for storing various software programs and/or sets of instructions. In particular implementations, memory 702 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 702 may also store communication programs that may be used to communicate with the terminal device 700, or other terminal devices.
The wireless communication module 703 may include a bluetooth communication module 703A or others. The terminal device 700 may receive or transmit wireless signals through one or more of the bluetooth communication modules 703A to establish wireless communication connections with other terminal devices. The terminal device 700 may acquire data transmitted to other devices through the above wireless communication connection, and may also send a data instruction to other devices through the above wireless communication connection. Among other things, bluetooth communication module 703A may provide a solution that includes one or more of classical bluetooth (BR/EDR) or bluetooth low energy (bluetooth low energy, BLE) bluetooth communication. In some embodiments, the wireless communication module 703 may be a bluetooth chip.
Optionally, the wireless communication module 703 may also include a WLAN communication module (not shown in fig. 7) that may provide a solution including one or more WLAN communications of Wi-Fi direct, wi-Fi LAN, or Wi-Fi softAP. In some embodiments, the WLAN module may be integrated with the bluetooth communication module 703A. The terminal device 700 may establish a wireless communication connection with other terminal devices through a wireless communication technology provided by the WLAN module, and perform data interaction with other terminal devices based on the wireless communication connection.
The terminal device 700 may include a touch sensor 704, which may also be referred to as a "touch device". The touch sensor may be disposed on the display screen 705, and the touch sensor and the display screen 705 form a touch screen, which may also be referred to as a "touch screen". The touch sensor may be used to detect touch operations acting on or near it.
Optionally, the terminal device 700 may include one or more physical keys. The one or more physical keys may receive input operations by a user acting on the keys (e.g., pressing the physical keys). In response to the input operation, the terminal device 700 may perform an operation corresponding to a control displayed on the display screen corresponding to the physical key.
The display 705 may be used to display images, videos, controls, text information, and the like. The display 705 may include a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode, AMOLED, a flexible light-emitting diode (flex light-emitting diode, FLED), a sub-millimeter light-emitting diode (Mini LED), a Micro light-emitting diode (Micro LED), a Micro organic light-emitting diode (Micro organic light-emitting diode, micro-OLED), a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 700 may include 1 or N displays 705, N being a positive integer greater than 1.
The audio module 706 may include a speaker 706A and a microphone 706B, with the audio module 706 being configured to convert digital audio signals to analog audio signals for output through the speaker 706A or to convert analog audio signals collected by the microphone 706B to digital audio signals. Wherein the speaker 706A is configured to output a sound signal, for example, a user may listen to music through the speaker 706A. Microphone 706B is used to collect sound signals.
Optionally, a timer (not shown in fig. 7) may also be included in the terminal device 700, which may be used to obtain time.
It will be appreciated that the terminal device shown in fig. 7 is only one implementation of the embodiments of the present application, and does not constitute a specific limitation on the terminal device. For example, the terminal device may be a smart watch, which may also include a wristband, a dial, and a crown. The dial may include a display 705 for displaying images, videos, controls, text information, and the like. The wristband may be used to secure the terminal device to a person's extremities for ease of donning. The crown may be used to control the display content of the terminal device. In practice, the terminal device may also include more or fewer components than shown, without limitation.
Fig. 8 is a flowchart of a control method of a terminal device according to an embodiment of the present application. As shown in fig. 8, the method may include S801 to S811. The method may be performed by a terminal device as shown in fig. 7.
S801, acquiring the current time in the terminal equipment.
For example, the terminal device may acquire the current time through a timer.
As an example, the terminal device may periodically perform S801, and the execution period of this step is generally preset.
S802, detecting whether the current time in the terminal equipment is a preset time. If the current time is the preset time, executing S803; if the current time is not the preset time, S801 is executed.
For example, the processor of the terminal device detects whether the current time in the terminal device is located in a preset period.
S803, detecting whether the terminal device is in a connection state with the earphone. If the earphone is in the connected state, executing S805; if the earphone is in the disconnected state, S804 is executed.
For example, the processor of the terminal device detects whether the terminal device is in a connected state with the headset.
S804, connection is established with the earphone.
The terminal device can establish connection with the earphone through the wireless communication module. For example, the terminal device may establish a bluetooth connection with the headset through a bluetooth communication module of the wireless communication modules.
It is understood that in case the terminal device successfully establishes a connection with the headset, S805 may be continued.
S805, sending first request information to the earphone, wherein the first request information is used for indicating the earphone to feed back in a box state.
For example, the wireless communication module of the terminal device transmits the first request information.
S806, receiving first feedback information from the earphone, wherein the first feedback information is used for indicating that the earphone is in a box state.
For example, a wireless communication module of the terminal device receives the first feedback information.
In this embodiment, the box state of the earphone may include: the earphone is in a box and the earphone is out of a box, wherein the earphone is out of a box may include a left earphone is out of a box and/or a right earphone is out of a box.
S807, it is determined whether the in-box status of the headphones is the in-box status of the headphones based on the first feedback information. If the earphone is in the box, executing S801; if the earphone is not in the box, S808 is performed.
For example, the processor of the terminal device determines whether the in-box status of the earphone is the in-box status of the earphone based on the first feedback information.
S808, sending second request information to the earphone, where the second request information is used to request the earphone to feed back the wearing state.
For example, the wireless communication module of the terminal device transmits the second request information.
S809, receiving second feedback information from the earphone, where the second feedback information is used to indicate a wearing state of the earphone.
For example, the wireless communication module of the terminal device receives the second feedback information from the headset.
After the earphone detects the wearing state, second feedback information may be sent to the terminal device. The second feedback information may indicate a wearing state of each earphone.
S810, judging whether the earphone which is not in the box is in a wearing state or not based on the second feedback information. If the wearing state is in, executing S801; if not worn, S811 is executed.
For example, the processor of the terminal device determines whether the earphone not in the box is in a wearing state based on the second feedback information.
S811, outputting first prompt information, wherein the first prompt information is used for prompting that the earphone is not in the earphone box.
For example, a display screen of the terminal device outputs first prompt information; for another example, the audio module of the terminal device outputs the first prompt message.
Taking the example that the display screen of the terminal device outputs the first prompt information, the user interface diagram of the terminal device outputting the first prompt information can refer to fig. 1.
Alternatively, when the terminal device determines that the number of wireless headphones that are not placed in the headphone case is not determined, the user interface diagram of the terminal device outputting the first hint information may refer to fig. 2.
As an example, when the terminal device determines that one earphone is not in the earphone box, a user interface diagram of the terminal device outputting the first prompt information may be as shown in fig. 2 (a).
As another example, when the terminal device determines that two headphones are not within the headphone case, the user interface diagram of the terminal device outputting the first hint information may be as shown in fig. 2 (b).
Alternatively, the user interface diagram of the terminal device outputting the first prompt information may refer to fig. 3 after the terminal device is not worn by the wireless earphone placed in the earphone box.
As a first example, when the terminal device determines that the left earphone is not within the earphone box, a user interface diagram of the terminal device outputting the first prompt information may be as shown in fig. 3 (a).
As a second example, when the terminal device determines that the right earphone is not within the earphone box, the user interface diagram of the terminal device outputting the first prompt information may be as shown in fig. 3 (b).
As a third example, when the terminal device determines that neither the left nor the right headphones are within the headphone case, a user interface diagram of the terminal device outputting the first prompt information may be as shown in fig. 3 (c).
Alternatively, as shown in fig. 9, the control method of the terminal device may further include S901 to S905.
S901, outputting a second prompt message, where the second prompt message is used to prompt the user whether to retrieve the wireless earphone that is not placed in the earphone box.
For example, the terminal device outputs the first prompt message and outputs the second prompt message; for another example, after the terminal device outputs the first prompt information, if the user inputs an operation instruction on the user interface of the first prompt information, for example, touches the first prompt information, the terminal device outputs the second prompt information.
Optionally, the terminal device may output the second prompt information through a display screen. The user interface diagram of the terminal device outputting the second prompt information may refer to fig. 6 (a).
As an example, the terminal device may output the second prompt message "is the earphone retrieved? ", and gives two options of" yes "and" no ".
S902, a first instruction from a user is received, wherein the first instruction is used for indicating whether the terminal equipment sends first indication information to the earphone or not, and the first indication information is used for indicating the earphone to output third prompt information.
For example, when the user clicks or touches "yes" in the interface shown in fig. 6 (a), the first instruction instructs the terminal device to send first instruction information to the headphones. When the user clicks or touches "no" in the interface shown in fig. 6 (a), the first instruction instructs the terminal device not to send the first instruction information to the earphone.
In this embodiment, the third prompting information includes one or more of light, music or vibration.
S903, it is determined whether to transmit the first instruction information to the earphone based on the first instruction. If the first instruction instructs the terminal device to send first instruction information to the earphone, S904 is executed; if the first instruction instructs the terminal device not to send the first instruction information to the earphone, S905 is performed.
S904, sending first indication information to the earphone.
Alternatively, the terminal device may transmit the first indication information only to the wireless headphones that are not placed in the headphone case, or the terminal device may transmit the first indication information to all the wireless headphones.
In some examples, the terminal device may provide a user interface for setting the content of the third hint information and set the content of the third hint information based on information entered by the user. When the content of the third prompt includes music, optionally, the terminal device may provide music that the user sets to retrieve the headset.
In some implementations, the duration of outputting the third prompt information by the earphone may be preset in the terminal device, and when the terminal device sends the first instruction information to the earphone, the terminal device may also send the second instruction information, where the second instruction information is used to indicate the output duration of the third prompt information.
In this implementation, after the terminal device transmits the first indication information, the terminal device may output a user interface diagram as shown in (b) of fig. 6. If the user selects 'recovered earphone', the user is indicated to have found the earphone and can return to the main desktop; if the user selects "continue retrieving headset", the terminal device may retransmit the first indication information.
In other implementations, after the earphone receives the first indication information, the third prompting information may be output all the time.
In this implementation, after the terminal device transmits the first indication information, the terminal device may output a user interface diagram as shown in (c) of fig. 6. If the user selects 'recovered earphone', the terminal device sends third indication information to the earphone, wherein the third indication information is used for indicating the earphone to stop outputting third prompt information. Alternatively, the terminal device may display the main desktop.
S905, returning to the main interface or locking the screen.
In this embodiment of the present application, the preset time may be set by a user, or may be set by the terminal device based on historical behavior data of the user. The method for setting the preset time on the terminal device by the user is described first.
For example, a user interface for a user to set a preset time may be as shown in fig. 4. After the user clicks the soft key "hint time" in fig. 4 (a), the terminal device may provide the time setting interface shown in fig. 4 (b).
In the user interface shown in fig. 4 (b), the user can set time by dragging a number. Wherein "×" indicates that the user interface is exited and "v" indicates that the setting is confirmed.
Alternatively, the user may also set the time by directly inputting a time value.
The method of setting the terminal device based on the historical behavior data of the user is described below. In one example, the terminal device first obtains first user behavior data, where the first user behavior data may include at least one behavior of the user for a continuous period of time (e.g., a week or a month) and a time period in which each of the at least one behavior is located, and then sets a start time of the time period in which each of the behaviors of the user is located as a preset time.
For example, assuming that the terminal device acquires the time of getting up and leaving the user for one week, if the user gets up from seven to seventy-five in the morning and leaves from eight to eighty-five in the morning for more than five days in the week, the terminal device may set the seven in the morning as the preset time.
In this example, when the user successfully authorizes the terminal device, the terminal device may collect the first user behavior data, and when the user authorizes the terminal device, the user may authorize the terminal device by logging in a personal account number on the terminal device, or may authorize the terminal device by other methods, which is not limited in this application.
Optionally, the terminal device may further set a preset location, and may detect whether the current location is the preset location. Under the scene that the current time is the preset time and/or the current position of the terminal equipment is the preset place, if the wireless earphone is not in the earphone box and the wireless earphone is not in a wearing state, outputting first prompt information through the terminal equipment, wherein the first prompt information is used for prompting that the wireless earphone is not in the box.
In some possible implementations, when the terminal device determines that one earphone is in a wearing state and the other earphone is not in the box and is in an unworn state, fourth indication information may be sent to the earphone, where the fourth indication information is used to instruct the earphone to output the first prompt information. When the earphone outputs the first prompt information, the first prompt information can be output in a voice playing mode. Therefore, the user can directly receive the first prompt information through the worn earphone, and the situation that the first prompt information is not known in time due to the fact that the terminal equipment is not checked in time is avoided.
Fig. 10 is a flowchart of a control method of a terminal device according to another embodiment of the present application. As shown in fig. 10, the terminal device may not perform S803 first after S802, but perform S8021 and S8022 first, and continue to perform S803 after S8023 is performed.
It will be appreciated that in the embodiment shown in fig. 10 and the embodiment shown in fig. 8, like numerals may denote like steps, and thus different steps in the two embodiments will be described in the present application.
In S8021, the current position of the terminal device is acquired.
In this embodiment, the terminal device may acquire the current location through the wireless communication module. For example, the terminal device may obtain the current position by satellite positioning (e.g., global positioning system (global positioning system, GPS), beidou system, galileo system, etc.), mobile base station positioning, mobile hotspot (Wi-Fi) assisted positioning, etc.
In S8022, it is detected whether the current position of the terminal device is a preset place. If the current position is the preset place, executing S803; if the current position is not the preset location, S801 is executed.
For example, the processor of the terminal device detects whether the current position of the terminal device is a preset location.
In this embodiment of the present application, the preset location may be set by a user, or may be set by the terminal device based on historical behavior data of the user. The method for setting the preset place on the terminal device by the user is described first.
For example, a user interface for a user to set a preset location may be as shown in fig. 5. After the user clicks the soft key "hint location" in fig. 5 (a), the terminal device may provide a location setting interface shown in fig. 5 (b).
In the user interface shown in fig. 5 (b), the user can set a place by dragging a text. Wherein "×" indicates that the user interface is exited and "v" indicates that the setting is confirmed.
Alternatively, the user may also input the preset location directly.
The method of setting the terminal device based on the historical behavior data of the user is described below. Generally, the setting of the preset location is generally associated with a preset time. Thus, in one example, the terminal device may first obtain second user behavior data, which may include a location where the user is located at a preset time for a continuous period of time (e.g., one week or one month), and then set the location where the user is located at the preset time as a preset location.
For example, assuming that the preset time is seven points, the terminal device acquires a place where the user is located at seven points every day in a week, and if the user is at home at seven points in the morning for more than five days in the week, the terminal device may set the home as the preset place corresponding to the preset time.
Next, the present application will describe the control method further from the point of view of a true wireless earphone. In order to better understand the embodiments of the present application, the following describes the hardware structure of the true wireless earphone of the embodiments of the present application. Fig. 11 is a schematic diagram of a hardware structure of a true wireless earphone according to an embodiment of the present application.
As shown in fig. 11, the true wireless headset 1100 may include a processor 1101, a memory 1102, a wireless communication module 1103, an audio module 1104, a power module 1105, an input-output interface 1106, a sensor module 1107, a vibrator 1108, and the like.
The processor 1101 may be configured to execute the above application program codes and invoke related modules to implement the functions of the real wireless headset 1100 in the embodiment of the present application. For example, a charging function, a wireless communication function, an audio data playing function, an in-out box detecting function, and the like of the real wireless headset 1100 are realized. The processor 1101 may include one or more processing units, and the different processing units may be separate devices or may be integrated in one or more processors 1101. The processor 1101 may be in particular an integrated control chip or may be composed of circuitry comprising various active and/or passive components and configured to perform the functions of the processor 1101. Wherein the processor of the real wireless headset 1100 may be a microprocessor.
The memory 1102 may be used to store program codes, such as program codes for charging the real wireless headset 1100, wireless pairing of the real wireless headset 300 with other terminal devices, or wireless communication of the real wireless headset 1100 with other terminal devices, etc. Memory 1102 may also have stored therein a bluetooth address for uniquely identifying the wireless headset. In addition, the memory 1102 may also store connection data of terminal devices that have been successfully paired with the wireless headset. Based on the connection data, the wireless headset can be automatically paired with the terminal device without having to configure a connection therebetween, such as for validity verification or the like. The bluetooth address may be a medium access control (media access control, MAC) address.
The wireless communication module 1103 can be used to support data exchange between the real wireless headset 1100 and other terminal devices or headset boxes, including bluetooth, global navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. In some embodiments, the wireless communication module 1103 may be a bluetooth chip. The real wireless headset 1100 may pair with bluetooth chips of other terminal devices through the bluetooth chips and establish a wireless connection, so as to implement wireless communication between the real wireless headset 1100 and the other terminal devices through the wireless connection.
The wireless communication module 1103 may further include an antenna, and the wireless communication module 1103 may receive electromagnetic waves via the antenna, frequency-modulate and filter the electromagnetic wave signals, and transmit the processed signals to the processor 1101. The wireless communication module 1103 may also receive a signal to be transmitted from the processor 1101, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation through an antenna.
The audio module 1104 may be used to manage audio data to enable the real wireless headset 1100 to input and output audio signals. For example, the audio module 1104 may acquire an audio signal from the wireless communication module 1103 or transfer an audio signal to the wireless communication module 1103, implementing functions of making a call through headphones, playing music, starting/closing a voice assistant of a terminal device connected to the headphones, receiving/transmitting voice data of a user, and the like. The audio module 1104 may include a speaker (or earpiece, receiver) assembly for outputting audio signals, a microphone (or microphone, microphone), microphone pickup circuitry that mates with the microphone, and so forth. Speakers may be used to convert audio electrical signals into sound signals and play them. Microphones may be used to convert sound signals into audio electrical signals.
The power module 1105 may be configured to provide system power to the real wireless headset 1100, to power the modules of the real wireless headset 1100, to support the real wireless headset 1100 to receive charging inputs, and so on. The power module 1105 may include a power management unit (power management unit, PMU) and a battery. The power management unit may include a charging circuit, a voltage drop adjusting circuit, a protection circuit, an electric quantity measuring circuit, and the like. The charging circuit may receive an external charging input. The voltage drop adjusting circuit can transform the electric signal input by the charging circuit and output the electric signal to the battery to charge the battery, and can transform the electric signal input by the battery and output the electric signal to other modules such as the audio module 1104, the wireless communication module 1103 and the like. The protection circuit may be used to prevent overcharging, overdischarging, shorting, or overcurrent of the battery, etc. In some embodiments, the power module 1105 may also include a wireless charging coil for wirelessly charging the real wireless headset 1100. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance) and the like.
Input-output interface 1106 may be used to provide a wired connection for charging or communication between the real wireless headset 1100 and the headset case. In some embodiments, the input-output interface 1106 may include an electrical headset connector for conducting and transmitting electrical current. When the real wireless headset 1100 is placed within the headset box, the real wireless headset 1100 may establish an electrical connection with the headset box through the headset electrical connector. After the electrical connection is established, the earphone pod may charge a battery in the truly wireless earphone 1100 through the earphone electrical connector. For example, the earphone electrical connector may be a spring pin, a spring plate, a conductive block, a conductive patch, a conductive sheet, a pin, a plug, a contact pad, a jack, or a socket, and the specific type of the electrical connector is not limited in the embodiments of the present application. In other embodiments, the true wireless headset 1100 may also be in data communication with the headset box after the electrical connection is established, such as by receiving pairing instructions from the headset box.
The sensor module 1107 may include a distance sensor 1107A. Processor 1101 may determine from distance sensor 1107A whether real wireless headset 1100 is being worn by the user. For example, the processor 1101 may detect whether there is an object in the vicinity of the real wireless headset 1100 using data collected by the distance sensor 1107A, thereby determining whether the real wireless headset 1100 is being worn by the user. Upon determining that the real wireless headset 1100 is being worn, the processor 1101 may turn on the speaker of the real wireless headset 1100.
Optionally, the sensor module 1107 further includes a magnetic sensor 1107B. The magnetic sensor 1107B is configured to detect the magnetic induction intensity of a magnetic field around the real wireless headset 1100. The processor 1101 may perform the method of the present example to detect the out-of-box or in-box of the real wireless headset 1100 based on the change in magnetic induction intensity detected by the magnetic sensor 1107B. For example, the magnetic sensor 1107B may be a hall sensor or magnetometer.
Optionally, the true wireless headset 1100 may also include a vibrator 1108. When the earphone needs to alert in a vibration mode, the processor 1101 may send a vibration signal to the vibrator 1108, and after the vibrator 1108 receives the vibration signal, the vibrator starts vibrating.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the true wireless headset 1100. It may have more or fewer components than shown in fig. 11, may combine two or more components, or may have a different configuration of components. For example, the exterior surface of the real wireless headset 1100 may also include buttons, indicators, and the like. The key can be a physical key or a touch key and the like, and is used for triggering operations such as pause, play, recording, starting charging, stopping charging and the like.
It will be appreciated that a true wireless headset may include one or two headsets. When the real wireless headset includes two headsets, the hardware configuration of each of the two headsets may be as shown in fig. 11.
Fig. 12 is a flowchart of a control method of a wireless headset according to an embodiment of the present application. As shown in fig. 12, the method may include S1201 to S1208. The method may be performed by a true wireless headset as shown in fig. 11.
S1201, receiving first request information from the terminal device, where the first request information is used to instruct the earphone to feed back in a box state.
For example, the wireless communication module of the headset receives the first request information.
S1202, detecting the box state of the earphone.
For example, the magnetic sensor 1107B of the headphone detects that the headphone is in a box state.
S1203 sends first feedback information to the terminal device, where the first feedback information is used to indicate that the earphone is in a box state.
For example, the wireless communication module of the headset transmits the first feedback information.
In this embodiment, the box state of the earphone may include: the earphone is in a box and the earphone is out of a box, wherein the earphone is out of a box may include a left earphone is out of a box and/or a right earphone is out of a box.
And S1204, receiving second request information from the terminal equipment, wherein the second request information is used for requesting the earphone to feed back the wearing state.
For example, the wireless communication module of the headset receives the second request information.
S1205, detecting the wearing state of the earphone.
For example, the distance sensor 1107A of the headphone detects the wearing state of the headphone.
S1206, sending second feedback information to the terminal device, where the second feedback information is used to indicate a wearing state of the earphone.
For example, the wireless communication module of the headset transmits the second feedback information.
S1207, receiving the first indication information from the terminal device, where the first indication information is used to instruct the earphone to output the third prompt information.
For example, a wireless communication module of the headset receives the first indication information.
S1208, outputting a third hint information in response to the first hint information.
For example, the vibrator 1108 of the headset outputs the third alert message.
In some possible implementations, the method may not perform S1207 and S1208.
Fig. 13 is a schematic diagram of a control device of a terminal device according to an embodiment of the present application. As shown in fig. 13, the control apparatus 1300 of the terminal device may include a receiving module 1310 and an output module 1320.
As an example, the control apparatus 1300 of the terminal device may be used to perform the method shown in fig. 8.
Among them, the receiving module 1310 may be used to perform S806 and S809, and the output module 1320 may be used to perform S811.
As another example, the control apparatus 1300 of the terminal device may be used to perform the method shown in fig. 9.
Wherein the receiving module 1310 may be used to perform S902, and the output module 1320 may be used to perform S901.
Optionally, the control device of the terminal device may further include a setting module 1330, an obtaining module 1340, a determining module 1350 and a sending module 1360.
Wherein the setting module 1330 may be used to perform the step of setting the preset time and/or the preset place, the acquiring module 1340 may be used to perform S801 and the step of acquiring the first user behavior data and the second user behavior data, the determining module 1350 may be used to perform the step of determining a time period in which each of the behaviors of the user is located according to the first user behavior data, and the transmitting module 1360 may be used to perform S805 and S808, the step of determining a place in which the user is located at the preset time according to the second user behavior data.
Optionally, the sending module 1360 may also be used to perform S904.
Fig. 14 is a schematic diagram of a control device of a terminal device according to another embodiment of the present application. As shown in fig. 14, the control apparatus 1400 of the terminal device may include a processor 1410 and an interface circuit 1420. The processor 1410 and the interface circuit 1420 are coupled to each other. It is to be appreciated that the interface circuit 1420 may be a transceiver or an input-output interface.
Optionally, the control device 1400 of the terminal device may further include a memory 1430 for storing instructions executed by the processor 1410 or for storing input data required by the processor 1410 to execute the instructions or for storing data generated after the processor 1410 executes the instructions.
As one example, the processor 1410 may be configured to implement the functions of the setting module 1330 and the determining module 1350 described above, and the interface circuit 1420 may be configured to implement the functions of the receiving module 1310, the output module 1320, the obtaining module 1340, and the transmitting module 1360 described above.
It is to be appreciated that the processor in the embodiments of the present application may be a central processing unit, but may also be other general purpose processors, digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory, flash memory, read only memory, programmable read only memory, erasable programmable read only memory, electrically erasable programmable read only memory, registers, hard disk, removable disk, compact disk 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. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (application specific integrated circuit, ASIC). In addition, the application specific integrated circuit may be located in a network device or a terminal device. The processor and the storage medium may reside as discrete components in a network device or terminal device.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user device, or other programmable apparatus. The computer program or instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium, e.g., floppy disk, hard disk, tape; but also optical media such as digital video discs; but also semiconductor media such as solid state disks.
In the various embodiments of the application, if there is no specific description or logical conflict, terms and/or descriptions between the various embodiments are consistent and may reference each other, and features of the various embodiments may be combined to form new embodiments according to their inherent logical relationships. The term "plurality" herein refers to two or more. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.
It should be understood that, in the embodiments of the present application, the sequence number of each process described above does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the present application. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. A control method of a terminal device, the method comprising:
receiving a first instruction input by a user, wherein the first instruction is used for indicating preset time; setting the preset time in response to the first instruction; or, acquiring first user behavior data in the terminal equipment, wherein the first user behavior data comprises at least one behavior of a user in a continuous period of time and a time or a time period corresponding to each behavior in the at least one behavior; determining a time period in which each behavior of at least one behavior of a user of the terminal equipment is located according to the first user behavior data; setting the starting time of the time period of each action in the at least one action as preset time;
acquiring second user behavior data in the terminal equipment; determining the place of the user of the terminal equipment when the preset time is located according to the second user behavior data; setting the place where the user is located at the preset time as a preset place;
The method comprises the steps that when the current time of terminal equipment is the preset time and the position of the terminal equipment is the preset place, first feedback information from an earphone is received under the condition that the terminal equipment is in a connection state with the earphone, and the first feedback information is used for indicating that the earphone is in a box state;
receiving second feedback information from the earphone, wherein the second feedback information is used for indicating the wearing state of the earphone;
if the box-shaped state of the earphone comprises that the earphone is not in the earphone box and the earphone is not in the wearing state, outputting first prompt information, wherein the first prompt information is used for prompting that the earphone is not in the earphone box.
2. The method according to claim 1, wherein the method further comprises:
receiving a third instruction input by a user, wherein the third instruction is used for indicating a prompting mode of the first prompting information;
and setting a prompting mode of the first prompting information in response to the third instruction.
3. The method of claim 2, wherein when the alert mode includes music playing, the method further comprises:
receiving a fourth instruction input by a user, wherein the fourth instruction is used for indicating played music content;
And setting music content which is played when the earphone is not in the box and is prompted by music playing in response to the fourth instruction.
4. A method according to any one of claims 1 to 3, further comprising:
outputting second prompt information, wherein the second prompt information is used for prompting a user whether to retrieve the earphone which is not in the earphone box;
receiving a fifth instruction input by a user, wherein the fifth instruction is used for indicating to retrieve the earphone which is not in the earphone box;
and sending first indication information to the earphone which is not in the earphone box, wherein the first indication information is used for indicating the earphone which is not in the earphone box to output third prompt information, and the third prompt information comprises one or more of lamplight, music or vibration.
5. The method according to claim 4, wherein the method further comprises:
and sending second indication information to the earphone which is not in the earphone box, wherein the second indication information is used for indicating the output time length of the third indication information.
6. The method according to claim 4, wherein the method further comprises:
and sending third indication information to the earphone not in the earphone box, wherein the third indication information is used for indicating the earphone not in the box to stop outputting the third prompt information.
7. A control apparatus for a terminal device, comprising:
the receiving module is used for receiving a first instruction input by a user, wherein the first instruction is used for indicating preset time; the setting module is used for responding to the first instruction to set the preset time; or, an obtaining module, configured to obtain first user behavior data in the terminal device, where the first user behavior data includes at least one behavior of a user in a continuous period of time and a time or a time period corresponding to each of the at least one behavior; the determining module is used for determining a time period where each action of at least one action of the user of the terminal equipment is located according to the first user action data; the setting module is used for setting the starting time of the time period of each action in the at least one action as preset time;
the acquisition module is used for acquiring second user behavior data in the terminal equipment; the determining module is used for determining the place where the user of the terminal equipment is located at the preset time according to the second user behavior data; the setting module is further used for setting the place where the user is located at the preset time as a preset place
The terminal equipment comprises a receiving module, a receiving module and a processing module, wherein the current time of the terminal equipment is preset time, the position of the terminal equipment is preset place, and the receiving module is used for receiving first feedback information from the earphone when the terminal equipment is in a connection state with the earphone, and the first feedback information is used for indicating the box state of the earphone;
the receiving module is further configured to receive second feedback information from the earphone, where the second feedback information is used to indicate a wearing state of the earphone;
the output module is used for outputting first prompt information if the box state of the earphone comprises that the earphone is not in the earphone box and the earphone is not in the wearing state, and the first prompt information is used for prompting that the earphone is not in the earphone box.
8. A control device of a terminal device, comprising a memory, and a processor coupled to the memory;
the memory is used for storing program instructions;
the processor is configured to execute the program instructions to implement the method of any one of claims 1 to 6.
9. A computer readable storage medium storing program code for computer execution, the program code comprising instructions for implementing the method of any one of claims 1 to 6.
CN202210854287.9A 2022-07-20 2022-07-20 Control method and device of terminal equipment and computer readable storage medium Active CN116095218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210854287.9A CN116095218B (en) 2022-07-20 2022-07-20 Control method and device of terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210854287.9A CN116095218B (en) 2022-07-20 2022-07-20 Control method and device of terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN116095218A CN116095218A (en) 2023-05-09
CN116095218B true CN116095218B (en) 2024-04-02

Family

ID=86212485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210854287.9A Active CN116095218B (en) 2022-07-20 2022-07-20 Control method and device of terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116095218B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462454A (en) * 2020-03-27 2020-07-28 江苏紫米电子技术有限公司 Reminding method, device, equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462454A (en) * 2020-03-27 2020-07-28 江苏紫米电子技术有限公司 Reminding method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN116095218A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN107003969B (en) Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment
US9456265B2 (en) Electronic device and control method thereof
KR102037412B1 (en) Method for fitting hearing aid connected to Mobile terminal and Mobile terminal performing thereof
CN105722009A (en) Portable Apparatus And Method Of Controlling Location Information Of Portable Apparatus
KR20200044505A (en) Electronic device suporting link sharing and method therefor
US20220322470A1 (en) Electronic device using communication channel generated by electrical connection between electronic device and external electronic device, and method for operating electronic device
CN105406882A (en) Terminal equipment control method and device
TWI779531B (en) Public transport arrival reminder method, device, storage medium and mobile terminal
JP7073160B2 (en) Electronic equipment and processing systems
CN105075355A (en) Location estimation device, lo cation estimation method, terminal of concern, communication method, communication terminal, recording medium, and location estimation system
CN114827069A (en) Multimedia data sharing method and device
CN116095218B (en) Control method and device of terminal equipment and computer readable storage medium
CN115967887B (en) Method and terminal for processing sound image azimuth
CN108882112B (en) Audio playing control method and device, storage medium and terminal equipment
CN106576293A (en) Electronic device and method for controlling information exchange in electronic device
KR20220109002A (en) Electronic device and method for transmitting position information based on privacy protection in electronic device
CN106973443A (en) Equipment correlating method, equipment associated apparatus and electronic equipment
CN112365088A (en) Method, device and equipment for determining travel key points and readable storage medium
CN111444289A (en) Incidence relation establishing method
KR20200102678A (en) Apparatus and method for controlling signal related to external device
CN115696129B (en) Method and equipment for identifying mixed loading of earphone
CN111490979B (en) Information interaction method and device and storage medium
CN111328418A (en) Method for automatically identifying different voices in audio
JP2024502320A (en) Method and device for managing wireless connections of electronic devices
CN117636610A (en) Device control method and device, smart watch, readable storage medium and chip

Legal Events

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