CN109561414B - Wireless earphone pairing method and device and wireless earphone - Google Patents
Wireless earphone pairing method and device and wireless earphone Download PDFInfo
- Publication number
- CN109561414B CN109561414B CN201811572438.1A CN201811572438A CN109561414B CN 109561414 B CN109561414 B CN 109561414B CN 201811572438 A CN201811572438 A CN 201811572438A CN 109561414 B CN109561414 B CN 109561414B
- Authority
- CN
- China
- Prior art keywords
- pairing
- data
- preset
- triggering
- preset condition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000001133 acceleration Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 9
- 230000036760 body temperature Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 12
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- Headphones And Earphones (AREA)
Abstract
The application discloses a wireless earphone pairing method, relates to the technical field of portable listening equipment, and is used for solving the problem of low user experience in the existing wireless earphone pairing process; the method comprises the following steps: acquiring data collected by a sensor; judging whether the data meet a preset condition for triggering pairing operation; if the preset conditions are met, executing pairing operation; the method can judge whether the user needs to trigger the pairing operation of the wireless earphone only through the data acquired by the existing sensor in the wireless earphone; the operation is convenient and fast, and the personalized requirements of users can be met; the pairing operation of the wireless earphone is triggered without depending on a charging box or additionally arranging a key in the wireless earphone, so that the user experience is improved; the application also discloses a wireless earphone pairing device, a wireless earphone and a computer readable storage medium, which have the beneficial effects.
Description
Technical Field
The present invention relates to the field of portable listening devices, and in particular, to a method and an apparatus for pairing wireless earphones, a wireless earphone, and a computer-readable storage medium.
Background
Wireless headsets are becoming more popular due to their ease of use. When using a wireless headset, the wireless headset is required to perform pairing operations. For example, the wireless headset is paired with the terminal, so that the wireless headset and the terminal perform data interaction and play data sent by the terminal.
Currently, wireless headsets typically require the assistance of a charging box to trigger pairing operations. But this approach requires the user to rely on the charging box, which significantly compromises the convenience experience of the wireless headset. Or a key is arranged at a certain position of the wireless earphone, and pairing operation is executed through the key. However, in this way, a key needs to be additionally installed on the wireless headset, the appearance of the wireless headset is affected by the key, and the volume of the key is small due to the small volume of the wireless headset, so that the key is very inconvenient for a user to operate. Therefore, the user experience is greatly reduced in any mode.
Disclosure of Invention
The application aims to provide a wireless earphone pairing method and device, a wireless earphone and a computer readable storage medium, whether a user needs to trigger pairing operation of the wireless earphone can be judged only through data acquired by an existing sensor in the wireless earphone, operation is convenient and fast, and user experience is further improved.
In order to solve the above technical problem, the present application provides a method for pairing wireless earphones, including:
acquiring data collected by a sensor;
judging whether the data meet preset conditions for triggering pairing operation or not;
and if the preset condition is met, executing pairing operation.
Optionally, when the data is acquired by an acceleration sensor, determining whether the data meets a preset condition for triggering a pairing operation includes:
identifying a motion track of a wireless headset corresponding to the data;
and judging whether the motion track is matched with a preset matching track for triggering matching operation.
Optionally, determining whether the motion trajectory is matched with a preset pairing trajectory for triggering pairing operation includes:
and judging whether the shape of the motion track is consistent with a preset matching shape for triggering matching operation.
Optionally, when the data is acquired by a sound sensor, determining whether the data meets a preset condition for triggering a pairing operation includes:
performing voice recognition on the data to obtain a voice recognition result;
and judging whether preset matching keywords for triggering matching operation exist in the voice recognition result.
Optionally, when the data is data acquired by a touch sensor, determining whether the data meets a preset condition for triggering a pairing operation includes:
identifying touch duration corresponding to the data;
and judging whether the touch time length is greater than a preset pairing time length for triggering pairing operation.
Optionally, the method of wireless headset pairing further comprises:
and updating the preset condition by utilizing the received preset condition updating information.
Optionally, a pairing operation is performed, comprising:
starting BLE pairing broadcast, and establishing BLE connection with the terminal;
receiving pairing information sent by the terminal through the BLE connection;
and executing pairing operation by using the pairing information.
The present application further provides a device for pairing wireless headsets, comprising:
the data acquisition module is used for acquiring data acquired by the sensor;
the judging module is used for judging whether the data meet the preset condition for triggering the pairing operation;
and the pairing module is used for executing pairing operation if the data meets the preset condition.
The present application further provides a wireless headset, comprising: the system comprises a communication interface, a memory, a sensor and a processor; the sensor is used for collecting data, the memory is used for storing computer programs, and the processor is used for realizing the steps of the wireless headset pairing method when executing the computer programs.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of wireless headset pairing as described above.
The application provides a method for pairing wireless earphones, which comprises the following steps: acquiring data acquired by a sensor; judging whether the data meet a preset condition for triggering pairing operation; and if the preset condition is met, executing pairing operation.
Therefore, the method can judge whether the user needs to trigger the pairing operation of the wireless headset only through the data acquired by the existing sensor in the wireless headset; the operation is convenient and fast, and the personalized requirements of users can be met; the pairing operation of the wireless earphone is triggered without depending on a charging box, an additional key set in the wireless earphone and other modes, so that the user experience is improved; the application also provides a device for pairing the wireless earphones, the wireless earphones and a computer readable storage medium, which have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for pairing wireless headsets according to an embodiment of the present application;
fig. 2 is a block diagram of a device for pairing wireless earphones according to an embodiment of the present disclosure;
fig. 3 is a block diagram of another wireless headset pairing apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Currently, wireless headsets typically require the assistance of a charging box to trigger pairing operations. However, in this way, the user needs to rely on the charging box, so that the convenience experience of the wireless headset is greatly reduced (for example, the user needs to carry the charging box of the wireless headset with him). Or a key is arranged at a certain position of the wireless earphone, and pairing operation is executed through the key. However, in this way, a key needs to be additionally installed on the wireless headset, the attractiveness of the product can be affected by the key (because the requirements of various types of wireless headsets on the product are smaller and better, the more attractive and better, the attractive appearance of the wireless headset can be affected by the protruding key arranged outside the wireless headset), and the volume of the key is smaller because the volume of the wireless headset is smaller, the key is inconvenient for a user to operate, and the user experience can be reduced by manual key operation. It can be seen that any way of triggering the pairing operation can greatly reduce the user experience.
In the embodiment, whether the user needs to trigger the pairing operation of the wireless headset can be judged only through the data acquired by the existing sensor in the wireless headset; the operation is convenient and fast, and the personalized requirements of users can be met; the pairing operation of the wireless earphone is triggered without relying on a charging box (directly realized through a machine body) or additionally setting keys in the wireless earphone (the process of triggering the pairing operation does not need entity key operation) and the like, so that the user experience is greatly improved. Referring to fig. 1 in detail, fig. 1 is a flowchart of a wireless headset pairing method according to an embodiment of the present disclosure; the execution body in this embodiment is a wireless headset. The method can comprise the following steps:
and S101, acquiring data acquired by a sensor.
The data type is not limited in this embodiment and is related to the type of sensor selected. For example, when the sensor is selected as an acceleration sensor, the acquired data is acceleration data; when the sensor is a sound sensor, the acquired data is voice data. The present embodiment is not limited to a specific type of sensor, and may be any combination of an acceleration sensor (e.g., a three-axis acceleration sensor), a sound sensor (e.g., MIC), a touch sensor, a light sensor, a temperature sensor, a pressure sensor, and the like. Further, the number and the setting position of each type of sensor are not limited in this embodiment, and specifically, the number and the setting position of each type of sensor in the wireless headset are set according to the actual application requirements. Of course, in order to increase the utilization of the resources already present in the wireless headset, it may be desirable to use sensors already present in the wireless headset.
In this embodiment, the timing of acquiring the data is not limited, and for example, the data may be directly acquired when the sensor acquires the data (in this case, the sensor may directly send the data to the processor of the wireless headset when acquiring the data, or the sensor may inform the processor when acquiring the data, and the processor reads the data from the sensor); or the data may be acquired according to a preset period. The specific value of the preset period is not limited in this embodiment. For example, it may be 5 seconds. Of course, the preset period may be variable. For example, when the wireless headset determines that the data does not satisfy the preset condition for triggering the pairing operation according to the acquired data, the value of the preset period may be appropriately extended. Of course, the data may be a numerical value that is appropriately extended by a preset period when the duration determines that the data does not satisfy the preset condition for triggering the pairing operation. It should be noted that, in the present embodiment, the wireless headset may be in a standby mode when the sensor collects data.
And S102, judging whether the data meet preset conditions for triggering pairing operation.
The specific content of the preset condition for triggering the pairing operation is not limited in this embodiment, and is related to the type of the selected sensor and the number of the types of the selected sensors. It is sufficient if the data can be judged whether to meet the set requirement of triggering the pairing operation according to the preset condition.
Specifically, when the data is acquired by the acceleration sensor, the corresponding preset condition may be that a motion trajectory of the wireless headset obtained according to the acquired data is matched with a preset pairing trajectory for triggering pairing operation. Certainly, the specific matching situation of the motion trajectories is not limited in this embodiment, and for example, the two motion trajectories may be matched if the motion trends are the same or similar, the shapes of the two motion trajectories may be matched if the two motion trajectories are similar or identical, or the shapes and the sizes of the two motion trajectories may be matched if the two motion trajectories are the same or similar. In this embodiment, the number of the preset pairing tracks is not limited, and for example, the preset pairing tracks may be a plurality of preset pairing tracks set by a user, and at this time, the preset pairing tracks are matched with any one of the preset pairing tracks.
Specifically, when the data is data acquired by the sound sensor, the corresponding preset condition may be that a preset matching keyword triggering a matching operation exists in a voice recognition result obtained according to the acquired data. In this embodiment, the number and content of the preset matching keywords are not limited, for example, the preset matching keywords may be matching, performing matching operation, or specific characters (such as english, korean, or french). Of course, the user may also set one or more corresponding preset pairing keywords according to the usage habit. When a plurality of preset matching keywords exist, any one of the preset matching keywords may exist.
Specifically, when the data is data acquired by the touch sensor, the corresponding preset condition may be that the touch duration obtained according to the acquired data is longer than a preset pairing duration for triggering the pairing operation. The preset pairing time period is not limited in this embodiment, and may be 2 seconds or the like. Of course, the user may also set the corresponding preset pairing duration according to the use habit.
Specifically, when the data is data acquired by the pressure sensor, the corresponding preset condition may be that a pressure value obtained according to the acquired data is greater than a preset pairing pressure value for triggering the pairing operation, and certainly, a pressure duration is increased on the basis as one of the determination conditions, specifically, the pressure value is greater than the preset pairing pressure value for triggering the pairing operation and exceeds a first specified time. In this embodiment, the preset pairing pressure value and the numerical value of the first designated time are not limited, and the user may also set the corresponding preset pairing pressure value and the specific numerical value of the first designated time according to the usage habit.
Specifically, when the data is the data acquired by the temperature sensor, the corresponding preset condition may be that a temperature value obtained according to the acquired data satisfies a preset pairing temperature interval (e.g., a human body temperature interval), and certainly, a time length may be increased on the basis as one of the determination conditions, specifically, the temperature value satisfies the human body temperature interval and exceeds a second specified time. In this embodiment, the preset pairing temperature interval and the second designated time are not limited, and the user may also set the corresponding specific values of the preset pairing temperature interval and the second designated time according to the use habit.
Specifically, when the data is acquired by the light sensor, the corresponding preset condition may be that the number of times of light intensity change obtained according to the acquired data is greater than the number of times of preset light intensity change for triggering the pairing operation, or that the obtained light intensity value is lower than a certain threshold and lasts for a third specified time. In this embodiment, the preset light intensity change times and the third designated time are not limited, and the user may set the corresponding preset light intensity change times and the specific value of the third designated time according to the usage habit.
Correspondingly, the present embodiment also does not limit the specific determination process of step S102, which is related to the selected sensor type and the corresponding preset condition. And correspondingly executing a corresponding judgment process according to the specific sensor and the corresponding preset condition.
Specifically, when the data is acquired by the acceleration sensor, the corresponding preset condition may be that a motion trajectory of the wireless headset obtained according to the acquired data is matched with a preset pairing trajectory for triggering pairing operation. The step S102, namely, determining whether the data satisfies the preset condition for triggering the pairing operation, may be: identifying a motion track of the wireless earphone corresponding to the data; and judging whether the motion track is matched with a preset matching track for triggering matching operation.
In this embodiment, a specific process of the motion trajectory of the wireless headset corresponding to the identification data is not limited, and reference may be made to related technologies. The matching condition in this embodiment may be that the moving trends are the same or similar to match (e.g., the moving trends are all from bottom left to top right); the shapes of the motion tracks can be similar or matched (for example, the shapes of the motion tracks are circular, or the shapes of the motion tracks are linear); of course, the motion trajectories may have the same shape and size and match each other (for example, the motion trajectories may have the same shape and size and are circular).
Of course, in order to improve the recognition efficiency, the determining whether the motion trajectory matches the preset pairing trajectory of the trigger pairing operation may be determining whether a shape of the motion trajectory is consistent with the preset pairing shape of the trigger pairing operation. In order to facilitate the use of the user and improve the user experience, the preset matching shape can be set by the user. For example, the predetermined mating shape is circular. The corresponding specific implementation process may be: a user holds a wireless earphone to swing, and draws a specific motion track in the air, wherein the motion track can be circular. At this time, the acceleration sensor in the wireless headset collects data, and when determining the corresponding motion track according to the data, the motion track is transmitted to the processor for processing (of course, the acceleration sensor may also directly transmit the collected data to the processor, and the processor performs the identification of the corresponding motion track). When the processor determines that the motion track and the preset pairing shape are both circular, the wireless headset immediately enters a pairing mode (such as a Bluetooth pairing mode).
Specifically, when the data is data collected by a sound sensor, the corresponding preset condition may be that a preset matching keyword for triggering matching operation exists in a voice recognition result obtained according to the collected data. The step S102, namely, determining whether the data satisfies the preset condition for triggering the pairing operation, may be: carrying out voice recognition on the data to obtain a voice recognition result; and judging whether preset matching keywords for triggering matching operation exist in the voice recognition result. In this embodiment, a specific process of speech recognition is not limited, and reference may be made to related technologies. The embodiment also does not limit the specific content of the preset pairing keyword. When the preset matching keywords are matched, the corresponding specific implementation process may be: the user speaks a piece of speech into the wireless headset. At the moment, a sound sensor in the wireless earphone collects a section of voice data, and the voice data is transmitted to a processor to be processed to obtain a voice recognition result. When the processor determines that the voice recognition result has the same pairing with the preset pairing key word, the wireless headset enters the pairing mode immediately.
Specifically, when the data is data acquired by the touch sensor, the corresponding preset condition may be that the touch duration obtained according to the acquired data is longer than a preset pairing duration for triggering the pairing operation. The preset condition for determining whether the data satisfies the trigger pairing operation corresponding to step S102 may be: identifying the touch duration corresponding to the data; and judging whether the touch time length is greater than the preset pairing time length for triggering pairing operation. In this embodiment, a specific process of the touch duration corresponding to the identification data is not limited, and a related technology may be specifically referred to. The present embodiment also does not limit the value of the preset pairing period. When the preset pairing duration value is 2 seconds, the corresponding specific implementation process may be: the user touches the wireless headset for a period of time. At the moment, a touch sensor in the wireless earphone acquires data, and the data are transmitted to a processor to be processed to obtain the touch duration. When the processor determines that the touch duration is greater than the preset pairing duration by 2 seconds, the wireless headset then enters the pairing mode.
Of course, the user may combine the sensors, and at this time, the processor may determine whether the result corresponding to each sensor is the trigger pairing operation. And finally determining whether the conditions for triggering the pairing operation are met or not by combining the results of the selected sensors. For example, when the results of the selected sensors are all trigger pairing operations, the corresponding final result is that the condition for triggering pairing operations is satisfied. Or the corresponding final result is the condition of meeting the trigger pairing operation as long as the results of the selected sensors meet the trigger pairing operation. This embodiment is not limited to this. For example, when the acceleration sensor collects data to recognize that the motion track is a circle in a preset matching shape, and the sound sensor collects data to recognize that the voice recognition result is a matching request of a preset matching keyword, a preset condition is met, and a matching operation is executed. In this embodiment, through the combination of a plurality of sensors, the reliability of pairing operation identification can be improved, the user experience can be improved, and the diversified demands of each user can be met.
It can be seen that, in this embodiment, the function of triggering the pairing operation of the wireless headset can be implemented by combining the specific operation of the user through the existing sensor in the wireless headset. The appearance of the wireless earphone is not influenced by extra hardware equipment, and the wireless earphone does not depend on other equipment, so that the wireless earphone is convenient to carry and operate by a user. And the multiple identification process that provides in this embodiment all can be set up by the user according to the use habit of self, and adaptability is stronger, and user's participation sense is better, and then this embodiment can not only realize triggering wireless earphone and mate the function of operation under the circumstances that increases cost, has still promoted user's use experience greatly.
And S103, if the preset condition is met, executing pairing operation.
In this embodiment, a specific process of the pairing operation is not limited, and reference may be made to related technologies. For example, BLE pairing broadcast is started, and a BLE connection with the terminal is established; connecting and receiving pairing information sent by a terminal through BLE; and performing pairing operation by using the pairing information. Of course, in this embodiment, the content of the pairing information is not limited. Alternatively, the wireless headset may transmit pairing information to the communication terminal, and the user starts performing pairing operation.
The present embodiment does not limit the number of wireless headsets, and when there are a plurality of wireless headsets, each wireless headset may have the function of triggering the pairing operation described above.
Further, in order to improve the adaptability of the embodiment and meet the change of the use habits of the user in time, the preset conditions may be updated in the embodiment. And when the wireless earphone receives the input preset condition updating information, updating the preset condition by using the received preset condition updating information. In this embodiment, the specific content of the preset condition update information is not limited. The omnibearing modification of the preset condition can be realized. For example, the judgment threshold value in the preset condition is modified, so that the updated preset condition is more in line with the use habit of the user.
Based on the technical scheme, the method for pairing the wireless earphones, provided by the embodiment of the application, can judge whether the user needs to trigger the pairing operation of the wireless earphones by only using data acquired by existing sensors in the wireless earphones; the operation is convenient and fast, and the personalized requirements of users can be met; the pairing operation of the wireless earphone is triggered without relying on a charging box or additionally setting keys in the wireless earphone, and the user experience is further improved.
The following describes a wireless headset pairing device, a wireless headset, and a computer-readable storage medium according to embodiments of the present application, and the wireless headset pairing device, the wireless headset, and the computer-readable storage medium described below and the wireless headset pairing method described above may be referred to in correspondence.
Referring to fig. 2, fig. 2 is a block diagram illustrating a wireless headset pairing apparatus according to an embodiment of the present disclosure; the apparatus may include:
a data acquisition module 100, configured to acquire data acquired by a sensor;
the judging module 200 is configured to judge whether the data meets a preset condition for triggering the pairing operation;
the pairing module 300 is configured to perform a pairing operation if the data meets a preset condition.
Based on the above embodiment, the determining module 200 includes:
the acceleration judging unit is used for identifying the movement track of the wireless earphone corresponding to the data when the data is the data acquired by the acceleration sensor; and judging whether the motion track is matched with a preset matching track for triggering matching operation.
Based on the above embodiment, the acceleration determining unit specifically identifies the motion track of the wireless headset corresponding to the data when the data is the data acquired by the acceleration sensor; and judging whether the shape of the motion track is consistent with a preset matching shape for triggering matching operation.
Based on any of the above embodiments, the determining module 200 includes:
the voice judging unit is used for carrying out voice recognition on the data to obtain a voice recognition result when the data are acquired by the voice sensor; and judging whether a preset matching keyword for triggering matching operation exists in the voice recognition result.
Based on any of the above embodiments, the determining module 200 includes:
the touch duration judging unit is used for identifying the touch duration corresponding to the data when the data is the data collected by the touch sensor; and judging whether the touch time length is greater than the preset pairing time length for triggering pairing operation.
Based on any of the above embodiments, referring to fig. 3, the apparatus may further include:
the updating module 400 is configured to update the preset condition by using the received preset condition update information.
Based on any of the above embodiments, the pairing module 300 includes:
the BLE connection unit is used for starting BLE pairing broadcast and establishing BLE connection with the terminal if the data meet the preset conditions;
the pairing unit is used for connecting pairing information sent by a receiving terminal through BLE; and performing pairing operation by using the pairing information.
It should be noted that, based on any of the above embodiments, the apparatus may be implemented based on a programmable logic device, where the programmable logic device includes an FPGA, a CPLD, a single chip, a processor, and the like. These programmable logic devices may be provided in a wireless headset.
The embodiment of the present application further provides a wireless headset, including: the system comprises a communication interface, a memory, a sensor and a processor; the wireless headset pairing method includes a sensor for acquiring data, a memory for storing a computer program, and a processor for implementing the steps of the wireless headset pairing method according to any of the above embodiments when the computer program is executed. The processor is used for acquiring data collected by the sensor when executing the computer program; judging whether the data meet a preset condition for triggering pairing operation; and if the preset condition is met, executing pairing operation.
In this embodiment, the number and specific structure of the wireless headsets are not limited, and for example, the wireless headsets may be a TWS wireless headset, or may be a single wireless headset. The specific type of the sensor and the number and the arrangement position of each type of sensor are not limited in this embodiment, and may be any combination of an acceleration sensor (such as a three-axis acceleration sensor), a sound sensor (such as an MIC), a touch sensor, a light sensor, a temperature sensor, a pressure sensor, and the like. The number of various types of sensors and the arrangement positions in the wireless headset are set according to the actual application requirements. Of course, the type of the memory and the processor are not limited in this embodiment, and the processor may be a microprocessor or a bluetooth processor, for example.
The wireless headset in this embodiment may further have other components, and reference may be made to related technologies specifically, which is not limited in this embodiment. For example, the wireless headset may also include a charging component or the like.
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of wireless headset pairing as described in any of the embodiments above. The acquisition of data collected by the sensor is achieved if the computer program is executed by the processor; judging whether the data meet a preset condition for triggering pairing operation; and if the preset condition is met, executing pairing operation.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
A method and an apparatus for pairing wireless headsets, a wireless headset and a computer readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
Claims (7)
1. A method of wireless headset pairing, comprising:
acquiring data collected by a sensor;
judging whether the data meet a preset condition for triggering pairing operation;
if the preset condition is met, executing pairing operation;
updating the preset conditions by utilizing the received preset condition updating information so as to enable the updated preset conditions to accord with the use habits of the users;
when the data is acquired by the acceleration sensor, whether the data meets a preset condition for triggering pairing operation is judged, and the method comprises the following steps:
identifying a motion track of a wireless headset corresponding to the data;
judging whether the motion track is matched with a preset matching track for triggering matching operation;
judging whether the motion track is matched with a preset matching track for triggering matching operation or not, including:
judging whether the shape of the motion track is consistent with a preset matching shape for triggering matching operation;
when the data is acquired by the temperature sensor, the corresponding preset condition is that a temperature value obtained according to the acquired data meets a preset pairing temperature interval and exceeds a second designated time; the preset pairing temperature interval is a human body temperature interval;
when the data is acquired by the light sensor, the corresponding preset condition is that the light intensity change times acquired according to the acquired data are larger than the preset light intensity change times for triggering pairing operation, or the light intensity value is lower than a certain threshold value and lasts for a third specified time;
the wireless headset pairing method further comprises the following steps:
and modifying the judgment threshold value in the preset condition to enable the updated preset condition to accord with the use habit of the user.
2. The method for pairing wireless earphones according to claim 1, wherein when the data is acquired by a sound sensor, judging whether the data meets a preset condition for triggering pairing operation comprises:
performing voice recognition on the data to obtain a voice recognition result;
and judging whether a preset matching keyword for triggering matching operation exists in the voice recognition result.
3. The method for pairing wireless earphones according to claim 1, wherein when the data is acquired by a touch sensor, judging whether the data meets a preset condition for triggering pairing operation comprises:
identifying a touch duration corresponding to the data;
and judging whether the touch time length is greater than a preset pairing time length for triggering pairing operation.
4. A method of wireless headset pairing according to any of the claims 1 to 3, characterized in that pairing operations are performed, comprising:
starting BLE pairing broadcast, and establishing BLE connection with the terminal;
receiving pairing information sent by the terminal through the BLE connection;
and executing pairing operation by using the pairing information.
5. An apparatus for wireless headset pairing, comprising:
the data acquisition module is used for acquiring data acquired by the sensor;
the judging module is used for judging whether the data meet the preset condition for triggering the pairing operation;
the pairing module is used for executing pairing operation if the data meets the preset condition;
the updating module is used for updating the preset conditions by utilizing the received preset condition updating information so as to enable the updated preset conditions to accord with the use habits of users;
when the data is the data collected by the acceleration sensor, the wireless headset pairing device is further configured to:
identifying a motion track of a wireless headset corresponding to the data;
judging whether the motion track is matched with a preset matching track for triggering matching operation;
judging whether the motion track is matched with a preset matching track for triggering matching operation, including:
judging whether the shape of the motion track is consistent with a preset matching shape for triggering matching operation;
when the data is acquired by the temperature sensor, the corresponding preset condition is that the temperature value obtained according to the acquired data meets a preset pairing temperature interval and exceeds a second designated time; the preset pairing temperature interval is a human body temperature interval;
when the data is acquired by the light sensor, the corresponding preset condition is that the light intensity change times acquired according to the acquired data are larger than the preset light intensity change times for triggering pairing operation, or the light intensity value is lower than a certain threshold value and lasts for a third specified time;
the apparatus for pairing wireless headphones is further configured to:
and modifying the judgment threshold value in the preset condition to enable the updated preset condition to accord with the use habit of the user.
6. A wireless headset, comprising: the system comprises a communication interface, a memory, a sensor and a processor; wherein the sensor is adapted to collect data, the memory is adapted to store a computer program, and the processor is adapted to carry out the steps of the method of pairing wireless headsets according to any of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of a method of pairing wireless headphones according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811572438.1A CN109561414B (en) | 2018-12-21 | 2018-12-21 | Wireless earphone pairing method and device and wireless earphone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811572438.1A CN109561414B (en) | 2018-12-21 | 2018-12-21 | Wireless earphone pairing method and device and wireless earphone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109561414A CN109561414A (en) | 2019-04-02 |
CN109561414B true CN109561414B (en) | 2022-10-11 |
Family
ID=65870688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811572438.1A Active CN109561414B (en) | 2018-12-21 | 2018-12-21 | Wireless earphone pairing method and device and wireless earphone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109561414B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110933550A (en) * | 2019-12-05 | 2020-03-27 | 歌尔股份有限公司 | Control method and system of wireless earphone pair and wireless communication equipment |
CN111882846B (en) * | 2020-03-05 | 2021-07-06 | 珠海市杰理科技股份有限公司 | Wireless control method and device, BLE equipment, chip and storage medium |
CN112130980B (en) * | 2020-09-29 | 2024-06-25 | 海尔优家智能科技(北京)有限公司 | Operation execution method and device, storage medium and electronic device |
CN112333593B (en) * | 2020-11-02 | 2023-02-07 | 歌尔科技有限公司 | Wireless earphone pairing method and device and wireless earphone |
CN113905382B (en) * | 2021-11-12 | 2023-10-31 | 英华达(上海)科技有限公司 | Personalized wireless earphone box and using method thereof |
CN114205705A (en) * | 2021-11-26 | 2022-03-18 | 歌尔科技有限公司 | Control method of earphone charging box and earphone charging box |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594988A (en) * | 2012-02-10 | 2012-07-18 | 深圳市中兴移动通信有限公司 | Method and system capable of achieving automatic pairing connection of Bluetooth earphones by speech recognition |
CN203574849U (en) * | 2013-09-26 | 2014-04-30 | 深圳市华美泰电子技术有限公司 | Buletooth stereo headphone with no button |
CN105848029A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Earphone, and control method and device thereof |
CN108811182A (en) * | 2018-06-14 | 2018-11-13 | 歌尔科技有限公司 | A kind of method, apparatus and wireless headset of wireless headset pairing |
CN108848429A (en) * | 2018-06-15 | 2018-11-20 | Oppo广东移动通信有限公司 | The pairing connection method of wireless transmitting-receiving equipments and wireless transmitting-receiving equipments |
CN108882210A (en) * | 2018-06-05 | 2018-11-23 | 歌尔股份有限公司 | Communication control method, ears wireless headset, communication equipment, system and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160165020A1 (en) * | 2014-12-04 | 2016-06-09 | Plastoform Industries Limited | Pair of integrated wireless earphone for a mobile communication device |
CN108810741B (en) * | 2018-06-14 | 2021-01-29 | 歌尔科技有限公司 | Method and device for connecting double wireless earphones and wireless earphones |
-
2018
- 2018-12-21 CN CN201811572438.1A patent/CN109561414B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594988A (en) * | 2012-02-10 | 2012-07-18 | 深圳市中兴移动通信有限公司 | Method and system capable of achieving automatic pairing connection of Bluetooth earphones by speech recognition |
CN203574849U (en) * | 2013-09-26 | 2014-04-30 | 深圳市华美泰电子技术有限公司 | Buletooth stereo headphone with no button |
CN105848029A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Earphone, and control method and device thereof |
CN108882210A (en) * | 2018-06-05 | 2018-11-23 | 歌尔股份有限公司 | Communication control method, ears wireless headset, communication equipment, system and medium |
CN108811182A (en) * | 2018-06-14 | 2018-11-13 | 歌尔科技有限公司 | A kind of method, apparatus and wireless headset of wireless headset pairing |
CN108848429A (en) * | 2018-06-15 | 2018-11-20 | Oppo广东移动通信有限公司 | The pairing connection method of wireless transmitting-receiving equipments and wireless transmitting-receiving equipments |
Also Published As
Publication number | Publication date |
---|---|
CN109561414A (en) | 2019-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109561414B (en) | Wireless earphone pairing method and device and wireless earphone | |
CN110413134B (en) | Wearing state detection method and related equipment | |
CN109379641B (en) | Subtitle generating method and device | |
CN110364145B (en) | Voice recognition method, and method and device for sentence breaking by voice | |
CN106415721B (en) | The coordination switching of audio data transmission | |
US9420369B2 (en) | Processing method for earphone and user equipment | |
CN110493678B (en) | Earphone control method and device, earphone and storage medium | |
CN108810788A (en) | A kind of wear condition detection method, device and the wireless headset of wireless headset | |
CN108710615A (en) | Interpretation method and relevant device | |
US20210144498A1 (en) | Method for Detecting Blocking of Microphone and Related Products | |
CN107633853B (en) | Control method for playing audio and video files and user terminal | |
CN109273017A (en) | Coding control method, device and electronic equipment | |
CN105933537B (en) | A kind of volume processing method and user terminal | |
CN106096360B (en) | A kind of solution lock control method and terminal device | |
CN108959273B (en) | Translation method, electronic device and storage medium | |
CN108966080A (en) | volume adjusting method, device, storage medium and terminal device | |
US10582290B2 (en) | Earpiece with tap functionality | |
CN109257732B (en) | Equipment control method and device and electronic equipment | |
CN103456329A (en) | Method and device for multi-media playing and mobile terminal | |
CN109067965A (en) | Interpretation method, translating equipment, wearable device and storage medium | |
WO2017215615A1 (en) | Sound effect processing method and mobile terminal | |
CN108923810A (en) | Interpretation method and relevant device | |
US20240192916A1 (en) | Smart glasses, method and device for automatic volume control, and smart glasses system | |
CN110602588A (en) | Mistaken touch prevention method and touch earphone | |
CN110913445B (en) | Connection switching method and device and wearable device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |