TWS Bluetooth headset and configuration method and storage medium for its transmission power
By querying the human body index parameters in real time and calling the corresponding transmit power in TWS Bluetooth headsets, the problems of unstable connection and excessive power consumption caused by fixed transmit power in the prior art are solved, and more stable connection and lower power consumption are achieved.
Patent Information
- Application Number
- CN202210320162.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-03-29
AI Technical Summary
The transmission power of existing TWS Bluetooth headsets is fixed, resulting in unstable connection, excessive power consumption and signal interference caused by differences in human index parameters.
By monitoring and identifying the withdrawal action in real time, querying the human body index parameters, and calling the corresponding preset transmit power or default transmit power in the power call library to ensure that the transmit power matches the user.
It effectively avoids connection instability caused by differences in human index parameters, reduces power consumption and signal interference, and improves connection stability and user experience.
Smart Images

Figure CN114501225B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of regulating the transmission power of a Bluetooth headset, and in particular to a TWS Bluetooth headset and a configuration method and storage medium for its transmission power. Background Art
[0002] The left and right ears of TWS (1 Wireless Stereo, True Wireless Stereo) Bluetooth headsets are teamed via Bluetooth. At present, most TWS Bluetooth headsets are generally connected by sending fixed transmission power or chip adaptive power. However, in this way, when the user's human body index parameters (mainly height and weight, that is, body fatness) are different, the degree of absorption and reflection of radio frequency will be different, so that too low transmission power will affect the connection stability of the left and right ears, or too high transmission power will increase power consumption and signal interference. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a TWS Bluetooth headset and a configuration method and storage medium for its transmission power, so as to solve the problems in the prior art of unstable connection or excessive power consumption and signal interference of TWS Bluetooth headsets caused by differences in human body index parameters due to the fixed transmission power of TWS Bluetooth headsets.
[0004] To achieve the above object, a first aspect of the present invention provides a method for configuring the transmission power of a TWS Bluetooth headset, comprising the following steps:
[0005] Monitor and identify the removal action on the TWS Bluetooth headset in real time, connect to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generate a query command;
[0006] In response to the query instruction, query human body index parameters in the TWS Bluetooth headset;
[0007] Determine whether there are human body index parameters, and if so, generate a first call instruction;
[0008] In response to the first calling instruction, the corresponding preset transmission power is called in a power calling library and the called preset transmission power is set as the current transmission power of the TWS Bluetooth headset.
[0009] Furthermore, after the step of determining whether the human body index parameter exists, the method further includes:
[0010] If the human body index parameter does not exist, a second call instruction is generated;
[0011] In response to the second calling instruction, the default transmission power is called and the default transmission power is set as the current transmission power of the TWS Bluetooth headset.
[0012] Furthermore, before the step of real-time monitoring and identifying the removal action acting on the TWS Bluetooth headset, connecting to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generating a query instruction, the following steps are also included:
[0013] Initialize the TWS Bluetooth headset, configure and store human body index parameters.
[0014] Furthermore, in the step of initializing the TWS Bluetooth headset, configuring and storing human body index parameters, the following sub-steps are included:
[0015] Receive a connection request from the terminal to be connected, and connect the TWS Bluetooth headset to the terminal to be connected;
[0016] Acquire the user's body data, and calculate the user's human body index parameters based on the body data;
[0017] The human body index parameters are written into the TWS Bluetooth headset.
[0018] Furthermore, in the step of receiving a connection request from a terminal to be connected and connecting the TWS Bluetooth headset to the terminal to be connected, the following sub-steps are included:
[0019] Obtain the real-time distance between the TWS Bluetooth headset and the terminal to be connected, and when the real-time distance is within a preset connection range, obtain the connection request of the terminal to be connected, and parse the connection information carried in the connection request;
[0020] Search the paired record of the TWS Bluetooth headset to determine whether the connection information exists in the paired record. If so, connect the TWS Bluetooth headset to the terminal to be connected, otherwise generate a pairing instruction;
[0021] In response to the pairing instruction, the TWS Bluetooth headset broadcasts a first pairing request on a channel of a preset frequency and scans on the channel of the preset frequency;
[0022] When a second pairing request is scanned and sent by the terminal to be connected in response to the first pairing request, parsing the pairing information in the second pairing request;
[0023] After the pairing information is confirmed, the pairing information is stored in the paired record and the TWS Bluetooth headset is connected to the terminal to be connected.
[0024] Further, in the step of real-time monitoring and identifying the removal action acting on the TWS Bluetooth headset, connecting to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generating a query instruction, the following sub-steps are included:
[0025] Monitor in real time the removal action on the first earphone and / or the second earphone of the TWS Bluetooth headset, and generate a delay instruction when the first earphone and / or the second earphone is removed;
[0026] In response to the delay instruction, determine whether the first headset and the second headset are successfully connected as a team within a preset delay period, and if the team connection is successful, connect the first headset and the second headset to the terminal to be connected; otherwise, after the delay ends, connect the first headset or the second headset to the terminal to be connected;
[0027] When the first headset and / or the second headset is connected to the terminal to be connected, a query instruction is generated.
[0028] Further, the power call library includes at least a plurality of groups of human body index parameter intervals and preset power parameters and a default power parameter that have a corresponding relationship, each preset power parameter corresponds to a different preset transmission power, and the default power parameter corresponds to a default transmission power;
[0029] The steps of configuring the power call library include:
[0030] Divide the human body index parameters into several human body index parameter intervals according to the data;
[0031] For each human index parameter range, a human simulated torso is used to perform standard tests on the transmission power and signal reception strength of the TWS Bluetooth headset, and the standard value of the transmission power of the TWS Bluetooth headset is determined according to the preset signal reception strength;
[0032] The human body index parameter within the human body index parameter range is adjusted according to the first preset amplitude, and the transmission power of the adjusted human body index parameter is gradually adjusted according to the second preset amplitude based on the transmission power standard value to determine the transmission power corresponding to the human body index parameter.
[0033] Further, in the step of calling the corresponding preset transmission power in a power calling library in response to the first calling instruction and setting the called preset transmission power as the current transmission power of the TWS Bluetooth headset, the specific method is:
[0034] In response to the first calling instruction, a human body indicator parameter is obtained, and the corresponding human body indicator parameter interval is iteratively matched in the power calling library with the human body indicator parameter as the index; when the human body indicator parameter is matched successfully, the power parameter corresponding to the human body indicator parameter interval is obtained, and the preset transmission power corresponding to the power parameter is called to be set as the transmission power when the TWS Bluetooth headset is currently connected.
[0035] A third aspect of the present invention provides a Bluetooth headset, comprising:
[0036] A power call library, used to store a plurality of groups of human body index parameter intervals and preset power parameters and a default power parameter that have a corresponding relationship, and each preset power parameter corresponds to a different preset transmission power, and the default power parameter corresponds to a default transmission power;
[0037] The terminal module is used to obtain the body data of the human body and calculate the body index parameters;
[0038] The charging box is used to monitor and identify the removal action on the TWS Bluetooth headset in real time; and
[0039] A TWS Bluetooth headset placed in a charging box and communicatively connected to the terminal module is used to receive and store human body indicator parameters, and to query the human body indicator parameters in response to the retrieval action, and to call the transmission power corresponding to the human body indicator parameters in the power call library as the current transmission power when the human body indicator parameters exist, or to call the default transmission power in the power call library as the current transmission power when the human body indicator parameters do not exist.
[0040] A third aspect of the present invention provides a computer storage medium having an executable computer program stored thereon. When the computer program is executed by a processor, the method for configuring the transmission power of the TWS Bluetooth headset described above is implemented.
[0041] The present invention configures the transmission power of the TWS Bluetooth headset according to the human body index parameters, and sets the corresponding transmission power for each human body index parameter interval, so that the corresponding transmission power is called for indirect connection when the TWS Bluetooth headset is connected, which can effectively avoid unstable connection caused by differences in human body index parameters; and when configuring the transmission power for each human body index parameter interval, it is made as small as possible while satisfying the signal reception strength corresponding to the human body index parameters within the interval, which can effectively avoid increased energy consumption and signal interference caused by excessive transmission power during connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a structural block diagram of a Bluetooth headset according to Embodiment 1 of the present invention.
[0043] Figure 2 This is a flow chart of a method for configuring the transmission power of a TWS Bluetooth headset according to Embodiment 2 of the present invention.
[0044] Figure 3 for Figure 2 Flowchart of step P1 in FIG.
[0045] Figure 4 for Figure 3 Flowchart of step P101 in FIG.
[0046] Figure 5This is a flowchart of a method for configuring the transmission power of a TWS Bluetooth headset according to Embodiment 3 of the present invention.
[0047] Figure 6 for Figure 5 Flow chart of step S1 in FIG. DETAILED DESCRIPTION
[0048] The following is further described in detail through specific implementation methods:
[0049] Example 1
[0050] like Figure 1 The above is a structural block diagram of a Bluetooth headset of this embodiment. The Bluetooth headset of this embodiment includes a terminal module 1, a power call library 2, a charging box 3 and a TWS Bluetooth headset 4. The terminal module 1 is connected to the TWS Bluetooth headset 4 for communication, and is used to obtain and calculate human body index parameters and send them to the TWS Bluetooth headset 4. The power call library 2 stores multiple groups of human body index parameter intervals and preset power parameters and a default power parameter with corresponding relationships, and each preset power parameter corresponds to a different preset transmission power, and the default power parameter corresponds to a default transmission power. In this embodiment, the power call library 2 and the terminal module 1 are formed in a terminal 5 to be connected (such as a mobile phone, a tablet computer, etc.) in the form of application software. The TWS Bluetooth headset 4 is placed in the charging box 3, and the charging box 3 is used to charge the TWS Bluetooth headset 4 and monitor the removal action acting on the TWS Bluetooth headset 4 in real time. The TWS Bluetooth headset 4 is used to respond to the removal action, obtain the human body index parameters, and call the corresponding preset transmission power in the power call library 2 when the human body index parameters exist, or call the default transmission power in the power call library 2 when the human body index parameters do not exist to realize the access of the TWS Bluetooth headset 4.
[0051] The terminal module 1 can obtain the body data input by the user at the terminal to be connected 5 according to the input request of the user, calculate the corresponding human body index parameters according to the body data, and write the human body index parameters into the TWS Bluetooth headset 4. In this embodiment, the human body index parameters can be one or more of body mass index (BMI index), body fat percentage or head circumference, etc.; the body data corresponds to the human body index parameters, such as the body data corresponding to the body mass index includes the height and weight of the user, the body data corresponding to the body fat percentage includes the body fat weight and weight of the user, and the body data corresponding to the head circumference is the head circumference size of the user.
[0052] Specifically, when calculating the human body index parameter according to the body data, when the human body index parameter is the body mass index BMI, it is calculated using the following formula:
[0053] BMI=W / H 2(1)
[0054] Wherein: BMI is a human body index parameter (i.e., body mass index); W is the user's weight in kilograms; H is the user's height in meters.
[0055] When the human body index parameter is body fat percentage F, it is calculated using the following formula:
[0056] F=(f / W)*100%(2)
[0057] Among them, F is the human body index parameter (i.e. body fat percentage); f is the user's body fat weight, in kilograms; W is the user's weight, in kilograms.
[0058] When the anthropometric parameter is head circumference, the head circumference size is directly obtained by measurement.
[0059] Since the transmission power of the TWS Bluetooth headset 4 is related to the human body condition, it is understandable that in some other embodiments, the human body index parameters can also be other indicators that can be used to measure the user's fatness or head circumference.
[0060] The charging box 3 has a connection terminal that can be electrically connected to the TWS Bluetooth headset 4. When the TWS Bluetooth headset 4 is stored in the charging box 3, the corresponding position of the TWS Bluetooth headset 4 is connected to the connection terminal, so that a first level signal is generated at the connection terminal. When the TWS Bluetooth headset 4 is taken out of the charging box 3, the corresponding position of the TWS Bluetooth headset 4 is disconnected from the connection terminal, so that a second level signal is generated at the connection terminal. By detecting the changes in the first level signal and the second level signal, it can be determined whether the TWS Bluetooth headset 4 is taken out of the charging box 3. In some other embodiments, an infrared detection structure can be set at the corresponding position of the charging box 3, and it can be determined whether the TWS Bluetooth headset 4 is taken out of the charging box 3 by detecting whether the TWS Bluetooth headset 4 blocks the infrared detection structure.
[0061] In this embodiment, the TWS Bluetooth headset 4 includes a first headset and a second headset connected via Bluetooth. The first headset is used as a Bluetooth broadcasting end for broadcasting signals outward at a set transmission power, and the second headset is used as a Bluetooth receiving end for receiving the signal broadcast by the first headset and forming a team connection with the second headset.
[0062] Specifically, the TWS Bluetooth headset 4 is used to receive and store the human body index parameters sent by the terminal module 1, and respond to the removal action recognized on the charging box 3, determine whether the first headset and / or the second headset are successfully connected in a team, and when the first headset and / or the second headset are successfully connected in a team, query whether there are human body index parameters in the TWS Bluetooth headset 4. If so, call the corresponding preset transmission power in the power call library 2, and set the called preset transmission power to the current transmission power of the TWS Bluetooth headset 4. If not, call the default transmission power in the power call library 2, and set the default transmission power to the current transmission power of the TWS Bluetooth headset 4.
[0063] In this embodiment, the human index parameter intervals in the power call library 2 are divided according to the user's fatness or head circumference. For example, when the human index parameter is the body mass index BMI, the call speed of the preset transmission power and the connection stability of the TWS Bluetooth headset 4 under the preset transmission power are comprehensively considered. The corresponding relationship between the body mass index BMI and the preset power parameter and the preset transmission power in the power call library 2 is shown in Table 1 below:
[0064]
[0065] Table 1
[0066] Of course, in some other embodiments, the number of divisions of the human body index parameter intervals can be increased (i.e., the number of BMI indices included in each human body index parameter interval can be reduced), so that the preset transmission power corresponding to each human body index parameter interval is closer to the transmission power corresponding to each BMI index in the interval, thereby improving the connection stability of the TWS Bluetooth headset 4.
[0067] When determining the preset transmission power of a certain human body index parameter interval, the following method is used to determine it:
[0068] First, human body index parameters (i.e. BMI index, body fat percentage or head circumference, etc.) are divided into several human body index parameter intervals according to data size (i.e. fatness or thinness of the human body or head circumference size);
[0069] Then, for each human body index parameter interval, a standard test is performed on the transmission power and signal reception strength of the TWS Bluetooth headset 4 using a human body simulation torso. The first headset and the second headset of the TWS Bluetooth headset 4 (in specific implementation, the first headset can be a left ear headset, and the second headset can be a right ear headset) are connected via Bluetooth, wherein the first headset is used as a Bluetooth broadcast end, and the second headset is used as a Bluetooth receiving end. The first headset and the second headset are both connected to the computer via a UART line. The computer has a first headset computer end and a second headset computer end. The transmission power of Bluetooth is controlled by the first headset computer end, and the second headset computer end checks and receives the signal reception strength (i.e., RSSI) transmitted by the first headset. Since the stability of the connection between the first headset and the second headset is closely related to the signal reception strength, at this time, the transmission power standard value of the TWS Bluetooth headset 4 under the current BMI value can be determined according to the preset signal reception strength.
[0070] Finally, for different human body index parameters (such as BMI index, body fat percentage or head circumference, etc.) within each human body index parameter interval, the human body index parameters are changed within the corresponding human body index parameter interval according to the first preset amplitude to obtain different human body index parameters, and the transmission power is fine-tuned according to the second preset radiation according to the transmission power standard value, and the critical value of the transmission power that meets the preset signal reception intensity is determined (when the preset signal reception intensity is met, the transmission power is as small as possible), the critical value of the transmission power is determined as the transmission power of the current human body index parameter, and the transmission powers corresponding to all human body index parameters within the human body index parameter interval are sorted out and determined as the preset transmission power corresponding to the human body index parameter interval.
[0071] The Bluetooth headset of this embodiment configures the user's human body index parameters and the power call library 2, so that when the user uses the TWS Bluetooth headset 4, the user can call the corresponding preset transmission power in the power call library 2 according to the human body index parameters set by the user, so that the preset transmission power matches the user's height, weight or body fat, and head circumference, thereby achieving a stable connection between the first headset and the second headset, and the preset transmission power corresponding to each human body index parameter interval is a critical value determined by the preset signal reception strength that satisfies the human body index parameters within the interval, so that the TWS Bluetooth headset 4 has lower power consumption and less signal interference.
[0072] Example 2
[0073] like Figure 2As shown, it is a flow chart of the method for configuring the transmission power of the TWS Bluetooth headset of this embodiment. The method for configuring the transmission power of the TWS Bluetooth headset of this embodiment relies on the implementation of the Bluetooth headset of Example 1. This embodiment includes a terminal module 1, a power call library 2, a charging box 3 and a TWS Bluetooth headset 4 that are the same or similar in structure and function to Example 1. Specifically, the method for configuring the transmission power of the TWS Bluetooth headset of this embodiment is used to set the user's human body index parameters when the TWS Bluetooth headset 4 is connected to the terminal 5 to be connected for the first time. The method for configuring the transmission power of the TWS Bluetooth headset of this embodiment specifically includes the following steps:
[0074] P1: Initialize the TWS Bluetooth headset 4, configure and store human body index parameters.
[0075] When the TWS Bluetooth headset 4 is used for the first time, the user's body data is first obtained, and the corresponding human body index parameters are calculated based on the obtained body data, and the human body index parameters are written into the TWS Bluetooth headset 4, so that the first earphone and the second earphone of the TWS Bluetooth headset 4 can call the corresponding preset transmission power through the human body index parameters when they are connected in a team, so that the transmission power of the TWS Bluetooth headset 4 matches the user, ensuring the stability of the connection and the power consumption are maintained at a better level and reducing signal interference. In this embodiment, the human body index parameters include one or more of the user's body mass index (BMI index), body fat percentage or head circumference, etc., to measure the user's fatness and head circumference.
[0076] like Figure 3 As shown, step P1 includes the following sub-steps:
[0077] P101: Connect the TWS Bluetooth headset 4 to the terminal 5 to be connected.
[0078] Search for the TWS Bluetooth headset 4 within the preset connection range, and send a connection request to the designated TWS Bluetooth headset 4 through the terminal to be connected 5. When the TWS Bluetooth headset 4 receives the connection request, it determines whether the terminal to be connected 5 is connected for the first time. If it is the first time, the terminal to be connected 5 is paired and confirmed before connecting to the terminal to be connected. Otherwise, the terminal to be connected 5 is directly connected to the TWS Bluetooth headset 4.
[0079] like Figure 4 As shown, step P101 includes the following sub-steps:
[0080] P1011: Obtain the connection request of the terminal 5 to be connected and parse the connection information.
[0081] Monitor and obtain the real-time distance between the TWS Bluetooth headset 4 and the terminal to be connected 5 in real time. When the real-time distance is within the preset connection range, determine whether the terminal to be connected 5 sends a connection request to the TWS Bluetooth headset 4. If so, obtain the connection request of the terminal to be connected 5 and parse the connection information carried in the connection request; otherwise, continue to monitor the real-time distance between the TWS Bluetooth headset 4 and the terminal to be connected 5 and obtain the connection request sent by the terminal to be connected 5. In this embodiment, the connection information includes at least the name and address information of the terminal to be connected 5.
[0082] P1012: Search the pairing record to determine whether the connection information exists in the paired record.
[0083] The paired records of the TWS Bluetooth headset 4 are searched using the connection information (mainly the address information of the terminal 5 to be connected) as the index. When the address information of the terminal 5 to be connected is found to be the same as the corresponding address information in the paired record, it is considered that the connection information already exists in the paired record, and the TWS Bluetooth headset 4 can be directly paired and connected with the terminal 5 to be connected. Otherwise, a pairing instruction is generated based on the fact that the connection information does not exist in the paired record, and then step P1013 is executed to pair the terminal 5 to be connected with the TWS Bluetooth headset 4.
[0084] P1013: Broadcast the first pairing request and scan according to the pairing instruction.
[0085] Receive and respond to the pairing instruction, enable the TWS Bluetooth headset 4 to start the broadcast mode, broadcast the first pairing request on the channel of the preset frequency, and scan on the channel of the preset frequency to check whether there is a second pairing request issued in response to the first pairing request.
[0086] P1014: Receive a second pairing request from the terminal 5 to be connected, and parse out corresponding pairing information.
[0087] First, when the TWS Bluetooth headset 4 turns on the broadcast mode and broadcasts the first pairing request, the terminal 5 to be connected will receive the first pairing request, and then, in response to the first pairing request, send a second pairing request to the TWS Bluetooth headset 4. After receiving the second pairing request, the TWS Bluetooth headset 4 parses the pairing information carried in the second pairing request. In this embodiment, the pairing information includes at least the name, address information and identification code of the terminal 5 to be connected.
[0088] P1015: Confirm the pairing information and connect the TWS Bluetooth headset 4 and the terminal 5 to be connected.
[0089] The TWS Bluetooth headset 4 compares the identification code in the pairing information with its built-in identification code. If the two are consistent, it is deemed that the terminal 5 to be connected and the TWS Bluetooth headset 4 are successfully paired. Then the name and address information of the terminal to be connected 5 in the pairing information is written into the paired record of the TWS Bluetooth headset 4, and the TWS Bluetooth headset 4 is connected to the terminal 5 to be connected.
[0090] P102: Obtain the user's body data and calculate the user's human body index parameters based on the body data.
[0091] According to the input request of the user on the terminal to be connected 5, the body data input by the user on the terminal to be connected 5 is obtained, and the corresponding human body index parameters are calculated according to the preset formula based on the body data and sent to the TWS Bluetooth headset 4. In this embodiment, when the human body index parameter is the body mass index (i.e., BMI index), the body data at least includes the height and weight of the user, and the corresponding human body index parameters are calculated based on the height and weight using the above formula (1); when the human body index parameter is the body fat percentage, the body data at least includes the body mass weight and weight of the user, and the corresponding human body index parameters are calculated based on the body mass weight and weight using the above formula (2); when the human body index parameter is the head circumference, the body data at least includes the head circumference size of the user, the head circumference size can be directly measured, and the head circumference size is the human body index parameter.
[0092] Since the transmission power of the TWS Bluetooth headset 4 is related to the human physical condition, it is understandable that in some other embodiments, the human body index parameters can also be other indicators that can be used to measure the user's fatness or head circumference, such as waist circumference or other dimensions of the human body, etc.
[0093] P103: Write the human body index parameters into the TWS Bluetooth headset 4.
[0094] The TWS Bluetooth headset 4 receives the human body index parameters sent by the terminal 5 to be connected, and writes the human body index parameters into the built-in storage module of the TWS Bluetooth headset 4, so that when the first earphone and the second earphone of the TWS Bluetooth headset 4 are subsequently connected in a team, the corresponding preset transmission power can be called through the human body index parameters stored in the storage module.
[0095] The configuration method of the TWS Bluetooth headset transmission power of the present embodiment can write the user's human body index parameters into the TWS Bluetooth headset 4 in advance when the TWS Bluetooth headset 4 is used for the first time, so as to directly call the stored human body index parameters in subsequent team connections, thereby avoiding repeated calculation of the human body index parameters each time the connection is made, thereby improving the user's experience.
[0096] Example 3
[0097] like Figure 5 As shown, it is a flow chart of the method for configuring the transmission power of the TWS Bluetooth headset of the present embodiment. Similarly, the method for configuring the transmission power of the TWS Bluetooth headset of the present embodiment relies on the implementation of the Bluetooth headset of Example 1. The present embodiment includes a terminal module 1, a power call library 2, a charging box 3 and a TWS Bluetooth headset 4 having the same or similar structure and function as Example 1, and optionally includes a step P1 that is the same or similar to the process and method of Example 2. Specifically, when the present embodiment is implemented, if the TWS Bluetooth headset 4 is connected to the terminal 5 to be connected for the first time, it is necessary to first execute Example 2 to set the human body index parameters before executing the steps of the present embodiment. If the TWS Bluetooth headset 4 is not connected to the terminal 5 to be connected for the first time, it is only necessary to directly execute the steps of the present embodiment. The method for configuring the transmission power of the TWS Bluetooth headset of the present embodiment specifically includes the following steps:
[0098] S1: monitor and identify the removal action on the TWS Bluetooth headset 4 in real time.
[0099] The charging box 3 monitors the taking-out action on the TWS Bluetooth headset 4 in real time. Since the TWS Bluetooth headset 4 in this embodiment includes a first headset and a second headset, the taking-out action on the TWS Bluetooth headset 4 also includes a taking-out action on the first headset and / or the second headset, that is, a taking-out action on the first headset or the second headset alone (that is, only one headset is taken out) and a taking-out action on the first headset and the second headset together (that is, both headsets are taken out).
[0100] like Figure 6 As shown, step S1 includes the following sub-steps:
[0101] S101: monitoring a removal action on a first earphone and / or a second earphone in real time and generating a delay instruction.
[0102] Specifically, the changes in the level signal generated on the connection end of the charging box 3 and the TWS Bluetooth headset 4 (the first headset and the second headset are respectively connected) are monitored in real time. If the level signal changes from a first level signal to a second level signal, it is recognized that the first headset or the second headset at this position is taken out, and a delay instruction is generated from the time the first headset or the second headset is taken out.
[0103] S102: Implementing team connection of the first headset and / or the second headset according to the delay instruction.
[0104] Since the TWS Bluetooth headset 4 of this embodiment can also be connected and used when only the first headset or the second headset is taken out, at this time, it can be determined whether the first headset and the second headset are connected individually or in a team according to the delay instruction.
[0105] Specifically, in response to the delay instruction, a countdown starts according to a preset delay period from the time when the first earphone (or the second earphone) is taken out. If the second earphone (or the first earphone) is recognized to be taken out before the countdown ends, it is deemed that the first earphone and the second earphone are teamed up successfully, and then the first earphone and the second earphone are teamed up and connected to the terminal 5 to be connected; if the second earphone (or the first earphone) is not recognized to be taken out before the countdown ends, the taken out first earphone (or the second earphone) is connected separately to the terminal 5 to be connected after the countdown ends, completing the team connection of the first earphone and the second earphone or the separate connection of the first earphone or the second earphone.
[0106] S103: When the first headset and / or the second headset is connected to the terminal 5 to be connected, a query instruction is generated.
[0107] When the first earphone and the second earphone are teamed up to access the terminal 5 to be connected or the first earphone or the second earphone is individually connected to the terminal 5 to be connected, based on the connection signal, a query instruction is generated for the TWS Bluetooth headset 4 to query whether there are human body index parameters in the storage module of the TWS Bluetooth headset 4.
[0108] S2: Query human body index parameters according to the query instruction.
[0109] In response to the query instruction, human body index parameters are queried in the storage module of the TWS Bluetooth headset 4.
[0110] S3: Determine whether there are human body index parameters.
[0111] Determine whether there are human body index parameters in the storage module of the TWS Bluetooth headset 4. If there are human body index parameters, generate a first call instruction and then execute step S4. Otherwise, it is considered that the set human body index parameters do not exist in the TWS Bluetooth headset 4, and then generate a second call instruction and then execute step S5.
[0112] As an optional implementation of this embodiment, in this step, if it is determined that there are no human body indicator parameters in the storage module of the TWS Bluetooth headset 4, a human body indicator parameter configuration instruction is generated and sent to the terminal to be connected, and then the human body indicator parameters are configured based on the method described in Example 2, and when the first headset and the second headset are subsequently teamed and connected, the corresponding preset transmission power is called as the current transmission power of the TWS Bluetooth headset 4.
[0113] S4: Calling the preset transmission power according to the first calling instruction.
[0114] Specifically, in response to the first calling instruction, the human body index parameters stored in the storage module of the TWS Bluetooth headset 4 are obtained, and the human body index parameters are used as indexes to iteratively match the human body index parameters in the power calling library 2. If the human body index parameters belong to a certain human body parameter index interval, it is considered that the human body index parameters are matched successfully.
[0115] When the human body indicator parameter successfully matches the human body indicator parameter interval, the power parameter corresponding to the human body indicator parameter interval is obtained, and the preset transmission power corresponding to the power parameter is called based on the power parameter to set it as the transmission power of the TWS Bluetooth headset 4 when it is currently connected, so that the TWS Bluetooth headset 4 is connected in a team or individually according to the called preset transmission power to match the human body indicator parameter, thereby increasing the stability of the TWS Bluetooth headset 4 when connected and reducing the power consumption and signal interference of the TWS Bluetooth headset 4.
[0116] S5: Calling the default launch task according to the second calling instruction.
[0117] Specifically, in response to the second calling instruction, the default transmission power is directly called in the power calling library 2, and the default transmission power is set as the current transmission power of the TWS Bluetooth headset 4, so that the TWS Bluetooth headset 4 is connected in a team or individually according to the called default transmission power.
[0118] As a preferred method of this embodiment, after the human body index parameters of the TWS Bluetooth headset 4 are set, the existing human body index parameters can be modified or added by sending a modification or addition request through the terminal to be connected 5 to adapt to different users; in addition, multiple different human body index parameters can also be stored in the storage module of the TWS Bluetooth headset 4, so that when the TWS Bluetooth headset 4 is connected, the user can select the corresponding human body index parameters for connection, so as to avoid frequent resetting of the human body index parameters after changing the user, which can further improve the user's experience.
[0119] The method for configuring the transmission power of the TWS Bluetooth headset in this embodiment divides the human body parameter indicators into intervals and configures a corresponding preset transmission power for each human body parameter indicator interval, so that when in use, the corresponding preset transmission power can be matched according to the human body parameter indicators pre-set by the user, so that the human body indicator parameters match the transmission power when the TWS Bluetooth headset 4 is connected, thereby increasing the stability of the TWS Bluetooth headset 4 when connected and reducing the power consumption and signal interference of the TWS Bluetooth headset 4, avoiding disconnection and jamming, and thus improving the user experience.
[0120] As another embodiment of the present invention, a computer storage medium is also provided, on which an executable computer program is stored. When the computer executable instructions are called and executed by a processor, the computer executable instructions enable the processor to implement the method for configuring the transmission power of the TWS Bluetooth headset as described in Example 2 and Example 3.
Claims
1. A method for configuring the transmission power of a TWS Bluetooth headset, characterized in that: The following steps are involved: Monitor and identify the removal action on the TWS Bluetooth headset in real time, connect to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generate a query command; In response to the query instruction, query human body index parameters in the TWS Bluetooth headset; Determine whether there are human body index parameters, and if so, generate a first call instruction; In response to the first calling instruction, the corresponding preset transmission power is called in a power calling library and the called preset transmission power is set as the current transmission power of the TWS Bluetooth headset.
2. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 1, characterized in that: After the step of determining whether the human body index parameter exists, the method further includes: If the human body index parameter does not exist, a second call instruction is generated; In response to the second calling instruction, the default transmission power is called and the default transmission power is set as the current transmission power of the TWS Bluetooth headset.
3. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 1 or 2, characterized in that: Before the step of real-time monitoring and identifying the removal action on the TWS Bluetooth headset, connecting to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generating a query instruction, the following steps are also included: Initialize the TWS Bluetooth headset, configure and store human body index parameters.
4. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 3, characterized in that: The steps of initializing the TWS Bluetooth headset, configuring and storing human body index parameters include the following sub-steps: Receive a connection request from the terminal to be connected, and connect the TWS Bluetooth headset to the terminal to be connected; Acquire the user's body data, and calculate the user's human body index parameters based on the body data; The human body index parameters are written into the TWS Bluetooth headset.
5. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 4, characterized in that: The step of receiving a connection request from a terminal to be connected and connecting the TWS Bluetooth headset to the terminal to be connected includes the following sub-steps: Obtain the real-time distance between the TWS Bluetooth headset and the terminal to be connected, and when the real-time distance is within a preset connection range, obtain the connection request of the terminal to be connected, and parse the connection information carried in the connection request; Search the paired record of the TWS Bluetooth headset to determine whether the connection information exists in the paired record. If so, connect the TWS Bluetooth headset to the terminal to be connected, otherwise generate a pairing instruction; In response to the pairing instruction, the TWS Bluetooth headset broadcasts a first pairing request on a channel of a preset frequency and scans on the channel of the preset frequency; When a second pairing request is scanned and sent by the terminal to be connected in response to the first pairing request, parsing the pairing information in the second pairing request; After the pairing information is confirmed, the pairing information is stored in the paired record and the TWS Bluetooth headset is connected to the terminal to be connected.
6. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 1 or 2, characterized in that: The step of monitoring and identifying the removal action on the TWS Bluetooth headset in real time, connecting to the terminal to be connected when the TWS Bluetooth headset is successfully identified, and generating a query instruction includes the following sub-steps: Monitor in real time the removal action on the first earphone and / or the second earphone of the TWS Bluetooth headset, and generate a delay instruction when the first earphone and / or the second earphone is removed; In response to the delay instruction, determine whether the first headset and the second headset are successfully connected as a team within a preset delay period, and if the team connection is successful, connect the first headset and the second headset to the terminal to be connected; otherwise, after the delay ends, connect the first headset or the second headset to the terminal to be connected; When the first headset and / or the second headset is connected to the terminal to be connected, a query instruction is generated.
7. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 2, characterized in that: The power call library includes at least a plurality of groups of human index parameter intervals and preset power parameters and a default power parameter having a corresponding relationship, each preset power parameter corresponds to a different preset transmission power, and the default power parameter corresponds to a default transmission power; The steps of configuring the power call library include: Divide the human body index parameters into several human body index parameter intervals according to the data; For each human index parameter range, a human simulated torso is used to perform standard tests on the transmission power and signal reception strength of the TWS Bluetooth headset, and the standard value of the transmission power of the TWS Bluetooth headset is determined according to the preset signal reception strength; The human body index parameter within the human body index parameter range is adjusted according to the first preset amplitude, and the transmission power of the adjusted human body index parameter is gradually adjusted according to the second preset amplitude based on the transmission power standard value to determine the transmission power corresponding to the human body index parameter.
8. The method for configuring the transmission power of a TWS Bluetooth headset according to claim 7, characterized in that: In the step of responding to the first calling instruction, calling the corresponding preset transmission power in a power calling library and setting the called preset transmission power as the current transmission power of the TWS Bluetooth headset, the specific method is: In response to the first calling instruction, a human body indicator parameter is obtained, and the corresponding human body indicator parameter interval is iteratively matched in the power calling library with the human body indicator parameter as the index; when the human body indicator parameter is matched successfully, the power parameter corresponding to the human body indicator parameter interval is obtained, and the preset transmission power corresponding to the power parameter is called to be set as the transmission power when the TWS Bluetooth headset is currently connected.
9. A Bluetooth headset, characterized in that: include: A power call library, used to store a plurality of groups of human body index parameter intervals and preset power parameters and a default power parameter that have a corresponding relationship, and each preset power parameter corresponds to a different preset transmission power, and the default power parameter corresponds to a default transmission power; The terminal module is used to obtain the body data of the human body and calculate the body index parameters; The charging box is used to monitor and identify the removal action on the TWS Bluetooth headset in real time; and A TWS Bluetooth headset placed in a charging box and communicatively connected to the terminal module is used to receive and store human body indicator parameters, and to query the human body indicator parameters in response to the retrieval action, and to call the transmission power corresponding to the human body indicator parameters in the power call library as the current transmission power when the human body indicator parameters exist, or to call the default transmission power in the power call library as the current transmission power when the human body indicator parameters do not exist.
10. A computer storage medium having an executable computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for configuring the transmission power of a TWS Bluetooth headset as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Mini telephone receiver with microphone and earphone using ear as support
CN1086946A
Low radiation wireless communicator
US20100056210A1