The present disclosure relates to the field of wearable device technologies, and in particular to an earphone wearing detection method, device, apparatus, and computer-readable storage medium.
With the outbreak of wearable products, TWS (True Wireless Stereo) earphone have come into people's lives and have been favored by the majority of consumers. Meanwhile, more and more attention are being paid to protection of privacy. At present, as long as an earphone is successfully connected to a mobile device, a user can use the earphone without undergoing an identification on identity of the user, which may allow personnels other than the owner of the earphone to use it. In addition, when the user uses the earphone, the earphone may be taken away by others during the call to eavesdrop on the call content, leading to leakage of the user's privacy and influencing the user's experience.
In view of this, how to provide an earphone wearing detection method, device, apparatus, and computer-readable storage medium that solve the above technical problems has become a problem to be solved by those skilled in the art.
The purpose of the embodiments of the present disclosure is to provide an earphone wearing detection method, device, apparatus, and computer-readable storage medium, which can effectively prevent personnels other than the owner from using earphone during use, and improve user safety and privacy security.
To solve the above-mentioned technical problems, the embodiments of the present disclosure provide an earphone wearing detection method, the method comprising:
Acquiring ear data of a current user collected during a wearing process of an earphone;
Optionally, after judging the current user is the owner, the method further comprises:
Optionally, the method further comprises:
Optionally, the method further comprises:
Optionally, a process of acquiring collected ear data of the current user comprises:
Optionally, a process of determining whether the distance between the earphone and the ear is gradually decreasing comprises:
The embodiments of the present disclosure provide an earphone wearing detection device, comprising:
Optionally, the device further comprises:
The embodiments of the present disclosure provide an earphone wearing detection apparatus comprising a collector, a memory, and a processor; wherein:
The embodiments of the present disclosure provide a computer-readable storage medium storing computer programs, and the computer programs are executed by a processor to implement steps of the earphone wearing detection method above mentioned.
The embodiments of the present disclosure provide an earphone wearing detection method, device, apparatus, and computer-readable storage medium. The method comprises: acquiring ear data of a current user collected during a wearing process of an earphone; identifying the current user based on the ear data of the current user and pre-stored ear data of an owner of the earphone, to judge whether the current user is the owner: if the current user is the owner, judging whether a distance between an ear thereof and the earphone is gradually decreasing: if the distance is decreasing, controlling the earphone to enter a normal using state; or if the distance is not decreasing, controlling the earphone to enter an off state.
It can be seen that in the present disclosure, ear data of the current user collected is acquired during the earphone wearing process, and based on the ear data of the current user and the ear data of an owner of the earphone stored previously, the current user can be identified. When it is determined that the current user is the owner, it is further determined whether the distance between the earphone and the ear is gradually decreasing. If the distance is decreasing, it indicates that the owner is continuing to wear the earphone. At this time, the earphone can be controlled to enter the normal using state. If the distance is not decreasing, it indicates that the earphone may be using by others after successful identity recognition, and there is a risk of privacy eavesdropping. At this time, the earphone can be controlled to enter an off state to prevent privacy eavesdropping by others. That is to say, the user can use the earphone normally, and the present disclosure can prevent personnels other than the owner from using the earphone. The present disclosure can effectively prevent personnels other than the owner from using earphone during use, improving user safety and privacy security.
In order to illustrate the technical solution in the embodiments of the present disclosure more clearly, a brief introduction will be given below to the accompanying drawings required in prior art and the embodiments. It is obvious that the accompanying drawings described below are only some embodiments of the present disclosure. For those skilled in the art, other accompanying drawings can be obtained based on these drawings without creative labor.
The embodiments of the present disclosure provide an earphone wearing detection method, device, apparatus, and computer-readable storage medium, which can effectively prevent personnels other than the owner from using earphone during use, and improve user safety and privacy security.
In order to clarify the purpose, technical solution, and advantages of the embodiments of the present disclosure, the following will provide a clear and complete description of the technical solution in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present disclosure.
Referring to
S1110: acquiring ear data of a current user collected during a wearing process of an earphone.
In particular, when the user use the earphone (such as a TWS earphone), a collector can be configured to collect ear data of the current user during a wearing process of an earphone, wherein the collector can be a 3D LiDAR, which scans the ears. Then, the collected ear data is 3D ear data, that is, ear 3D data.
A LIDAR consists of three parts: a transmitting system, a receiving system, and an information processing part. The working principle of the LiDAR is to use the emission, reflection, and reception of visible and near-infrared light waves (mostly infrared light near the 950 nm wavelength band) to detect objects, which is more accurate than a general radar. For example, solid-state LiDAR can be used, which is divided into OPA (optical phased array) solid-state LiDAR and Flash solid-state LiDAR. Based on its size and operational suitability, the Flash solid-state LiDAR can be selected. One major advantage of the Flash solid-state LiDAR is that it can quickly record the entire scene, avoiding various troubles caused by movement of a target or the LiDAR during the scanning process.
It should be noted that in practical applications, when the distance between the earphone and the ear is detected to be less than a first preset value, the 3D LiDAR can be automatically turned on and scan, or when the user wears the earphone, the scanning function can be turned on by a function button provided on the earphone to enable the 3D LiDAR to scan the ear, and when the distance between the earphone and the ear is a specific value, effective 3D scanning of the ear can be completed.
S120: identifying the current user based on the ear data of the current user and pre-stored ear data of an owner of the earphone, to judge whether the current user is the owner: if the current user is the owner, turn to S130;
It should be noted that the current user may be identified first. When it is determined that the current user is the owner of the earphone, the subsequent process can be proceeded. If it is determined that the current user is not the owner of the earphone, the earphone can be directly controlled to enter the off state. When the owner of the earphone uses the earphone for the first time, the ear data (specifically ear 3D data) of the owner can be collected and stored in a database. Then, each time the earphone is used, the ear data of the current user collected each time can be matched with the ear data of the owner stored previously to judge whether the current user is the owner.
Specifically, when the ear 3D data of the current user is obtained, the identity of the current user can be further identified by judging whether the ear 3D data is consistent with the pre-stored ear 3D data. When the ear 3D data of the current user is consistent with the pre-stored ear 3D data, it is determined that the current user is the owner. When the ear 3D data of the current user is inconsistent with the pre-stored ear 3D data, it is determined that the current user is not the owner.
In addition, if the earphone is authorized to multiple users, the ear data of the authorized users can be collected in advance and stored respectively in the database. After acquiring the ear data of the current user, the ear data of the current user can be matched with each ear data stored in the database. If there is ear data that is consistent with the ear data of the current user, it indicates that the current user is one of the authorized users, and it can be determined that the current user is the owner.
S130: judging whether the distance between the earphone and the ear is gradually decreasing. If the distance is decreasing, turn to S140; or if the distance is not decreasing, turn to S150;
S140: controlling the earphone to enter a normal using state;
S150: controlling the earphone to enter an off state.
It should be noted that after identifying the current user as the owner of the earphone, in order to prevent the earphone from being further used by others and prevent privacy calls from being leaked, the distance between the earphone and the ear can be determined in the embodiment of the present disclosure. If the distance is gradually decreasing, it indicates that the user is wearing the earphone, that is, the user is wearing the earphone on his own ear. At this time, the earphone can be controlled to enter a normal using state, that is, the earphone can be used normally. Specifically, the earphone can be controlled to enter the normal using state when the distance between the earphone and the ear is detected to be less than or equal to the preset distance value (such as 1 cm, the specific value can be determined according to actual needs). If the distance gradually increases, it indicates that the user does not wear the earphone on his own ear after identity recognition, but kept the earphone away from his own ear. In order to prevent the earphone from being worn on ears of a personnel other than the owner, the earphone can be controlled to enter the off state, that is, the earphone cannot be used normally at this time.
The process of judging whether the distance between the earphone and the ear is gradually decreasing in S130 above is: to obtain the current distance between the earphone and the ears; judge whether the current distance is less than the distance of a previous timing. If the current distance is less than the distance from the previous timing, judge whether the current distance is less than or equal to a preset distance value. If the current distance is less than or equal to the preset distance value, it is determined that the distance between the earphone and the ear is gradually decreasing. At this time, the earphone can be controlled to enter normal using state. If the current distance is greater than the preset distance value, the detection is continued, that is to say, continue to obtain a distance of a next timing, take the distance of the next timing as the current distance, return to the step of judging whether the current distance is less than the distance of the previous timing, until it is detected that the current distance is not less than the distance of the previous timing, or it is detected that the current distance is less than or equal to the preset distance value, and enter the corresponding step. Specifically, if the current distance is not less than the distance from the previous timing, it is determined that the distance between the earphone and the ear does not gradually decrease, and controlling the earphone to enter the off state.
Further, after judging the current user is the owner, the method also comprises:
It should be noted that due to the different maximum sound intensities that users of different age groups can withstand in their ears, especially for young children and other young age groups, their ability to withstand sound is weak. In order to further protect ears of the user and prevent hearing damage (for example, to prevent the volume suitable for adults from causing hearing damage to toddlers and children), in the embodiments of the present disclosure, age can be divided into multiple age groups, and the maximum volume corresponding to each age group is set. When the user is using the earphone, after judging that the current user is the owner, the ear data of the current user is analyzed. Specifically, by analyzing parameters such as ear size, the target age group corresponding to the current user is further determined. Ear data of a large amount of user can be collected in advance, and through statistical analysis, the corresponding ear size range for each age group of users can be determined. Then, during the user's use of the earphone, the ear size of the ear data of current user collected can be matched with the pre-established ear size range corresponding to each age group, thereby acquiring the target age group corresponding to the current user. Then, based on the target age group and the correspondence between age groups and maximum volumes, the target maximum volume is further determined. Then, the maximum volume of the earphone is set according to the target maximum volume, so that the volume of the sound played during the use of the earphone does not exceed the target maximum volume to avoid damage to ears of the user.
Further, the method may also comprise:
It should be noted that due to the inevitable involvement of negative content in modern networks, in order to avoid these contents affecting the physical and mental health of adolescents, in the embodiment of the present disclosure, when playing audio files through earphone (such as listening to music or broadcasting), the received audio files can be detected. Specifically, the content in the audio files can be detected through tag content such as keywords. For example, different detection keywords for different age groups are set in advance, and target detection keywords corresponding to the target age group are used to detect the received audio file. If content corresponding to the target detection keywords are detected in the audio file, it can be determined that the audio file is not suitable for the age group of the current user. At this time, the earphone can be controlled to refrain from playing the audio file. Of course, Users can also be reminded by voice that the content is not suitable for playback, so that the user can change the content. If it is determined that there is no corresponding target detection keyword in the audio file, it indicates that the audio file is suitable for the age group of the current user. At this time, the earphone can be controlled to play the audio file.
It can be seen that in the present disclosure, ear data of the current user collected is obtained during the earphone wearing process, and based on the ear data of the current user and the ear data of an owner of the earphone stored previously, the current user can be identified. When it is determined that the current user is the owner, it is further determined whether the distance between the earphone and the ear is gradually decreasing. If the distance is decreasing, it indicates that the owner is continuing to wear the earphone. At this time, the earphone can be controlled to enter the normal using state. If the distance is not decreasing, it indicates that the earphone may be used by others after successful identity recognition, there is a risk of privacy eavesdropping. At this time, the earphone can be controlled to enter the off state to prevent privacy eavesdropping by others. That is to say, the user can use the earphone normally, and the present disclosure can prevent personnels other than the owner from using the earphone. The present disclosure can effectively prevent personnels other than the owner from using earphone during use, improving user safety and privacy security.
On the basis of the above embodiments, the present disclosure also provides an earphone wearing detection device, as shown in
Optionally, the device may also comprise:
It should be noted that the earphone wearing detection device provided in the embodiments of the present disclosure has the same beneficial effect as the earphone wearing detection method provided in the above embodiments. With regard to the specific introduction of the earphone wearing detection method involved in the embodiments of the present disclosure, please refer to the above embodiments, which will not be repeated in the present disclosure.
On the basis of the above embodiments, the present disclosure also provides an earphone wearing detection apparatus comprising a collector, a memory, and a processor; wherein:
For example, the processor in the embodiments of the present disclosure can be specifically used to obtain ear data of a current user collected during a wearing process of an earphone; based on the ear data of the current user and ear data of an owner of the earphone stored previously, identify the current user and determine the current user is the owner, if the current user is the owner, judging whether a distance between an ear thereof and the earphone is gradually decreasing, if the distance is decreasing, controlling the earphone to enter a normal using state; or if the distance is not decreasing, controlling the earphone to enter an off state.
On the basis of the above embodiments, the embodiments of the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium stores computer programs, and the computer programs are executed by a processor to implement steps of the above earphone wearing detection method.
The computer-readable storage medium can include: USB flash drives, portable hard drives, Read Only Memory (ROM), Random Access Memory (RAM), disks or CDs, and other mediums that can store program code.
The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between each embodiment can be referred to each other. For the device disclosed in the embodiments, as the device corresponds to the method disclosed in the embodiments, the description is relatively simple. Please refer to the section of the method for relevant information.
It should also be noted that in this manual, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms “include”, “comprise”, or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, item, or apparatus that includes a series of elements not only includes those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, item, or apparatus. Without further limitations, the elements limited by the statement “comprise one . . . ” do not exclude the existence of other identical elements in the process, method, item, or apparatus that includes the elements.
The above explanation of the disclosed embodiments enables professionals in the art to implement or use the present disclosure. The various modifications to these embodiments will be apparent to professionals in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments herein, but will conform to the widest range consistent with the principles and novel features disclosed herein.
Number | Date | Country | Kind |
---|---|---|---|
202110970071.4 | Aug 2021 | CN | national |
This application is a National Stage of International Application No. PCT/CN2021/140724, filed on Dec. 23, 2021, which claims priority to Chinese Patent Application No. 202110970071.4, filed on Aug. 23, 2021, both of which are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/140724 | 12/23/2021 | WO |