Earphone control method and device
By displaying and dragging a headphone icon to a specific area on an electronic device, the problem of headphone devices being unable to play different audio simultaneously in the prior art is solved, enabling a user-friendly experience of listening to different audios by multiple people or one person, and improving the efficiency of headphone devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2022-12-23
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, when two people use a single pair of headphones, they cannot listen to different audio simultaneously. They need to manually switch the working states of the headphones and electronic devices, which is cumbersome and affects user efficiency.
By displaying an icon of the headphone device on the electronic device and allowing users to drag the icon to a specific area to control each headphone to play different audio, quick pairing of headphones with audio can be achieved.
It enables multiple users to listen to different audio simultaneously or a single user to listen to different audio separately, improving the efficiency of users using headphone devices.
Smart Images

Figure CN115955624B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a headphone control method and device. Background Technology
[0002] With the development of science and technology, people have become accustomed to wearing headphones in many situations, and it's also common for two people to use a single pair of headphones. In related technologies, two people can each listen to the same audio output from an electronic device through the left and right earpieces of a single pair of headphones. However, since the left and right earpieces of a single pair of headphones cannot play different audio, if two people want to listen to different audio outputs from an electronic device using the same pair of headphones, they need to manually switch the operating states of the headphones and the electronic device. This process is cumbersome and affects the efficiency of using the headphones. Summary of the Invention
[0003] The purpose of this application is to provide a headphone control method and device that can solve the problem in related technologies where the left and right earphones of a headphone device cannot play different audio, resulting in low efficiency for users when using the headphone device.
[0004] In a first aspect, embodiments of this application provide a headphone control method applied to an electronic device, which may include:
[0005] When a connection is established with a headphone device, the headphone icon of the headphone device is displayed. The headphone device includes a first headphone and a second headphone, and the headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone.
[0006] Receive a first input that moves the first headphone icon to the area where the first audio identifier is located;
[0007] In response to the first input, the first audio corresponding to the first audio identifier is played through the first headphones.
[0008] Secondly, embodiments of this application provide a headphone control device applied to an electronic device, which may include:
[0009] The display module is used to display the headphone icon of the headphone device when a connection is established with the headphone device. The headphone device includes a first headphone and a second headphone, and the headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone.
[0010] The receiving module is used to receive a first input that moves the first headphone icon to the area where the first audio identifier is located;
[0011] A playback module is used to respond to a first input by playing a first audio signal corresponding to a first audio identifier through a first headset.
[0012] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the headphone control method as described in the first aspect.
[0013] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the headphone control method as described in the first aspect.
[0014] Fifthly, embodiments of this application provide a chip, which includes a processor and a display interface, the display interface and the processor being coupled together, the processor being used to run programs or instructions to implement the steps of the headphone control method as shown in the first aspect.
[0015] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the headphone control method as described in the first aspect.
[0016] In this embodiment, when a connection is established with a headphone device, a headphone icon of the headphone device is displayed. The headphone device includes a first headphone and a second headphone, and the headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone. Then, a first input is received to move the first headphone icon to the area where the first audio identifier is located. In response to the first input, the first audio corresponding to the first audio identifier is played through the first headphone. In this way, by moving the headphone icon displayed in the electronic device, the audio to be played on each headphone can be quickly determined. While effectively reducing user operations, any one headphone of a headphone device can be controlled to play the first audio. This allows different audio to be played through the first and second headphone respectively, enabling multiple users to listen to different audio simultaneously or a single user to listen to different audio separately, thus improving the efficiency of the user's use of the headphone device. Attached Figure Description
[0017] Figure 1 A flowchart of an earphone control method provided in an embodiment of this application;
[0018] Figure 2 One of the schematic diagrams of an electronic device for an embodiment of the headphone control method provided in this application;
[0019] Figure 3 A second schematic diagram of the architecture of an electronic device for an embodiment of the headphone control method provided in this application;
[0020] Figure 4This is one of the interface interaction diagrams of an earphone control method provided in an embodiment of this application;
[0021] Figure 5 A second schematic diagram of the interface interaction of a headphone control method provided in an embodiment of this application;
[0022] Figure 6 The third schematic diagram of the interface interaction of a headphone control method provided in this application embodiment;
[0023] Figure 7 This application provides a fourth schematic diagram of the interface interaction of a headphone control method.
[0024] Figure 8 The fifth schematic diagram of the interface interaction of a headphone control method provided in this application embodiment;
[0025] Figure 9 This application provides a sixth schematic diagram of the interface interaction of an earphone control method.
[0026] Figure 10 This application provides a seventh schematic diagram of the interface interaction of an earphone control method;
[0027] Figure 11 This is a schematic diagram of the structure of an earphone control device provided in an embodiment of this application;
[0028] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0029] Figure 13 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0030] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0031] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0032] To address the problems in related technologies, this application provides a headphone control method, which is described below in conjunction with the accompanying drawings. Figures 1-10 The headphone control method provided in this application will be described in detail through specific embodiments and application scenarios.
[0033] First, combined Figure 1 The headphone control method provided in the embodiments of this application will be described in detail.
[0034] Figure 1 This is a flowchart of an earphone control method provided in an embodiment of this application.
[0035] like Figure 1 As shown, the headphone control method provided in this application embodiment can be applied to electronic devices, and the method may include the following steps:
[0036] Step 110: When a connection is established with the headphone device, display the headphone icon of the headphone device, the headphone device including a first headphone and a second headphone, the headphone icon including a first headphone icon of the first headphone and a second headphone icon of the second headphone; Step 120: Receive a first input to move the first headphone icon to the area where the first audio identifier is located; Step 130: In response to the first input, play the first audio corresponding to the first audio identifier through the first headphone.
[0037] In this way, the headphone icon displayed on the mobile electronic device can quickly identify the audio to be played on each headphone. This effectively reduces user operations while controlling any one headphone in a pair of headphones to play the first audio. Furthermore, different audio can be played through the first and second headphones respectively, allowing multiple users to listen to different audio simultaneously or a single user to listen to different audio separately, thus improving the efficiency of using the headphone device.
[0038] The steps described above are explained in detail below.
[0039] The headphone device in this application embodiment can be a wired headphone or a wireless headphone. The wireless headphone can be a Bluetooth headphone, an infrared headphone, or a 2.4G headphone, etc., that transmits audio via radio wave reception from an electronic device. More specifically, the Bluetooth headphone can be a true wireless stereo (TWS) headphone. The electronic device in this application embodiment can be a single-screen device, a foldable dual-screen device, a rollable screen device, a dual-screen device, etc. Here, this application embodiment uses the headphone device as a TWS device and the electronic device as a single-screen device or a dual-screen device as examples to describe the headphone control method provided in this application embodiment, without limiting the headphone device and electronic device.
[0040] In one example, such as Figure 2 As shown, the earphone device can be a TWS device, and the electronic device can be a single-screen device. The TWS device can include an earphone case 20, and a first earphone 201 and a second earphone 202 placed inside the earphone case 20. Optionally, the first earphone and the second earphone can be the left and right earphones of the same device.
[0041] Based on this, steps 110 to 130 above will be illustrated with examples.
[0042] Continue to refer to Figure 2 The user can open the earphone case lid 21 of the TWS device's earphone case 20. At this time, the electronic device communicating with the TWS device can display a first interface, which may include a first earphone icon 201' of the first earphone 201 and a second earphone icon 202' of the second earphone 202. The user can then drag the first earphone icon 201' and the second earphone icon 202' to change their positions on the first interface. Thus, when the electronic device receives a first input from the user moving the first earphone icon 201' to the area where the first audio identifier is located, it responds to the first input by playing the first audio corresponding to the first audio identifier through the first earphone 201. Similarly, when the electronic device receives an input from the user moving the second earphone icon 202' to the area where the second audio identifier is located, it plays the second audio corresponding to the second audio identifier through the second earphone.
[0043] In this way, each earphone can be quickly paired with the audio to be played on each earphone by displaying the headphone icon on the mobile electronic device. This effectively reduces user operations while controlling the first and second earphones of a headphone device to play different audio. This allows multiple users to listen to different audio at the same time or a single user to listen to different audio through different earphones, improving the efficiency of using headphone devices.
[0044] In another example, such as Figure 3 As shown, the earphone device can be a TWS device, which includes an earphone case 20 and a first earphone 201 and a second earphone 202 placed in the earphone case 20. The electronic device is a dual-screen device. The dual-screen device includes a first screen 210 and a second screen 220. The first screen 210 displays a first audio identifier for a first audio, and the second screen 220 displays a second audio identifier for a second audio.
[0045] Based on this, steps 110 to 130 above will be explained.
[0046] Reference Figure 3 The user can open the earphone case lid 21 of the TWS device's earphone case 20. At this time, the first screen 210 of the electronic device 21, which is communicatively connected to the TWS device, can display a first interface. This first interface can include a first earphone icon 201' of the first earphone 201 and a second earphone icon 202' of the second earphone 202. The user can then drag the first earphone icon 201' and the second earphone icon 202' to change their positions on the first screen 210 and the second screen 220. Thus, when the electronic device receives a first input from the user to move the first earphone icon 201' to the first screen (i.e., the area where the first audio identifier is located), it responds to the first input by playing the first audio corresponding to the first audio identifier through the first earphone 201. Similarly, when the electronic device receives an input from the user to move the second earphone icon 202' to the second screen (i.e., the area where the second audio identifier is located), it plays the second audio corresponding to the second audio identifier through the second earphone 202.
[0047] Furthermore, based on the fact that the first earphone is already associated with the first audio (or the second earphone is already associated with the second audio), the earphone control method provided in this application embodiment, in addition to controlling the earphone to play audio by moving the earphone icon as described above, can also trigger the earphone to play audio by flipping the two screens of the electronic device when the electronic device and the earphone device are connected. Based on this, the user can trigger the first earphone to play the first audio by folding and flipping the first screen 210 and the second screen 220. Alternatively, the user can trigger both the first earphone to play the first audio and the second earphone to play the second audio.
[0048] Specifically, when the electronic device receives input from the user folding and flipping the first screen 210 and the second screen 220, it can send a first instruction to the first earphone 201 and a second instruction to the second earphone 202. The first instruction carries first audio data of the first audio and is used to instruct the first earphone to play the first audio according to the first audio data. The second instruction carries second audio data of the second audio and is used to instruct the second earphone to play the second audio according to the second audio data.
[0049] Additionally, refer to Figure 2 and Figure 3 If the currently displayed interface includes two audio identifiers, such as a first audio identifier for a first audio and a second audio identifier for a second audio, then in response to the first input, the first audio corresponding to the first audio identifier can be played through the first earphone, and the second audio can be played through the second earphone. This reduces the need for the user to move the second earphone icon, improving playback efficiency.
[0050] Therefore, by displaying different audio on different screens of electronic devices, each headphone can be quickly bound to the audio displayed on the screen where the headphone icon is located by moving the headphone icon to the interface of different screens. This effectively reduces user operations while controlling the first and second headphones of a headphone device to play different audio, allowing multiple users to listen to different audio simultaneously or a single user to listen to different audio separately, thus improving the efficiency of using headphone devices.
[0051] It should be noted that the headphone control method provided in this application can be applied to scenarios where there is only one electronic device and one pair of headphones, and multiple people use the headphones to listen to different audio; or, it can be applied to scenarios where the same user wants to listen to different audio from different applications, or different audio from the same application, using one electronic device and one pair of headphones; or, it can also be applied to scenarios where two electronic devices and one pair of headphones are used to listen to different audio. It is understood that the headphone control method provided in this application can be applied to scenarios where one pair of headphones is used to play different audio.
[0052] In another or more possible embodiments, different headphones can be associated with different applications so that audio from different applications can be played through each headphone. Specifically, the electronic device may include a first application, and the first audio is the audio in the first application. Based on this, after step 220, the headphone control method provided in this embodiment may further include:
[0053] Link the first earphone and the first application;
[0054] The third audio from the first application is played through the first headphones. The third audio is any audio in the first application other than the first audio.
[0055] Based on this example, an electronic device can play audio from a first application through the first earpiece by sending a command to the first earpiece. Therefore, the aforementioned step of playing the third audio from the first application through the first earpiece can specifically include:
[0056] A first instruction is sent to the first earphone. The first instruction carries audio data of the first application and is used to instruct the first earphone to play audio corresponding to the audio data of the first application.
[0057] Similarly, the electronic device may also include a second application, and the second audio is the audio within the second application. If the electronic device controls the second earphone to play the second audio, it can send a second instruction to the second earphone. The second instruction carries the audio data of the second application and is used to instruct the second earphone to play the audio corresponding to the audio data of the second application.
[0058] In this way, the headphone icon displayed on the mobile electronic device associates each headphone with a different audio source. Furthermore, if different audio sources are from different applications, the user can associate different headphones with different applications by moving the headphone icon once, quickly determining the audio range to be played on each headphone. This effectively reduces user operations while controlling the first and second headphones of a headphone device to play different audios, allowing multiple users to listen to different audios simultaneously or a single user to listen to different audios separately, thus improving the efficiency of using the headphone device.
[0059] In another possible embodiment, the electronic device further includes a third audio signal. Based on this, after step 130, the headphone control method provided in this application embodiment may further include:
[0060] Receive a second input that moves the first headphone icon to the area where the third audio identifier is located;
[0061] In response to the second input, the first earphone is controlled to switch from playing the first audio to the fourth audio corresponding to the third audio identifier.
[0062] Specifically, the steps described above regarding controlling the first earphone to switch playback from the first audio to the fourth audio corresponding to the third audio identifier may include:
[0063] A third command is sent to the first earpiece, carrying audio data for a fourth audio level. This third command instructs the first earpiece to stop playing the first audio level and to play the fourth audio level based on its audio data. In one example, while the first earpiece switches to playing the third audio level, the second earpiece continues playing its original audio.
[0064] For example, such as Figure 4 As shown, if the first audio, the second audio, and the fourth audio are different audios in the same application, the audio to be played by the first earphone can be determined by the user moving the earphone icon of any earphone, such as the position of the first earphone icon. That is, when the electronic device receives the third input from the user moving the first earphone icon 201' to the area 40 where the third audio identifier is located, a third instruction is sent to the first earphone. The third instruction carries the audio data of the fourth audio. The third instruction is used to instruct the first earphone to stop playing the first audio and play the fourth audio according to the audio data of the fourth audio. At this time, the second earphone continues to play the second audio, so that the two earphones will not interfere with each other. This allows for quick switching of the audio played by the earphones by moving the earphone icon displayed on the electronic device.
[0065] It should be noted that in this embodiment, the first audio, the second audio, and the fourth audio can also be audio from different applications. In this way, when the electronic device receives a third input from the user that the first headphone icon 201' is moved to the area 40 where the third audio is located, the electronic device can also associate the first headphone with the third application corresponding to the fourth audio, so that other audio from the third application can be played through the first headphone later.
[0066] In another or more possible embodiments, each headset can be quickly associated with a different application so that audio from different applications can be played through different headsets. Based on this, after step 130, the headset control method provided in this application embodiment may further include:
[0067] Receive a third input that moves the first headphone icon to the area where the second headphone icon is located;
[0068] In response to the third input, display N application icons associated with the first earphone, where N is a positive integer;
[0069] Associate each of the N application icons with the corresponding application of the second earphone, so that the second earphone plays the audio of the application corresponding to each application icon.
[0070] For example, such as Figure 5 As shown, the user can move the first headphone icon 201' to the area 50 where the second headphone icon 202' is located. In this way, the electronic device can associate each of the N application icons associated with the first headphone with the second headphone, so that the second headphone can play the audio of the corresponding application of each of the N application icons. In this way, the binding relationship between the headphone and the application can be easily set so that the audio of each of the N application icons can be played directly through the second headphone next time.
[0071] In another or more possible embodiments, after step 130, the headphone control method provided in this application embodiment may further include:
[0072] Receive the fourth input to the first headphone icon;
[0073] In response to the fourth input, N application icons associated with the first earpiece are displayed;
[0074] Receive the fifth input, which is the target application icon among N application icons;
[0075] In response to the fifth input, audio from the target application corresponding to the target application icon is played through the first earphone.
[0076] For example, such as Figure 6 As shown, the user can double-click or long-press the first headphone icon 201'. In this way, the electronic device can display the application icons of each of the N applications associated with the first headphone, such as application icon APP1 for application 1, application icon APP2 for application 2, and application icon APP3 for application 3, based on the user's fourth input to the first headphone icon 201'. Then, based on the target application icon APP2 selected by the user, the device determines the application icon APP2 of application 2 where the audio to be played by the first headphone is located, and plays the audio from the target application corresponding to the target application icon through the first headphone.
[0077] Specifically, a fourth instruction can be sent to the first earphone. The fourth instruction carries the audio data of the target application, such as application 2, corresponding to the target application icon APP2. The fourth instruction is used to instruct the first earphone to stop playing the first audio, play the audio in application 2 according to the audio data of the target application, such as application 2, and save the audio playback record of the first earphone.
[0078] In another or more possible embodiments, related audio can be quickly shared by inputting the headphone icon. After step 130, the headphone control method provided in this application embodiment may further include:
[0079] Receive the sixth input to the first headphone icon;
[0080] In response to the sixth input, a first message is sent to the social object, the first message including at least one of the following: the application icon of each of the N applications associated with the first earphone, the historical audio information played by the first earphone, and the audio information currently played by the first earphone.
[0081] Historical audio information may include: audio name and audio source data.
[0082] For example, a user can double-click, long-press, or drag the first headphone icon 201', so that when the electronic device receives the user's sixth input on the first headphone icon 201', it will share the application icon of each of the N applications associated with the first headphone, the name and source of the previously played audio, and the name and source of the currently played audio with the social media user.
[0083] In this way, by inputting the headphone icon, users can quickly share information while reducing user operations.
[0084] Of course, in practical applications, after the electronic device receives the user's seventh input (double-click, long-press, or drag the first headphone icon 201'), it can display the first message for the user to select, and then send the information selected by the user from the first message to the social media contact. This ensures that the shared content meets the user's needs.
[0085] In another or more possible embodiments, after step 130, the headphone control method provided in this application embodiment may further include:
[0086] The first interface displays the video playback, which includes a first video character and a second video character.
[0087] Receive the seventh input that moves the first headphone icon to the area where the first video character is located;
[0088] In response to the seventh input, audio associated with the first video character is played through the first headphones.
[0089] Specifically, in response to the seventh input, audio data of the first video character is sent to the first earpiece so that the first earpiece can play audio associated with the first video character based on the audio data of the first video character.
[0090] Similarly, the electronic device can send the audio data of the second video character to the second earpiece so that the second earpiece can play the audio associated with the second video character based on the audio data of the second video character.
[0091] For example, such as Figure 7 As shown, the currently playing video is A, which may include a first video character 1 and a second video character 2. The user can move the first headphone icon 201' to the area 70 where the first video character 1 is located. When the electronic device receives the eighth input from the user that the first headphone icon 201' has moved to the area 70 where the first video character 1 is located, it sends audio data of the first video character 1, such as "How is the weather today?", to the first headphone. It can also automatically associate the second headphone with the second video character 2 and then send audio data of the second video character 2, such as "The sun is shining, I like it very much," to the second headphone.
[0092] In this way, different headphones can be used to play the audio of different characters in the video, making it easier for users to distinguish between the characters.
[0093] In addition, in practical applications, if the video includes multiple video characters, such as 5 video characters, the user can also move the second headphone icon 202' to the area 71 where the third video character 3 is located, so that the user can choose the character audio they want to listen to according to their own wishes, thereby improving the efficiency of the user's use of the headphone device.
[0094] In another or more possible embodiments, the user can move the first headphone icon or the second headphone icon to different positions on the audio (or video) playback progress bar. This associates the playback intervals corresponding to different positions with their corresponding headphones, allowing audio within the associated playback area to be played through the corresponding headphones. After step 130, the headphone control method provided in this application embodiment may further include:
[0095] The second interface displays the audio playback, and includes the playback progress bar of the first audio.
[0096] Upon receiving an eighth input that moves the first headphone icon to the first position in the playback progress bar, audio within a first playback interval is played through the first headphone. The first playback interval includes the audio playback start point to the audio playback end point. The audio playback start point corresponds to the first position, and the audio playback end point corresponds to the end position of the playback progress bar.
[0097] Specifically, upon receiving an eighth input that moves the first headphone icon to the first position in the playback progress bar, the first headphone is associated with the first playback interval corresponding to the first position, so as to play an audio segment of the first playback interval through the first headphone;
[0098] Upon receiving the tenth input that moves the second headphone icon to the second position in the playback progress bar, the second headphone is associated with the second playback interval corresponding to the second position, so that the audio segment of the second playback interval is played through the second headphone.
[0099] For example, such as Figure 8As shown, the user can move the first headphone icon 201' to the first position on the audio (or video) playback progress bar. This first position corresponds to the first playback interval from 25:15 to 45:25. Thus, when the audio reaches 25:15, the user can play the audio from 25:15 to 45:25 through the first headphone. Similarly, the user can move the second headphone icon 202' to the second position on the audio (or video) playback progress bar. This second position corresponds to the second playback interval from 00:00 to 25:15. Thus, when the audio starts up to 25:15, the user can play the audio through the second headphone.
[0100] It should be noted that the first playback area and the second playback area can be the same, different, or partially the same; there are no restrictions on this.
[0101] In this way, it is possible to play the same audio at different playback progresses using different headphones from the same headphone device.
[0102] In addition, based on this example, the first playback interval of the first earphone can be set in advance, such as the playback interval from 25:15 to 45:25. Then, when the electronic device and the earphone device are connected and the audio is being played, it can directly jump to 25:15 and play the audio starting from 25:15 through the first earphone. In this way, it is possible to quickly switch and play audio segments.
[0103] In another or more possible embodiments, after step 130, the headphone control method provided in this application embodiment may further include:
[0104] Receive the ninth input that moves the first headphone icon to the area where the second headphone icon is located;
[0105] In response to the ninth input, obtain the first volume of the audio played by the first earphone;
[0106] Adjust the second volume of the audio playback on the second earphone to the first volume.
[0107] For example, refer to Figure 5 Users can move the first headphone icon 201' to the area 50 where the second headphone icon 202' is located. This allows them to obtain the first volume of the audio played by the first headphone and adjust the second volume of the audio played by the second headphone to the first volume. Conversely, users can move the second headphone icon 202 to the area where the first headphone icon 201' is located. This allows them to obtain the second volume of the audio played by the second headphone and adjust the first volume of the audio played by the first headphone to the second volume.
[0108] In another or more possible embodiments, the second method of adjusting the volume, after step 130, the headphone control method provided in this application embodiment may further include:
[0109] Receive the tenth input from the first mobile headphone icon;
[0110] In response to the tenth input, obtain the target display distance of the first and second headphone icons in the display interface;
[0111] Based on the preset association information between display distance and volume, obtain the target volume corresponding to the target display distance;
[0112] Adjust the volume of the audio played through the first and second headphones to the target volume.
[0113] For example, users can adjust the distance between the first headphone icon 201' and the second headphone icon 202' according to their habits. The greater the distance, the louder the volume, and vice versa. In this way, users are provided with a way to adjust the headphone volume through the headphone icon.
[0114] Of course, if the user has not adjusted the icon distance between the first headphone icon 201' and the second headphone icon 202', then the most recent adjustment of the icon distance between the first headphone icon 201' and the second headphone icon 202' by the user can be determined as the target display distance.
[0115] In another or more possible embodiments, after step 110, the headphone control method may further include:
[0116] The first audio is played through the first and second headphones;
[0117] Upon receiving an audio request to play the fifth audio, retrieve the fourth application where the fifth audio is located;
[0118] Based on the association information between the application and the headphones, obtain the headphones corresponding to the fourth application;
[0119] When the earphone corresponding to the second application is the first earphone, a fifth instruction is sent to the first earphone. The fifth instruction carries the fifth audio data of the fifth audio. The first instruction is used to instruct the first earphone to play the fifth audio according to the fifth audio data. At this time, the first earphone continues to play the first audio.
[0120] Alternatively, if no earphone corresponding to the fourth application is obtained, a fifth instruction can be sent to the second earphone. The fifth instruction carries the fifth audio data of the fifth audio. The first instruction is used to instruct the second earphone to play the fifth audio according to the fifth audio data. At this time, the first earphone continues to play the first audio.
[0121] Furthermore, in addition to displaying the headphone icon of the headphone device, the first interface of the headphone control method in this application embodiment can also display the application icons of N applications installed in the electronic device. Based on this, after step 110, the headphone control method may further include:
[0122] Upon receiving input to move the first headphone icon to the area where the first application icon is located, the first headphone is associated with the first application corresponding to the first application icon; and upon receiving input to move the second headphone icon to the area where the second application icon is located, the second headphone is associated with the second application corresponding to the second application icon.
[0123] A sixth instruction is sent to the first earpiece and a seventh instruction is sent to the second earpiece. The sixth instruction carries audio data of the first application and is used to instruct the first earpiece to play the audio of the first application based on the audio data of the first application. The seventh instruction carries audio data of the second application and is used to instruct the second earpiece to play the audio of the second application based on the audio data of the second application.
[0124] For example, such as Figure 9 As shown, the electronic device can be a single-screen device. The user can drag the first headphone icon 201' to the area 90 where the first application icon, such as APP1, is located. In this way, the electronic device can associate the first headphone with the first application and control the first headphone to play the audio of the first application. Similarly, the user can drag the second headphone icon 202' to the area 91 where the second application icon is located. In this way, the electronic device can associate the second headphone with the second application and control the second headphone to play the audio of the second application.
[0125] Or, such as Figure 10 As shown, the electronic device can be a dual-screen device. If the first screen 210 of the dual-screen device displays the first application icon of the first application, such as APP1, and the second screen 220 displays the second application icon of the second application, such as APP2, then the user can drag the first headphone icon 201' to the first screen 210. In this way, the electronic device can associate the first headphone with the first application and control the first headphone to play the audio of the first application. Similarly, the user can drag the second headphone icon 202' to the second screen 220. In this way, the electronic device can also associate the second headphone with the second application and control the second headphone to play the audio of the second application.
[0126] Thus, this application provides a headphone control method that can display different audio icons on different screens of an electronic device. By moving the headphone icon to different screen interfaces, each headphone can be quickly bound to the audio on the interface where the headphone icon is located. This effectively reduces user operations while controlling any one of the headphones of a headphone device to play the first audio. Furthermore, different audio can be played through the first and second headphones respectively, allowing multiple users to listen to different audio simultaneously or a single user to listen to different audio separately, thereby improving the efficiency of using the headphone device.
[0127] The headphone control method provided in this application can be executed by a headphone control device. This application uses the example of a headphone control device executing the headphone control method to illustrate the display device provided in this application.
[0128] Based on the same inventive concept, this application also provides an earphone control device. (Specifically combined with...) Figure 11 Please provide a detailed explanation.
[0129] Figure 11 This is a schematic diagram of the structure of an earphone control device provided in an embodiment of this application.
[0130] like Figure 11 As shown, the headphone control device 110 is used in electronic devices and may specifically include:
[0131] Display module 1101 is used to display the headphone icon of the first headphone device when a connection is established with the headphone device. The headphone device includes a first headphone and a second headphone. The headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone.
[0132] The receiving module 1102 is used to receive a first input that moves the first headphone icon to the area where the first audio identifier is located;
[0133] The playback module 1103 is used to respond to the first input and play the first audio corresponding to the first audio identifier through the first headphones.
[0134] The headphone control device 110 will be described in detail below:
[0135] In one or more possible embodiments, the playback module 1103 may also be used to, in response to a first input, play a first audio corresponding to a first audio identifier through a first headset, and play a second audio through a second headset.
[0136] In another or more possible embodiments, the headphone control device 110 in this application embodiment may further include a first association module; wherein,
[0137] The first association module is used to associate the first earphone with the first application;
[0138] The playback module 1103 can also be used to play a second audio of the first application through the first headphones, wherein the second audio is audio in the first application other than the first audio.
[0139] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a first receiving module; wherein,
[0140] The receiving module 1102 can also be used to receive a second input that moves the first headphone icon to the area where the third audio identifier is located;
[0141] The playback module 1103 can also be used to control the first earphone to switch from playing the first audio to the fourth audio corresponding to the third audio identifier in response to the second input.
[0142] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a second association module; wherein,
[0143] The receiving module 1102 can also be used to receive a third input that moves the first headphone icon to the area where the second headphone icon is located;
[0144] The display module 1101 can also be used to display N application icons associated with the first earphone in response to a third input, where N is a positive integer;
[0145] The second association module is used to associate the application corresponding to each of the N application icons with the second earphone, so that the second earphone plays the audio of the application corresponding to each application icon.
[0146] In one or more possible embodiments, the receiving module 1102 in this application embodiment can also be used to receive a fourth input to the first headphone icon;
[0147] Display module 1101 is used to display N application icons associated with the first earphone in response to the fourth input;
[0148] The receiving module 1102 can also be used to receive a fifth input to the target application icon among N application icons;
[0149] The playback module 1103 can also be used, in response to the fifth input, to play audio from the target application corresponding to the target application icon via the first earphone.
[0150] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a transmitting module; wherein,
[0151] The receiving module 1102 can also be used to receive a sixth input to the first headphone icon;
[0152] The sending module is configured to send a first message to a social object in response to a sixth input. The first message includes at least one of the following: an application icon of each of the N applications associated with the first earphone, historical audio information played by the first earphone, and audio information currently played by the first earphone.
[0153] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a third association module; wherein,
[0154] The display module 1101 can also be used to display a first interface for playing a video, the video including a first video character and a second video character;
[0155] The receiving module 1102 can also be used to receive a seventh input that moves the first headphone icon to the area where the first video character is located;
[0156] The third association module is used to respond to the seventh input by playing the audio associated with the first video character through the first earphone.
[0157] In one or more possible embodiments, the display module 1101 may also be used to display a second interface for playing audio, the second interface including a playback progress bar for the first audio.
[0158] The playback module 1103 can also be used to play audio within a first playback interval through the first earphone when receiving an eighth input that moves the first earphone icon to the first position in the playback progress bar. The first playback interval includes the audio playback start point to the audio playback end point, the audio playback start point corresponds to the first position, and the audio playback end point corresponds to the end position of the playback progress bar.
[0159] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a first acquisition module and an adjustment module; wherein,
[0160] The receiving module 1102 can also be used to receive a ninth input that moves the first headphone icon to the area where the second headphone icon is located;
[0161] The first acquisition module is used to acquire the first volume of the audio played by the first earphone in response to the ninth input.
[0162] The adjustment module is used to adjust the second volume of the audio played by the second earphone to the first volume.
[0163] In one or more possible embodiments, the headphone control device 110 in this application embodiment may further include a second acquisition module and a second adjustment module; wherein,
[0164] The receiving module 1102 can also be used to receive the tenth input of the moving first headphone icon;
[0165] The second acquisition module is used to acquire the target display distance of the first headphone icon and the second headphone icon in the displayed interface in response to the tenth input;
[0166] The second acquisition module is also used to acquire the target volume corresponding to the target display distance based on the preset association information between the display distance and the volume;
[0167] The second adjustment module is used to adjust the volume of the audio played by the first earphone and the audio played by the second earphone to the target volume.
[0168] The headphone control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.
[0169] The headphone control device in this embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this embodiment does not specifically limit the specific operating system.
[0170] The headphone control device provided in this application embodiment can achieve... Figures 1 to 10 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0171] Based on this, the headphone control device provided in this application, when connected to a headphone device, displays a headphone icon of the headphone device. The headphone device includes a first headphone and a second headphone, and the headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone. Then, it receives a first input to move the first headphone icon to the area where the first audio identifier is located. In response to the first input, it plays the first audio corresponding to the first audio identifier through the first headphone. In this way, by moving the headphone icon displayed on the electronic device, the audio to be played on each headphone can be quickly determined. While effectively reducing user operations, it controls any one headphone of a headphone device to play the first audio, so that different audio can be played through the first headphone and the second headphone respectively. This allows multiple users to listen to different audio at the same time or a single user to listen to different audio separately, improving the efficiency of the user's use of the headphone device.
[0172] Optional, such as Figure 12 As shown, this application embodiment also provides an electronic device 120, including a processor 1201 and a memory 1202. The memory 1202 stores a program or instructions that can run on the processor 1201. When the program or instructions are executed by the processor 1201, they implement the various steps of the above-described headphone control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0173] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0174] Figure 13 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
[0175] The electronic device 1300 includes, but is not limited to, the following components: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, processor 1310, etc.
[0176] Those skilled in the art will understand that the electronic device 1300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0177] In this embodiment, the display unit 1306 is used to display a headphone icon of a first headphone device when a connection is established with the headphone device. The headphone device includes a first headphone and a second headphone, and the headphone icon includes a first headphone icon of the first headphone and a second headphone icon of the second headphone. The user input unit 1307 is used to receive a first input that moves the first headphone icon to the area where the first audio identifier is located. The audio output unit 1303 is used to play a first audio corresponding to the first audio identifier through the first headphone in response to the first input.
[0178] In one or more possible embodiments, the audio output unit 1303 may also be used to, in response to the first input, play a first audio corresponding to the first audio identifier through a first headset, and play a second audio through a second headset.
[0179] In another or more possible embodiments, processor 1310 is used to associate the first earphone and the first application;
[0180] The audio output unit 1303 can also be used to play a second audio of the first application through the first headphones, wherein the second audio is audio other than the first audio in the first application.
[0181] In one or more possible embodiments, the user input unit 1307 receives a second input that moves the first headphone icon to the area where the third audio identifier is located;
[0182] The audio output unit 1303 can also be used to control the first earphone to switch from playing the first audio to the fourth audio corresponding to the third audio identifier in response to the second input.
[0183] In one or more possible embodiments, the user input unit 1307 may also be used to receive a third input that moves the first headphone icon to the area where the second headphone icon is located;
[0184] Display unit 1306 is used to display N application icons associated with the first earphone in response to a third input, where N is a positive integer;
[0185] The processor 1310 is used to associate the application corresponding to each of the N application icons with the second earphone, so that the second earphone plays the audio of the application corresponding to each application icon.
[0186] In one or more possible embodiments, the user input unit 1307 may also be used to receive a fourth input to the first headphone icon;
[0187] The display unit 1306 can also be used to display N application icons associated with the first earpiece in response to the fourth input;
[0188] The user input unit 1307 can also be used to receive a fifth input on the target application icon among N application icons;
[0189] The audio output unit 1303 can also be used to play audio from the target application corresponding to the target application icon via the first headphones in response to the fifth input.
[0190] In one or more possible embodiments, the user input unit 1307 may also be used to receive a sixth input to the first headphone icon;
[0191] Network module 1302 is configured to send first information to a social object in response to a sixth input. The first information includes at least one of the following: an application icon of each of N applications associated with the first earphone, historical audio information played by the first earphone, and audio information currently played by the first earphone.
[0192] In one or more possible embodiments, the display unit 1306 may also be used to display a first interface for playing a video, the video including a first video character and a second video character.
[0193] User input unit 1307 can also be used to receive a seventh input that moves the first headphone icon to the area where the first video character is located;
[0194] The audio output unit 1303 can also be used to play audio associated with the first video character via the first headphones in response to the seventh input.
[0195] In one or more possible embodiments, the display unit 1306 may also be used to display a second interface for playing audio, the second interface including a playback progress bar for the first audio.
[0196] The audio output unit 1303 can also be used to play audio within a first playback interval through the first earphone when receiving an eighth input that moves the first earphone icon to the first position in the playback progress bar. The first playback interval includes the audio playback start point to the audio playback end point, the audio playback start point corresponds to the first position, and the audio playback end point corresponds to the end position of the playback progress bar.
[0197] In one or more possible embodiments, the user input unit 1307 may also be used to receive a ninth input that moves the first headphone icon to the area where the second headphone icon is located;
[0198] Processor 1310 can also be used to obtain, in response to the ninth input, the first volume of audio played by the first headphones;
[0199] The processor 1310 can also be used to adjust the second volume of the audio played by the second earphone to the first volume.
[0200] In one or more possible embodiments, the user input unit 1307 may also be used to receive a tenth input of moving the first headphone icon;
[0201] Processor 1310 can also be used to, in response to the tenth input, obtain the target display distance of the first headphone icon and the second headphone icon in the displayed interface;
[0202] The processor 1310 can also be used to obtain the target volume corresponding to the target display distance based on the preset association information between the display distance and the volume;
[0203] The processor 1310 can also be used to adjust the volume of audio played by the first earphone and the volume of audio played by the second earphone to a target volume.
[0204] It should be understood that the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. The GPU 13041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1306 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1307 includes at least one of a touch panel 13071 and other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include a touch detection device and a touch display. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as volume display buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0205] The memory 1309 can be used to store software programs and various data. The memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1309 may include volatile memory or non-volatile memory, or both. The non-volatile memory may 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. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1309 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0206] Processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless display signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1310.
[0207] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described headphone control method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0208] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0209] In addition, this application embodiment provides another chip, which includes a processor and a display interface. The display interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described headphone control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0210] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0211] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the headphone control method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0212] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0213] Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0214] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0215] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A headphone control method characterized by, The method comprises: In the case that an electronic device and a headset device establish a connection, displaying a headset icon of the headset device, the headset device comprising a first headset and a second headset, the headset icon comprising a first headset icon of the first headset and a second headset icon of the second headset; Receiving a first input of moving the first headset icon to a region where a first audio identifier is located; In response to the first input, playing a first audio corresponding to the first audio identifier through the first headset, and playing a second audio through the second headset.
2. The method of claim 1, wherein, The electronic device comprises a first application, and the first audio is an audio of the first application; the method further comprises: Associating the first headset and the first application; Playing a third audio of the first application through the first headset, the third audio being an audio of the first application other than the first audio.
3. The method of claim 1, wherein, After the playing of the first audio corresponding to the first audio identifier through the first headset, the method further comprises: Receiving a second input of moving the first headset icon to a region where a third audio identifier is located; In response to the second input, controlling the first headset to switch from playing the first audio to playing a fourth audio corresponding to the third audio identifier.
4. The method of claim 1, wherein, The method further comprises: Receiving a third input of moving the first headset icon to a region where the second headset icon is located; In response to the third input, displaying N application icons associated with the first headset, N being a positive integer; Associating a corresponding application of each of the N application icons with the second headset, so that the second headset plays an audio of the corresponding application of each of the N application icons.
5. The method of claim 1, wherein, The method further comprises: Receiving a fourth input to the first headset icon; In response to the fourth input, displaying N application icons associated with the first headset; Receiving a fifth input to a target application icon among the N application icons; In response to the fifth input, playing an audio in a target application corresponding to the target application icon through the first headset.
6. The method of claim 1, wherein, The method further comprises: Receiving a sixth input to the first headset icon; In response to the sixth input, sending first information to a social object, the first information comprising at least one of the following: an application icon of each of N applications associated with the first headset, historical audio information played by the first headset, and audio information currently played by the first headset.
7. The method of claim 1, wherein, The method further comprises: Displaying a first interface playing a video, the video comprising a first video character and a second video character; Receiving a seventh input of moving the first headset icon to a region where the first video character is located; In response to the seventh input, playing an audio associated with the first video character through the first headset.
8. The method of claim 1, wherein, The method further comprises: Displaying a second interface playing an audio, the second interface comprising a playing progress bar of the first audio; In a case where an eighth input of moving the first earphone icon to a first position in the play progress bar is received, audio in a first play interval is played through the first earphone, the first play interval including an audio play start point and an audio play end point, the audio play start point corresponding to the first position, and the audio play end point corresponding to an end position of the play progress bar.
9. The method of claim 1, wherein, The method further includes: receiving a ninth input of moving the first earphone icon to an area where the second earphone icon is located; in response to the ninth input, obtaining a first volume at which the first earphone plays audio; adjusting a second volume at which the second earphone plays audio to the first volume.
10. The method of claim 1, wherein, The method further includes: receiving a tenth input of moving the first earphone icon; in response to the tenth input, obtaining a target display distance between the first earphone icon and the second earphone icon in a display interface; obtaining a target volume corresponding to the target display distance according to preset association information between display distance and volume; adjusting the volume at which the first earphone plays audio and the volume at which the second earphone plays audio to the target volume.
11. An earphone control device, characterized by comprising: comprise: a display module configured to display an earphone icon of an earphone device in a case where the electronic device and the earphone device establish a connection, the earphone device including a first earphone and a second earphone, the earphone icon including a first earphone icon of the first earphone and a second earphone icon of the second earphone; a receiving module configured to receive a first input of moving the first earphone icon to an area where a first audio identifier is located; a playing module configured to play, in response to the first input, first audio corresponding to the first audio identifier through the first earphone, and play second audio through the second earphone.
Citation Information
Patent Citations
Audio control method and electronic equipment
CN111459456A
Communication control method, electronic equipment and earphone
CN113271376A