Earphone control method, earphone and storage medium

By dynamically adjusting the hot-spot headphone unit and access headphone unit in OWS headphones, the data transmission role is determined based on the current battery life, which solves the problem of reducing the battery life of the headphones in data transmission scenarios, and achieves longer use time and higher battery life.

CN119584008APending Publication Date: 2025-03-07GOERTEK INC

Patent Information

Application Number
CN202411718176.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the data transmission scenario, the left earphone of OWS headphones consumes faster power, resulting in a reduced battery life of the headphones.

Method used

By obtaining the current power of the headphone unit, dynamically determine the hot-spot headphone unit and the access headphone unit. The hot-spot headphone unit is responsible for connecting with external devices and transmitting data, and the access headphone unit transmits data to the hot-spot headphone unit for unified processing.

Benefits of technology

By evenly allocating the power consumption of the two headphones, the time of use of the headphones in data transmission scenarios is extended and the battery life in data transmission scenarios is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584008A_ABST
    Figure CN119584008A_ABST
Patent Text Reader

Abstract

The invention discloses an earphone control method, an earphone and a storage medium, and relates to the technical field of wireless earphones, the earphone control method is applied to the earphone, the earphone comprises two independent earphone units, and the method comprises the following steps: if a data transmission process is triggered, obtaining the current electric quantity of the earphone units; determining a hotspot earphone unit and an access earphone unit according to the current electric quantity, wherein the current electric quantity of the hotspot earphone unit is greater than the current electric quantity of the access earphone unit; and creating a data transmission link with the access earphone unit and external connection equipment based on the hotspot earphone unit. On the basis, the hotspot earphone for data transmission is selected through the electric quantity information, so that the hotspot earphone for data transmission can be dynamically adjusted in a data transmission scene, and the cruising ability of the earphone is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless earphones, and in particular to an earphone control method, an earphone, and a storage medium. Background Art

[0002] OWS (Open Wearable Stereo) headphones transmit sound to users through a non-in-ear design, which not only ensures the sound quality but also improves the comfort and safety of wearing.

[0003] The OWS headset is equipped with a visual function module, and the batteries of the two headsets are independent. When transmitting video and image data through the headset, one of the headsets, such as the left headset, is usually used as a hotspot headset based on the factory setting parameters, and the data of the right headset is sent to the left headset, and the left headset sends the aggregated data to the user end. However, in actual use, the left headset usually consumes power faster, reducing the battery life of the headset in data transmission scenarios.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present application is to provide a headset control method, headset and storage medium, aiming to solve the technical problem of reducing the overall battery life of the headset in a data transmission scenario based on a specific data transmission method.

[0006] To achieve the above object, the present application proposes a method for controlling an earphone, which is applied to an earphone, wherein the earphone includes two independent earphone units, and the method includes:

[0007] If the data transmission process is triggered, the current power level of the earphone unit is obtained;

[0008] Determine a hotspot earphone unit and an access earphone unit according to the current power, wherein the current power of the hotspot earphone unit is greater than the current power of the access earphone unit;

[0009] Based on the hotspot headset unit, a data transmission link is established with the access headset unit and the external connection device.

[0010] In one embodiment, after the step of creating a data transmission link between the access headset unit and the external connection device based on the hotspot headset unit, the method further includes:

[0011] Receiving first image information sent by the access earphone unit based on the hotspot earphone unit;

[0012] The first image information and the second image information associated with the hotspot headset unit are sent to the external connection device.

[0013] In one embodiment, after the step of sending the first image information and the second image information associated with the hotspot headset unit to the external connection device, the method further includes:

[0014] Obtaining a remaining power difference between the hotspot headset unit and the access headset unit;

[0015] If the remaining power difference is less than a preset difference, the access headset unit is controlled to switch to hotspot mode, and the hotspot headset unit is controlled to switch to access mode.

[0016] In one embodiment, after the step of obtaining the remaining power difference between the hotspot headset unit and the access headset unit, the method further includes:

[0017] If the remaining power difference is less than a preset difference, determining the data transmission state of the hotspot headset unit;

[0018] If the data transmission state is a pause state, execute the steps of controlling the access headset unit to switch to hotspot mode, and controlling the hotspot headset unit to switch to access mode.

[0019] In one embodiment, after the step of determining the data transmission status of the hotspot headset unit, the method further includes:

[0020] If the data transmission state is a non-pause state, the data to be sent by the hotspot headset at the current moment is cached, and the hotspot headset unit and the access headset unit are controlled to switch modes;

[0021] After the hotspot headset unit and the access headset unit complete the mode switching, the cached data is transmitted to the new hotspot headset unit; or

[0022] If the data transmission state is not in a paused state, the current moment is used as the transmission breakpoint moment, the data transmission is stopped, and the hotspot headset unit and the access headset unit are controlled to switch modes;

[0023] After the hotspot earphone unit and the access earphone unit complete the mode switching, they enter the data transmission state and perform transmission processing based on the data at the transmission breakpoint moment.

[0024] In one embodiment, after the step of obtaining the remaining power difference between the hotspot headset unit and the access headset unit, the method further includes:

[0025] If the remaining power difference is less than a preset difference value, determining whether the current remaining power of the hotspot headset unit is less than a preset mode switching power;

[0026] If so, execute the steps of controlling the access headset unit to switch to hotspot mode, and controlling the hotspot headset unit to switch to access mode.

[0027] In one embodiment, after the step of obtaining the current power of the earphone unit if the data transmission process is triggered, the method further includes:

[0028] If the current power level of the earphone unit is lower than the preset power level, the hotspot module of the charging compartment of the earphone unit is activated, and a data transmission link between the earphone unit and the charging compartment is established.

[0029] In one embodiment, the data transmission process is triggered when at least one of the following conditions is met:

[0030] The video module of the headset captures the data transmission gesture;

[0031] The headset receives a data transmission instruction sent by the external connection device;

[0032] The microphone of the headset receives the voice command for data transmission.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an earphone, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the earphone control method as described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the headphone control method described above are implemented.

[0035] One or more technical solutions proposed in this application have at least the following technical effects:

[0036] When the data transmission process is triggered, the headset with higher power is selected as the hotspot headset based on the current power information of the headset, and the other is the access headset. At this time, the hotspot headset is responsible for pairing and connecting with the mobile phone or the receiving device, and transmits the images taken by itself and the images taken by the access headset to the receiving device. At the same time, the access headset does not communicate directly with the receiving device, but transmits the captured images to the hotspot headset, which is then transmitted uniformly by the hotspot headset. At this time, data transmission is completed through the headset with higher power, avoiding the situation where the overall battery life of the headset is reduced due to setting one of the headsets as the default data transmission device. At the same time, based on the power information of the headset, the hotspot headset can be flexibly selected to improve the battery life of the headset in data transmission scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for controlling headphones of the present application;

[0040] Figure 2 A schematic diagram of a flow chart of a second embodiment of a method for controlling headphones of the present application;

[0041] Figure 3 A schematic diagram of a flow chart provided for a third embodiment of a method for controlling headphones of the present application;

[0042] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the headset control method in the embodiment of the present application.

[0043] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0045] The main solution of the embodiment of the present application is: if the data transmission process is triggered, the current power of the earphone unit is obtained;

[0046] Determine a hotspot earphone unit and an access earphone unit according to the current power, wherein the current power of the hotspot earphone unit is greater than the current power of the access earphone unit;

[0047] Based on the hotspot headset unit, a data transmission link is established with the access headset unit and the external connection device.

[0048] Specifically, when the data transmission process is triggered, the current power information of the headset is used to select the headset with higher power as the hotspot headset unit, and the other as the access headset unit. The hotspot headset unit is responsible for pairing and connecting with the mobile phone or the receiving device, and transmits the images captured or stored by itself and the images captured or stored by the access headset unit to the receiving device. At the same time, the access headset unit does not communicate directly with the receiving device, but transmits the captured images to the hotspot headset unit, which transmits them uniformly. Based on this, the hotspot headset unit for data transmission is dynamically adjusted according to the power information of the headset, thereby improving the overall battery life of the headset.

[0049] In this embodiment, for the convenience of description, the following description is made with the earphone as the execution subject.

[0050] In the prior art, the OWS headsets with visual function modules have independent batteries for the two headsets. When transmitting video and image data through the headsets, one of the headsets, such as the left headset, is usually used as the hotspot headset based on the factory setting parameters, and the data of the right headset is sent to the left headset, and the left headset sends the aggregated data to the user end. However, in actual use, the left headset usually consumes power faster, reducing the battery life of the headset.

[0051] The present application provides a solution, which uses the current power information of the earphones to dynamically select one of the earphone units as the hotspot earphone unit for data transmission and perform data transmission, thereby evenly distributing the power consumption of the two earphones and making their power consumption tend to be consistent, thereby extending the usage time of the earphone combination in the data transmission scenario and improving the battery life in the data transmission scenario.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] The embodiment of the present application provides a method for controlling earphones, which is applied to earphones, wherein the earphones include two independent earphone units, and the earphones are wireless earphones, such as OWS earphones. The earphones are provided with a video module such as a camera, through which images or videos are captured, and the captured images or videos are transmitted to an external connection device based on a wireless transmission protocol such as Bluetooth or WiFi. The video module can be a detachable camera device such as a camera, or a fixed position camera device head that rotates based on a rotating component; the external connection device can be a device that is wirelessly connected to the earphones, such as a mobile phone, a tablet, etc.

[0054] Based on this, refer to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the earphone control method of the present application.

[0055] In this embodiment, the headset control method includes steps S10 to S30:

[0056] Step S10: If the data transmission process is triggered, the current power level of the earphone unit is obtained.

[0057] It should be noted that the data transmission process refers to the process triggered when the pictures, videos, stored existing pictures or existing videos taken by the headset need to be transmitted to the user's mobile phone or tablet and other devices. Therefore, the data that needs to be transmitted by the data transmission process can be existing images and videos, or images and videos captured by the headset's camera in real time. The data transmission process can be intermittent, so after completing the data transmission corresponding to the current data transmission process, when a new transmission process is triggered and new data is transmitted, the current power of the headset unit is repeatedly obtained, so that the headset control program always selects the headset unit with higher power as the hotspot headset, thereby improving the overall battery life of the headset.

[0058] In this embodiment, after the data transmission process is triggered, data needs to be transmitted by wireless transmission. Therefore, the control program inside the headset can directly read the current power of the two earphone units of the wireless headset through the built-in power meter of the headset, so as to select the hotspot headset for wireless data transmission based on the current power. Optionally, the two earphone units can exchange power information via Bluetooth.

[0059] In another optional embodiment, the headset can respond to the user's operating instructions, such as instructions selected by the user on an application of an externally connected device, and can trigger the data transmission process at a set time point. It can also recognize the user's gesture information through a video module and trigger the data transmission process through a voice input module such as a voice signal detected by a microphone.

[0060] Specifically, the user operates on the control program of the externally connected device, such as in a third-party application associated with the headset, and selects a data transmission instruction that can control the headset to capture and share images. At this time, the headset responds to the instruction and triggers the data transmission process. Based on this, when the headset receives the data transmission instruction sent by the external device, the data transmission process is triggered.

[0061] Optionally, since the headset is provided with a video module, the headset can also recognize the user's gestures through the video module and determine whether to trigger the data transmission process based on the recognition results. For example, if the video module of the headset captures the user's gesture as a data transmission gesture, the headset triggers the data transmission process and transmits the data corresponding to the gesture.

[0062] Optionally, when the voice input module of the headset, such as a microphone, receives and recognizes a voice instruction for data transmission, an output transmission process is triggered.

[0063] Step S20, determining the hotspot earphone unit and the access earphone unit according to the current power level.

[0064] It should be noted that the hotspot earphone unit refers to the unit among the two independent earphone units that performs the main data transmission, and the access earphone unit refers to the other earphone unit except the hotspot earphone unit. The hotspot earphone unit is responsible for pairing and connecting with external connection devices such as mobile phones, and transmitting the images captured or stored by itself and the images captured or stored by the access earphone unit to the external connection device. At the same time, the access earphone unit does not communicate directly with the external connection device, but transmits the captured or existing images to the hotspot earphone unit, and the hotspot earphone unit performs data transmission in a unified manner.

[0065] In this embodiment, the hotspot earphone unit and the access earphone unit can be determined according to the current power level, that is, in order to ensure the stability and balance of the power consumption of the two earphone units when the earphones are transmitting data, by selecting the earphone unit with a higher current power as the hotspot earphone unit, the increase in overall power consumption caused by the low power of a single earphone unit can be avoided. Among them, when the power of an earphone unit is low, it may increase the power output in order to maintain normal operation, thereby accelerating the consumption of power. Using the earphone unit with a high power as the hotspot ear can allow the earphone unit with a low power to work at a lower power, thereby extending its use time.

[0066] It is understandable that if one earphone unit is always set as a fixed hotspot earphone unit, when the battery of this earphone unit is low, in order to meet the functional requirements of the hotspot, it will consume more power to maintain the connection and data transmission, resulting in one earphone being in normal use and the other earphone being in standby mode. Therefore, by selecting an earphone unit with higher power as the hotspot earphone unit, power resources can be reasonably allocated to ensure that the earphones can be used normally during the entire data transmission process, avoiding setting one of the earphone units as a fixed hotspot earphone unit, which causes the earphone to have low power when the data transmission stability is reduced due to low wireless signal transmission power, and reduces the overall battery life of the earphone during output transmission.

[0067] Optionally, if the current power levels of the hotspot headset unit and the access headset unit are the same, one of the headset units can be selected as the hotspot headset unit based on pre-set parameters. Since the power consumption levels of the hotspot headset unit and the access headset unit are different, the hotspot headset unit can be selected based on the power level when the data transmission process is triggered next time.

[0068] Step S30, based on the hotspot headset unit, a data transmission link is created with the access headset unit and an external connection device.

[0069] In this embodiment, after determining that the headset unit with higher power is the hotspot headset unit, a data transmission link for data transmission can be created. Specifically, the hotspot headset unit enters the hotspot mode, turns on the hotspot link for wireless hotspot transmission, and the connected headset unit can identify the hotspot and connect, while the external connection device such as a mobile phone can directly connect to the hotspot link created by the hotspot unit to perform data transmission.

[0070] It is understandable that, since the two earphone units are worn in different positions, the content captured by the video module is also different, and when the data transmission process is triggered, the data of the two earphone units needs to be transmitted. Therefore, it is necessary to create a data transmission link between the hotspot earphone unit and the access earphone unit.

[0071] Optionally, the data transmission link between the two earphone units is enabled by default, and after determining the hotspot earphone unit, the earphone unit can be connected by Bluetooth connection.

[0072] In this embodiment, a data transmission link is created between the hotspot earphone unit and the connected earphone unit and the external connection device. When data is transmitted, data can be transmitted based on the hotspot earphone unit with higher power, thereby avoiding fixing one earphone unit as the hotspot, resulting in poor battery life of the hotspot earphone and affecting the overall user experience of the earphone.

[0073] The present embodiment provides a method for controlling headphones. After the data transmission process is triggered, one of the headphone units is dynamically selected as the hotspot headphone unit for data transmission based on the current power information of the headphones, thereby evenly distributing the power consumption of the two headphones, making their power consumption tend to be consistent, and extending the usage time of the headphones in the data transmission scenario, thereby improving the battery life in the data transmission scenario.

[0074] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 After step S30, the earphone control method further includes steps S40 to S50:

[0075] Step S40, based on the hotspot earphone unit receiving the first image information sent by the access earphone unit.

[0076] In this embodiment, after the data transmission link is established, the access headset unit is responsible for sending the first image information currently stored or captured in real time to the hotspot headset unit. The access headset unit and the hotspot headset unit can perform data transmission via Bluetooth, and the image information sent includes the captured pictures and / or the captured videos.

[0077] It is understandable that the access earphone unit does not communicate directly with the external connection device, but transmits the captured or existing image to the hotspot earphone unit, which uniformly transmits the data. That is, the earphone unit with low power and the hotspot earphone unit with higher power perform simple data transmission to balance the power consumption of the two earphone units.

[0078] Step S50, sending the first image information and the second image information associated with the hotspot headset unit to the external connection device.

[0079] In this embodiment, the image data of the connected earphone unit and the earphone data of the hotspot earphone unit are sent to the external connection device at one time through the hotspot earphone unit with higher power, so that the connected earphone unit with lower power can perform data transmission with lower power consumption, and the hotspot earphone unit with higher power can perform data transmission operations with higher power consumption, thereby effectively balancing the power consumption between the earphone units and improving the overall battery life of the earphone during data transmission processing.

[0080] This embodiment provides a method for controlling headphones, which sends the data of two headphone units to an external connection device based on the hotspot headphone unit, thereby balancing the power consumption of the hotspot headphone unit and the access headphone unit, and improving the overall battery life of the headphones in data transmission scenarios.

[0081] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the second embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 3 After step S50, the earphone control method further includes steps S60 to S70:

[0082] Step S60, obtaining the remaining power difference between the hotspot headset unit and the access headset unit.

[0083] In this embodiment, after the data transmission link is established and transmission is performed, the remaining power difference between the hotspot earphone unit and the access earphone unit can be obtained in real time, so that when the hotspot earphone unit and the access earphone unit are transmitting data, the hotspot earphone unit and the access earphone unit can be switched based on the current remaining power difference.

[0084] It can be understood that since the power consumption levels corresponding to the actions performed by the connected earphone unit and the hotspot earphone unit are different, that is, the power consumption of the hotspot earphone unit is greater than that of the connected earphone unit, after the data transmission link is established, the mode of the hotspot earphone unit and the connected earphone unit can be effectively switched based on the remaining power difference obtained in real time, thereby balancing the overall power consumption of the earphone and improving the battery life of the earphone in the data transmission scenario.

[0085] Step S70, if the remaining power difference is less than a preset difference, control the access headset unit to switch to hotspot mode, and control the hotspot headset unit to switch to access mode.

[0086] In this embodiment, after the data transmission link is established and data transmission is performed, the power reduction value of the hotspot headset unit is greater than that of the access headset unit. Therefore, when the difference in remaining power between the hotspot headset unit and the access headset unit is less than a preset difference, for example, less than zero, it indicates that with the passage of time and the transmission of data, the current power information of the hotspot headset unit is less than that of the access headset. At this time, in order to avoid the overall battery life of the headset being reduced when the headset unit with lower power continues to be transmitted as the hotspot headset unit, it is necessary to control the access headset unit to switch to the hotspot mode, and at the same time control the hotspot headset unit to switch to the access mode, so that the original access headset unit is used as the hotspot for data transmission, and then the hotspot headset unit can be dynamically selected based on the real-time power information, thereby improving the overall battery life of the headset.

[0087] Based on the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the third embodiment can be referred to the above description, and will not be described in detail later. On this basis, after step S60 obtains the remaining power difference between the hotspot headset unit and the access headset unit, if the remaining power difference is less than the preset difference, when switching the modes of the access headset unit and the hotspot headset unit, it is also necessary to determine the current transmission state, for example, when the current data transmission state is a pause state, the steps of controlling the access headset unit to switch to the hotspot mode and controlling the hotspot headset unit to switch to the access mode are executed.

[0088] Optionally, if the remaining power difference is less than a preset difference and the data transmission state is not in a paused state, when switching modes, the hotspot headset can first cache the data to be sent at the current moment, and then switch modes. Alternatively, the current moment can be recorded, the mode switch can be completed first, and then data transmission can be resumed based on the recorded current moment.

[0089] Therefore, as an optional implementation, if the data transmission state is a non-pause state, the data to be sent by the hotspot headset at the current moment is cached, and the hotspot headset unit and the access headset unit are controlled to switch modes. After the hotspot headset unit and the access headset unit complete the mode switching, the cached data is transmitted to the new hotspot headset unit, and the switched hotspot headset unit performs data transmission processing to realize dynamic switching of the hotspot headset mode and improve the overall cruising capability of the headset.

[0090] Optionally, if the data transmission state is not in a paused state, the current moment is used as the transmission breakpoint moment, data transmission is stopped, and the hotspot headset unit and the access headset unit are controlled to switch modes. Then, after the hotspot headset unit and the access headset unit complete the mode switching, the data transmission state is entered, and transmission processing is performed based on the data at the transmission breakpoint moment. Among them, the transmission breakpoint moment is usually the moment after the transmission of a certain image is completed. For example, if ten images need to be transmitted, the transmission breakpoint moment can be the moment corresponding to the completion of the transmission of the third image. Based on this, data transmission errors or omissions are avoided.

[0091] Optionally, after obtaining the remaining power difference, when the remaining power is less than the preset difference, in addition to directly switching the function of the earphone unit, in order to avoid frequent mode switching due to power changes, it can be determined whether the current remaining power of the hotspot earphone unit is less than the preset mode switching power. For example, the initial power of the hotspot earphone unit is 95%, the initial power of the access earphone unit is 85%, and the preset mode switching power is set to 60%. During the transmission process, at a certain moment, the power of the hotspot earphone unit is 69%, and the power of the access earphone unit is 70%. If the mode is switched directly at this time, the hotspot earphone unit and the access earphone unit will be frequently switched due to the constant change of power levels in the next period of time, making the power consumption unstable and further reducing the overall endurance of the earphone. Based on this, by setting the preset mode switching power, when the current power is lower than the preset mode switching power, the steps of controlling the access earphone unit to switch to the hotspot mode and the hotspot earphone unit to switch to the access mode are executed to ensure the stability of data transmission. Among them, the preset mode switching power can be set based on the initial power or based on the actual power demand, which is not limited here.

[0092] The present embodiment provides a method for controlling headphones. When switching the modes of the hotspot headphone unit and the access headphone unit, analysis and judgment are performed based on the current remaining power information and the current data transmission status. Therefore, when switching the modes of the hotspot headphone unit and the access headphone unit, the data being transmitted will not be greatly affected. At the same time, based on the preset power, frequent mode switching of the current access headphone unit and the hotspot headphone unit can be avoided, thereby improving the overall battery life of the headphones.

[0093] Based on any of the above embodiments, after triggering the data transmission process and obtaining the current power of the earphone unit, if the current power is lower than the preset power, for example, the preset power is 15%, in the low power state, when the hotspot earphone unit performs data transmission, the data transmission efficiency may be reduced due to the low power, or the service life of the earphone may be reduced when data transmission processing is performed in the low power state. Based on this, the charging compartment of the earphone unit can be used as a hotspot module, and both earphone units enter a low-power access mode to effectively complete the data transmission, that is, if the current power of the earphone unit is lower than the preset power, the hotspot module of the charging compartment of the earphone unit is started, and a data transmission link between the earphone unit and the charging compartment is established. Using the charging compartment as a transmission hotspot, the earphone can establish a connection with the charging compartment and perform data transmission, and the charging compartment can also provide a charging function for the earphone unit. In this way, the earphone can replenish power in time while transmitting data, thereby extending the overall battery life of the earphone.

[0094] The present application provides an earphone, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the earphone control method in the above-mentioned first embodiment.

[0095] Reference below Figure 4 , which shows a schematic structural diagram of headphones suitable for implementing the embodiments of the present application. Figure 4 The earphones shown are merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0096] like Figure 4 As shown, the headset may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the headset are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the headset to communicate with other devices wirelessly or wired to exchange data. Although the headset with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0097] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0098] The headset provided by the present application adopts the headset control method in the above embodiment, which can solve the technical problem of reducing the overall battery life of the headset in the data transmission scenario based on a specific data transmission method. Compared with the prior art, the beneficial effects of the headset provided by the present application are the same as the beneficial effects of the headset control method provided by the above embodiment, and the other technical features of the headset are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0099] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0100] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0101] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the earphone control method in the above-mentioned embodiment.

[0102] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0103] The computer-readable storage medium may be contained in the earphone, or may exist independently without being assembled in the earphone.

[0104] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the headset, the headset:

[0105] If the data transmission process is triggered, the current power level of the earphone unit is obtained;

[0106] Determine a hotspot earphone unit and an access earphone unit according to the current power, wherein the current power of the hotspot earphone unit is greater than the current power of the access earphone unit;

[0107] Based on the hotspot headset unit, a data transmission link is established with the access headset unit and the external connection device.

[0108] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0109] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0111] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned headset control method, and can solve the technical problem of reducing the overall battery life of the headset in a data transmission scenario based on a specific data transmission method. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the headset control method provided by the above-mentioned embodiment, and will not be repeated here.

[0112] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for controlling a headset, characterized in that: Applied to earphones, the earphones include two independent earphone units, and the control method of the earphones includes: If the data transmission process is triggered, the current power level of the earphone unit is obtained; Determine a hotspot earphone unit and an access earphone unit according to the current power, wherein the current power of the hotspot earphone unit is greater than the current power of the access earphone unit; Based on the hotspot headset unit, a data transmission link is established with the access headset unit and the external connection device.

2. The method for controlling the earphone according to claim 1, characterized in that: After the step of creating a data transmission link between the access headset unit and the external connection device based on the hotspot headset unit, the method further includes: Receiving first image information sent by the access earphone unit based on the hotspot earphone unit; The first image information and the second image information associated with the hotspot headset unit are sent to the external connection device.

3. The method for controlling the earphone according to claim 2, characterized in that: After the step of sending the first image information and the second image information associated with the hotspot headset unit to the external connection device, the method further includes: Obtaining a remaining power difference between the hotspot headset unit and the access headset unit; If the remaining power difference is less than a preset difference, the access headset unit is controlled to switch to hotspot mode, and the hotspot headset unit is controlled to switch to access mode.

4. The method for controlling the earphone according to claim 3, characterized in that: After the step of obtaining the remaining power difference between the hotspot headset unit and the access headset unit, the method further includes: If the remaining power difference is less than a preset difference, determining the data transmission state of the hotspot headset unit; If the data transmission state is a pause state, execute the steps of controlling the access headset unit to switch to hotspot mode, and controlling the hotspot headset unit to switch to access mode.

5. The method for controlling the earphone according to claim 4, characterized in that: After the step of determining the data transmission status of the hotspot headset unit, the method further includes: If the data transmission state is a non-pause state, the data to be sent by the hotspot headset at the current moment is cached, and the hotspot headset unit and the access headset unit are controlled to switch modes; After the hotspot headset unit and the access headset unit complete the mode switching, the cached data is transmitted to the new hotspot headset unit; or If the data transmission state is not in a paused state, the current moment is used as the transmission breakpoint moment, the data transmission is stopped, and the hotspot headset unit and the access headset unit are controlled to switch modes; After the hotspot earphone unit and the access earphone unit complete the mode switching, they enter the data transmission state and perform transmission processing based on the data at the transmission breakpoint moment.

6. The method for controlling the earphone according to claim 3, characterized in that: After the step of obtaining the remaining power difference between the hotspot headset unit and the access headset unit, the method further includes: If the remaining power difference is less than a preset difference value, determining whether the current remaining power of the hotspot headset unit is less than a preset mode switching power; If so, execute the steps of controlling the access headset unit to switch to hotspot mode, and controlling the hotspot headset unit to switch to access mode.

7. The earphone control method according to claim 1, characterized in that: After the step of obtaining the current power of the earphone unit if the data transmission process is triggered, the method further includes: If the current power level of the earphone unit is lower than the preset power level, the hotspot module of the charging compartment of the earphone unit is activated, and a data transmission link between the earphone unit and the charging compartment is established.

8. The method for controlling an earphone according to claim 1, wherein: The data transmission process is triggered when at least one of the following conditions is met: The video module of the headset captures the data transmission gesture; The headset receives a data transmission instruction sent by the external connection device; The microphone of the headset receives the voice command for data transmission.

9. A headset, characterized in that: The headset comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the headset control method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the earphone control method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Master-slave earphone switching control method and related products

    CN108958696A

  • Danger reminding method and device, intelligent terminal and storage medium

    CN112698892A

  • Head-mounted wireless earphone, control method thereof and wireless communication system

    CN114115526A

Cited By

  • Communication method and related equipment

    CN122489030A