Method for connecting earphone box in case of uncovering
By analyzing the external signals and historical records after the headset box is opened, the Bluetooth headset's return strategy is optimized, which solves the problems of low return connection efficiency and unknown user status, and improves the success rate and user experience of return connection.
Patent Information
- Application Number
- CN202510356303.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-04-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing Bluetooth headsets are inefficient when connected back, and it is difficult for users to understand the specific operation and status of the headset after opening the cover, resulting in confusion and waiting anxiety.
By obtaining external signals, sorting out the history of headphone connections, denoising the signal, and analyzing the connection signals and history records, the headphone mode is determined to optimize the back connection strategy.
It improves the success rate and efficiency of Huilian, reduces users' doubts and waiting anxiety, enhances users' sense of control over the products, and improves compatibility and versatility of various devices.
Smart Images

Figure CN119865792A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of Bluetooth, and in particular to a method for connecting an earphone box by opening a cover. Background Art
[0002] Bluetooth technology is an open global standard for wireless data and voice communications. It is a special short-range wireless technology connection based on low-cost short-range wireless connection to establish a communication environment for fixed and mobile devices.
[0003] Bluetooth headsets are hands-free headsets that allow users to avoid the entanglement of annoying wires and make calls easily in various ways.
[0004] Under the current headphone connection mechanism, the fixed reconnection order has significant disadvantages. Taking the common headphone usage scenario as an example, the headphone simply tries to connect to the last connected device, without intelligent judgment and priority processing based on different situations such as TWS, resulting in low reconnection efficiency or failure to meet user expectations in some scenarios; the operation and status of the headphone after opening the cover are crucial to the user, but the current lack of status prompts has brought a lot of trouble to the user. The user is not clear about the specific operation and status of the headphone after opening the cover, such as whether it is trying to reconnect, which device is being reconnected, the reason for the reconnection failure, etc., which can easily confuse the user and make him feel overwhelmed. Summary of the invention
[0005] In order to solve the above technical problems, a method for reconnecting when the earphone box is opened is provided, which solves the problems of low reconnection efficiency in some of the above scenarios and users not being clear about the specific operation and status of the earphone after opening the cover.
[0006] In order to achieve the above purpose, the technical solution adopted by the present invention is: A method for connecting an earphone box by opening a cover, comprising: Get external signals; Get the history of headphone connections and organize them; Perform signal noise reduction processing on external signals to obtain connection signals; The connection signal is analyzed with the collated historical records to determine the headphone mode.
[0007] Preferably, the obtaining and arranging the historical records of headphone connections comprises the following steps: Get the history of headphone box connection; Get abnormal data in historical records; Get the remaining features of the abnormal data; Fill in abnormal data based on features; Extract time features and frequency features from historical records; The populated history records are sorted according to the connection time and the number of connections.
[0008] Preferably, the performing signal noise reduction processing on the external signal to obtain the connection signal comprises the following steps: Process the external signal and convert the spatial domain into the time domain; The processed data is processed again using Fourier transform algorithm; Filter the secondary processed data according to the headphone receiving frequency; Get the headphone connection signal.
[0009] Preferably, analyzing the connection signal and the sorted historical records to determine the headphone mode comprises the following steps: Compare the connection signal with the collated history; If the connection signal exists in the history record, the headset is connected to the mobile phone; If the connection signal does not exist in the history, the headset is paired with the mobile phone.
[0010] Preferably, if the connection signal exists in the historical record, connecting the headset to the mobile phone includes the following steps: Mark the moment when the headset recognizes the mobile phone signal; Take the start time as the start time and start timing; Setting a first threshold; Get the connection time; If the connection time is less than the first threshold, the connection is judged to be successful; If the connection time is greater than the first threshold, it is determined that the connection has timed out; After the connection times out, the headset re-compares the pairing records; If the headset's history records exist in the mobile phone's records, a reconnection signal is sent; If there is no record of the mobile phone in the history of the headset, a pairing signal is sent.
[0011] Preferably, if the history record of the headset exists in the record of the mobile phone, sending a reconnection signal comprises the following steps: The time when the reconnection signal is sent is regarded as the reconnection time, and the counting starts; setting a second threshold; Get the reconnection time; If the reconnection time is less than or equal to the second threshold, the headset enters the standby mode; If the reconnection time is greater than the second threshold, the headset enters a connectable but undiscoverable state.
[0012] Preferably, if there is no record of the mobile phone in the history record of the headset, sending a pairing signal comprises the following steps: Get the signal characteristics after the connection timeout; Get physical information of the mobile phone; The headset compares historical records based on signal characteristics and physical information; If the headset has a pairing record for the mobile phone, the headset sends a signal to connect to the mobile phone; If there is no pairing record of the mobile phone in the headset, the headset sends the pairing information and pairing key.
[0013] Preferably, if the connection signal does not exist in the historical record, pairing the headset with the mobile phone includes the following steps: The headset obtains the frequency of the connection signal; The headphones obtain the physical information within the connection signal; The headset sends a pairing signal and pairing key to the mobile phone based on the frequency and physical information; The phone receives the pairing signal and starts timing; Get pairing time; setting a third threshold; If the pairing time is less than or equal to the third threshold, the connection is successful and the headset enters; If the pairing time is greater than the third threshold, the headset enters the video mode.
[0014] Compared with the prior art, the advantages of the present invention are: the present invention can flexibly adjust the reconnection strategy according to whether there is a pairing record, etc., to better adapt to the usage habits and device combinations of different users, thereby improving the success rate and efficiency of reconnection; through clear process nodes and status indications, the user can understand the working status of the headset in real time, reducing the user's confusion and waiting anxiety, and enhancing the user's sense of control over the product; there are corresponding processes and processing methods in different pairing and reconnection scenarios, which improves compatibility with various devices, reduces reconnection problems caused by device differences, and improves the versatility and user satisfaction of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flowchart of steps S100-S400 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 2 A flowchart of steps S201-S206 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 3 A flowchart of steps S301-S304 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 4 A flowchart of steps S401-S403 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 5A flowchart of steps S4021-S4029 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 6 A flowchart of steps S40281-S40285 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 7 A flowchart of steps S40291-S40295 in a method for connecting an earphone box by opening the cover of the earphone box provided by the present invention; Figure 8 This is a flow chart of steps S4031-S4038 in the method for connecting an earphone box by opening the cover proposed by the present invention. DETAILED DESCRIPTION
[0016] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0017] Reference Figure 1-8 As shown, a method for connecting an earphone box by opening the cover includes: S100, obtaining an external signal; S200, obtaining and arranging the history records of headphone connections; S300, performing signal noise reduction processing on the external signal to obtain a connection signal; S400, analyzing the connection signal and the sorted historical records to determine the headphone mode; It can be understood by those skilled in the art that when the earphone box is opened, the earphone starts to receive the surrounding wireless signals. The external signal is the trigger starting point for the earphone to establish a connection with a mobile phone or other device, just like a key to open the connection door, telling the earphone that a connection operation needs to be performed. By obtaining the external signal, the earphone can sense the changes in the surrounding environment and identify whether there is a device ready to establish a connection with it. The historical records contain relevant information about the earphone's past connections with different devices, such as connection time, number of connections, device features, etc. By obtaining and arranging these records, the earphone can give priority to previously successfully connected situations when making subsequent connections. In the process of arranging the historical records, abnormal data is processed, such as obtaining the features of the abnormal data and filling them in, so that the historical records are more complete and accurate, which helps the earphone to be able to respond accordingly when facing some special or abnormal connection situations. Make reasonable decisions based on more complete information. By extracting the time features and frequency features in the historical records, the headphones can understand the user's usage habits. The external signal may be subject to various interferences during the transmission process, resulting in noise mixed in the signal. After noise reduction processing, the headphones can better cope with complex electromagnetic environments. The connection signal is compared and analyzed with the sorted historical records. If the connection signal exists in the historical records, the headphones can be directly connected to the mobile phone, which realizes a fast and convenient connection process. If the connection signal does not exist in the historical records, the headphones are paired with the mobile phone, which enables the headphones to establish a connection with new devices. During the connection process, if problems such as connection timeout occur, the historical records are analyzed to decide whether to send a return signal or a pairing signal, which can help the headphones try to self-repair and reconnect when encountering a fault.
[0018] like Figure 2 As shown, the following steps are included to obtain the history of headphone connections and organize them: S201, obtaining the history record of earphone box connection; S202, obtaining abnormal data in historical records; S203, obtaining other features of the abnormal data; S204, filling abnormal data according to the characteristics; S205, extracting time features and frequency features in historical records; S206, sorting the filled historical records according to the connection time and number of connections; It can be understood by those skilled in the art that the historical records cover various types of information about the headset box's past connections with different devices, including the connected device identification, the specific time of the connection, whether the connection was successful, etc. These data are the cornerstones for subsequent exception handling, feature extraction, and connection strategy formulation. Abnormal data may indicate problems in the connection process, such as connection interruption, connection timeout, incorrect device identification, etc. The existence of abnormal data will affect the accurate judgment of the overall connection situation. Obtaining abnormal data features helps to gain a deeper understanding of the causes and nature of the abnormalities, and provide more comprehensive information for subsequent exception handling. By analyzing these features, it is possible to infer the original possible values of the abnormal data, and filling in the abnormal data can Make the historical records more complete and avoid analysis errors caused by missing data. After filling, the data in the historical records are more continuous and consistent, which helps to improve the accuracy of connection analysis. The time characteristics can reflect the frequency of use and connection habits of the headphone box in different time periods. According to the time characteristics and number characteristics, the headphone box can reasonably allocate resources. Sorting out historical records can sort and classify data according to connection time and number of connections, and establish an orderly data structure to facilitate subsequent query and analysis. It can quickly locate connection information in a specific time period or a specific number of connections, improve data processing efficiency, and by analyzing the sorted data, the headphone box can formulate a more accurate connection strategy.
[0019] like Figure 3 As shown, performing signal noise reduction processing on the external signal and obtaining the connection signal includes the following steps: S301, processing the external signal to convert the spatial domain into the time domain; S302, performing secondary processing on the processed data using a Fourier transform algorithm; S303, filtering the secondary processed data according to the headphone receiving frequency; S304, obtaining a headphone connection signal; It can be understood by those skilled in the art that when an external signal propagates in space, its expression is based on spatial distribution, and includes information about the signal at different spatial positions. After converting the spatial domain into the time domain, the signal is presented in the form of a time series. The Fourier transform algorithm can decompose the time domain signal into a combination of sine and cosine waves of different frequencies. For headphone connections, it helps to identify the characteristic frequencies related to the connection. Filtering based on the headphone receiving frequency can effectively remove these interference signals and only retain signal components that match the headphone receiving frequency range. By retaining signal components that match the headphone receiving frequency, these useful signals can be made more prominent, which is convenient for the headphone to accurately identify and receive. After the previous processing and filtering, the headphone connection signal finally obtained is the key to establishing a connection between the headphone and the external device. The signal contains the information required for communication and pairing between devices.
[0020] like Figure 4 As shown, the connection signal is analyzed with the collated historical records to determine the headphone mode, including the following steps: S401, comparing the connection signal with the sorted historical records; S402: If the connection signal exists in the historical records, the headset is connected to the mobile phone; S403: If the connection signal does not exist in the historical records, the headset is paired with the mobile phone; Those skilled in the art can understand that; by comparing the connection signal with the historical record, the headset can intelligently identify whether the signal comes from a device that has been connected before. When the connection signal exists in the historical record, it means that this is a device that has been successfully connected before. The headset can directly call the previously saved connection parameters and configuration information to quickly establish a connection with the mobile phone. When the connection signal does not exist in the historical record, the headset starts the pairing process and can establish a connection with the new device.
[0021] like Figure 5 As shown, if the connection signal exists in the history record, the headset and the mobile phone are connected including the following steps: S4021, marking the start time when the earphone recognizes the mobile phone signal; S4022, taking the start time as the start time and starting timing; S4023. Setting a first threshold; S4024, obtaining connection time; S4025. If the connection time is less than the first threshold, determine that the connection is successful; S4026: If the connection time is greater than the first threshold, determine that the connection has timed out; S4027: After the connection times out, the headset re-compares the pairing records; S4028. If the history record of the headset contains a record of the mobile phone, a reconnection signal is sent; S4029: If the headset history record does not contain the record of the mobile phone, a pairing signal is sent; It can be understood by those skilled in the art that; marking the start time when the headset recognizes the mobile phone signal and using this as the starting point for timing can accurately measure the time it takes for the headset to recognize the signal and complete the connection. Setting the first threshold provides a clear standard for judging whether the headset connection is successful. The first threshold is usually set to 6 seconds. By comparing the connection time with the first threshold, the connection result can be promptly fed back to the user. The connection timeout may be due to a variety of reasons. Re-comparing the pairing records can allow the headset to reconfirm the mobile phone information and try to correct possible recognition errors to increase the chance of successful connection. If there is a record of the mobile phone in the historical record of the headset, sending a reconnection signal can allow the headset to quickly try to reconnect to the mobile phone based on previous connection experience. When there is no record of the mobile phone in the historical record, it means that this may be a new setting. Sending a pairing signal can start the pairing process of the headset with the new mobile phone, so that the headset can establish connections with different devices, thereby enhancing the compatibility and versatility of the headset.
[0022] like Figure 6 As shown, if the history record of the headset exists in the record of the mobile phone, sending a reconnection signal includes the following steps: S40281, the time when the reconnection signal is sent is regarded as the reconnection time, and the counting starts; S40282, setting a second threshold; S40283, obtaining the reconnection time; S40284: If the reconnection time is less than or equal to the second threshold, the headset enters a standby mode; S40285: If the reconnection time is greater than the second threshold, the headset enters a connectable but undiscoverable state; Those skilled in the art can understand that: taking the moment when the reconnection signal is sent as the starting point of the reconnection time and starting to count, the entire time process from the initiation of the reconnection operation to the subsequent state transition of the headset can be accurately recorded. The second threshold provides a clear time limit for the headset during the reconnection process, which is used to determine whether the reconnection operation is successful or whether the state needs to be adjusted. The second threshold is usually set to 6 seconds. When the reconnection time is short and the reconnection operation is completed within the second threshold, it means that the headset can quickly and successfully establish a connection with the device. In standby mode, the headset still maintains a basic connection with the device and can respond to the device's instructions at any time. If the reconnection time exceeds the second threshold, it means that the reconnection process may have encountered difficulties, or the device may be out of the effective range. The headset enters a connectable but undiscoverable state, which can reduce the active response to external signals and reduce the risk of being mistakenly connected by other devices.
[0023] like Figure 7 As shown, if the history record of the headset does not contain the record of the mobile phone, sending a pairing signal includes the following steps: S40291. Obtaining signal characteristics after connection timeout; S40292, obtain physical information of the mobile phone; S40293, the headset compares the historical records based on the signal characteristics and physical information; S40294: If the headset has a pairing record of the mobile phone, the headset sends a signal to connect to the mobile phone; S40295. If the headset does not have the pairing record of the mobile phone, the headset sends the pairing information and the pairing key; It can be understood by those skilled in the art that connection timeout may be caused by a variety of factors, such as signal interference, insufficient signal strength, etc. By obtaining the characteristics of the signal after the connection timeout, such as the frequency, strength, stability, etc. of the signal, the headset can conduct an in-depth analysis of the cause of the connection failure. According to the obtained signal characteristics, the headset can dynamically adjust its connection strategy. The physical information of the mobile phone, such as the MAC address of the device, Bluetooth ID, etc., is the unique identification of the mobile phone. By obtaining this information, the headset can accurately identify the mobile phone device connected to it. By comparing the currently obtained signal characteristics and physical information with the historical records, the headset can quickly determine whether the mobile phone is a device that has been connected before. When the headset has a pairing record of the mobile phone, it means that the mobile phone is a device that has been successfully connected. At this time, the headset sends a signal to connect with the mobile phone. It can use the previously saved pairing information to skip some tedious pairing steps and directly establish a connection. When there is no pairing record of the mobile phone in the headset, it means that the mobile phone is a new device. The headset sends pairing information and pairing secret key to start the pairing process with the new mobile phone, so that the headset can establish a connection with different devices.
[0024] like Figure 8 As shown, if the connection signal does not exist in the history record, pairing the headset with the mobile phone includes the following steps: S4031, the earphone obtains the frequency of the connection signal; S4032, the earphone obtains physical information in the connection signal; S4033, the headset sends a pairing signal and a pairing key to the mobile phone based on the frequency and physical information; S4034, the mobile phone receives the pairing signal and starts timing; S4035, obtaining pairing time; S4036, setting a third threshold; S4037: If the pairing time is less than or equal to the third threshold, the connection is successful and the headset enters; S4038: If the pairing time is greater than a third threshold, the headset enters a video mode; It can be understood by those skilled in the art that the frequency of the connection signal is one of its important characteristics. Different devices may use different frequencies for signal transmission. The headset obtains the frequency of the connection signal and can accurately identify whether the signal comes from the target mobile phone device. Understanding the frequency of the connection signal helps the headset adjust its own receiving and sending frequencies to better match the signal on the mobile phone. During the pairing process, the headset verifies the physical information of the mobile phone to ensure that the connected device is authorized, prevent unauthorized device access, and protect the user's privacy and information security. The pairing signal is used to inform the mobile phone that a device is trying to establish a connection with it, and the pairing key is used to establish a secure communication channel between the two parties. The exchange of pairing keys is the core link in establishing a secure connection. After the mobile phone receives the pairing signal, it starts timing and obtains the pairing time, which can accurately measure the time required from receiving the pairing signal to completing the pairing. When the pairing time is within the third threshold range, it means that the pairing process is successfully completed and the headset is successfully connected to the mobile phone. If the pairing times out, it means that there may be some problems that prevent the pairing from being successfully completed. At this time, the headset enters the video mode. Entering the video mode can cause the headset to suspend the pairing operation and allocate resources to other functions to avoid unnecessary resource waste and extend the battery life of the headset.
[0025] In summary, the advantages of the present invention are: the present invention can flexibly adjust the reconnection strategy according to whether there is a pairing record, etc., to better adapt to the usage habits and device combinations of different users, thereby improving the success rate and efficiency of the reconnection; through clear process nodes and status indications, the user can understand the working status of the headset in real time, reducing the user's confusion and waiting anxiety, and enhancing the user's sense of control over the product; there are corresponding processes and processing methods in different pairing and reconnection scenarios, which improves compatibility with various devices, reduces reconnection problems caused by device differences, and improves the versatility and user satisfaction of the product.
[0026] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for connecting an earphone box by opening the cover, characterized in that: include: Get external signals; Get the history of headphone connections and organize them; Perform signal noise reduction processing on external signals to obtain connection signals; The connection signal is analyzed with the collated historical records to determine the headphone mode.
2. The method for connecting an earphone box by opening the cover according to claim 1, characterized in that: The obtaining and arranging of the history records of the headphone connection comprises the following steps: Get the history of headphone box connection; Get abnormal data in historical records; Get the remaining features of the abnormal data; Fill in abnormal data based on features; Extract time features and frequency features from historical records; The populated history records are sorted according to the connection time and the number of connections.
3. The method for connecting an earphone box by opening the cover according to claim 1, characterized in that: The signal noise reduction process of the external signal to obtain the connection signal comprises the following steps: Process the external signal and convert the spatial domain into the time domain; The processed data is processed again using Fourier transform algorithm; Filter the secondary processed data according to the headphone receiving frequency; Get the headphone connection signal.
4. The method for connecting an earphone box by opening the cover according to claim 1, characterized in that: Analyzing the connection signal and the collated historical records to determine the headphone mode includes the following steps: Compare the connection signal with the collated history; If the connection signal exists in the history record, the headset is connected to the mobile phone; If the connection signal does not exist in the history, the headset is paired with the mobile phone.
5. The method for connecting an earphone box by opening the cover according to claim 4, characterized in that: If the connection signal exists in the historical record, the headset and the mobile phone are connected including the following steps: Mark the moment when the headset recognizes the mobile phone signal; Take the start time as the start time and start timing; Setting a first threshold; Get the connection time; If the connection time is less than the first threshold, the connection is judged to be successful; If the connection time is greater than the first threshold, it is determined that the connection has timed out; After the connection times out, the headset re-compares the pairing records; If the headset's history records exist in the mobile phone's records, a reconnection signal is sent; If there is no record of the mobile phone in the history of the headset, a pairing signal is sent.
6. The method for connecting an earphone box by opening the cover according to claim 5, characterized in that: If the history record of the headset contains the record of the mobile phone, sending the reconnection signal comprises the following steps: The time when the reconnection signal is sent is regarded as the reconnection time, and the counting starts; setting a second threshold; Get the reconnection time; If the reconnection time is less than or equal to the second threshold, the headset enters the standby mode; If the reconnection time is greater than the second threshold, the headset enters a connectable but undiscoverable state.
7. The method for connecting an earphone box by opening the cover according to claim 5, characterized in that: If the history record of the headset does not contain the record of the mobile phone, sending a pairing signal includes the following steps: Get the signal characteristics after the connection timeout; Get physical information of the mobile phone; The headset compares historical records based on signal characteristics and physical information; If the headset has a pairing record for the mobile phone, the headset sends a signal to connect to the mobile phone; If there is no pairing record of the mobile phone in the headset, the headset sends the pairing information and pairing key.
8. The method for opening and connecting the earphone box according to claim 4, characterized in that: If the connection signal does not exist in the historical record, pairing the headset with the mobile phone includes the following steps: The headset obtains the frequency of the connection signal; The headphones obtain the physical information within the connection signal; The headset sends a pairing signal and pairing key to the mobile phone based on the frequency and physical information; The phone receives the pairing signal and starts timing; Get the pairing time; setting a third threshold; If the pairing time is less than or equal to the third threshold, the connection is successful and the headset enters; If the pairing time is greater than the third threshold, the headset enters the video mode.
Citation Information
Patent Citations
Earphone connection method, terminal, earphone box and computer readable storage medium
CN110996405A
Earphone assembly control method, earphone assembly and computer readable storage medium
CN111031438A
Bluetooth earphone reconnection control method and control device
CN114915957A
DTS data optimization method and device
CN118498973A
Bluetooth connection method and related apparatus
US20220330359A1