Wireless earphone pairing method based on wearing state, wireless earphone and medium

CN122718602BActive Publication Date: 2026-10-23GOERTEK INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611179813.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-10-23
Estimated Expiration
2046-08-05

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提供一种基于佩戴状态的无线耳机配对方法、无线耳机及介质,旨在解决耳机出现误配对的技术问题

Benefits of technology

在无线耳机中的至少一个耳机单元处于佩戴状态的情况下,构建预设时间窗口内的佩戴状态变化轨迹,且仅当佩戴状态变化轨迹满足预设的配对轨迹时才触发无线耳机的配对进程。通过将判定逻辑从对瞬时佩戴状态的离散检测,转变为对连续佩戴过程的有序验证,仅当在预设时间窗口内识别出一条符合自然佩戴习惯的、顺次经历的完整状态转移轨迹时,才确认设备进入真实使用场景。由此以用户真实佩戴行为作为配对触发依据,准确甄别用户的实际使用意图,避免因临时拿起耳机后耳机与身体发生短暂接触后触发的误配对进程,提升设备的续航表现与使用体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122718602B_ABST
    Figure CN122718602B_ABST
Patent Text Reader

Abstract

The application discloses a wireless earphone pairing method based on wearing state, wireless earphones and a medium, relates to the technical field of wireless earphones, and discloses a wireless earphone pairing method based on wearing state, which comprises the following steps: in the case that at least one earphone unit in the wireless earphones is in a wearing state, a wearing state change track of the wireless earphones in a preset time window is constructed, and the wearing state change track is sequentially composed of wearing states at a plurality of sampling moments in the preset time window; and when the wearing state change track meets a preset pairing track, a pairing process of the wireless earphones is triggered. Based on this, by changing the judgment logic from discrete detection of instantaneous wearing state to ordered verification of continuous wearing process, only when a complete state transition track that conforms to natural wearing habits and is sequentially experienced is identified in the preset time window, it is confirmed that the device enters a real use scene, and the probability of false pairing is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless headphone technology, and more particularly to a wireless headphone pairing method based on wearing status, a wireless headphone, and a medium. Background Technology

[0002] Currently, most automatic pairing methods for wireless earbuds detect when the left and right earbuds are inserted into the ear before performing device pairing. However, this method, which determines pairing based on the order in which the earbuds are worn, cannot effectively distinguish between actual user use and non-use scenarios such as accidental touching or temporarily picking them up and putting them down. It can easily lead to mispairing because the sensor only briefly touches the skin and is considered to be wearing the earbuds.

[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this application is to provide a wireless headphone pairing method, wireless headphone, and medium based on wearing status, aiming to solve the technical problem of headphone mispairing.

[0005] To achieve the above objectives, this application proposes a wireless earphone pairing method based on wearing status, the method comprising: When at least one earphone unit in the wireless earphone is in a wearing state, a wearing state change trajectory of the wireless earphone within a preset time window is constructed. The wearing state change trajectory is composed of the wearing states at multiple sampling moments within the preset time window in sequence. When the wearing status change trajectory meets the preset pairing trajectory, the pairing process of the wireless earphone is triggered.

[0006] In one embodiment, the step of constructing the wearing state change trajectory of the wireless earphone within a preset time window when at least one earphone unit in the wireless earphone is in a wearing state includes: When at least one earphone unit in the wireless earphone is in a wearing state, a wearing state time sequence within the preset time window is obtained, wherein the wearing state time sequence includes the wearing state of the left and right ears of the wireless earphone within the preset time window; The wearing state change trajectory is generated based on the state transition nodes of each earphone unit in the wearing state time series.

[0007] In one embodiment, the step of triggering the pairing process of the wireless earphones when the wearing state change trajectory meets a preset pairing trajectory includes: When the wearing state change trajectory meets the preset pairing trajectory, the master control earphone of the wireless earphone is determined according to the preset pairing strategy or the wearing state change trajectory; Control the master headset to connect to the slave headset, and send a pairing connection request based on the master headset.

[0008] In one embodiment, when two of the earphone units are in a wearing state, before the step of triggering the pairing process of the wireless earphones when the wearing state change trajectory meets a preset pairing trajectory, the wireless earphone pairing method based on wearing state further includes: The wearing state change trajectory is determined to satisfy a preset pairing trajectory when any of the following conditions are met: The trajectory of the wearing status change is from the initial non-wearing state through the single-ear wearing state to the dual-ear wearing state; The duration of the continuous state segment of the wear status change trajectory is greater than the preset minimum effective duration threshold.

[0009] In one embodiment, before the step of constructing the wearing state change trajectory of the wireless earphones within a preset time window when at least one earphone unit in the wireless earphones is in a wearing state, the wireless earphone pairing method based on wearing state further includes: In response to the disconnection process between the earphone unit and the storage device, the wear detection module is used to acquire sensor information collected by the wear detection module, which is located in the earphone unit. If, based on the sensing information, it is determined that at least one of the earphone units meets the wearing condition, then the earphone unit is determined to be in the wearing condition.

[0010] In one embodiment, when at least one of the earphone units is in a wearing state, after the step of constructing the wearing state change trajectory of the wireless earphone within a preset time window when at least one earphone unit in the wireless earphone is in a wearing state, the wireless earphone pairing method based on the wearing state further includes: When the wearing state change trajectory changes from the initial non-wearing state to the single-ear wearing state, the number of state transitions of the earphone unit and the duration of the single-ear wearing state are obtained; If the number of state transitions is less than a preset number, and the duration of the single-ear wearing state is greater than a preset duration, then the wearing state change trajectory is determined to satisfy a preset pairing trajectory.

[0011] In one embodiment, prior to the step of triggering the pairing process of the wireless earphones, the wireless earphone pairing method based on wearing status further includes: When the wearing state change trajectory meets the preset pairing trajectory, the touch sensor built into the earphone unit is activated, and the touch information of the earphone unit is obtained based on the touch sensor; If the touch information satisfies the preset pairing confirmation gesture, the step of triggering the pairing process of the wireless earphones is executed.

[0012] In one embodiment, prior to the step of triggering the pairing process of the wireless earphones, the wireless earphone pairing method based on wearing status further includes: When the wearing state change trajectory meets the preset pairing trajectory, the duration of the wearing state of the earphone unit is obtained; If the wearing state lasts for a longer period than a preset duration, the step of triggering the pairing process of the wireless earphones is executed.

[0013] In addition, to achieve the above objectives, this application also proposes a wireless earphone, the wireless earphone comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the wireless earphone pairing method based on wearing state as described above.

[0014] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the wireless earphone pairing method based on wearing status as described above.

[0015] One or more technical solutions proposed in this application have at least the following technical effects: With at least one earbud unit in the wireless earbuds in a wearing state, a wearing state change trajectory is constructed within a preset time window. The pairing process of the wireless earbuds is only triggered when the wearing state change trajectory meets the preset pairing trajectory. By changing the judgment logic from discrete detection of instantaneous wearing states to ordered verification of continuous wearing processes, the device is confirmed to enter a real-world usage scenario only when a complete state transition trajectory that conforms to natural wearing habits and is experienced sequentially is identified within the preset time window. Thus, using the user's actual wearing behavior as the basis for pairing triggers accurately identifies the user's actual usage intentions, avoids mispairing processes triggered by brief contact between the earbuds and the body after temporarily picking up the earbuds, and improves the device's battery life and user experience. Attached Figure Description

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

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating the first embodiment of the wireless earphone pairing method based on wearing status in this application. Figure 2 This is a flowchart illustrating the second embodiment of the wireless earphone pairing method based on wearing status in this application. Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the wireless earphone pairing method based on wearing status in the embodiments of this application.

[0019] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0020] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0021] Previous automatic pairing methods for wireless earbuds mostly involved detecting when the left and right earbuds were inserted into the ears before performing device pairing. However, this method, which determines pairing based on the order in which the earbuds are worn, is difficult to effectively distinguish between actual user use and non-use scenarios such as accidental touching or temporarily picking up and putting down the earbuds. It can easily lead to mispairing because the sensor only briefly touches the skin and is considered to be wearing the earbuds.

[0022] Based on this, this application provides a solution that uses the user's actual wearing behavior as the pairing trigger, accurately identifying the user's actual usage intention. This avoids mispairing caused by non-usage operations such as opening the charging case for cleaning, checking remaining battery power, or organizing accessories, reducing unnecessary device connection responses and wasted power consumption. While maintaining the convenience of seamless automatic pairing, it improves the device's battery life and user experience.

[0023] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or wireless headset capable of performing the above functions. The following description uses a wireless headset as an example to illustrate this embodiment and the subsequent embodiments.

[0024] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0025] In this embodiment, the wireless earphone includes a wear detection module, a state trajectory generation module, a communication module, a collaborative decision-making module, and a pairing control module. The wear detection module incorporates at least one detection element selected from capacitive sensors, infrared sensors, or accelerometers, enabling real-time acquisition of wear status data from the left and right earphone units, and simultaneously outputting a binary wear status result. The state trajectory generation module receives the time-series state data output by the wear detection module and constructs a continuous wear status change trajectory based on the time-series state data within a preset time window, transforming discrete single-point state data into structured trajectory data usable for behavior determination. The communication module enables low-latency real-time data interaction between the left and right earphone units, synchronizing the wear status data, timestamp information, and intermediate calculation results of both ears, ensuring the temporal consistency of the ear status data, and avoiding judgment bias caused by asynchronous ear data. The collaborative decision-making module coordinates the computational resources of both ears, performing collaborative judgment based on the combination and change trajectory of the left and right ear states. The pairing control module executes the pairing process of the wireless earphone upon receiving a trigger command.

[0026] For example, when a user removes the left and right earbud units from the charging case and puts them on in sequence, the wear detection module's built-in capacitive and accelerometer sensors collect wear characteristics in real time, outputting a binary wear status in a continuous sampling manner: 0 indicates not worn, 1 indicates worn, along with the corresponding timestamp. Specifically, the wear detection module for the left earbud unit detects a change from 0 to 1 at time T1, and for the right earbud unit, it detects a change from 0 to 1 at time T2, where T1 is earlier than T2. ​​After synchronizing the time via the communication module, the state trajectory generation module collects the temporal state data of both ears in units of a preset time window. It sorts the originally discrete left and right ear state pairs by time, constructing a continuous wear status change trajectory: S0→S1→S3, where S0 represents not worn, S1 represents left ear worn, S2 represents right ear worn, and S3 represents both ears worn.

[0027] Next, the collaborative decision-making module performs matching calculations using a built-in trajectory template for triggering pairing. When identical wearing state change trajectories exist, and the time interval corresponds to the event in the template, the collaborative decision-making module determines that the wearing state change trajectory meets the preset pairing trajectory. Finally, the earphone's processing unit sends a command to the communication module to control the wireless earphone's pairing control module to enter pairing mode and send a pairing broadcast signal.

[0028] Understandably, if the time interval between wearing the device on both sides exceeds the threshold specified by the template, the trajectory generated by the state trajectory generation module will not match the pairing template, and the collaborative decision-making module will not trigger pairing. This prevents accidental triggering during daily use and ensures the accuracy of the pairing behavior.

[0029] Optionally, the wireless earphones also include a master control election module, a trigger strategy engine module, an anti-false trigger control module, and a user feedback module. The master control election module is responsible for automatically electing a master control unit between the two earphones. The earphone that is worn first is elected as the master earphone, undertaking the core functions of trajectory calculation and pairing control, while the secondary earphone is only responsible for data collection and synchronization. This ensures the stable operation of the pairing process and achieves adaptive dynamic configuration between the master and secondary earphones. The trigger strategy engine module is responsible for storing and managing preset pairing trajectory models, matching rules, threshold parameters, etc., to adapt to different wearing trigger scenarios. The anti-false trigger control module is used to filter out the risk of false triggers in various non-usage scenarios. It can perform jump filtering and duration verification on the original wearing status data, eliminating invalid wearing signals caused by momentary touch or foreign object obstruction. The user feedback module is used to convey the status information of the pairing process to the user. At nodes such as successful pairing, failed pairing, and entering the pairing waiting state, it provides intuitive feedback to the user through prompts, light vibrations, and other intuitive methods.

[0030] Furthermore, the wireless earbuds also include a charging status sensing module to detect the open / closed state of the charging case and the earbuds' presence within the case. When the earbuds are inside the charging case, wear detection and pairing trigger logic are disabled. A gesture interaction verification module detects preset gestures such as double-tapping the earbuds, pinching the stem, or tapping the head, and uses these detected gestures as secondary confirmation conditions for pairing triggering. A distance detection module detects the distance between the earbuds and the user, using this distance information as a secondary confirmation condition.

[0031] This application provides a wireless earphone pairing method based on wearing status, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the wireless earphone pairing method based on wearing status in this application.

[0032] In this embodiment, the wireless earphone pairing method based on wearing status includes steps S10~S20: Step S10: When at least one earphone unit in the wireless earphone is in a wearing state, construct the wearing state change trajectory of the wireless earphone within a preset time window.

[0033] The aforementioned wearing status change trajectory is composed of the wearing status at multiple sampling moments within a preset time window. The preset time window is a fixed time interval pre-configured by the wireless earphone system to capture the user's complete wearing behavior process. The wearing status change trajectory is a dynamic transition path of wearing status constructed by the wireless earphone in chronological order based on continuously collected left and right earphone wearing status data, such as from no wearing state to single ear wearing and then to dual ear wearing.

[0034] In this embodiment, after the charging case is opened or the wireless earbuds are removed from the charging case, the wireless earbuds enter a low-power standby state. At this time, the wireless earbuds, based on their built-in wear detection module, collect the wear status signals of the left and right earbud units in real time to monitor whether either earbud unit has entered a wearing state. When the sensor detects that either the left or right earbud unit has entered a wearing state, a preset time window opening command is triggered, locking the current moment as the window start node. Then, within the duration of the preset time window, the wear status data of both ears at each time node is continuously collected, and the discrete status data is sorted in time sequence and filtered for abnormal jitter data, thereby sorting out the complete wear status switching nodes within the time period, and finally splicing them to generate a continuous and complete wear status change trajectory.

[0035] Specifically, when at least one earphone unit in the wireless earphone is in a wearing state, a wearing state time sequence within a preset time window is obtained, wherein the wearing state time sequence includes the wearing state of the left and right ears of the wireless earphone within the preset time window, and then a wearing state change trajectory is generated based on the state transition nodes of each earphone unit in the wearing state time sequence.

[0036] For example, the wireless earphone monitors the wearing status in real time. When the left earphone unit is detected as being worn, a preset time window of 3 seconds is immediately opened. Status data is continuously collected within this window. If the right earphone unit is detected as being worn at the 2nd second, and S0 represents not being worn, S1 represents the left earphone being worn, S2 represents the right earphone being worn, and S3 represents both earphones being worn, the wearing status time sequence obtained by sampling at a fixed period within the preset time window is [S0, S0, S0, S1, S1, S1, S3, S3, S3]. That is, the first half of the sequence is continuously S0, indicating that the wireless earphone is not being worn; the middle half is continuously S1, corresponding to the single-ear stage where the left earphone is worn but the right earphone is not; and the second half is continuously S3, corresponding to the dual-ear wearing state after the right earphone is worn. Finally, through the state transition nodes of each earphone unit in this wearing status time sequence, the state change trajectory is generated as: S0→S1→S3. Similarly, if the right earphone is worn first, the state change trajectory is: S0→S2→S3.

[0037] This embodiment first detects valid wearing behavior and constructs a complete wearing trajectory based on a time window, thereby effectively eliminating contact interference and reducing the mispairing rate of wireless headphones.

[0038] Step S20: When the wearing status change trajectory meets the preset pairing trajectory, the pairing process of the wireless earphone is triggered.

[0039] The preset pairing trajectory is a state transition path pre-stored by the wireless earphone system that conforms to the user's normal wearing and usage habits. The pairing process is a standardized process for establishing a Bluetooth communication connection between the wireless earphone and the terminal device, which may include a series of actions such as broadcasting pairing signals, device identification, key verification, and link establishment.

[0040] In this embodiment, after constructing the wearing status change trajectory, the wireless earphone's processing module can call the locally stored standard pairing trajectory, which includes a positive complete transition path of "not wearing → wearing one ear → wearing both ears". Then, the real-time wearing status change trajectory is compared with the preset pairing trajectory. If the real-time trajectory completely matches the preset pairing trajectory, it is determined that the current scenario is a user-initiated usage scenario, and the pairing process of the wireless earphone is immediately started, thereby broadcasting the pairing signal and waiting for the terminal device to connect.

[0041] Therefore, when two earphone units are in a wearing state, if the wearing state change trajectory changes from an initial non-wearing state through a single-ear wearing state to a dual-ear wearing state, then the wearing state change trajectory is considered to satisfy a preset pairing trajectory. Furthermore, feature matching can be performed based on trajectory feature thresholds. If the duration of a continuous state segment in the wearing state change trajectory is greater than a preset minimum effective duration, the wearing state change trajectory is considered to satisfy a preset pairing trajectory. For example, if after changing from a non-wearing state to a single-ear wearing state, the duration of the single-ear wearing state is less than 2 seconds, and then after 2 seconds, it changes from a single-ear wearing state to a dual-ear wearing state, then the wearing state change trajectory is considered to satisfy a preset pairing trajectory.

[0042] Furthermore, when wearing only one earbud, the system can determine the pairing accuracy by combining the number of state transitions within the single-ear pairing trajectory with the trajectory's change from an initial non-wearing state to a single-ear pairing state. Specifically, when one earbud unit is in a wearing state, the system can determine the number of state transitions and the duration of the single-ear pairing state as the trajectory changes from an initial non-wearing state to a single-ear pairing state. If the number of state transitions is less than a preset number, and the duration of the single-ear pairing state is greater than a preset duration, then the pairing trajectory is considered to meet a preset pairing trajectory. This improves the recognition accuracy when wearing only one earbud. If the duration of the single-ear pairing state is less than or equal to a preset duration, meaning the earbud unit changes back to a non-wearing state within that time period, the subsequent pairing process can be stopped.

[0043] Optionally, if the tracks do not match, the pairing trigger command is blocked, and the headphones are kept in low-power standby mode.

[0044] For example, the standard pairing trajectory pre-stored in the wireless earphones is: S0 not worn → S1 wearing one earphone → S3 wearing both ears. When the real-time trajectory perfectly matches this path, the earphones immediately turn on Bluetooth pairing broadcast and trigger the pairing connection process with the mobile terminal.

[0045] Optionally, the wireless earbuds can also send the wearing status change trajectory to the earbud charging case, which will then match the trajectories based on the pre-stored preset pairing trajectories and control the wireless earbuds to trigger the pairing process to wirelessly pair the devices when the conditions are met.

[0046] Furthermore, in addition to the binary wearing result, the wearing state can also include the angular velocity of the wearing motion and spatial attitude parameters. These parameters are collected in real time by the gyroscope and accelerometer built into the earphone, which can accurately reflect the movement speed, deflection angle, and spatial attitude changes of the earphone throughout the entire process of taking the earphone out of the storage device, moving it into the ear canal, and putting it into the ear. Therefore, the continuously quantified wearing state parameters can be extracted into a standardized wearing state temporal feature vector, and feature similarity matching can be used to determine trajectory changes.

[0047] Therefore, while or after obtaining the wearing state time series within the preset time window, in addition to generating the wearing state change trajectory based on the state transition nodes of each headphone unit in the wearing state time series, the temporal feature vectors of continuously quantized state parameters in the sequence can also be extracted, and these vectors can be matched with the pre-stored standard wearing feature templates for similarity matching, so that when the similarity meets the similarity corresponding to the preset pairing trajectory, the pairing process is triggered.

[0048] Specifically, when constructing a temporal feature vector based on the angular velocity of the wearing action and spatial attitude parameters, a preset time window can be divided into multiple time slices of equal length. Statistical features such as mean, variance, and rate of change are extracted from the triaxial angular velocity and attitude angle sampling data within each time slice. These features are then concatenated into a multidimensional temporal feature vector in chronological order. For example, the temporal feature vector corresponding to a user wearing headphones normally exhibits the following distribution: "moderate mean and small variance of angular velocity in the initial slice (corresponding to a smooth deflection during the removal phase) → stable attitude angle change rate and no drastic jumps in the middle slice (corresponding to a stable rate during the movement to the ear) → mean angular velocity approaching 0 and extremely low variance in the final slice (corresponding to a stable return to zero after proper placement)." However, when a user holds the headphones and shakes them randomly, the variance of the angular velocity in each time slice is high, with irregular positive and negative jumps, and no convergence to zero characteristic in the final slice. The generated temporal feature vector has extremely low similarity to the pre-stored standard wearing feature vector, thus directly eliminating false triggers in shaking scenarios.

[0049] Optionally, the parameter corresponding to the wearing state can also be a continuously quantified parameter of wearing contact. This parameter is characterized by the continuous sensing values ​​output by the capacitive sensing sensor and infrared proximity sensor built into the earphone, which can quantify the contact area between the earphone and the human skin, the fitting distance, and the degree of ear seal. When constructing the temporal feature vector, the preset time window can be divided into slices of equal length. For the capacitive sensing value and infrared proximity value in each slice, features such as the average contact degree, rise rate, and fluctuation amplitude are extracted and concatenated in chronological order to form a single-dimensional temporal feature vector.

[0050] This embodiment provides a wireless earphone pairing method based on wearing status. By constructing a complete wearing status change trajectory within a preset time window when the earphone wearing status is detected, the pairing process is triggered only when the trajectory sequentially presents the complete process of not wearing, wearing one ear, and wearing both ears. The judgment criterion is upgraded from a single instantaneous state to a complete behavioral process, thereby accurately distinguishing between user-initiated wearing scenarios and non-use scenarios such as opening the case for cleaning, checking the battery level, and organizing accessories. This eliminates invalid pairing responses in non-use scenarios, reduces unnecessary power consumption of the device, and improves the device's operational stability and battery life while retaining the convenient user experience of seamless automatic pairing of wireless earphones.

[0051] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Step S20 includes steps S21 to S22: Step S21: When the wearing state change trajectory meets the preset pairing trajectory, determine the master control earphone of the wireless earphone according to the preset pairing strategy or the wearing state change trajectory.

[0052] When pairing headphones via Bluetooth, you can select the core headphone unit responsible for establishing communication connections with terminal devices and managing the distribution of headphone status and audio data internally. This core headphone is the master control headphone, which handles pairing interactions, command relay, and data processing. The preset pairing strategy is a master control headphone assignment rule pre-configured by the headphone system. This rule can be a fixed master control rule, a wearing order priority rule, or a user-defined preference rule.

[0053] In this embodiment, after determining that the real-time wearing status change trajectory perfectly matches the preset pairing trajectory, it is necessary to retrieve the currently effective pairing strategy rule. If the pairing strategy is configured as a fixed master control rule, such as the rule stating that the left earphone unit is the fixed master control earphone, then the left earphone unit is directly used as the master control earphone. If the custom rule specifies that the earphone unit with the higher battery level is the master control earphone, then the battery information of the two master control earphones is first obtained, and the earphone with the higher battery level is selected as the master control earphone based on the battery information.

[0054] In addition, when selecting the master earphone by the wearing status change trajectory, the wearing order of the earphones can be determined by the change trajectory. Then, according to the wearing of the left and right earphones, the earphone worn first is selected as the master earphone for this pairing, and the other earphone is automatically marked as the slave earphone.

[0055] For example, when a user puts on the headphones, they first put on the right headphone and then the left headphone. After the system determines that the trajectory matches the preset pairing trajectory, it extracts from the trajectory that the right headphone was put on earlier than the left headphone. Then it determines that the right headphone is the master headphone for this pairing and the left headphone is the slave headphone.

[0056] Step S22: Control the master headset to connect to the slave headset and send a pairing connection request based on the master headset.

[0057] In this embodiment, the master earphone initiates a binaural connection command, sending a connection request and synchronization parameters to the slave earphone via a low-power private link. After the slave earphone responds to the request, both parties complete clock calibration, state synchronization, and audio link pre-configuration. Once the internal connection is complete, the master earphone blocks the slave earphone's external broadcast channel and broadcasts a pairing connection request according to the standard Bluetooth protocol to perform pairing interaction with surrounding terminal devices, completing pairing authentication and connection establishment.

[0058] This embodiment provides a wireless earphone pairing method based on wearing status. It automatically assigns a master earphone based on the timing data of wearing status changes, eliminating the need for manual user settings for master and slave earphones and requiring no additional hardware detection modules. This achieves adaptive and seamless master / slave earphone allocation. Furthermore, by using a unified connection between the master and slave earphones to initiate pairing requests, signal interference from independent dual-ear broadcasts is reduced, improving pairing stability and connection efficiency. While ensuring protection against accidental touches in non-use scenarios, it further optimizes the wireless earphone pairing experience.

[0059] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the first embodiment can be referred to the above description, and will not be repeated hereafter. Furthermore, before step S10, steps S01~S02 are also included: Step S01: In response to the disconnection process between the earphone unit and the storage device, the sensor information collected by the wear detection module is obtained. The wear detection module is set in the earphone unit. The aforementioned storage device refers to a charging case used for storing and charging wireless earbuds. The disconnection process refers to the process triggered when the earbud unit is removed from the storage device and detaches from the physical charging connection and magnetic fixation. The wear detection module can consist of an infrared proximity sensor, a capacitive sensor, or an optical sensor, used to detect whether the earbuds have entered the ear canal through non-contact sensing or human feature recognition.

[0060] In this embodiment, the earphone unit uses a charging contact at the bottom and a built-in magnetic component to detect its connection status with the storage device in real time. In normal storage, the wear detection module is in a low-power sleep mode, with only the connection detection circuit operating. When the user removes the earphone unit from the storage device, the charging contact is de-energized, the magnetic connection is broken, and the earphone wakes up the built-in wear detection module. Based on this module, data is collected at a preset low-power sampling frequency, and the sensor data of the external environment is output in real time. This avoids unnecessary power consumption caused by the earphone continuously operating and detecting within the case.

[0061] Step S02: If it is determined based on the sensor information that at least one earphone unit meets the wearing state, then the earphone unit is determined to be in the wearing state.

[0062] In this embodiment, after receiving real-time sensing information transmitted by the wear detection module, the main control chip of the earphone performs preprocessing on the raw sensing data, such as noise reduction filtering to remove abnormal noise data such as ambient light interference and handheld static electricity fluctuations. Then, it compares the processed sensing data frame-by-frame with a pre-stored wear status determination threshold, counting the number of times the data meets the threshold within a continuous sampling period. If the sensing data of a single earphone reaches the wear determination threshold for multiple consecutive sampling periods, the earphone unit is determined to meet the valid wear status. When at least one earphone unit meets the wear status, the subsequent wear status change trajectory construction process is simultaneously triggered.

[0063] For example, if the reflected light intensity detected by the infrared sensor and the capacitance value detected by the capacitance sensor of the right earphone both reach the preset wearing determination threshold in four consecutive sampling cycles, it is determined that the right earphone unit meets the wearing state. Then, it is confirmed that there is an earphone unit in the wearing state so as to start the trajectory construction process within the subsequent preset time window.

[0064] This embodiment eliminates invalid scenarios within the box from a physical perspective and eliminates accidental touches from a sensor perspective by screening through physical disconnection and wear-sensor verification. This significantly reduces the power consumption of invalid device calculations, ensures the accuracy of subsequent trajectory construction and triggering, and avoids meaningless trajectory calculations and pairing triggers.

[0065] This embodiment provides a wireless earphone pairing method based on wearing status. It uses the detection of the earphone's removal from the charging case as a prerequisite for wearing detection. The wearing detection module is only activated to collect sensor information and verify the wearing status after the earphone is removed from the charging case. This avoids the standby power consumption loss caused by the earphone continuously running wearing detection within the charging case, and also physically eliminates false detection scenarios caused by foreign objects obstructing the earphone or vibrations during transportation. Simultaneously, it verifies the wearing status based on multiple frames of continuous sensor data, filtering out false signals from non-wearing scenarios such as hand contact or brief obstruction, providing a reliable trigger condition for constructing the subsequent wearing status change trajectory.

[0066] Based on the first embodiment of this application, in the fourth embodiment of this application, the content that is the same as or similar to that in the first embodiment can be referred to the above description, and will not be repeated hereafter. Based on this, before triggering the pairing process of the wireless earphone in step S30, steps S301~S302 are also included: Step S301: When the wearing state change trajectory meets the preset pairing trajectory, activate the touch sensor built into the earphone unit and obtain the touch information of the earphone unit based on the touch sensor; In this embodiment, the touch sensor is integrated into the touch detection component of the earphone unit stem or shell. This sensor may include a capacitive touch sensor or a pressure sensor. It can identify user actions such as touching, pressing, and swiping by detecting changes in human body capacitance and pressure.

[0067] Once the headphone's control system completes the matching and determination of the wearing status change trajectory and confirms that the real-time trajectory fully matches the preset pairing trajectory, a secondary confirmation can be performed based on the touch sensors inside the headphones to further reduce the false recognition rate. Specifically, when the pairing trajectory is met, a wake-up activation command is sent to the touch sensors built into the left and right headphone units to activate the touch sensors. After the touch sensors are activated, they collect real-time data on the headphone touch area according to a preset sampling frequency, synchronously capturing the user's touch operation actions, extracting features such as the start time, end time, touch area, and signal strength of each operation, generating complete touch information, and transmitting it to the headphone's main control chip in real time.

[0068] For example, after the system determines that the user's wearing trajectory completely matches the preset pairing trajectory, it immediately activates the capacitive touch sensors on the left and right earphone stems, opens a 3-second gesture detection window, and the touch sensors collect the capacitance change data of the touch area in real time at a sampling frequency of 80Hz, and simultaneously transmit touch information such as the duration, position, and interval of each touch to the main control chip.

[0069] This embodiment uses wearing trajectory matching as a pre-trigger threshold for touch detection, and only activates the touch module when it is initially determined that there is a possibility of use, so as to avoid the power consumption loss caused by the normal operation of the touch sensor and reduce invalid touch detection in non-use scenarios such as holding and pocket squeezing.

[0070] Step S302: If the touch information satisfies the preset pairing confirmation gesture, execute the step of triggering the pairing process of the wireless earphone.

[0071] In this embodiment, the preset pairing confirmation gesture is a pre-stored, standardized gesture that the user actively operates to confirm the start of pairing. This gesture usually includes a compound action with clear operating characteristics, such as double-tapping the earphone stem, long-pressing a designated area, or pinching twice in succession.

[0072] Specifically, after receiving real-time touch information from the touch sensor, the headphone's main control chip extracts the valid touch operation features from the touch information. Then, it compares these extracted touch features with a pre-stored pairing confirmation gesture feature library, verifying that parameters such as the number of operations, duration of each operation, and interval between adjacent operations are all within the preset gesture tolerance range. If the comparison result matches a preset pairing confirmation gesture, it is determined that the user has actively confirmed the pairing operation, and the Bluetooth pairing process of the wireless headphones is officially triggered, broadcasting a pairing connection signal. If no matching confirmation gesture is detected within the gesture detection window, the current trajectory matching scenario is determined to be a non-user-initiated scenario, the pairing triggering process is terminated, and the touch sensor is turned off to reduce power consumption.

[0073] For example, the preset pairing confirmation gesture is a double-tap on the right earbud stem, with corresponding parameters of a single touch duration of 100-200ms and an interval of 200-400ms between the two operations. When the preset pairing trajectory is met, within a 3-second detection window, two short touch operations by the user on the right earbud stem are detected, with a single touch duration of 150ms and an interval of 320ms. At this time, all parameters match the preset gesture characteristics, and it is determined that the user has confirmed pairing, thereby triggering the Bluetooth pairing process of the wireless earbuds.

[0074] This embodiment, based on passive recognition of wearing trajectory, superimposes user-initiated interactive confirmation commands, combining automatic system judgment with user subjective will to further filter out false triggers in non-usage scenarios with similar trajectories. At the same time, it gives users control over the pairing operation, avoiding unexpected connection disturbances caused by seamless automatic pairing.

[0075] This embodiment provides a wireless earphone pairing method based on wearing status. In addition to pairing triggered by wearing trajectory, a secondary confirmation mechanism for touch gesture is set up. The pairing process is only officially started when the wearing status change trajectory matches the preset pairing trajectory and the user actively triggers the pairing confirmation gesture. Through the dual verification logic of behavior trajectory prediction and user active confirmation, false triggering in non-use scenarios with similar trajectories is filtered out, further reducing invalid pairing responses and power consumption.

[0076] Based on the first embodiment of this application, in the fifth embodiment of this application, the content that is the same as or similar to the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Furthermore, before triggering the pairing process of the wireless earphones in step S30, steps S303-S304 are also included: Step S303: When the wearing state change trajectory meets the preset pairing trajectory, obtain the wearing state duration of the earphone unit; Step S304: If the wearing state lasts for a longer period than a preset duration, execute the step of triggering the pairing process of the wireless earphone.

[0077] The duration of wearing status refers to the cumulative length of time that both earphone units simultaneously and stably maintain an effective wearing state after the trajectory of the wearing status changes to the final binaural wearing state. The preset duration is a pre-calibrated time threshold used to distinguish between temporary wearing scenarios and real-world usage scenarios. This threshold is calibrated based on user habit data after normal earphone wearing and can filter out non-use scenarios such as short-term trial wearing and immediate removal after brief contact.

[0078] In this embodiment, after matching and determining the trajectory of the wearing state change and confirming that the real-time trajectory fully conforms to the preset pairing trajectory, the current time point is used as the starting point for timing. During the timing process, the real-time sensor data of the earphone wearing detection module is continuously read to monitor whether the wearing state of the left and right earphones remains stable and effective. If an interruption or drop in the wearing state of one or both ears is detected, the timing duration is immediately reset and the current accumulation is terminated, pausing the pairing process of the wireless earphones. If the cumulative wearing state duration reaches and exceeds the preset duration, and the wearing state of both ears remains stable, the current scenario is determined to be a real user usage scenario, and the Bluetooth pairing process of the wireless earphones is triggered, initiating the pairing broadcast and device connection process. If an interruption or drop in the wearing state is detected before the duration reaches the preset threshold, the current scenario is determined to be a non-usage scenario such as temporary trial wearing or brief touch, the pairing triggering process is immediately terminated, the timing parameters are reset, and the earphones are controlled to return to a low-power standby state.

[0079] This embodiment uses a secondary verification of time thresholds to seamlessly filter out false triggers in all short-term non-wearing scenarios without requiring any additional user intervention. This further improves the accuracy of pairing triggers and overcomes the limitation of single-trajectory matching in distinguishing between short-term wear and long-term use.

[0080] For example, once the system determines that the user's wearing trajectory perfectly matches the preset pairing trajectory and both earbuds enter a stable wearing state, the system immediately starts timing from that moment, while continuously reading the wearing data from the infrared and capacitive sensors, updating the current duration of the dual-ear wearing state every 100ms. The preset wearing duration threshold is 2 seconds. During the timing process, the dual-ear wearing state remains stable. When the cumulative duration reaches 2 seconds, it is determined that the valid usage conditions are met, and the Bluetooth pairing process of the wireless earbuds is officially triggered, broadcasting the pairing connection signal. If the earbuds are detected to be removed when the cumulative duration reaches 1.5 seconds, the duration has not reached the threshold, and the pairing process is not triggered.

[0081] This embodiment provides a wireless earphone pairing method based on wearing status. In addition to pairing triggered by wearing trajectory, a wearing status duration verification step is set. The pairing process is only triggered when the wearing trajectory matches the preset pairing trajectory and the wearing status of both ears is stably maintained for more than the preset duration. Without the need for additional user operation, it can seamlessly filter out false triggers in non-use scenarios such as temporary wearing or immediate removal after brief touch, further improving the accuracy of user intention recognition and reducing invalid pairing responses and device power consumption.

[0082] This application provides a wireless earphone, which includes: 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, which, when executed by the at least one processor, enable the at least one processor to perform the wireless earphone pairing method based on wearing state in the first embodiment described above.

[0083] The following is for reference. Figure 3 It shows a structural schematic diagram suitable for implementing the wireless earphones of the embodiments of this application. Figure 3 The wireless earphone shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0084] like Figure 3 As shown, the wireless headset may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the wireless headset. The processing device 1001, the ROM 1002, and the RAM 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the wireless headset to communicate wirelessly or wiredly with other devices to exchange data. While the figures show wireless headsets with various systems, it should be understood that implementing or having all of the systems shown is not required. More or fewer systems may be implemented alternatively.

[0085] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0086] The wireless earphone provided in this application employs the wireless earphone pairing method based on wearing status in the above embodiments, which can solve the technical problem of mispairing of earphones. Compared with the prior art, the beneficial effects of the wireless earphone provided in this application are the same as those of the wireless earphone pairing method based on wearing status provided in the above embodiments, and other technical features of the wireless earphone are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0087] It should be understood that the various parts disclosed in this application can be implemented using 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 suitable manner in one or more embodiments or examples.

[0088] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0089] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the wireless earphone pairing method based on wearing state in the above embodiments.

[0090] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory (EPROM, or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. 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 conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.

[0091] The aforementioned computer-readable storage medium may be included in the wireless earphone; or it may exist independently and not assembled into the wireless earphone.

[0092] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the wireless headset, cause the wireless headset to: When at least one earphone unit in the wireless earphone is in a wearing state, a wearing state change trajectory of the wireless earphone within a preset time window is constructed. The wearing state change trajectory is composed of the wearing states at multiple sampling moments within the preset time window in sequence. When the wearing status change trajectory meets the preset pairing trajectory, the pairing process of the wireless earphone is triggered.

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

[0094] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0095] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0096] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described wireless earphone pairing method based on wearing status, thereby solving the technical problem of mispairing of earphones. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the wireless earphone pairing method based on wearing status provided in the above embodiments, and will not be repeated here.

[0097] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A pairing method for wireless earphones based on wearing status, characterized in that, The wireless earphone pairing method based on wearing status includes: When at least one earphone unit in the wireless earphone is in a wearing state, a wearing state change trajectory of the wireless earphone within a preset time window is constructed. The wearing state change trajectory is composed of the wearing states at multiple sampling moments within the preset time window in sequence. If the wearing state change trajectory changes from an initial non-wearing state through a single-ear wearing state to a dual-ear wearing state, and the duration of the continuous state segment of the wearing state change trajectory is greater than a preset minimum effective duration threshold, then the wearing state change trajectory is determined to satisfy a preset pairing trajectory. When the wearing state change trajectory meets the preset pairing trajectory, the duration of the wearing state of the earphone unit is obtained; If the wearing state lasts for a longer than a preset duration, the pairing process of the wireless earphone is triggered, wherein the pairing process is the process of establishing a communication connection between the wireless earphone and the terminal device.

2. The wireless earphone pairing method based on wearing status as described in claim 1, characterized in that, The step of constructing the wearing status change trajectory of the wireless earphone within a preset time window when at least one earphone unit in the wireless earphone is in a wearing state includes: When at least one earphone unit in the wireless earphone is in a wearing state, a wearing state time sequence within the preset time window is obtained, wherein the wearing state time sequence includes the wearing state of the left and right ears of the wireless earphone within the preset time window; The wearing state change trajectory is generated based on the state transition nodes of each earphone unit in the wearing state time series.

3. The wireless earphone pairing method based on wearing status as described in claim 1, characterized in that, The step of triggering the pairing process of the wireless earphones when the wearing state change trajectory meets the preset pairing trajectory includes: When the wearing state change trajectory meets the preset pairing trajectory, the master control earphone of the wireless earphone is determined according to the preset pairing strategy or the wearing state change trajectory; Control the master headset to connect to the slave headset, and send a pairing connection request based on the master headset.

4. The wireless earphone pairing method based on wearing status as described in claim 1, characterized in that, Before the step of constructing the wearing state change trajectory of the wireless earphones within a preset time window when at least one earphone unit in the wireless earphones is in a wearing state, the wireless earphone pairing method based on wearing state further includes: In response to the disconnection process between the earphone unit and the storage device, the wear detection module is used to acquire sensor information collected by the wear detection module, which is located in the earphone unit. If, based on the sensing information, it is determined that at least one of the earphone units meets the wearing condition, then the earphone unit is determined to be in the wearing condition.

5. The wireless earphone pairing method based on wearing status as described in claim 1, characterized in that, When at least one of the earphone units is in a wearing state, after the step of constructing the wearing state change trajectory of the wireless earphone within a preset time window when at least one earphone unit in the wireless earphone is in a wearing state, the wireless earphone pairing method based on wearing state further includes: When the wearing state change trajectory changes from the initial non-wearing state to the single-ear wearing state, the number of state transitions of the earphone unit and the duration of the single-ear wearing state are obtained; If the number of state transitions is less than a preset number, and the duration of the single-ear wearing state is greater than a preset duration, then the wearing state change trajectory is determined to satisfy a preset pairing trajectory.

6. The wireless earphone pairing method based on wearing status as described in any one of claims 1 to 5, characterized in that, Before the step of triggering the pairing process of the wireless earphones, the wireless earphone pairing method based on wearing status further includes: When the wearing state change trajectory meets the preset pairing trajectory, the touch sensor built into the earphone unit is activated, and the touch information of the earphone unit is obtained based on the touch sensor; If the touch information satisfies the preset pairing confirmation gesture, the step of triggering the pairing process of the wireless earphones is executed.

7. A wireless earphone, characterized in that, The wireless earphone includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the wireless earphone pairing method based on wearing state as described in any one of claims 1 to 6.

8. 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, it implements the steps of the wireless earphone pairing method based on wearing status as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for detecting wearing condition of wireless headset, and wireless headset

    CN109257674A

  • Wireless earphone wearing detection method, device, and storage medium

    WO2023092784A1