An interaction method, device and computer readable storage medium

CN122554984APending Publication Date: 2026-08-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

而耳机盒,作为容纳和保护耳机本体的重要配件,其主要功能仅局限于为耳机充电和便携存储,缺乏更丰富的人机交互手段

Benefits of technology

[0043]在本申请的第二方面至第六方面的技术方案的有益效果可以参考第一方面的技术方案的有益效果,此处不再赘述。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122554984A_ABST
    Figure CN122554984A_ABST
Patent Text Reader

Abstract

This application provides an interaction method, device, and computer-readable storage medium. The method is applied to headphones, which include a headphone case and a headphone body. The headphone case is equipped with a display screen. The method includes: the headphone case displaying a first interface on the display screen, the first interface including terminal identification information; and the headphone case transmitting a first message to the headphone body in response to a user's first operation on the terminal identification information, the first message indicating the establishment of a connection between the headphone body and the terminal. This improves the human-computer interaction capabilities of the headphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] 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

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

[0004] 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.

[0005] 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.

[0006] 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.

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

[0008] 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.

[0009] 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.

[0010] 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.

[0011] 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.

[0012] 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.

[0013] 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.

[0014] 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.

[0015] 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.

[0016] 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.

[0017] 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.

[0018] 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.

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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.

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

[0025] 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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

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

[0045] Figure 2 This is a schematic diagram of the structure of an earphone provided in an embodiment of this application;

[0046] Figure 3 A flowchart illustrating an interaction method provided in an embodiment of this application;

[0047] Figure 4 This application provides a schematic diagram illustrating the effect of human-computer interaction in an embodiment of the present application.

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

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

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

[0051] Figure 6c Another schematic diagram of a first interface provided in the embodiments of this application;

[0052] Figure 6d Another schematic diagram of a first interface provided in the embodiments of this application;

[0053] Figure 7a This application provides a schematic diagram of signal transmission for relative position in an embodiment of the present application.

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

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

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

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

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

[0059] Figure 12 This is a flowchart illustrating the interaction method for paired but unconnected terminals when high-priority services occur, as provided in an embodiment of this application.

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

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

[0062] Figure 15 A flowchart illustrating how to adjust the playback mode of headphones based on a user's vital sign information, as provided in this application embodiment;

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

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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.

[0068] 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.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] Optionally, the headphones in this application embodiment can be wireless headphones; wireless headphones can be, for example, Nearlink (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.

[0074] like Figure 1 The diagram shown is a scenario illustration corresponding to the interaction method provided in an embodiment of this application. See also... Figure 1 The interaction method provided in this application embodiment uses a wireless headset as an example. This scenario includes a wireless headset 10 and at least one terminal 11, with the at least one terminal 11 communicatively connected to the wireless headset 10.

[0075] 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.

[0076] 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 has been paired and connected to the wireless headset 10 and transmits service data to the wireless headset 10 (e.g., ...). Figure 1 The mobile phone 011 shown is paired with and connected to the wireless headset 10, and a terminal (such as...) that has not transmitted service data to the wireless headset 10. Figure 1 The mobile phone 012 shown, or a terminal that has been paired with but not connected to the wireless headset 10 (such as...) Figure 1 The tablet computer 013 and the laptop computer 014 shown are illustrated.

[0077] For example, different areas can be used to display the terminal 11 in different connection states to represent the connection status of the terminal 11 with the wireless headset 10. For example Figure 1 As shown, the identification information 021 of mobile phone 011 can be displayed in the first area 121, the identification information 022 of mobile phone 012 can be displayed in the second area 122, and the identification information 023 of tablet computer 013 and the identification information 024 of laptop computer 014 can be displayed in the third area 123.

[0078] 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).

[0079] 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.

[0080] 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.

[0081] Taking wireless headphones as an example, Figure 2 A schematic diagram of the hardware structure of the wireless earphone 10 is shown. See also... Figure 2 The wireless headset 10 provided in this application 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, a button 270, an indicator 280, a display screen 290, etc.

[0082] 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.

[0083] 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.

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] 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.

[0095] 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.

[0096] 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.

[0097] 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.

[0098] 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.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] 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).

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] 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.

[0108] 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.

[0109] 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.

[0110] 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 than Figure 2 The number of components shown may be more or less, two or more components may be combined, or different component configurations may be present. For example, the wireless earphone 10 may also include a dustproof mesh (which can be used with the earpiece) component. Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application-specific integrated circuits.

[0111] The following combination Figure 1 The scene shown and Figure 2 The following embodiments illustrate the interaction method provided in this application through the illustrated headphones.

[0112] Figure 3An interaction method provided in this application embodiment allows for connection operations to be performed via the terminal's identification information displayed on the headphone case's screen when the terminal is not connected to the headphone itself. See also... Figure 3 The method is applied to headphones, which include a headphone case and a headphone body, the headphone case being provided with a display screen. The method includes the following steps S301 to S302.

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

[0114] 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.

[0115] 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.

[0116] 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.

[0117] 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).

[0118] 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.

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

[0120] As an example, such as Figure 4As shown, taking the first operation as a click operation as an example, see [link / reference]. Figure 4 The first interface 40 shown in (a) includes identification information 024 of a laptop 014, which is paired with but not connected to the headphone body 102. The headphone case 101 receives a click operation on the identification information 024 of the laptop 014 and displays... Figure 4 The connection control shown in (a) transmits a first message to the headphone body 102 after receiving a click operation on the connection control, instructing the headphone body 102 to establish a connection with the laptop computer 014.

[0121] 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.

[0122] As another example, such as Figure 5 As shown, taking the first operation as a drag operation as an example, see [link / reference]. Figure 5 The first interface 40 shown in (a) further 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.

[0123] 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. See also Figure 3 The interaction method provided in this application embodiment also includes the following S303.

[0124] 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.

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

[0126] 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.

[0127] 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.

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

[0129] As another example, such as Figure 5 As shown in (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 case 101. Based on the connection result, the earphone case 101 displays the identification information of the laptop 014 in the first interface 40 as shown in (a). Figure 5 As shown in (b), in the connecting region 401.

[0130] 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.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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).

[0136] 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.

[0137] 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.

[0138] 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.

[0139] As an example, using the terminal's identification information as a graphic, all three areas are circular in shape. Figure 6a As shown, 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: first area 121, second area 122, and third area 123. First area 121 displays the identification information of the terminals in the first connection state (i.e., identification information 021 of mobile phone 011), 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 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).

[0140] It should be understood that, Figure 6a In each region, the first region 121 and the second region 122 are used to display the identification information of the connected terminals. In scenarios where the headset can connect to two terminals simultaneously, each of these two regions can have a maximum of one terminal. Therefore, the shape and area of ​​the first region 121 and the second region 122 can be the same. However, the third region 123 can contain more than one terminal. Therefore, the shape of the third region 123 can be the same as the first region 121 and the second region 122, while its area can be larger than either the first region 121 or the second region 122. For details, please refer to [link to relevant documentation]. Figure 6a As shown.

[0141] 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.

[0142] Combination Figure 6a As another example, the display effect is as follows: the first area 121 is adjacent to and surrounded by the second area 122, and the second area 122 is adjacent to and surrounded by the third area 123. Figure 6b The first interface shown is 40.

[0143] It should be noted that, Figure 6a and Figure 6bTaking a circle as an example, the shape of each area can be selected according to actual needs. For example, the shape of the area can also be an ellipse, a rounded rectangle, etc.

[0144] 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.

[0145] As an example, if the first interface 40 does not include the aforementioned first, second, and third areas, and the terminal's identification information is used as an example, see [link to example]. Figure 6c or Figure 6d As shown. 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 status code is used as the connection identifier: the status code of mobile phone 011 is 01, the status code of mobile phone 012 is 02, and the status code of tablet computer 013 and laptop computer 014 is 03.

[0146] 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.

[0147] For example, see Figures 6a-6d If tablet 013 is running a video application, then 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, then the corresponding service status will be displayed as "conferencing" in the identification information of laptop 014.

[0148] 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.

[0149] 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 identifier corresponds to the relative position of the terminal and the headphone case. For example, see... Figure 6a The first interface 40 shown indicates the relative position of the identification information 021 of mobile phone 011 in the first area 121. The identification information 022 of mobile phone 012 in the second area 122 indicates the relative position of mobile phone 012 and earphone case 101. 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 position of tablet computer 013 and earphone case 101.

[0150] In another application scenario, the first interface includes areas corresponding to each connection state. Since the terminal in the first connection state is the terminal transmitting service data to the earphone body, the identification information of the terminal in this first connection state can be a fixed position within this area, without indicating the relative position of the terminal to the earphone case. For example, see... Figure 6b In the first interface 40 shown, mobile phone 011, as the terminal currently transmitting business data, has its identification information 021 located in 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 referenced. Figure 6a The relevant explanations in the document will not be repeated here.

[0151] 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 itself. For example, see... Figure 6d As shown, the identification information 021 of mobile phone 011, located at the boundary of the first interface 40, indicates the relative position of mobile phone 011 and headphone case 101. The identification information 022 of mobile phone 012, located at the boundary of the first interface 40, indicates the relative position of mobile phone 012 and headphone case 101. The identification information 023 of tablet computer 013, located at the boundary of the first interface 40, indicates the relative position of tablet computer 013 and headphone case 101. The identification information 024 of laptop computer 014, located at the boundary of the first interface 40, indicates the relative position of laptop computer 014 and headphone case 101.

[0152] In other embodiments, the earphone case can be represented by terminal identification information, and the terminal's connection identifier can be used to indicate the terminal. The relative position of the terminal and the earphone case is indicated by the relative position of the connection identifier and the identification information. For example, see... Figure 6c The relative positions of connection identifier 01 and identification information 021 indicate the relative positions of mobile phone 011 and headphone box 101; the relative positions of connection identifier 012 and identification information 022 indicate the relative positions of mobile phone 012 and headphone box 101; the relative positions of connection identifier 03 and identification information 023 of tablet computer 013 indicate the relative positions of tablet computer 013 and headphone box 101; the relative positions of connection identifier 03 and identification information 024 of laptop computer 014 indicate the relative positions of laptop computer 014 and headphone box 101.

[0153] In one implementation, see 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.

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

[0155] In one implementation, such as Figure 7a As shown, 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.

[0156] In another implementation, see Figure 7b The relative position of the terminal (e.g., mobile phone 012) and the earphone box 101 can be obtained through the first antenna on the earphone box 101 and the 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.

[0157] 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.

[0158] like Figure 7bAs shown, the earphone body 102 receives a second signal from the mobile phone 012 via 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 via 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.

[0159] 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.

[0160] See 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 connection state of the terminal can be switched through the following embodiments. In practical applications, the aforementioned first operation is not limited to establishing a connection between the terminal and the headset, but can also realize the 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.

[0161] As an example, combined Figure 6b , refer to Figure 8 Taking the first operation as a click operation as an example, the receiver receives the data. Figure 8 Clicking on the identifier information 021 shown in (a) displays Figure 8 The disconnect control shown in (a) is displayed, and upon receiving a click operation on the disconnect control, the identification information displayed in the first area 121 changes from identification information 021. Figure 8 The identification information 022 shown in (b) is removed; at the same time, 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.

[0162] Based on the above, upon receiving the target Figure 8 After clicking the identification information 024 shown in (b), the following will be displayed: Figure 8 The connection control shown in (b) is displayed in the second area 122 after a click operation is received on the connection control. Figure 8The identification information 024 shown in (c) is removed, and the identification information 024 displayed in the third area 123 is also removed. Correspondingly, the connection status of the laptop 014 is updated from the third connection status to the second connection status.

[0163] 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).

[0164] As another example, combined Figure 6b See Figure 9 Taking the first operation as a drag operation as an example, Figure 9 Dragging the identification information 021 to the blank space of the third area 123 will disconnect the mobile phone 011 from the earphone body, and the identification information 021 will be displayed in the third area 123 to indicate the relative position of the mobile phone 011 and the earphone box. The connection status of the mobile phone 011 will be updated from the first connection status to the third connection status.

[0165] As yet another example, combined with Figure 6b , refer to Figure 10 Taking the first operation as a drag operation as an example, Figure 10 Drag the identifier 021 shown in (a) onto the identifier 023 in the third area 123 to exchange the corresponding areas of the two identifiers. See also Figure 10 As shown in (b), identification information 023 is displayed in the first area 121, and identification information 023 is also displayed in the third area 123 to indicate the relative position of the mobile phone 011 and the headset. Accordingly, 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.

[0166] Combination 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.

[0167] 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.

[0168] 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.

[0169] It is easy to understand that the method of exchanging identification information between any two terminals in different areas of the display screen can be referred to the above. Figure 10 The specific implementation examples are not described here.

[0170] 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.

[0171] 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.

[0172] 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.

[0173] See Figure 11The diagram illustrates a standby interface. This standby interface 90 displays the status information of the earphones, such as the earphone's battery level 91, the earphone's charging case status 92, and the charging case's battery level 93, as shown in the diagram. Figure 9 In the standby interface 90 shown, the battery information 91 for the earphones displays L43%, indicating that the left earphone has a remaining battery of 43%, and R86%, indicating that the right earphone has a remaining battery of 86%. The earphone's in-charge status information 92 indicates that the right earphone is in the earphone case, while the left earphone is not. The battery information 93 for the earphone case displays 30%, indicating that the earphone case currently has a remaining battery of 30%.

[0174] In some embodiments, based on Figure 11 The aforementioned preset interface can be a standby interface, and the first operation can 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 can also be a click or tap operation on other preset interfaces, or it can 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.

[0175] 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.

[0176] Figure 12 This is a flowchart illustrating an interaction method provided in one 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 corresponding prompt message 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. The method may include the following steps S1201 to S1202.

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

[0178] 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.

[0179] 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.

[0180] 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.

[0181] 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.

[0182] For example, in conjunction with the foregoing Figure 6b Assume the terminal identifier for tablet 013 is: HUAWEI MatePad. (Refer to...) Figure 13 When the tablet 013 receives a video call request while running a game application, a pop-up message 41 stating "HUAWEI MatePad has a video call request" can be displayed on the first interface 40.

[0183] 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.

[0184] 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.

[0185] 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.

[0186] 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 is transmitting service data to the earphone body. The second terminal is connected to the earphone body but is not transmitting service data to the earphone body. The third terminal is paired with the earphone body but is not connected to the earphone body. 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 terminal, second terminal, and third terminal, 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. See also... Figure 14 The method includes the following steps S1401 to S1408.

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

[0188] 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.

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

[0190] 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.

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

[0192] 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.

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

[0194] Optionally, the broadcast is encrypted.

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

[0196] 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.

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

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

[0199] 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.

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

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

[0202] 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.

[0203] 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.

[0204] 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.

[0205] 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.

[0206] 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.

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

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

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

[0210] 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.

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

[0212] 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.

[0213] 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.

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

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

[0216] 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.

[0217] 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.

[0218] Building upon the S1503, the theme mode and audio mode displayed on the headphone case can also be determined based on the playback mode. (See reference...) Figure 15 The scheme may also include S1504 to S1505.

[0219] 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.

[0220] 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.

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

[0222] 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.

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

[0224] 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.

[0225] 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.

[0226] 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.

[0227] 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.

[0228] The following description uses the interaction method provided in the embodiments of this application, executed by the earphones, to illustrate the process. Figure 16 A flowchart illustrating another interaction method provided in an embodiment of this application is shown below. Figure 16 As shown, the method includes the following steps S1601 to S1602.

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

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

[0231] 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.

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

[0233] 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.

[0234] 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.

[0235] 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.

[0236] 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.

[0237] 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.

[0238] 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.

[0239] 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.

[0240] 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.

[0241] 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).

[0242] 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.

[0243] 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.

[0244] 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.

[0245] References to "one embodiment" or "some embodiments" as described 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.

[0246] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. An interaction method, characterized in that, Applied to headphones, the headphones including a charging case and headphones themselves, the charging case being provided with a display screen, the method comprising: The earphone case displays a first interface on the display screen, the first interface including the terminal's identification information; In response to a user's first operation on the identification information of the terminal, the earphone case 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.

2. The interaction method of claim 1, wherein, The method further includes: In response to the first message, the earphone itself sends a connection request to the terminal.

3. The interaction method according to claim 1 or 2, characterized in that, The first interface also includes the status information of the terminal, which is used to indicate the service status of the terminal.

4. The interaction method according to any of claims 1-3, characterized in that, The first interface also includes the connection status between the terminal and the earphone body. The connection status includes at least one of the following: the terminal is connected to the earphone body and transmitting service data to the earphone body; the terminal is connected to the earphone body but not transmitting service data to the earphone body; and the terminal is paired with the earphone body but not connected to the earphone body.

5. The interaction method of claim 4, wherein, The first interface includes a first area, a second area, and a third area. The first area is used to display the identification information of the terminal that is connected to the earphone body and transmits service data to the earphone body. The second area is used to display the identification information of the terminal that is connected to the earphone body but does not transmit service data to the earphone body. The third area is used to display the identification information of the terminal that has been paired with the earphone body but is not connected to the earphone body.

6. The interaction method of claim 5, wherein, 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.

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

8. The interaction method of claim 7, wherein, The earphone case is equipped with a first antenna, and the method further includes: 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 case is provided with a first antenna and the earphone body is provided with a second antenna; the method further includes: 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 case obtains the relative position of the earphone body and the earphone case through the first antenna; The earphone case determines the relative position of the terminal and the earphone body based on the relative positions of the terminal and the earphone body, and the relative positions of the earphone body and the earphone case.

10. The interaction method according to any of claims 1-9, characterized by, The method further includes: When the terminal has been paired with the earphone body but not connected to the earphone body, the earphone box responds to receiving a request from the terminal for requesting a first service. When the first service is a preset service, the earphone box displays a prompt window corresponding to the first service on the display screen.

11. The interaction method according to any one of claims 1-10, characterized in that, The method further includes: The earphone case responds to a second operation on the earphones by displaying the status information of the earphones.

12. The interaction method according to any one of claims 1-11, characterized in that, The method further includes: The earphone case receives the user's vital signs information; The earphone box responds to the vital sign information and transmits a first command to the earphone body; The earphone body sets the playback mode to the playback mode indicated by the first instruction.

13. The interaction method according to any of claims 1-12, characterized by, The method further includes: In response to establishing a connection with the terminal and the terminal transmitting service data to the earphone body, the earphone box displays a theme mode corresponding to the terminal on the display screen.

14. An earphone, characterized by include: A processor coupled to a memory for storing a program or instructions which, when executed by the processor, cause the earphones to perform the method of any one of claims 1-13.

15. A chip system, characterized by The chip system includes a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the method as described in any one of claims 1-13.

16. A computer readable storage medium having stored thereon a computer program or instructions, characterized in that, When the computer program or instructions are executed, they cause the computer to perform the method as described in any one of claims 1-13.

17. A computer program product, characterised in that, It includes computer program instructions that cause the computer to perform the method as described in any one of claims 1-13.