Interaction method, and device computer-readable storage medium

WO2026166157A1PCT designated stage Publication Date: 2026-08-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-11-28
Publication Date
2026-08-13

Smart Images

  • Figure CN2025138701_13082026_PF_FP_ABST
    Figure CN2025138701_13082026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are an interaction method, and a device and a computer-readable storage medium. The method is applied to an earphone system, wherein the earphone system comprises an earphone case and an earphone body, and the earphone case is provided with a display screen. The method comprises: an earphone case displaying a first interface on a display screen, wherein the first interface comprises identification information of a terminal; and in response to a first operation performed by a user on the identification information of the terminal, the earphone case transmitting a first message to an earphone body, wherein the first message is used for indicating the establishment of a connection between the earphone body and the terminal. The human-computer interaction capability of the earphone system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

An interaction method, device, and computer-readable storage medium

[0001] This application claims priority to Chinese Patent Application No. 202510150027.7, filed on February 8, 2025, entitled “An Interactive Method, Apparatus and Computer-Readable Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminals, and more particularly to an interaction method, device, and computer-readable storage medium. Background Technology

[0003] Currently, the interaction between mainstream wireless headphones and their connected devices (such as smartphones and tablets) mainly relies on control buttons or touch areas on the headphones themselves, such as basic operations like play / pause, switching songs, and answering / hanging up calls. The charging case, as an important accessory for housing and protecting the headphones, primarily functions only for charging and portable storage, lacking more sophisticated human-computer interaction methods. Summary of the Invention

[0004] This application provides an interaction method, device, and computer-readable storage medium that can improve the human-computer interaction capabilities of headphones.

[0005] In a first aspect, embodiments of this application provide an interaction method applied to headphones. The headphones include a headphone case and a headphone body. The headphone case is provided with a display screen. The method includes: the headphone case displays a first interface on the display screen, the first interface including terminal identification information; in response to a first operation on the terminal identification information, the headphone case transmits a first message to the headphone body, the first message being used to indicate the establishment of a connection between the headphone body and the terminal.

[0006] In the above solution, the earphone case's display screen can show a first interface including the terminal's identification information. When the earphones need to connect to the terminal, the user can perform a first operation on the terminal's identification information to initiate the connection process, thereby improving the earphones' human-computer interaction capabilities. After the connection process is initiated, the earphone case transmits a first message to the earphones, instructing them to establish a connection with the terminal. Thus, a simple operation on the earphone case's display screen is all that's needed to connect the earphones to the terminal. Compared to existing technologies, this eliminates the need for a separate terminal, allowing for seamless connection between the earphones and the terminal as needed, simplifying the connection process.

[0007] In some embodiments, the terminal's identification information may be a graphic and / or characters. The graphic may be used to represent the type of terminal (e.g., laptop, mobile phone, tablet, etc.), and the characters may be the terminal name, with each character corresponding to a specific terminal.

[0008] Optionally, the first operation may be an operation such as clicking, swiping, or dragging the terminal's identification information.

[0009] In one embodiment of the first aspect, the method further includes: the earphone body responding to the first message sending a connection request to the terminal.

[0010] In the above scheme, the earphone can send a connection request to the terminal immediately after receiving the first message, so as to establish a connection between the earphone and the terminal.

[0011] In one embodiment of the first aspect, the first interface further includes terminal status information, which is used to indicate the service status of the terminal.

[0012] The service identifier can be the service type to which the terminal is running. For example, if the terminal is running instant messaging software (or application) for a video call, then the terminal's service type is video call. Similarly, if the terminal is running a phone application or instant messaging software for a voice call, then the terminal's service type is call. And if the terminal is running a game application, then the terminal's service type is game.

[0013] In the above solution, by displaying the terminal's status information on the first interface, users can promptly understand the terminal's service status, thus helping them determine whether they need to switch the connection between the headset and the terminal.

[0014] In one embodiment of the first aspect, the first interface further includes a connection identifier for the terminal, and the relative position of the connection identifier and the identifier information corresponds to the relative position of the terminal and the headphone box.

[0015] In the above solution, when a user needs to find the terminal, they only need to look at the first interface of the headphone box. By observing the relative positions of the connection icon and the icon information, the user can intuitively and conveniently determine the location of the terminal, thereby quickly locating the terminal and greatly saving the time spent searching for the terminal.

[0016] In one embodiment of the first aspect, the first interface further includes a connection state between the terminal and the earphone body, the connection state including at least one of the following: the terminal is connected to the earphone body and transmits service data to the earphone body; the terminal is connected to the earphone body but does not transmit service data to the earphone body; and the terminal has been paired with the earphone body but is not connected to the earphone body.

[0017] As is understandable, pairing is a trust-building process involving authentication and key exchange. After pairing, the headset and the terminal store each other's pairing information (such as encryption keys, device identifiers, etc.) to facilitate a quick and secure connection later. In practical applications, the connection between the headset and the terminal must be established based on prior pairing. In some embodiments, after pairing, the headset and the terminal communicate via broadcast. After a successful connection is established, the headset and the terminal can communicate through an actual communication link.

[0018] In the above solution, the terminal identification information in various connection states can be displayed on the headset's screen, making it convenient for users to view the connection data between the terminal and the headset.

[0019] In one embodiment of the first aspect, the first operation is a drag operation, and the method further includes: the earphone box responds to the drag operation on the identification information of the first terminal, and after the drag operation ends, if the identification information of the first terminal overlaps with the identification information of the second terminal, then confirms the exchange of the connection status between the first terminal and the second terminal. The connection statuses of the first terminal and the second terminal are different.

[0020] In the above solution, the connection status of two terminals can be switched simply by dragging the terminals to overlap their identification information under different connection states. Compared to existing technologies, this eliminates the need for additional terminals, allowing for simultaneous changes in the connection status between the headset and two terminals as needed, greatly simplifying the connection status switching process.

[0021] In one embodiment of the first aspect, the first interface includes a first area, a second area, and a third area. The first area is used to display identification information of a terminal connected to the earphone body and transmitting service data to the earphone body. The second area is used to display identification information of a terminal connected to the earphone body but not transmitting service data to the earphone body. The third area is used to display identification information of a terminal that has been paired with the earphone body but is not connected to the earphone body.

[0022] In the above solution, by displaying the identification information of terminals with different connection states in different areas, a clear visual hierarchy can be formed on the interface, making it easier for users to distinguish the connection status of the terminals. When it is necessary to change the connection status of one or more terminals, if the number of terminals connected to the headset reaches the limit, the user must first disconnect the currently connected terminals if they need to connect to other terminals. In this solution, users can quickly find the identification information of the terminals to be disconnected and connected in various areas of the first interface, and can quickly switch the connection status through simple operations, thereby further improving the human-computer interaction experience of the headset.

[0023] In one embodiment of the first aspect, the first region is adjacent to and surrounded by the second region, and the second region is adjacent to and surrounded by the third region.

[0024] In the above scheme, the areas are arranged in a ring-like manner, so that the three areas can form a ring structure, which is connected to each other and forms a closed area. This maintains the independence of each area, while creating a visually coherent, unified and complete effect, thus improving the aesthetics of the interface.

[0025] Optionally, the first, second, and third regions may have the same shape.

[0026] In one embodiment of the first aspect, the relative position of the terminal's identification information and the center of the first interface corresponds to the relative position of the terminal and the headphone box.

[0027] In the above solution, when a user needs to find the terminal, they only need to look at the first interface of the headphone box to intuitively and conveniently determine the location of the terminal through the position of the identification information, thereby quickly locating the terminal and greatly saving the time of finding the terminal.

[0028] In one embodiment of the first aspect, the earphone box is provided with a first antenna, and the method further includes: the earphone box obtaining the relative position of the terminal and the earphone box through the first antenna.

[0029] In one embodiment of the first aspect, the earphone box is provided with a first antenna and the earphone body is provided with a second antenna. The method further includes: the earphone body obtaining the relative position of the terminal and the earphone body through the second antenna, and transmitting the relative position of the terminal and the earphone body to the earphone box; the earphone box obtaining the relative position of the earphone body and the earphone box through the first antenna; and the earphone box determining the relative position of the terminal and the earphone box based on the relative position of the terminal and the earphone body and the relative position of the earphone body and the earphone box.

[0030] In one embodiment of the first aspect, the method further includes: when the earphone case is paired with the earphone but not connected to the earphone body, responding to receiving a request from the terminal for requesting a first service; and when the first service is a preset service, the earphone case displays a prompt window corresponding to the first service on the display screen.

[0031] In the above solution, when the terminal is paired with the earphone body but not connected to the earphone body, if the terminal has a preset service, the earphone box will display a prompt window corresponding to the service when it receives the service request from the terminal, so as to prompt the user to handle the service in time and avoid missing the processing opportunity.

[0032] In one embodiment of the first aspect, the method further includes: the earphone case responding to a second operation on the earphones to display earphone status information.

[0033] In the above solution, by displaying the status information of the headphones on the headphone's screen, users can quickly obtain the relevant status of the headphones through the headphone's screen, thereby improving the user experience.

[0034] In one embodiment of the first aspect, the method further includes: the earphone case receiving the user's vital signs information; the earphone case transmitting a first instruction to the earphone body in response to the vital signs information; and the earphone body setting the playback mode to the playback mode indicated by the first instruction.

[0035] In the above solution, the headphones can adjust the playback mode based on the user's vital signs, so that the playback effect of the headphones is more in line with the user's current state, thereby bringing the user a better listening experience.

[0036] In one embodiment of the first aspect, the method further includes: the earphone box, in response to establishing a connection with the terminal and the terminal transmitting service data to the earphone body, displays a theme mode corresponding to the terminal on the display screen.

[0037] In the above solution, the headphone box can provide users with a more unified and immersive visual experience by coordinating its displayed theme mode with the terminal's theme mode.

[0038] Secondly, embodiments of this application provide an interaction method applied to headphones, the headphones including a display screen. The method includes: displaying a first interface on the display screen, the first interface including identification information of a terminal; responding to a first operation by a user on the identification information of the terminal, transmitting a connection request to the terminal, and receiving a connection result returned by the terminal, the connection result indicating that the headphones and the terminal have successfully connected.

[0039] Thirdly, embodiments of this application provide an earphone, which includes a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, causing the earphone to perform any of the methods in the first aspect.

[0040] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform any of the methods in the first aspect.

[0041] Fifthly, embodiments of this application provide a computer program product, which includes: computer program code, which, when run by a headset, causes the headset to perform any of the methods in the first aspect.

[0042] In a sixth aspect, embodiments of this application provide a chip system, which includes a processing circuit and a storage medium storing computer program instructions; when the computer program instructions are executed by the processing circuit, they implement any of the methods in the first aspect.

[0043] Optionally, the processing circuitry in the above-described chip system can be replaced by a processor, and the storage medium can be replaced by a memory. Optionally, the chip system may also include a communication interface for enabling communication between the chip system and external devices.

[0044] The beneficial effects of the technical solutions in the second to sixth aspects of this application can be referred to the beneficial effects of the technical solutions in the first aspect, and will not be repeated here. Attached Figure Description

[0045] Figure 1 is a schematic diagram of a human-computer interaction scenario provided in an embodiment of this application;

[0046] Figure 2 is a structural schematic diagram of an earphone provided in an embodiment of this application;

[0047] Figure 3 is a flowchart illustrating an interaction method provided in an embodiment of this application;

[0048] Figure 4 is a schematic diagram of the effect of human-computer interaction provided in an embodiment of this application;

[0049] Figure 5 is a schematic diagram of another human-computer interaction effect provided in an embodiment of this application;

[0050] Figure 6a is a schematic diagram of a first interface provided in an embodiment of this application;

[0051] Figure 6b is a schematic diagram of another first interface provided in an embodiment of this application;

[0052] Figure 6c is a schematic diagram of another first interface provided in an embodiment of this application;

[0053] Figure 6d is a schematic diagram of another first interface provided in an embodiment of this application;

[0054] Figure 7a is a schematic diagram of signal transmission for relative position provided in an embodiment of this application;

[0055] Figure 7b is a schematic diagram of signal transmission in another relative position provided in an embodiment of this application;

[0056] Figure 8 is a schematic diagram illustrating the effect of a connection state switching operation provided in an embodiment of this application;

[0057] Figure 9 is a schematic diagram illustrating the effect of another connection state switching operation provided in an embodiment of this application;

[0058] Figure 10 is a schematic diagram illustrating the effect of another connection state switching operation provided in an embodiment of this application.

[0059] Figure 11 is a schematic diagram of a standby interface provided in an embodiment of this application;

[0060] Figure 12 is a flowchart illustrating the interaction method when a paired but unconnected terminal experiences a high-priority service, as provided in an embodiment of this application.

[0061] Figure 13 is a schematic diagram of the effect of a prompt window provided in an embodiment of this application;

[0062] Figure 14 is a schematic diagram of a device interaction process provided in an embodiment of this application;

[0063] Figure 15 is a flowchart illustrating how to adjust the playback mode of headphones based on the user's vital signs information, according to an embodiment of this application.

[0064] Figure 16 is a flowchart illustrating another interaction method provided in an embodiment of this application. Detailed Implementation

[0065] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings and related embodiments. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0066] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.

[0067] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0068] Currently, most mainstream wireless headphones interact with other devices (such as smartphones and tablets) primarily through control buttons or touch areas on the headphones themselves, performing basic operations like play / pause, song switching, and answering / hanging up calls. The charging case, as a crucial accessory, mainly houses and protects the headphones, but its function is limited to charging and portable storage, lacking more diverse human-computer interaction methods. When more complex interactions are needed, users are forced to rely on the other device. For example, switching connected devices requires disconnecting the current connection before operating the device to be connected, a rather cumbersome process.

[0069] Based on this, embodiments of this application provide an interaction method that displays a first interface including terminal identification information on the earphone case's screen. When the earphone needs to establish a connection with the terminal, the user can perform a first operation on the terminal's identification information to cause the earphone case to transmit a first message to the earphone, thereby instructing the earphone to establish a connection with the terminal. In this way, the connection between the earphone and the terminal can be achieved without operating the terminal, improving the earphone's human-computer interaction capabilities. In particular, in multi-terminal scenarios, when the user needs to switch connected terminals, they can quickly switch connection states by triggering the terminal's identification information, eliminating the need to operate back and forth between several terminals, simplifying the convenience of switching earphone connections, and further improving the earphone's human-computer interaction capabilities.

[0070] In some embodiments, the earphone case can also display the connection status of the terminal, including at least one of the following: connected to the earphone body and transmitting service data to the earphone body, connected to the earphone body but not transmitting service data to the earphone body, and paired with the earphone body but not connected. This enables the display of the terminal's identification information under various connection statuses, allowing users to clearly understand the current connection status of the terminal through the earphone case's display screen.

[0071] Furthermore, with the diversification of terminals, the types and number of terminals owned by the same user have also increased. In actual use, users may sometimes temporarily forget the location of certain terminals. However, the headset currently does not have the function of reverse locating the other device; users can only rely on the built-in functions of the other device, use other auxiliary search tools, or rely on their own memory to find it. This undoubtedly increases the inconvenience of use, raises the time cost, and reduces efficiency.

[0072] In some implementations, the display screen can also show the location information of the terminal, thereby helping users to quickly find the terminal, improving the efficiency of terminal search, and reducing time costs.

[0073] In some embodiments, while the earphones are playing voice messages, the display screen can also show a corresponding theme mode, thereby providing users with a better visual experience.

[0074] Optionally, the headphones in this application embodiment can be wireless headphones; wireless headphones can be, for example, near link (NL) headphones, wireless fidelity (WiFi) headphones, Bluetooth headphones, etc. As an example, Bluetooth headphones can be such as in-ear Bluetooth headphones, ear-hook Bluetooth headphones, and true wireless stereo (TWS) headphones, etc.

[0075] Figure 1 shows a scenario diagram corresponding to the interaction method provided in an embodiment of this application. Referring to Figure 1, the headset used in the interaction method provided in this embodiment is a wireless headset. The scenario includes a wireless headset 10 and at least one terminal 11, with the at least one terminal 11 communicating with the wireless headset 10.

[0076] In some embodiments, the wireless earphone 10 may include an earphone case 101 and an earphone body 102. The earphone case 101 includes a display screen 1011, which can simultaneously display identification information and connection status of at least one terminal 11. The connection status of at least one terminal 11 can be determined based on whether the terminal is connected to the earphone, in addition to having already been paired with the wireless earphone 10.

[0077] As an example, if the wireless headset 10 can connect to at least two terminals 11 simultaneously, the terminal 11 can be a terminal that is paired and connected to the wireless headset 10 and transmits service data to the wireless headset 10 (such as mobile phone 011 shown in Figure 1), a terminal that is paired and connected to the wireless headset 10 but does not transmit service data to the wireless headset 10 (such as mobile phone 012 shown in Figure 1), or a terminal that is paired but not connected to the wireless headset 10 (such as tablet computer 013 and laptop computer 014 shown in Figure 1).

[0078] For example, different regions can be used to display the terminal 11 in different connection states to represent the connection state of the terminal 11 with the wireless headset 10. For example, as shown in FIG1, the identification information 021 of the mobile phone 011 can be displayed in the first region 121, the identification information 022 of the mobile phone 012 can be displayed in the second region 122, and the identification information 023 of the tablet computer 013 and the identification information 024 of the laptop computer 014 can be displayed in the third region 123.

[0079] As another example, when the wireless headset 10 is connected to only one terminal 11, the terminal 11 can be a terminal that is paired with and connected to the wireless headset 10 and transmits service data to the wireless headset 10 (i.e., the aforementioned mobile phone 011), or a terminal that is paired with but not connected to the wireless headset 10 (i.e., the aforementioned tablet computer 013 and laptop computer 014).

[0080] It should be understood that the earphone case 101 used to house the earphone body 102 can also be referred to as the charging case of the earphone body 102, and the shape of the charging case matches that of the earphone body. When the earphone body is placed in the earphone case 101, the earphone case 101 and the earphone body 102 communicate through metal contacts. After the earphone body 102 is removed from the earphone case 101, wireless communication can be used between the earphone case 101 and the earphone body 102. This wireless communication method includes, but is not limited to: wireless local area network (WLAN, such as Wi-Fi network), Bluetooth (BT), Bluetooth Low Energy (BLE), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), and other wireless communication solutions.

[0081] Based on the aforementioned possible application scenarios, and as examples rather than limitations, terminals may include, but are not limited to, personal computers (PCs), smartphones, netbooks, tablets, smart cameras, wearable devices, handheld computers, smart TVs, personal digital assistants (PDAs), portable multimedia players (PMPs), projection devices, smart screen devices, augmented reality (AR) / virtual reality (VR) devices, mixed reality (MR) devices, in-vehicle devices, smart screens, cloud servers, televisions, or motion-sensing game consoles in human-computer interaction scenarios. This application does not impose any restrictions on the specific type of terminal.

[0082] Taking a wireless headset as an example, Figure 2 shows a schematic diagram of the hardware structure of the wireless headset 10. Referring to Figure 2, the wireless headset 10 provided in this embodiment may include a processor 210, an internal memory 220, a universal serial bus (USB) interface 230, an antenna 1, an antenna 2, a wireless communication module 240, an audio module 250, a speaker 250A, a microphone 250B, a sensor module 260, buttons 270, an indicator 280, a display screen 290, etc.

[0083] The aforementioned processor 210, internal memory 220, antenna 1, antenna 2, wireless communication module 240, sensor module 260, and buttons 270 can be deployed in both the earphone case 101 and the earphone body 102. The audio module 250, speaker 250A, and microphone 250B can be located in the earphone body 102. The indicator 280 and display screen 290 can be located in the earphone case 101.

[0084] The processor 210 may include one or more processing units, such as a controller, memory, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.

[0085] The controller can serve as the central nervous system and command center of the wireless headset 10. The controller can generate operation control signals based on instruction operation codes and timing signals to control the fetching and execution of instructions.

[0086] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0087] Simultaneously, the memory can also be used to store program code, such as program code for establishing virtual or physical connections between the wireless headset 10 and the terminal, switching the physical connection with the terminal, handling the terminal's audio services (such as music playback, making / receiving calls, etc.), and program code for charging the wireless headset 10 and wirelessly pairing the wireless headset 10 with other terminals. The memory can also be used to store other information, such as the priority of the terminal 20.

[0088] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0089] The I2C interface can be used to implement touch functionality. For example, the processor 210 can couple to the touch sensor 260A through the I2C interface, enabling the processor 210 and the touch sensor 260A to communicate via the I2C bus interface, thus realizing the touch functionality of the wireless headset 10.

[0090] The I2S interface can be used for audio communication. The audio module 250 can transmit audio signals to the wireless communication module 240 through the I2S interface, enabling the function of answering telephone calls through the wireless headset 10.

[0091] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. The audio module 250 can also transmit audio signals to the wireless communication module 240 via the PCM interface, enabling the function of answering phone calls through the headset 102.

[0092] The UART interface is typically used to connect the processor 210 and the wireless communication module 240. The audio module 250 can transmit audio signals to the wireless communication module 240 via the UART interface, enabling music playback through the headphone body 102.

[0093] The GPIO interface can be configured via software. The GPIO interface can be used to connect the processor 210 to the wireless communication module 240, audio module 250, sensor module 260, etc.

[0094] USB port 230 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 230 can be used to connect a charger to charge the headphone case 101.

[0095] In some embodiments, the wireless earphone 10 may further include an input / output interface. The input / output interface can be used to provide any wired connection between the earphone body 102 and the earphone case 101. In some embodiments, the input / output interface can be an electrical connection.

[0096] The gyroscope sensor 260B can be used to determine the motion posture of the headphone case 101 or the headphone body 102. In some embodiments, the gyroscope sensor 260B can determine the angular velocity of the headphone case 101 about three axes (i.e., the x, y, and z axes) in order to determine whether the display screen 290 in the headphone case 101 is needed.

[0097] The processor 210 may include one or more processing units, such as a controller, memory, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.

[0098] The controller can serve as the central nervous system and command center of the wireless headset 10. The controller can generate operation control signals based on instruction operation codes and timing signals to control the fetching and execution of instructions.

[0099] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0100] Simultaneously, the memory can also be used to store program code, such as program code for establishing a virtual connection between the wireless headset 10 and the terminal 11, switching the physical connection with the terminal 11, handling the audio services of the terminal 11 (e.g., music playback, making / receiving calls, etc.), and program code for charging the wireless headset 10 and wirelessly pairing the wireless headset 10 with other terminals 11. The memory can also be used to store other information, such as the priority of the terminal 11.

[0101] The wireless communication function of the wireless earphone 10 can be achieved through antenna 1, antenna 2, wireless communication module 240, modem processor and baseband processor.

[0102] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the wireless headset 10 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0103] In some embodiments, the wireless earphone 10 may further include an input / output interface. The input / output interface can be used to provide any wired connection between the earphone case 101 and the earphone body 102. In some embodiments, the input / output interface can be for electrically connected data (such as audio data).

[0104] The wireless earphone 10 can achieve audio functions such as music playback and recording through the audio module 250, speaker 250A, microphone 250B, and application processor.

[0105] The audio module 250 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. The audio module 250 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 250 may be located in the processor 210, or some functional modules of the audio module 250 may be located in the processor 210.

[0106] The speaker 250A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. For example, the headset 102 can listen to music or make hands-free calls through the speaker 250A.

[0107] Microphone 250B, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 250B, inputting the sound signal into microphone 250B.

[0108] The earphone body 102 may be equipped with at least one microphone 250B. In some embodiments, the earphone body 102 may be equipped with two microphones 250B, such as a main microphone and a feedback microphone. The main microphone can be used to pick up the user's corresponding sound signal. The feedback microphone can be used to collect the sound signals corresponding to the user and the surrounding environment, and to implement noise reduction. In the embodiments of this application, the earphone body 102 can extract audio features based on the audio data collected by the feedback microphone, and determine whether the earphone body 102 is in a wearing state based on the audio features.

[0109] In other embodiments, the earphone body 102 may also be equipped with three, four or more microphones 250B to collect sound signals, reduce noise, identify the sound source, and realize directional recording functions, etc.

[0110] The headphone case 101 implements display functions through a graphics processing unit (GPU), a display screen 290, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 290 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information. The display screen 290 is used to display images, videos, etc.

[0111] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the wireless earphone 10. It may have more or fewer components than shown in FIG. 2, may combine two or more components, or may have different component configurations. For example, the wireless earphone 10 may also include a dustproof mesh (which can be used with the earpiece) component. The various components shown in FIG. 2 can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application-specific integrated circuits.

[0112] The interaction method provided in this application will be described in detail below with reference to the scenario shown in Figure 1 and the headphones shown in Figure 2, through the following embodiments.

[0113] Figure 3 illustrates an interaction method provided in an embodiment of this application. When the terminal is not connected to the earphone body, a connection operation can be performed through the terminal's identification information displayed on the earphone case's screen. Referring to Figure 3, this method is applied to earphones, which include an earphone case and an earphone body, the earphone case being equipped with a display screen. The method includes the following steps S301 to S302.

[0114] S301, the earphone box displays the first interface on the screen, which includes the terminal's identification information.

[0115] In some embodiments, the terminal's identification information may be a graphic and / or characters. The graphic may be used to represent the type of terminal (e.g., laptop, mobile phone, tablet, etc.), and the characters may be the terminal name, with each character corresponding to a specific terminal.

[0116] As an example, terminals of the same type can use the same graphic. For instance, for mobile phones, regardless of whether the brand, model, or appearance is the same, the same graphic is used for description. Of course, terminals of the same type can also be further subdivided according to their appearance. For example, mobile phones can be subdivided into non-folding, bi-folding, tri-folding, etc. This application embodiment does not impose any limitations on this.

[0117] In one possible implementation, the headset can determine the terminal type by obtaining the terminal's media access control (MAC) address. It should be understood that, in practice, the method for determining the terminal type may vary depending on the requirements. For example, the terminal type can also be determined by obtaining a universally unique identifier (UUID), but this embodiment does not limit this approach.

[0118] In some embodiments, the first interface may be displayed based on user operations on the headphone case (such as opening or closing the lid of the headphone case, inserting or removing the headphone body), or clicking or tapping on a preset interface on the headphone case's display screen (such as single or double tapping on a preset interface), or operations on the headphone body (such as voice operation).

[0119] S302, in response to the user's first operation on the terminal's identification information, the earphone box transmits a first message to the earphone body, the first message being used to indicate the establishment of a connection between the earphone body and the terminal.

[0120] Optionally, the first operation may be an operation such as clicking, swiping, or dragging the terminal's identification information.

[0121] As an example, as shown in Figure 4, taking a click operation as the first operation, refer to the first interface 40 shown in Figure 4(a). This first interface includes the identification information 024 of the laptop 014, which is paired with but not connected to the headphone body 102. The headphone box 101 receives the click operation on the identification information 024 of the laptop 014, displays the connection control shown in Figure 4(a), and after receiving the click operation on the connection control, transmits a first message to the headphone body 102 to instruct the headphone body 102 to establish a connection with the laptop 014.

[0122] As is understandable, pairing is a trust-building process involving authentication and key exchange. After pairing, the headset and the terminal store each other's pairing information (such as encryption keys, device identifiers, etc.) to facilitate a quick and secure connection later. In practical applications, the connection between the headset and the terminal must be established based on prior pairing. In some embodiments, after pairing, the headset and the terminal communicate via broadcast. After a successful connection is established, the headset and the terminal can communicate through an actual communication link.

[0123] As another example, as shown in Figure 5, taking the first operation as a drag operation as an example, refer to the first interface 40 shown in Figure 5(a). The first interface also includes a connection area 401. After the headphone box 101 detects the operation of dragging the identification information 024 of the laptop 014 into the connection area 401, it transmits a first message to the headphone body 102 to instruct the headphone body 102 to establish a connection with the laptop 014.

[0124] In one embodiment of this application, after the earphone receives the first message, it needs to establish a connection with the terminal according to the instructions of the first message. Referring to Figure 3, the interaction method provided in this embodiment of the application further includes the following S303.

[0125] S303. The headset body responds to the first message by sending a connection request to the terminal and receiving the connection result returned by the terminal. The connection result is used to indicate that the headset body and the terminal are successfully connected.

[0126] As shown in Figure 4(a), after receiving the first message, the headphone body 102 sends a connection request to the laptop 014 and receives the connection result returned by the laptop 014.

[0127] In one implementation, the first interface may further include a connection marker for the terminal, indicating that the terminal is connected to the headset. The connection marker may be displayed at a preset location around the terminal's identification information, such as in the upper right corner of the identification information.

[0128] Optionally, the earphone itself can transmit the connection result to the earphone case so that the earphone case can display a connection mark in the terminal's identification information.

[0129] As shown in Figure 4(a), the headphone body 102 transmits the connection result to the headphone case 101. Based on the connection result, the headphone case 101 displays a connection mark 402 in the upper right corner of the identification information 024 of the laptop 014 in the first interface 40 shown in Figure 4(b).

[0130] As another example, as shown in Figure 5(a), after receiving the first message, the earphone body 102 sends a connection request to the laptop 014 and receives the connection result returned by the laptop 014. The earphone body 102 synchronizes the connection result to the earphone box 101. Based on the connection result, the earphone box 101 displays the identification information of the laptop 014 in the first interface 40 in the connection area 401, as shown in Figure 5(b).

[0131] Through the aforementioned steps S301-S303, the headphone case's display screen can show a first interface including the terminal's identification information. When the headphones need to connect to the terminal, the user can perform a first operation on the terminal's identification information to initiate the connection process, thereby improving the headphones' human-computer interaction capabilities. After the connection process is initiated, the headphone case transmits a first message to the headphones, instructing them to establish a connection with the terminal. Thus, a simple operation on the headphone case's display screen is sufficient to connect the headphones to the terminal. Compared to existing technologies, this eliminates the need for a separate terminal, allowing for seamless connection between the headphones and the terminal as needed, simplifying the connection process.

[0132] In some embodiments, the first interface further includes terminal status information, which can be used to indicate the terminal's service status. Specifically, the terminal status information includes a service identifier, which characterizes the terminal's service status. This allows users to promptly understand the terminal's service status, helping them determine whether to switch the connection between the headset and the terminal.

[0133] The service identifier can be the service type to which the terminal is running. For example, if the terminal is running instant messaging software for a video call, then the service type of the terminal is video call. Similarly, if the terminal is running a phone application or instant messaging software for a voice call, then the service type of the terminal is call. And if the terminal is running a game application, then the service type of the terminal is game.

[0134] Optionally, the terminal's status information may also include the terminal's received signal strength indicator (RSSI) status, which is used to characterize the signal strength between the headset and the terminal.

[0135] In one application scenario, the earphone can connect to two terminals simultaneously. One terminal can transmit service data to the earphone in real time, and when that terminal stops transmitting service data, the other terminal transmits service data to the earphone in real time. In addition to displaying the two terminals connected to the earphone, the earphone case's display screen can also show terminals to be connected, which are either already paired with the earphone or have a historical connection record.

[0136] Therefore, the first interface also includes the connection status between the terminal and the headset body. The connection status includes the terminal connecting to the headset body and transmitting service data to the headset body (hereinafter referred to as the first connection status), the terminal connecting to the headset body but not transmitting service data to the headset body (hereinafter referred to as the second connection status), and the terminal being paired with the headset body but not connected to the headset body (hereinafter referred to as the third connection status).

[0137] Optionally, the connection status can be represented by a region division in the first interface, with each region representing a different connection status of the terminal.

[0138] For the aforementioned three connection states, the first interface includes a first area, a second area, and a third area. The first area displays the identification information of terminals connected to the headset and transmitting service data to the headset (i.e., the first connection state). The second area displays the identification information of terminals connected to the headset but not transmitting service data to the headset (i.e., the second connection state). The third area displays the information of terminals paired with the headset but not connected to it (i.e., the third connection state). This creates a clear visual hierarchy on the interface, making it easier for users to distinguish the connection states of different areas and terminals.

[0139] In some embodiments, the first region, the second region, and the third region have the same shape, and the first region and the second region are adjacent to the third region, respectively. The first region and the second region may or may not be adjacent.

[0140] As an example, taking the terminal identification information as a graphic, with all three areas being circular in shape. As shown in Figure 6a, assume that the terminals in the first connection state include mobile phone 011, the terminals in the second connection state include mobile phone 012, and the terminals in the third connection state include tablet computer 013 and laptop computer 014. The first interface 40 can be divided into three areas corresponding to the three connection states: the first area 121, the second area 122, and the third area 123. The first area 121 displays the identification information of the terminals in the first connection state (i.e., identification information 021 of mobile phone 011), the second area 122 displays the identification information of the terminals in the second connection state (i.e., identification information 022 of mobile phone 012), and the third area 123 displays the identification information of the terminals in the third connection state (i.e., identification information 023 of tablet computer 013 and display information 024 of laptop computer 014).

[0141] It should be understood that in the various regions of Figure 6a, the first region 121 and the second region 122 are used to display the identification information of the connected terminals. In a scenario where the headset can connect to two terminals simultaneously, the number of terminals in each of these two regions is at most one. Therefore, the shape and area of ​​the first region 121 and the second region 122 can be the same. However, the number of terminals in the third region 123 can be more than one. Therefore, the shape of the third region 123 can be the same as that of the first region 121 and the second region 122, while its area can be larger than that of the first region 121 or the second region 122, as shown in Figure 6a.

[0142] In other embodiments, the regions in the first interface can also be arranged in a surrounding manner. For example, the first region 121 is adjacent to and surrounded by the second region 122, and the second region 122 is adjacent to and surrounded by the third region 123. In this way, the three regions can form a ring structure, connected to each other, forming a closed area. This maintains the independence of each region while creating a visually coherent, unified, and complete effect, thus enhancing the aesthetics of the interface.

[0143] Referring to Figure 6a, as another example, the first interface 40 shown in Figure 6b is adjacent to and surrounded by the second region 122, and the second region 122 is adjacent to and surrounded by the third region 123.

[0144] It should be noted that the shapes of the regions in Figures 6a and 6b are illustrated using circles as an example. Other shapes can be selected for each region according to actual needs, such as ellipses, rounded rectangles, etc.

[0145] Optionally, in addition to using different areas to represent different connection states as described above, the connection state between the terminal and the headset can also be represented by a connection identifier on the terminal. Therefore, the first interface includes a connection identifier corresponding to each terminal. For example, text, status codes, numerical values, or flag bits can be used as the connection identifier for the terminal. For instance, status code 01 can indicate the first connection state; status code 02 can indicate the second connection state; and status code 03 can indicate the third connection state. Furthermore, the flag bits can use binary bits to indicate the connection state. Assuming the first bit indicates whether a connection is established and the second bit indicates whether data is being transmitted, flag bit 11 indicates the first connection state; flag bit 10 indicates the second connection state; and flag bit 00 indicates the third connection state. It is understood that when the terminal and the headset are paired but not connected, flag bit 00 can be simplified to 0 to indicate the third connection state.

[0146] As an example, if the first interface 40 does not include the first, second, and third areas mentioned above, the terminal identification information is used as a graphical example, as shown in Figure 6c or Figure 6d. Terminals in the first connection state include mobile phone 011, terminals in the second connection state include mobile phone 012, and terminals in the third connection state include tablet computer 013 and laptop computer 014. Using status codes as connection identifiers, the status code for mobile phone 011 is 01, the status code for mobile phone 012 is 02, and the status codes for tablet computer 013 and laptop computer 014 are both 03.

[0147] In practical applications, the terminals in the first and second connection states are already connected to the headset body. By default, the service identifiers of the terminals in these two connection states can be not displayed, and only the service identifiers of the terminals in the third connection state can be displayed.

[0148] For example, referring to Figures 6a-6d, if tablet 013 is running a video application, the corresponding service status will be displayed as "video" in the identification information of tablet 013. If the service running on laptop 014 is a conferencing application, the corresponding service status will be displayed as "conferencing" in the identification information of laptop 014.

[0149] In some embodiments, the relative position of the terminal's identification information and the center of the first interface corresponds to the relative position of the terminal and the headphone case. When a user needs to locate the terminal, they only need to look at the first interface of the headphone case to intuitively and conveniently determine the terminal's location through the position of the identification information, thereby helping the user quickly locate the terminal and greatly saving time in finding it.

[0150] In one application scenario, the first interface includes areas corresponding to each connection state. The position of the terminal in the area corresponding to its connection state identification information corresponds to the relative position of the terminal and the headphone case. For example, referring to the first interface 40 shown in Figure 6a, the position of the identification information 021 of mobile phone 011 in the first area 121 indicates the relative position of mobile phone 011 and headphone case 101. The position of the identification information 022 of mobile phone 012 in the second area 122 indicates the relative position of mobile phone 012 and headphone case 101. The positions of the identification information 023 of tablet computer 013 and the identification information 024 of laptop computer 014 in the third area 123 respectively indicate the relative positions of tablet computer 013 and headphone case 101 and laptop computer 014 and headphone case 101.

[0151] In another application scenario, the first interface includes areas corresponding to each connection state. Since the terminal in the first connection state is transmitting service data to the earphone body, the identification information of the terminal in the first connection state can be a fixed position within the area, without indicating the relative position of the terminal to the earphone box. For example, referring to the first interface 40 shown in Figure 6b, mobile phone 011, as the terminal currently transmitting service data, has its identification information 021 located at the center of the first area 121. The positions of the identification information 022 of mobile phone 012, the identification information 023 of tablet computer 013, and the identification information 024 of laptop computer 014 can be referred to the relevant description in Figure 6a, which will not be repeated here.

[0152] In another application scenario, the first interface does not include the area corresponding to each connection state. Instead, the terminal's identification information for each connection state can be displayed at the boundary of the first interface, with the position at the boundary corresponding to the relative position of the terminal and the headset. For example, referring to Figure 6d, the identification information 021 of mobile phone 011 at the boundary of the first interface 40 indicates the relative position of mobile phone 011 and headset box 101. The identification information 022 of mobile phone 012 at the boundary of the first interface 40 indicates the relative position of mobile phone 012 and headset box 101. The identification information 023 of tablet computer 013 at the boundary of the first interface 40 indicates the relative position of tablet computer 013 and headset box 101. The identification information 024 of laptop computer 014 at the boundary of the first interface 40 indicates the relative position of laptop computer 014 and headset box 101.

[0153] In other embodiments, the headphone case can be represented by terminal identification information, where the terminal's connection identifier represents the terminal. The relative position of the connection identifier and the identification information indicates the relative position of the terminal and the headphone case. For example, referring to FIG6c, the relative position of connection identifier 01 and identification information 021 indicates the relative position of mobile phone 011 and headphone case 101; the relative position of connection identifier 012 and identification information 022 indicates the relative position of mobile phone 012 and headphone case 101; the relative position of connection identifier 03 and identification information 023 of tablet computer 013 indicates the relative position of tablet computer 013 and headphone case 101; and the relative position of connection identifier 03 and identification information 024 of laptop computer 014 indicates the relative position of laptop computer 014 and headphone case 101.

[0154] In one implementation, referring to Figure 7a, the earphone box 101 can obtain the relative position of the terminal (such as mobile phone 012) and the earphone box 101 through the first antenna.

[0155] The first antenna includes antenna element 1 and antenna element 2. Optionally, antenna element 1 and antenna element 2 are arranged in an array.

[0156] In one implementation, as shown in Figure 7a, the earphone box 101 receives a first signal from a terminal (such as a mobile phone 012) through antenna unit 1 and antenna unit 2; based on the time difference between the first signals received by antenna unit 1 and antenna unit 2 respectively, the relative position of the terminal (such as a mobile phone 012) and the earphone box 101 is obtained.

[0157] In another implementation, referring to Figure 7b, the relative position of the terminal (e.g., mobile phone 012) and the earphone box 101 can be obtained through a first antenna on the earphone box 101 and a second antenna on the earphone body 102. Optionally, the earphone body 102 obtains the relative position of the terminal (e.g., mobile phone 012) and the earphone body 102 through the second antenna and transmits the relative position of the terminal (e.g., mobile phone 012) and the earphone body 102 to the earphone box 101; the earphone box 101 obtains the relative position of the earphone body 102 and the earphone box 101 through the first antenna, and determines the relative position of the terminal (e.g., mobile phone 012) and the earphone body 102 based on the relative position of the terminal (e.g., mobile phone 012) and the earphone body 102, and the relative position of the earphone body 102 and the earphone box 101.

[0158] The second antenna includes antenna element 3 and antenna element 4. Antenna element 3 and antenna element 4 are respectively located in the left and right earphone bodies.

[0159] As shown in Figure 7b, the earphone body 102 receives a second signal from the mobile phone 012 through antenna unit 3 and antenna unit 4, respectively. This second signal is used to determine the relative position between the mobile phone 012 and the earphone body 102. The earphone case 101 receives a third signal from antenna unit 3 or antenna unit 4 through antenna unit 1 and antenna unit 2. This third signal is used to determine the relative position between the earphone body 102 and the earphone case 101. Furthermore, based on the relative positions of the mobile phone 012 and the earphone body 102, and the relative positions of the earphone body 102 and the earphone case 101, the relative position between the mobile phone 012 and the earphone case 101 is obtained.

[0160] Optionally, at least one terminal may log in using the same user ID. For example, the user ID could be a Huawei account or an Apple ID.

[0161] Referring to Figures 8-10, when the identification information of the terminal in the corresponding connection state is displayed in the first, second, and third areas of the first interface, the switching of the terminal's connection state can be achieved through the following embodiments. In practical applications, the aforementioned first operation is not limited to establishing a connection between the terminal and the headset; it can also achieve switching of the terminal in different connection states. For example, switching the connection state of mobile phone 011 from the first connection state to the third connection state, or switching the connection state of laptop computer 014 from the third connection state to the first connection state, etc.

[0162] As an example, referring to Figure 8 and in conjunction with Figure 6b, taking a click operation as the first operation, a click operation on the identification information 021 shown in Figure 8(a) is received, and the disconnect control shown in Figure 8(a) is displayed. After receiving a click operation on the disconnect control, the identification information displayed in the first area 121 changes from identification information 021 to identification information 022 shown in Figure 8(b); simultaneously, the identification information 022 displayed in the second area 122 is canceled, and the identification information 021 is displayed in the third area 123. Correspondingly, the connection status of mobile phone 011 is updated from the first connection status to the third connection status, and the connection status of mobile phone 012 is updated from the second connection status to the first connection status.

[0163] Based on the above, upon receiving a click operation on the identification information 024 shown in Figure 8(b), the connection control shown in Figure 8(b) is displayed. Upon receiving a click operation on the connection control, the identification information 024 shown in Figure 8(c) is displayed in the second area 122, while the identification information 024 displayed in the third area 123 is canceled. Correspondingly, the connection status of the laptop 014 is updated from the third connection status to the second connection status.

[0164] It should be understood that in practical applications, if the audio playback logic configured by the headphones defaults to the first connection state for the connected terminal, then the identification information 022 displayed in the second area 122 and the identification information 024 displayed in the first area 121 can be updated accordingly to the area where the identification information of each terminal is located (not shown in the figure).

[0165] As another example, referring to Figure 6b and Figure 9, taking the first operation as a drag operation as an example, dragging the identification information 021 in Figure 9 to the blank space of the third area 123 can disconnect the mobile phone 011 from the headphone body, and the identification information 021 can be displayed in the third area 123 to indicate the relative position of the mobile phone 011 and the headphone box. The connection status of the mobile phone 011 is updated from the first connection status to the third connection status.

[0166] As another example, referring to Figure 10 in conjunction with Figure 6b, taking the drag operation as an example, the identification information 021 shown in Figure 10(a) is dragged to the identification information 023 in the third area 123 to achieve the exchange of the corresponding areas of the two identification information. Referring to Figure 10(b), identification information 023 is displayed in the first area 121, and simultaneously, identification information 021 is displayed in the third area 123 at a position indicating the relative position of the mobile phone 011 and the headset. Correspondingly, the connection status of the mobile phone 011 is updated from the first connection status to the third connection status, and the connection status of the tablet computer 013 is updated from the third connection status to the first connection status.

[0167] Referring to Figure 10, when the first operation is a drag operation, the earphone case responds to the drag operation on the identification information of the first terminal. After the drag operation ends, if the identification information of the first terminal overlaps with the identification information of the second terminal, then the connection state of the first terminal and the second terminal is confirmed to be exchanged. The connection states of the first terminal and the second terminal are different. Thus, by simply dragging the terminals to make the identification information of the terminals overlap under different connection states, the connection state of the two terminals can be switched. Compared to existing technologies, this eliminates the need for additional terminals, allowing for simultaneous changes in the connection state of the earphone body and two terminals as needed, greatly simplifying the connection state switching process.

[0168] Optionally, the earphone case can detect the user's dragging operation on the identification information of the first terminal through a touch sensor, and compare the final drag position of the identification information of the first terminal with the position of the identification information of the second terminal. If the two positions overlap or the degree of overlap reaches a preset threshold, it is determined that the identification information of the first terminal and the identification information of the second terminal overlap.

[0169] In some embodiments, when the earphone case determines the connection status between the first terminal and the second terminal, if the first terminal is a terminal that has been paired with but not connected to the earphone body, the earphone case sends a second message to the earphone body. The second message instructs the earphone body to disconnect from the second terminal and establish a connection with the first terminal. In response to the second message, the earphone body disconnects from the second terminal and sends a connection request to the first terminal. Afterwards, the earphone body receives the connection result from the first terminal.

[0170] It is easy to understand that the method of exchanging the identification information between any two terminals in different areas of the display screen can be referred to the embodiment in Figure 10 above, and will not be repeated here.

[0171] In one possible implementation, the display screen can also show the status information of the headphones, thereby enabling access to more detailed usage information (such as battery level). Therefore, in response to a second operation on the headphones, the headphone status information is displayed.

[0172] Optionally, the second operation can be an operation on the headphone case (such as opening or closing the lid of the headphone case, or inserting or removing the headphones), or an operation to wake up the display screen in the headphone case, such as raising the screen, clicking or tapping (such as a single or double tap on the display screen), or an operation on the headphones themselves (such as voice operation). The raising-screen operation can also be referred to as "raise to wake" or "raise to wake". When the headphones are raised (such as when taken out of a pocket or placed on a table and raised), the display screen automatically lights up and displays the headphone's status information.

[0173] The status information of the earphones may include, but is not limited to: the battery level of the earphones themselves, the status of the earphones in the charging case, and the battery level of the charging case. The earphones themselves may include the left and right earphones, and the battery level information may include the battery levels of both the left and right earphones. The status of the earphones in the charging case indicates whether the left and right earphones are inside the charging case.

[0174] Referring to Figure 11, a schematic diagram of a standby interface is shown. This standby interface 90 is used to display the status information of the headphones, such as the headphone battery information 91, the headphone in-charge status information 92, and the headphone case battery information 93 shown in the figure. For example, in the standby interface 90 shown in Figure 9, the headphone battery information 91 shows L43% indicating that the left headphone currently has 43% remaining battery, and R86% indicating that the right headphone currently has 86% remaining battery. The headphone in-charge status information 92 indicates that the right headphone is in the headphone case, and the left headphone is not in the headphone case. The headphone case battery information 93 shows 30% indicating that the headphone case currently has 30% remaining battery.

[0175] In some embodiments, based on FIG11, the aforementioned preset interface may be a standby interface, and the first operation may be a click or tap operation on the standby interface to display the aforementioned first interface. It should be noted that the above embodiments only exemplify one implementation of the first operation. The first operation may also be a click or tap operation on other preset interfaces, or it may be a click operation on application icons in other preset interfaces, etc. The embodiments of this application do not limit the specific operation method of the first operation.

[0176] In some embodiments, the standby interface may also display information such as headphone connection status and connection error prompts. The headphone connection status can indicate whether the headphone itself is currently connected to the terminal.

[0177] Figure 12 is a flowchart illustrating an interaction method provided in an embodiment of this application when a paired but unconnected terminal experiences a high-priority service. This method, when a paired but unconnected terminal experiences a preset service (denoted as a high-priority service, such as a video call or voice call), can display a prompt message corresponding to that service on the headset's display screen to prompt the user to handle the service promptly. In some embodiments, the prompt message can be displayed on the aforementioned first interface. This method may include the following steps S1201 to S1202.

[0178] S1201, The headphone box receives a service request sent by the terminal to request the first service.

[0179] Optionally, the first service is related to the voice service of the headset, that is, playing audio content from the first service through the headset. For example, the first service can be an instant messaging service such as video call or voice call. Among them, video call can be such as MeeTime video call. Voice call can be such as MeeTime voice call or a phone application call.

[0180] In some embodiments, when the terminal determines that the first service is a preset service, it sends the service request to the earphone. For example, the earphone itself is used as an information transmission medium to transmit the service request from the terminal to the earphone case. Alternatively, the earphone case directly receives the service request from the terminal.

[0181] S1202. When the terminal has been paired with the earphone body but not connected to the earphone body, and the first service is the preset service, a prompt window corresponding to the first service is displayed on the screen.

[0182] Optionally, the prompt window is used to display prompt information for the first service. This prompt information may include the terminal identifier and the service type of the first service. The service type can be the type of service the terminal is running. For example, if the terminal is using instant messaging software for video calls, the service type is video. Similarly, if the terminal is making a phone call or a voice call via instant messaging software, the service type is call. The terminal identifier can be user-defined or the terminal model.

[0183] For example, referring to Figure 6b above, assume that the terminal identifier of the tablet computer 013 is: HUAWEI MatePad. Referring to Figure 13, when the tablet computer 013 receives a video call request while running a game application, a pop-up message 41 stating "HUAWEI MatePad has a video request" can be displayed on the first interface 40.

[0184] It should be understood that the notification window is not limited to being displayed on the first interface. The notification window can be displayed on the current display interface of the screen in any of the following ways: pop-up window, floating window, card, notification bar, etc. When the screen is black, the headphone box can automatically tap the screen and display the notification window for the first service after receiving the request for the first service.

[0185] It should be noted that after seeing the prompt window, the user can refer to the aforementioned embodiments S301 to S303 to update the connection status of the terminal so that they can handle the terminal's first service through the headset.

[0186] In this embodiment, when the terminal is paired with the earphone body but not connected to the earphone body, if the terminal has a preset service, the earphone will display a prompt window corresponding to the service when it receives the service request from the terminal, so as to prompt the user to handle the service in a timely manner and avoid missing the processing opportunity.

[0187] The following example illustrates the information interaction process between the earphone box, earphone body, first terminal, second terminal, and third terminal when implementing the interaction method of the above embodiments. The earphone box includes a display screen. The first terminal is connected to the earphone body and transmits service data to it. The second terminal is connected to the earphone body but does not transmit service data. The third terminal is paired with the earphone body but is not connected. In this embodiment, the earphone box can be the aforementioned earphone box 101, and the earphone body can be the aforementioned earphone body 102. Based on the connection states of the first, second, and third terminals, the first terminal corresponds to the aforementioned mobile phone 011, the second terminal corresponds to the aforementioned mobile phone 012, and the third terminal corresponds to the aforementioned laptop computer 014 or tablet computer 013. Referring to Figure 14, the method includes the following steps S1401 to S1408.

[0188] S1401, The earphone itself sends its status information to the earphone case.

[0189] The earbuds themselves can send their status information to the charging case via wired or wireless communication. This status information may include, but is not limited to, battery level, connection status, and connection error messages. The earbuds may include a left and a right earbud, and their battery level information may include the battery levels of both the left and right earbuds.

[0190] S1402 The headphone case displays the headphone status information in real time on the standby screen of the display.

[0191] The status information of the earphones may include, but is not limited to: the status information of the earphones themselves, the status information of the earphones in the charging case, and the battery information of the charging case. The earphones themselves may include the left and right earphones, and the battery information of the earphones may include the battery information of the left and right earphones. The status information of the earphones in the charging case indicates whether the left and right earphones are inside the charging case.

[0192] S1403, The earphone body receives status information from the first terminal and the second terminal in real time.

[0193] Optionally, the status information of the first terminal includes the connection status and service status of the first terminal, and the status information of the second terminal is similar and will not be described again.

[0194] S1404, The earphone body receives the status information of the third terminal, which is periodically transmitted by the third terminal via broadcast.

[0195] Optionally, the broadcast is encrypted.

[0196] S1405 The earphone box receives status information from each terminal sent by the earphone body.

[0197] The status information of each terminal can include the status information of the first terminal, the status information of the second terminal, and the status information of the third terminal.

[0198] In practical applications, for power consumption considerations, the earphone itself can periodically send status information of each terminal to the earphone case.

[0199] S1406 The earphone box displays the status information of each terminal in real time on the first interface of the display screen.

[0200] S1407 The earphone body receives a service request for the first service reported in real time from a third terminal, and sends the service request to the earphone box in real time.

[0201] Among them, the priority of the first service is greater than the priority threshold.

[0202] S1408, The earphone case displays a prompt window on the screen corresponding to the first service.

[0203] The prompt window is used to display prompt information for the first service, which may include the terminal identifier and the service type of the first service.

[0204] In this embodiment, the human-computer interaction capability of the earphone is improved through information interaction between the earphone box, the earphone body, and various terminals.

[0205] In one embodiment of this application, the user's vital signs (such as heart rate, body temperature, respiration, etc.) can be sensed by sensors in the headphone case and sensors in the headphone body, and the playback mode of the headphone can be adjusted accordingly.

[0206] In one possible implementation, the identification information in the aforementioned first interface can also be configured with a control function for setting the headphone mode. For example, by performing a preset operation (such as a long press) on the identification information of a certain terminal, the mode setting interface corresponding to that terminal can be displayed. This mode setting interface is used to set the audio playback mode of the terminal through the headphone itself.

[0207] Users can configure the playback mode, corresponding theme mode, and audio mode of the earphones through the mode settings interface. After setting, users can manually select the playback mode; alternatively, the earphones can adaptively determine the playback mode by acquiring the user's vital signs information. Based on the playback mode, the corresponding theme mode and audio mode are then determined. See below for details.

[0208] Figure 15 is a flowchart illustrating an embodiment of this application of adjusting the playback mode of the headphones based on the user's vital signs. The method includes the following steps S1501 to S1503.

[0209] S1501, The earphone box receives the user's vital signs information.

[0210] Optionally, as shown in Figure 5, the user's vital signs information can be acquired by the earphone itself through various sensors and transmitted to the earphone case.

[0211] Optionally, the user's vital signs information can also be obtained by a terminal used to detect the user's vital signs (such as Huawei Watch) and transmitted to the earphone case.

[0212] S1502, the earphone case responds to vital signs information and transmits a first command to the earphone body.

[0213] In some examples, the headphone case receives vital sign information from the user's headphone body; determines the playback mode corresponding to the vital sign information; and sends a first instruction to the headphone body, which instructs the headphone body to adjust the playback mode to the playback mode corresponding to the vital sign information.

[0214] In other examples, the earphone itself acquires the user's vital signs information and adjusts the playback mode of the earphone itself to the playback mode corresponding to the vital signs information.

[0215] S1503, The headphone body sets the playback mode to the playback mode indicated by the first command.

[0216] Optionally, playback modes include, but are not limited to, standard mode, sports mode, do not disturb / immersive mode, sleep mode, etc.

[0217] In some embodiments, the gesture mode and gesture operation threshold can differ across different playback modes. As an example, in standard mode, the gesture mode and gesture operation threshold need to be suitable for daily use and flexibly handle various operations. The gesture operation threshold can be set to medium sensitivity. For example, slight gestures (such as a light swipe or a brief touch) can trigger the relevant function, ensuring convenient operation for the user during normal use. In sports mode, gesture operation needs to be simple and less prone to accidental touches. The gesture operation threshold can be set to higher sensitivity and a larger gesture range. For example, large arm swings or specific gestures can trigger the relevant function, reducing the possibility of accidental operation. In Do Not Disturb / Immersive mode, interference needs to be minimized. The gesture threshold can be set to lower sensitivity, allowing specific, explicit gestures to trigger the relevant function. For example, long presses or complex gesture combinations, ensuring that it will not be accidentally triggered in this mode.

[0218] In some embodiments, the motion sensor (such as an accelerometer or gyroscope) built into the headphones can detect the displacement or movement of the user's head to determine whether the user is currently asleep. When the user is awake, there will be obvious head movement or displacement; when the user enters a sleep state, head movements will significantly decrease. If the motion sensor does not detect any displacement signal from the user's head within a preset time (such as 60 seconds), it will determine that the user is asleep, and the current playback mode will be set to sleep mode. In this mode, the headphones will stop audio playback and then automatically power off; or the headphones will automatically power off directly in this mode. This is to save the headphone's power and to prevent the user from being disturbed or startled by sudden sounds due to accidental touching of the headphones during sleep.

[0219] Based on S1503, the theme mode and audio mode displayed on the headphone box can also be determined according to the playback mode. Referring to Figure 15, this solution can also include S1504 to S1505.

[0220] S1504, the earphone case responds to the playback mode corresponding to the vital signs information and displays the theme mode corresponding to the playback mode in the theme interface of the display screen.

[0221] In some embodiments, each playback mode has its own corresponding theme mode displayed on the headphone case. The theme mode displayed on the headphone case can have the same style as the theme mode of the terminal in the first connection state, such as both the theme mode displayed on the headphone case and the theme mode of the terminal using a sports style; or, the theme mode displayed on the headphone case can use the same content as the theme mode of the terminal; or, the theme mode displayed on the headphone case can be a continuation of the theme mode of the terminal. Here, continuation of content indicates that the theme mode displayed on the headphone case and the theme mode of the terminal are under the same theme, with different content displayed consecutively. For example, taking an image as an example, the content displayed in the theme mode of the terminal and the content displayed in the theme mode of the headphone case can be stitched together to form a complete image. By coordinating the theme mode displayed on the headphone case with the theme mode of the terminal, a more unified and immersive visual experience can be provided to the user.

[0222] In some embodiments, if the sleep mode is set to stop playback, the theme mode corresponding to the sleep mode may not be displayed.

[0223] S1505: The headphone body responds to the playback mode corresponding to the vital signs information and sets the audio mode corresponding to the playback mode.

[0224] The audio modes include, but are not limited to, equalizer (EQ) mode, prompt mode, and noise control mode.

[0225] In this embodiment, the headphones can adjust the playback mode based on the user's vital signs information and display the theme mode corresponding to the playback mode on the headphone's display screen. At the same time, the headphone's audio mode is adjusted so that the playback effect of the headphones is more in line with the user's current state, so as to bring the user a better auditory and visual experience.

[0226] It should be understood that the embodiments of this application are not limited to using vital sign information and / or playback mode as prerequisites for setting the theme mode. The headphone box can also display a theme mode corresponding to the terminal on the display screen in response to the establishment of a connection between the headphone body and the terminal and the transmission of service data from the terminal to the headphone body. In this way, by displaying a theme mode corresponding to the terminal on the display screen of the headphone box, the theme mode displayed by the headphone box can be coordinated with the theme mode of the terminal, thereby bringing a more unified and immersive visual experience to the user.

[0227] It should be noted that the theme mode displayed on the earphone box corresponding to the terminal can be found in the aforementioned embodiment in S1304, and will not be repeated here.

[0228] It should be understood that the above embodiments illustrate the interaction method provided in this application by taking the example of the earphone body being able to connect to two terminals simultaneously. For cases where the earphone body connects to one terminal or more than two terminals, elements corresponding to the terminal's identification information, area, etc., and the terminal's connection status can be appropriately reduced or added based on the earphone body connecting to two terminals. This application embodiment does not impose any limitation on the number of terminals the earphone body can connect to simultaneously.

[0229] The following description uses the interaction method provided in the embodiment of this application, executed by the headphones. Figure 16 is a flowchart of another interaction method provided in the embodiment of this application. As shown in Figure 16, the method includes the following steps S1601 to S1602.

[0230] S1601, The headset displays the first interface, which includes the terminal's identification information.

[0231] In this embodiment, the first interface can be the aforementioned first interface 40.

[0232] S1602. In response to the user's first operation on the terminal's identification information, the headset transmits a connection request to the terminal and receives the connection result returned by the terminal. The connection result is used to indicate that the headset and the terminal are successfully connected.

[0233] In this embodiment, the first operation can be the first operation in the embodiment of S302 described above.

[0234] It should be noted that the information interaction between the earphone case and the earphone body in the foregoing embodiments can be regarded as the internal interaction of the earphones in this application embodiment, the display of the earphone case can be regarded as the display of the earphones in this application embodiment, and the information interaction between the earphone case, the earphone body and the terminal can all be regarded as the information interaction between the earphones and the terminal in this application embodiment. Therefore, the description of the same steps and the same content as in the foregoing embodiments in this application embodiment can be referred to the description in the foregoing embodiments, and will not be repeated here.

[0235] In this embodiment, the headset's display screen can show a first interface including the terminal's identification information. When the headset needs to connect to the terminal, the user can perform a first operation on the terminal's identification information to initiate the connection process between the headset and the terminal, thereby improving the headset's human-computer interaction capabilities. After the connection process is initiated, the headset sends a connection request to the terminal and receives a connection success result returned by the terminal. Thus, the headset and the terminal are successfully connected. In this way, a simple operation on the headset's display screen is all that's needed to connect the headset to the terminal. Compared to existing technologies, this eliminates the need for a separate terminal, allowing for seamless connection between the headset and the terminal as needed, simplifying the connection process.

[0236] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0237] This application also provides an earphone, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the methods shown in the above embodiments.

[0238] This application also provides a chip system including a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, implements the methods described in the above embodiments.

[0239] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods provided in the above embodiments.

[0240] This application also provides a computer program product, which includes a computer program that, when run by headphones, causes the headphones to implement the methods provided in the above embodiments.

[0241] It should be understood that the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0242] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0243] In the embodiments provided in this application, the division of each framework or module is only a logical functional division. In actual implementation, there may be other division methods. For example, multiple frameworks or modules may be combined or integrated into another system, or some features may be ignored or not executed.

[0244] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0245] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0246] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An interaction method, characterized in that, The method is applied to an earphone, the earphone comprises an earphone box and an earphone body, the earphone box is provided with a display screen, and the method comprises the following steps: The earphone box displays a first interface on the display screen, and the first interface comprises identification information of a terminal; The earphone box transmits a first message to the earphone body in response to a first operation of a user on the identification information of the terminal, and the first message is used for indicating to establish a connection between the earphone body and the terminal.

2. The interaction method of claim 1, wherein, The method further comprises the following steps: The earphone body sends a connection request to the terminal in response to the first message.

3. The interaction method according to claim 1 or 2, characterized in that, The first interface further comprises state information of the terminal, and the state information of the terminal is used for indicating a service state of the terminal.

4. The interaction method according to any of claims 1-3, characterized in that, The first interface further comprises a connection state of the terminal and the earphone body, and the connection state comprises at least one of the terminal being connected to the earphone body and transmitting service data to the earphone body, the terminal being connected to the earphone body and not transmitting service data to the earphone body, and the terminal having been paired with the earphone body but not being connected to the earphone body.

5. The interaction method of claim 4, wherein, The first interface comprises a first area, a second area and a third area, the first area is used for displaying the identification information of the terminal being connected to the earphone body and transmitting service data to the earphone body; the second area is used for displaying the identification information of the terminal being connected to the earphone body and not transmitting service data to the earphone body; and the third area is used for displaying the identification information of the terminal having been paired with the earphone body but not being connected to the earphone body; 6. The interaction method of claim 5, wherein, The first area is adjacent to the second area and surrounded by the second area, and the second area is adjacent to the third area and surrounded by the third area.

7. The interaction method according to any of claims 1-6, characterized in that, The relative position of the identification information of the terminal and the first interface center corresponds to the relative position of the terminal and the earphone box.

8. The interaction method of claim 7, wherein, The earphone box is provided with a first antenna, and the method further comprises the following steps: The earphone box obtains the relative position of the terminal and the earphone box through the first antenna.

9. The interaction method of claim 8, wherein, The earphone box is provided with a first antenna and the earphone body is provided with a second antenna, and the method further comprises the following steps: The earphone body obtains the relative position of the terminal and the earphone body through the second antenna, and transmits the relative position of the terminal and the earphone body to the earphone box; The earphone box obtains the relative position of the earphone body and the earphone box through the first antenna; The earphone box determines the relative position of the terminal and the earphone box based on the relative position of the terminal and the earphone body and the relative position of the earphone body and the earphone box.

10. The interaction method according to any of claims 1-9, characterized by, The method further comprises the following steps: The earphone box displays a prompt window corresponding to the first service in the display screen in response to receiving a request sent by the terminal for requesting the first service in the case that the terminal has been paired with the earphone body but not connected to the earphone body. The method further comprises the following steps:

11. The interaction method according to any of claims 1-10, characterized by, The earphone box displays the state information of the earphone in response to a second operation of a user on the earphone. The method further comprises the following steps:

12. The interaction method according to any of claims 1-11, characterized by, The earphone box receives the sign information of a user; ​ The earphone box transmits a first instruction to the earphone body in response to the sign information; The earphone body sets a play mode to the play mode indicated by the first instruction.

13. The interaction method according to any of claims 1-12, characterized by, The method further comprises: The earphone box displays a theme mode corresponding to the terminal in the display screen in response to the establishment of a connection with the terminal and the transmission of service data from the terminal to the earphone body.

14. An earphone, characterized by Comprise: A processor coupled with a memory, the memory being configured to store programs or instructions, when the programs or instructions are executed by the processor, make the earphone execute the method of any one of claims 1-13.

15. A chip system, characterized by The chip system comprises a memory and a processor, and the processor is configured to execute a computer program stored in the memory to realize the method of any one of claims 1-13.

16. A computer readable storage medium having stored thereon a computer program or instructions, characterized in that, The computer program or instruction is executed to make the computer execute the method of any one of claims 1-13.

17. A computer program product, characterised in that, The computer program instruction makes the computer execute the method of any one of claims 1-13.