A low-power wireless communication method, device, electronic equipment and storage medium

CN122803008APending Publication Date: 2026-09-22HUZHOU TAIXIN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611149554.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0004]在此场景下,Sniff时序与双耳链路任务均具有周期性,两者的周期和起始相位不同,在时间轴上容易发生重叠或冲突,导致耳机的休眠周期被打断、系统频繁休眠唤醒,功耗增加

Benefits of technology

[0020] The aforementioned low-power wireless communication method, apparatus, electronic device, and storage medium control the primary ear to enter a low-power mode in response to a low-power mode entry condition being met. In the low-power mode, a first link task and a second link task are configured. The first link task is executed according to a first cycle, and the execution cycle of the second link task is determined based on the first cycle. The start time of the second link task is after the completion time of the first link task. This disclosure, by aligning the execution cycle of the binaural link tasks with the Bluetooth (BT) standard link task cycle and ensuring that the binaural link tasks execute immediately following the BT link tasks, avoids dual-link timing conflicts, reduces frequent sleep/wake cycles, and lowers power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122803008A_ABST
    Figure CN122803008A_ABST
Patent Text Reader

Abstract

This disclosure provides a low-power wireless communication method, apparatus, electronic device, and storage medium. The method includes: controlling the primary ear to enter a low-power mode in response to a low-power mode entry condition being met; configuring a first link task and a second link task in the low-power mode, wherein the first link task is executed according to a first cycle, the execution cycle of the second link task is determined according to the first cycle, and the start time of the second link task is after the completion time of the first link task. This disclosure, by aligning the execution cycle of the binaural link tasks with the Bluetooth (BT) standard link task cycle and ensuring that the binaural link tasks execute immediately following the BT link tasks, avoids dual-link timing conflicts, reduces frequent sleep / wake cycles, and lowers power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wireless communication technology, and more specifically, to a low-power wireless communication method, apparatus, electronic device, and storage medium. Background Technology

[0002] True Wireless Stereo (TWS) earbuds typically use the classic Bluetooth asynchronous connectionless link (ACL) for data transmission when maintaining a connection with a central device such as a mobile phone. In a TWS earbud system, the master earbud is responsible for interacting with the mobile phone, while the slave earbud is responsible for listening to information from the mobile phone. The master and slave earbuds are synchronized through a private synchronization link.

[0003] When there is no data transmission between the phone and the earphone, the ACL link switches to Sniff mode to reduce power consumption. In existing solutions, each earphone establishes its own Sniff timing sequence, and the dual-ear link task still needs to run periodically to maintain synchronization between the master and slave earphones.

[0004] In this scenario, both Sniff timing and binaural link tasks are periodic, and their periods and starting phases are different, which can easily overlap or conflict on the time axis, causing the earphone's sleep cycle to be interrupted, the system to frequently sleep and wake up, and power consumption to increase. Summary of the Invention

[0005] This disclosure provides at least one low-power wireless communication method, apparatus, electronic device, and storage medium to solve the aforementioned technical problems.

[0006] In a first aspect, embodiments of this disclosure provide a low-power wireless communication method applied to the main earpiece of a TWS earphone system, comprising:

[0007] In response to the fulfillment of the low-power mode entry condition, the main ear is controlled to enter low-power mode; In the low-power mode, a first link task and a second link task are configured. The first link task is executed according to a first cycle, and the execution cycle of the second link task is determined according to the first cycle. The start time of the second link task is after the completion time of the first link task.

[0008] In one possible implementation, controlling the main ear to enter a low-power mode includes: The master ear is controlled to switch to a low-power mode on the first link and sends synchronization parameters to the slave ear through the second link. The synchronization parameters are used to indicate the timing information of the second link task.

[0009] In one possible implementation, there is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

[0010] In one possible implementation, the method further includes: In response to the fulfillment of the low-power mode exit condition, the master ear is controlled to exit the low-power mode and an exit synchronization information is sent to the slave ear through the second link. The exit synchronization information is used to instruct the slave ear to restore the original timing of the second link task.

[0011] In one possible implementation, the method further includes: When the preset time is reached, a role switching command is sent to the slave ear so that the slave ear can respond to the role switching command and switch roles.

[0012] Secondly, this disclosure also provides a low-power wireless communication method applied to a slave earpiece in a TWS earphone system, comprising: Receive synchronization parameters sent by the main ear via the second link; Based on the synchronization parameters, the timing information of the second link task is determined, wherein the execution period of the second link task is determined according to the first period of the first link task, and the start time of the second link task is after the completion time of the first link task.

[0013] In one possible implementation, the method further includes: Receive the synchronization exit information sent by the main ear through the second link; Based on the exit synchronization information, restore the original timing of the second link task.

[0014] In one possible implementation, there is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

[0015] In one possible implementation, the method further includes: Receive the role switching command sent by the main ear; In response to the role switching command, a role switch is performed.

[0016] Thirdly, this disclosure also provides a low-power wireless communication device for use in the main ear of a TWS earphone system, comprising: The control module is used to control the main ear to enter a low-power mode in response to the low-power mode entry condition being met; The configuration module is used to configure a first link task and a second link task in the low-power mode. The first link task is executed according to a first cycle, the execution cycle of the second link task is determined according to the first cycle, and the start time of the second link task is after the completion time of the first link task.

[0017] Fourthly, this disclosure also provides a low-power wireless communication device for use in a TWS earphone system, comprising: The receiving module is used to receive synchronization parameters sent by the main ear through the second link; The determining module is used to determine the timing information of the second link task based on the synchronization parameters, wherein the execution period of the second link task is determined according to the first period of the first link task, and the start time of the second link task is after the completion time of the first link task.

[0018] Fifthly, this disclosure also provides an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, they perform a low-power wireless communication method as described in any one of the first aspect and its various embodiments, the second aspect and its various embodiments.

[0019] In a sixth aspect, this disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the low-power wireless communication method as described in any one of the first aspect and its various embodiments, and the second aspect and its various embodiments.

[0020] The aforementioned low-power wireless communication method, apparatus, electronic device, and storage medium control the primary ear to enter a low-power mode in response to a low-power mode entry condition being met. In the low-power mode, a first link task and a second link task are configured. The first link task is executed according to a first cycle, and the execution cycle of the second link task is determined based on the first cycle. The start time of the second link task is after the completion time of the first link task. This disclosure, by aligning the execution cycle of the binaural link tasks with the Bluetooth (BT) standard link task cycle and ensuring that the binaural link tasks execute immediately following the BT link tasks, avoids dual-link timing conflicts, reduces frequent sleep / wake cycles, and lowers power consumption.

[0021] Other advantages of this disclosure will be explained in more detail in conjunction with the following description and accompanying drawings.

[0022] It should be understood that the above description is merely an overview of the technical solution of this disclosure, so as to provide a general understanding of the technical means of this disclosure and to implement it in accordance with the contents of the specification. In order to make the above and other objects, features and advantages of this disclosure more apparent and understandable, specific embodiments of this disclosure are illustrated below. Attached Figure Description

[0023] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. The accompanying drawings are incorporated in and constitute a part of this specification. These drawings illustrate embodiments conforming to this disclosure and, together with the specification, serve to illustrate the technical solutions of this disclosure. It should be understood that the drawings only illustrate certain embodiments of this disclosure and should not be considered as a limitation on the scope of protection. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. Furthermore, the same reference numerals denote the same components throughout the drawings. In the drawings: Figure 1 The diagram illustrates various usage scenarios for TWS earphones. Figure 2 This diagram illustrates the overall architecture of a TWS earphone system provided in an embodiment of the present disclosure. Figure 3 A flowchart of a low-power wireless communication method provided in an embodiment of this disclosure is shown; Figure 4 This diagram illustrates the master-slave ear timing during low-power mode in the low-power wireless communication method provided in this embodiment of the present disclosure. Figure 5 This diagram illustrates the timing sequence of master-slave ear role switching in the low-power wireless communication method provided in this embodiment of the present disclosure. Figure 6 This diagram illustrates the timing of the master and slave ear exiting low-power mode in the low-power wireless communication method provided in this embodiment of the present disclosure. Figure 7 A flowchart of another low-power wireless communication method provided by an embodiment of this disclosure is shown; Figure 8 A schematic diagram of a low-power wireless communication device provided in an embodiment of this disclosure is shown; Figure 9 A schematic diagram of another low-power wireless communication device provided in an embodiment of this disclosure is shown; Figure 10 A schematic diagram of an electronic device provided in an embodiment of the present disclosure is shown. Detailed Implementation

[0024] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0025] In the description of embodiments disclosed herein, it should be understood that terms such as “comprising” or “having” are intended to indicate the presence of the disclosed features, figures, steps, behaviors, components, portions or combinations thereof in this specification, and do not exclude the possibility of the presence of one or more other features, figures, steps, behaviors, components, portions or combinations thereof.

[0026] Unless otherwise stated, " / " means "or". For example, A / B can mean A or B. In this article, "and / or" is merely a way of describing the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A alone, A and B at the same time, and B alone.

[0027] The terms "first," "second," etc., are used only for ease of description to distinguish identical or similar technical features and should not be construed as indicating or implying the relative importance or number of these technical features. Therefore, a feature defined by "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of embodiments of this disclosure, unless otherwise stated, the term "multiple" means two or more.

[0028] Research has found that, with Figure 1 Taking the TWS earphone usage scenario shown as an example, in this scenario, the mobile phone and TWS earphones maintain a connection through the classic Bluetooth ACL. The master earphone is responsible for interacting with the mobile phone, while the slave earphone is responsible for listening to information from the mobile phone. The master and slave earphones of the TWS earphones rely on a private synchronization link between the earphones for synchronization.

[0029] When there is no service between the mobile phone and the headset, the ACL link for normal communication of the headset will switch to Sniff sniffing mode (Sniff is a low-power working mode of classic Bluetooth based on the ACL link, which is a fixed periodic task). At this time, both ears will establish Sniff timing. Sniff timing has the characteristics of long period and short duration. If the dual ear link task maintains a fixed synchronization period with a high frequency, it is easy to conflict with Sniff timing.

[0030] Based on the above timing sequence, there are problems such as chaotic timing interleaving, easy timing conflicts, frequent sleep and wake-up, high power consumption, and complex logic for entering and exiting low power mode when there is no business.

[0031] To at least partially address one or more of the aforementioned problems and other potential issues, this disclosure provides a low-power wireless communication method, apparatus, electronic device, and storage medium to avoid dual-link timing conflicts, reduce frequent sleep / wake cycles, and lower power consumption.

[0032] To clearly illustrate the embodiments of this disclosure, some concepts that may appear in subsequent embodiments will be introduced first.

[0033] First Link: Refers to the classic Bluetooth ACL between the TWS earbuds and central devices such as mobile phones, used for data interaction between the earbuds and central devices.

[0034] The second link refers to the private synchronization link between the master and slave earbuds of TWS earbuds, which is used for state synchronization and parameter transmission between the master and slave earbuds.

[0035] First-link task: refers to the low-power task executed on the first link, i.e., the periodic task in Sniff mode. Sniff mode is a classic Bluetooth low-power operating mode based on ACL links, characterized by a fixed period, with a relatively long period and a short duration for each task.

[0036] Second Link Task (TaskA): Refers to the synchronization task executed on the second link, used for state synchronization and timing parameter transfer between master and slave earpieces.

[0037] The low-power wireless communication method provided in this disclosure can be applied to the master or slave earpiece in a TWS earphone system. In some possible implementations, the low-power wireless communication method can be implemented by a processor calling computer-readable instructions stored in memory, or by hardware logic circuits, or by a combination of hardware and software.

[0038] See Figure 2 This illustrates a schematic diagram of the overall architecture of the TWS earphone system provided in the embodiments of this disclosure.

[0039] A TWS earphone system consists of a master ear and a slave ear. The master ear is connected to a central device (such as a mobile phone) via a first link (BTACL link), and the master ear is connected to the slave ear via a second link (private synchronization link).

[0040] In a TWS earphone system, the master ear is responsible for interacting with the central device, while the slave ear is responsible for listening to information from the central device. The master ear and the slave ear are synchronized through a second link.

[0041] When there is no data transmission between the central device and the headset, the first link will switch to Sniff low-power mode. Sniff mode is a classic Bluetooth low-power operating mode based on ACL links, characterized by fixed-cycle tasks.

[0042] The low-power wireless communication method provided in the embodiments of this disclosure will be described in detail below.

[0043] like Figure 3 As shown, the low-power wireless communication method on the master ear side provided in this embodiment includes the following steps: S101: In response to the low-power mode entry condition being met, control the main ear to enter low-power mode; S102: In low-power mode, configure the first link task and the second link task. The first link task is executed according to the first cycle. The execution cycle of the second link task is determined according to the first cycle, and the start time of the second link task is after the completion time of the first link task.

[0044] The master ear detects whether the low-power mode entry conditions are met. After confirming that the entry conditions are met, the master ear controls itself to enter low-power mode (Sniff mode).

[0045] The main ear configures the timing of the first and second link tasks in low-power mode. For example... Figure 4 As shown, the first link task is executed according to the first cycle (Sniff cycle, denoted as INTVL1), and the execution cycle of the second link task is determined according to the first cycle (for example, the cycle of the second link task is extended to be consistent with the first cycle). The start time of the second link task is after the completion time of the first link task, and the two are staggered on the timeline to avoid overlap or conflict.

[0046] Specifically, the period of the second link task is adjusted from a shorter initial period to a longer period INTVL1, which is the same as the Sniff period. The two ears use the start time of the Sniff task as a reference point, and after a preset time slot offset INTVL2, it becomes the start time of the second link task.

[0047] like Figure 4 As shown, on the timeline, the first link task (Sniff task) is executed first, and its duration is very short. After a preset time slot offset INTVL2, the second link task (TaskA) is executed immediately afterward. The remaining time INTVL3 after the completion of the Sniff task and TaskA serves as the periodic sleep period for the main ear, achieving a first-level optimization of power consumption (corresponding to the stage shown in LV1).

[0048] Here, by adjusting the execution cycle of the second link task to match that of the first link task, frequent wake-ups caused by the two types of tasks being executed at different frequencies on the timeline are avoided, thus reducing the number of periodic wake-ups from the source. By setting the start time of the second link task after the completion time of the first link task, the two types of tasks are arranged sequentially on the timeline rather than overlapping or intersecting, thereby concentrating tasks that might otherwise be scattered across different time points into a single time window, creating conditions for continuous sleep during the remaining time period.

[0049] In the process of controlling the master ear to enter the low-power mode, the master ear switches to the low-power mode on the first link and sends synchronization parameters to the slave ear through the second link. The synchronization parameters are used to indicate the timing information of the second link task.

[0050] In other words, after the master ear switches to low-power mode, it sends synchronization parameters to the slave ear via the second link. The synchronization parameters are used to indicate the timing information of the second link task, including the execution cycle and start time slot position of the second link task. Based on the received synchronization parameters, the slave ear adjusts its own second link task timing to align the slave ear's second link task with the master ear's second link task in time.

[0051] As can be seen, the master ear sends synchronization parameters to the slave ear through the second link, enabling the slave ear to adjust its own task timing according to the timing reference of the master ear, thus achieving alignment between the master and slave ears on the time axis. This mechanism avoids the problem of phase deviation accumulation caused by the master and slave ears establishing their own timing independently, and eliminates the possibility of the dual-ear link tasks being executed at different times due to timing deviation, thereby interfering with each other or staggering wake-up.

[0052] To avoid uneven power consumption between the two ears due to prolonged use, this embodiment of the present disclosure sends a role switching command to the slave ear when a preset time is reached, so that the slave ear responds to the role switching command and switches roles.

[0053] like Figure 4 As shown, in low-power mode, the master ear undertakes the first link task, while the slave ear only undertakes the second link task. The master ear's sleep period is INTVL3, and the slave ear's sleep period is INTVL4 (INTVL4 is longer than INTVL3). The master ear's power consumption is higher than that of the slave ear. To avoid power imbalance between the master and slave ear due to timing differences, as follows... Figure 5 As shown, when the preset time is reached, the master ear sends a role switching command to the slave ear. The slave ear responds to the command and performs a role switching, changing the original master ear to the slave ear and the original slave ear to the master ear, thereby balancing the power consumption of both ears.

[0054] Here, by initiating a master-slave role switch when the preset time is reached, the extra power consumption tasks originally undertaken by the master ear are transferred to the original slave ear, thereby achieving power balance between the two ears during long-term use. This avoids the battery draining too quickly on one earbud due to long-term BT link interaction tasks, thus extending the overall battery life of both ears.

[0055] In the low-power wireless communication method provided in this embodiment, in response to meeting the low-power mode exit condition, the master ear is controlled to exit the low-power mode, and exit synchronization information is sent to the slave ear through the second link. The exit synchronization information is used to instruct the slave ear to restore the original timing of the second link task.

[0056] like Figure 6 As shown, upon confirming that the exit conditions for low-power mode are met, the Sniff mode exits. The master ear autonomously performs Sniff command interaction with the phone and then exits. Additionally, the master ear sends an unsniff command to the slave ear via TaskA and synchronizes timing parameters. Then, the slave ear resumes the ACL task based on the status and clock information obtained from TaskA, switching from Sniff mode to normal mode.

[0057] like Figure 7 As shown, the ear-side low-power wireless communication method provided in this disclosure includes the following steps: S201: Receive synchronization parameters sent by the main ear through the second link; S202: Determine the timing information of the second link task based on the synchronization parameters, wherein the execution cycle of the second link task is determined according to the first cycle of the first link task, and the start time of the second link task is after the completion time of the first link task.

[0058] Specifically, the period of the second link task is adjusted from a shorter initial period to a longer period, the same as the Sniff period. The start time of the Sniff task is used as a reference point, and after a preset time slot offset of INTVL2, the start time of the second link task is taken as such. Figure 4 As shown.

[0059] In low-power mode, the slave ear only executes the second link task and does not need to execute the first link task. Therefore, the wake-up time of the slave ear is shorter, and the sleep period INTVL4 is longer than the sleep period INTVL3 of the master ear, realizing a second-level optimization of power consumption (corresponding to the stage shown in LV2).

[0060] Here, the slave ear determines its own timing based on the synchronization parameters sent by the master ear, enabling timing synchronization between the master and slave ear with the master ear as a reference without the need for independent timing alignment negotiation. This mechanism eliminates the phase deviation caused by the master and slave ear establishing their own timing independently, eliminates the need for additional timing scanning and calibration processes, reduces the overhead of the slave ear in low-power mode, and further increases the continuous sleep time window of the slave ear.

[0061] Upon receiving the exit synchronization information sent by the master ear via the second link, the slave ear restores the timing of the second link task to its original state before low-power mode (including restoring the ACL task) based on this information, thereby exiting low-power mode.

[0062] Upon receiving a role-switching command from the master ear, the slave ear responds by executing a role switch. For example... Figure 5 As shown, the original slave ear becomes the master ear, and the original master ear becomes the slave ear, thereby balancing the power consumption of both ears.

[0063] To facilitate a further understanding of the low-power wireless communication method provided in the embodiments of this disclosure, a detailed description will be given below with reference to two specific examples.

[0064] Example 1: Timing configuration for entering low-power mode See Figure 4 The following explanation uses an INTVL1 period of 240ms as an example.

[0065] After the master ear meets the entry conditions, it switches to Sniff mode first. Then, the master ear sends synchronization parameters to the slave ear through the second link. The synchronization parameters carry the timing information of the Sniff task, the preset time slot offset INTVL2 (pre-configured by the system), and the period configuration information of TaskA.

[0066] Based on the start time of the Sniff task, and after an INTVL2 offset, the two ears set TaskA to execute after the Sniff task. The period of TaskA is extended from a shorter initial period (e.g., 30ms) to 240ms, which is the same as the Sniff period. Within the 240ms period, the Sniff task and TaskA are executed sequentially on the timeline, with an INTVL2 interval in between. After both are completed, the remaining time is used for sleep.

[0067] Example 2: Master-Slave Ear Power Equalization During the Sniff process, the master ear needs to execute the first link task (Sniff task) and the second link task (Task A), while the slave ear only needs to execute the second link task (Task A). For example... Figure 4 , 5As shown, the wake-up time of the master ear is longer (INTVL3), while the wake-up time of the slave ear is shorter (INTVL4). If this state is maintained for a long time, the power consumption of the master ear will be higher than that of the slave ear.

[0068] Therefore, when the preset time (e.g., 30 seconds) is reached, the master ear sends a role switching command to the slave ear. After the slave ear responds, it executes the role switching, realizing the role swap between the two ears. Under the new role allocation, the original slave ear (now master ear) undertakes the first link task, and the original master ear (now slave ear) only undertakes the second link task, thereby balancing the power consumption of the two ears.

[0069] The low-power wireless communication method disclosed herein has the following beneficial effects: First, by determining the execution cycle of the second link task based on the first cycle of the first link task, the cycle of the binaural link task is aligned with the cycle of the BT standard link task, reducing the number of wake-ups within a single Sniff cycle and lowering power consumption.

[0070] Second, by making the start time of the second link task follow the completion time of the first link task, the binaural link task is executed immediately after the BT link task, thus avoiding timing conflicts between the two links and further reducing frequent sleep wake-ups.

[0071] Third, by prioritizing the master ear to switch to low-power mode and sending synchronization parameters to the slave ear via the second link, the slave ear can adjust its own task time slot according to the synchronization parameters, thereby achieving timing alignment and state consistency between the two ears.

[0072] Fourth, by using preset time slot offsets to compress task gaps, the continuous sleep time is increased while ensuring that the two types of tasks do not conflict, thus further optimizing power consumption.

[0073] Fifth, by having the primary ear exit the low-power mode first and sending out exit synchronization information, the secondary ear can be synchronized back to its original timing, thus achieving simultaneous exit of the low-power mode for both ears.

[0074] Sixth, by initiating master-slave role switching within a preset time period, the power consumption imbalance between the two ears caused by timing differences is avoided, thus balancing the power consumption of both ears.

[0075] In the description of this specification, references to terms such as "some possible implementations," "some implementations," "example," "specific example," or "some examples" indicate that a specific feature, structure, material, or characteristic described in connection with that implementation or example is included in at least one implementation or example of this disclosure, and the aforementioned terms do not necessarily refer to the same implementation or example. Furthermore, the described specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more implementations or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different implementations or examples described in this specification, as well as the features of different implementations or examples.

[0076] Regarding the method flowcharts of embodiments of this disclosure, certain operations are described as different steps performed in a certain order. Such flowcharts are illustrative and not restrictive. Some steps described herein may be grouped together and performed in a single operation, or some steps may be divided into multiple sub-steps, and some steps may be performed in an order different from that shown herein. The various steps shown in the flowcharts may be implemented in any way by any circuit structure and / or tangible mechanism (e.g., software running on a computer device, hardware (e.g., logic functions implemented by a processor or chip), and / or any combination thereof).

[0077] Those skilled in the art will understand that in the methods described in the above specific embodiments, the order in which the steps are written does not imply a strict execution order, and the specific execution order of each step should be determined by its function and possible internal logic.

[0078] Based on the same inventive concept, this disclosure also provides a low-power wireless communication device corresponding to the low-power wireless communication method. Since the principle of the device in this disclosure for solving the problem is similar to that of the low-power wireless communication method described above, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0079] Reference Figure 8 The diagram shown is a schematic of a low-power wireless communication device provided in an embodiment of this disclosure, applied to the main earpiece of a TWS earphone system. The device includes: a control module 301 and a configuration module 302; wherein: Control module 301 is used to control the main ear to enter low power mode in response to the low power mode entry condition being met; The configuration module 302 is used to configure a first link task and a second link task in a low-power mode. The first link task is executed according to a first cycle, the execution cycle of the second link task is determined according to the first cycle, and the start time of the second link task is after the completion time of the first link task.

[0080] This embodiment of the disclosure aligns the execution cycle of the binaural link task with the Bluetooth (BT) standard link task cycle, and ensures that the binaural link task executes immediately following the BT link task. This avoids timing conflicts between the two links, reduces frequent sleep / wake cycles, and lowers power consumption.

[0081] In one possible implementation, the control module 301 is specifically configured to control the main ear to enter a low-power mode according to the following steps: The master ear switches to low-power mode on the first link and sends synchronization parameters to the slave ear through the second link. The synchronization parameters are used to indicate the timing information of the second link task.

[0082] In one possible implementation, there is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

[0083] In one possible implementation, it also includes: The exit module 303 is used to control the master ear to exit the low-power mode in response to the low-power mode exit condition being met, and to send exit synchronization information to the slave ear through the second link. The exit synchronization information is used to instruct the slave ear to restore the original timing of the second link task.

[0084] In one possible implementation, it also includes: The switching module 304 is used to send a role switching command to the slave ear when a preset time is reached, so that the slave ear responds to the role switching command and switches roles.

[0085] Reference Figure 9 The diagram shown is a schematic of a low-power wireless communication device provided in an embodiment of this disclosure, applied to a slave earpiece in a TWS earphone system. The device includes: a receiving module 401 and a determining module 402; wherein: The receiving module 401 is used to receive synchronization parameters sent by the main ear through the second link; The determination module 402 is used to determine the timing information of the second link task based on the synchronization parameters, wherein the execution period of the second link task is determined according to the first period of the first link task, and the start time of the second link task is after the completion time of the first link task.

[0086] In one possible implementation, it also includes: The exit module 403 is used to receive the exit synchronization information sent by the master ear through the second link; and restore the original timing of the second link task according to the exit synchronization information.

[0087] In one possible implementation, there is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

[0088] In one possible implementation, it also includes: The switching module 404 is used to receive the role switching command sent by the master ear; and to perform the role switching in response to the role switching command.

[0089] It should be noted that the apparatus in this embodiment can implement the various processes of the aforementioned method and achieve the same effects and functions, which will not be elaborated here.

[0090] This disclosure also provides an electronic device, which can be the master ear or slave ear in a TWS earphone system. For example... Figure 10 The diagram shown is a schematic representation of an electronic device structure provided in this embodiment of the present disclosure, including: a processor 501, a memory 502, and a bus 503. The memory 502 stores machine-readable instructions executable by the processor 501 (e.g., ...). Figure 8 The execution instructions corresponding to the control module 301 and configuration module 302 in the device, for example, Figure 9 The device includes a receiving module 401 and a determining module 402 (for corresponding execution instructions, etc.). When the electronic device is running, the processor 501 and the memory 502 communicate via the bus 503. When a machine-readable instruction is executed by the processor 501, the following processing is performed: In response to the fulfillment of the low-power mode entry conditions, the main ear is controlled to enter low-power mode. In low-power mode, a first link task and a second link task are configured. The first link task is executed according to the first cycle, and the execution cycle of the second link task is determined according to the first cycle. The start time of the second link task is after the completion time of the first link task. Alternatively, the following processing can be performed during execution: Receive synchronization parameters sent by the main ear via the second link; Based on the synchronization parameters, the timing information of the second link task is determined, wherein the execution cycle of the second link task is determined according to the first cycle of the first link task, and the start time of the second link task is after the completion time of the first link task.

[0091] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the low-power wireless communication method described in the above-described method embodiments. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0092] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the low-power wireless communication method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.

[0093] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0094] The various embodiments in this disclosure are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments. In particular, the description of the apparatus, device, and computer-readable storage medium embodiments is simplified because they are basically similar to the method embodiments, and the relevant parts can be referred to the description of the method embodiments.

[0095] The apparatus, device, and computer-readable storage medium provided in this disclosure correspond one-to-one with the method. Therefore, the apparatus, device, and computer-readable storage medium also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the apparatus, device, and computer-readable storage medium will not be repeated here.

[0096] Those skilled in the art will understand that embodiments of this disclosure can be implemented as methods and apparatus (devices or systems), or as computer-readable storage media. Therefore, this disclosure can be implemented entirely in hardware, entirely in software, or in a combination of software and hardware. Furthermore, this disclosure can be implemented as a computer-readable storage medium on one or more computer-readable storage media containing computer-usable program code (including, but not limited to, disk storage, read-only optical disc storage (CD-ROM), optical storage, etc.).

[0097] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices or systems), and computer-readable storage media according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to create a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or block diagrams.

[0098] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article including instruction means, wherein the instruction means implement the functions specified in one or more flowcharts and / or one or more blocks in a block diagram.

[0099] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.

[0100] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0101] Memory can include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0102] Computer-readable media include permanent and non-permanent, removable and non-removable media, which can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory, read-only memory, electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device. Furthermore, although the operations of the methods of this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Additionally, certain steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple sub-steps.

[0103] While the spirit and principles of this disclosure have been described above with reference to several specific embodiments, it should be understood that this disclosure is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined. This disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

1. A low-power wireless communication method, applied to the main earpiece in a TWS earphone system, characterized in that, include: In response to the fulfillment of the low-power mode entry condition, the main ear is controlled to enter low-power mode; In the low-power mode, a first link task and a second link task are configured. The first link task is executed according to a first cycle, and the execution cycle of the second link task is determined according to the first cycle. The start time of the second link task is after the completion time of the first link task.

2. The method according to claim 1, characterized in that, The control of the main ear to enter a low-power mode includes: The master ear is controlled to switch to a low-power mode on the first link and sends synchronization parameters to the slave ear through the second link. The synchronization parameters are used to indicate the timing information of the second link task.

3. The method according to claim 1, characterized in that, There is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

4. The method according to claim 1, characterized in that, The method further includes: In response to the fulfillment of the low-power mode exit condition, the master ear is controlled to exit the low-power mode and an exit synchronization information is sent to the slave ear through the second link. The exit synchronization information is used to instruct the slave ear to restore the original timing of the second link task.

5. The method according to claim 1, characterized in that, The method further includes: When the preset time is reached, a role switching command is sent to the slave ear so that the slave ear can respond to the role switching command and switch roles.

6. A low-power wireless communication method, applied to the slave ear in a TWS earphone system, characterized in that, include: Receive synchronization parameters sent by the main ear via the second link; Based on the synchronization parameters, the timing information of the second link task is determined, wherein the execution period of the second link task is determined according to the first period of the first link task, and the start time of the second link task is after the completion time of the first link task.

7. The method according to claim 6, characterized in that, The method further includes: Receive the synchronization exit information sent by the main ear through the second link; Based on the exit synchronization information, restore the original timing of the second link task.

8. The method according to claim 6, characterized in that, There is a preset time slot offset between the start time of the second link task and the completion time of the first link task.

9. The method according to claim 6, characterized in that, The method further includes: Receive the role switching command sent by the main ear; In response to the role switching command, a role switch is performed.

10. A low-power wireless communication device, used in the main ear of a TWS earphone system, characterized in that, include: The control module is used to control the main ear to enter a low-power mode in response to the low-power mode entry condition being met; The configuration module is used to configure a first link task and a second link task in the low-power mode. The first link task is executed according to a first cycle, the execution cycle of the second link task is determined according to the first cycle, and the start time of the second link task is after the completion time of the first link task.

11. A low-power wireless communication device, used in a secondary earpiece of a TWS earphone system, characterized in that, include: The receiving module is used to receive synchronization parameters sent by the main ear through the second link; The determining module is used to determine the timing information of the second link task based on the synchronization parameters, wherein the execution period of the second link task is determined according to the first period of the first link task, and the start time of the second link task is after the completion time of the first link task.

12. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the memory via the bus, and the machine-readable instructions, when executed by the processor, perform a low-power wireless communication method as described in any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the low-power wireless communication method as described in any one of claims 1 to 9.