CN112464196B - Bluetooth headset connection method, device and storage medium - Google Patents

Bluetooth headset connection method, device and storage medium Download PDF

Info

Publication number
CN112464196B
CN112464196B CN202011415821.3A CN202011415821A CN112464196B CN 112464196 B CN112464196 B CN 112464196B CN 202011415821 A CN202011415821 A CN 202011415821A CN 112464196 B CN112464196 B CN 112464196B
Authority
CN
China
Prior art keywords
user
bluetooth headset
biological information
authority
pairing mode
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
Application number
CN202011415821.3A
Other languages
Chinese (zh)
Other versions
CN112464196A (en
Inventor
李伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Huaqin Electronic Technology Co ltd
Original Assignee
Nanchang Huaqin Electronic Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanchang Huaqin Electronic Technology Co ltd filed Critical Nanchang Huaqin Electronic Technology Co ltd
Priority to CN202011415821.3A priority Critical patent/CN112464196B/en
Publication of CN112464196A publication Critical patent/CN112464196A/en
Application granted granted Critical
Publication of CN112464196B publication Critical patent/CN112464196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a Bluetooth headset connection method, bluetooth headset connection equipment and a storage medium. The method comprises the following steps: acquiring biological information of a first user wearing a Bluetooth headset, and matching the biological information of the first user with biological information of an authorized user prestored in a terminal; and the state of the Bluetooth headset is controlled according to the matching result, so that the safety and privacy of the communication between the terminal and the Bluetooth headset are improved.

Description

Bluetooth headset connection method, device and storage medium
Technical Field
The present application relates to wireless communication technologies, and in particular, to a method, an apparatus, and a storage medium for connecting a bluetooth headset.
Background
With the development of bluetooth technology, bluetooth has low power consumption and further improved transmission rate, and bluetooth headset has become more and more widely used and is becoming the first choice of modern people. When using bluetooth headset, safety communication and privacy communication are also becoming a focus gradually, and the users are concerned widely.
Aiming at the encryption pairing of the Bluetooth headset and the application scheme thereof, a plurality of innovative schemes exist, and a plurality of using convenience is provided for users. However, in the current scheme, no matter the pairing scheme implemented by the key or other schemes, the terminal cannot further monitor the bluetooth headset after the bluetooth headset is authorized, which easily causes information security problems such as leakage of user information.
Disclosure of Invention
The application provides a Bluetooth headset connection method, bluetooth headset connection equipment and a storage medium, which improve the communication safety of a terminal and the Bluetooth headset.
In a first aspect, the present application provides a connection method of a bluetooth headset, including:
acquiring biological information of a first user wearing the Bluetooth headset;
matching the biological information of the first user with the biological information of the authorized user prestored in the terminal;
and controlling the state of the Bluetooth headset according to the matching result, wherein the state is a working state, a state to be authorized or a standby state.
In a possible implementation manner, the controlling the state of the bluetooth headset according to the matching result includes:
if a first authorized user matched with the biological information of the first user exists, controlling the state of the Bluetooth headset according to the authority level of the first authorized user;
and if the authorized user matched with the biological information of the first user does not exist, controlling the Bluetooth headset to enter a standby state.
In a possible implementation manner, the controlling the state of the bluetooth headset according to the authority level of the first authorized user includes:
If the authority level of the first authorized user is the first authority, controlling the Bluetooth headset to keep a working state;
if the authority level of the first authorized user is the second authority, controlling the Bluetooth headset to enter a state to be authorized, and outputting an authorization prompt; if a first authorization instruction is received, controlling the Bluetooth headset to enter a working state; the first authorization instruction is used for indicating that the second authority is granted to the first authorized user again;
the first right is higher than the second right.
In one possible implementation, the method further includes:
when a user information input request is received, acquiring biological information of a second user wearing the Bluetooth headset;
receiving an authority instruction input by a user, wherein the authority instruction is used for indicating the authority level of the second user;
and storing the corresponding relation between the biological information of the second user and the authority level of the second user.
In a possible implementation, the user information entry request is triggered by the terminal or by the bluetooth headset.
In one possible implementation, the method further includes:
Receiving a pairing mode instruction, wherein the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode or a single-earphone pairing mode;
the acquiring the biological information of the second user wearing the Bluetooth headset comprises the following steps:
acquiring biological information of two ears of the second user when the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode;
and acquiring the biological information of the single ear of the second user when the pairing mode instruction is used for indicating that the pairing mode is a single earphone pairing mode.
In a possible implementation manner, before the storing the correspondence between the biological information of the second user and the authority level of the second user, the method further includes:
and receiving a verification instruction input by a user, wherein the verification instruction is used for indicating that the authority level indicated by the authority instruction is granted to the second user.
In one possible implementation, the method further includes:
and if the acquired biological information of the second user is incomplete, outputting prompt information, wherein the prompt information is used for prompting the user to confirm whether the Bluetooth headset is worn correctly.
In a second aspect, the present application provides a connection method of a bluetooth headset, including:
Acquiring biological information of a first user currently wearing the Bluetooth headset;
and sending the biological information of the first user to a terminal, wherein the biological information of the first user is used for matching with the biological information of the authorized user prestored in the terminal.
In a possible implementation manner, the acquiring the biological information of the first user currently wearing the bluetooth headset includes:
detecting whether a user wearing the Bluetooth headset changes;
and if the user wearing the Bluetooth headset changes, acquiring the biological information of the first user currently wearing the Bluetooth headset.
In a third aspect, the present application provides a connection device for a bluetooth headset, including:
the acquisition module is used for acquiring biological information of a first user wearing the Bluetooth headset;
the matching module is used for matching the biological information of the first user with the biological information of the authorized user prestored in the terminal;
and the control module is used for controlling the state of the Bluetooth headset according to the matching result, wherein the state is a working state, a state to be authorized or a standby state.
In one possible implementation, the control module is configured to:
If a first authorized user matched with the biological information of the first user exists, controlling the state of the Bluetooth headset according to the authority level of the first authorized user;
and if the authorized user matched with the biological information of the first user does not exist, controlling the Bluetooth headset to enter a standby state.
In one possible implementation, the control module is configured to:
if the authority level of the first authorized user is the first authority, controlling the Bluetooth headset to keep a working state;
if the authority level of the first authorized user is the second authority, controlling the Bluetooth headset to enter a state to be authorized, and outputting an authorization prompt; if a first authorization instruction is received, controlling the Bluetooth headset to enter a working state; the first authorization instruction is used for indicating that the second authority is granted to the first authorized user again;
the first right is higher than the second right.
In a possible implementation, the apparatus further includes:
the acquisition module is used for acquiring biological information of a second user wearing the Bluetooth headset when receiving a user information input request;
the receiving module is used for receiving an authority instruction input by a user, wherein the authority instruction is used for indicating the authority level of the second user;
And the storage module is used for storing the corresponding relation between the biological information of the second user and the authority level of the second user.
In a possible implementation, the user information entry request is triggered by the terminal or by the bluetooth headset.
In a possible implementation, the receiving module is further configured to: receiving a pairing mode instruction, wherein the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode or a single-earphone pairing mode;
the acquisition module is used for:
acquiring biological information of two ears of the second user when the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode;
and acquiring the biological information of the single ear of the second user when the pairing mode instruction is used for indicating that the pairing mode is a single earphone pairing mode.
In a possible implementation, the receiving module is further configured to:
and receiving a verification instruction input by a user, wherein the verification instruction is used for indicating that the authority level indicated by the authority instruction is granted to the second user.
In a possible implementation, the apparatus further includes:
and the output module is used for outputting prompt information if the acquired biological information of the second user is incomplete, wherein the prompt information is used for prompting the user to confirm whether the Bluetooth headset is correctly worn.
In a fourth aspect, the present application provides a connection device for a bluetooth headset, including:
the acquisition module is used for acquiring biological information of a first user wearing the Bluetooth headset currently;
and the sending module is used for sending the biological information of the first user to the terminal, and the biological information of the first user is used for matching with the biological information of the authorized user prestored in the terminal.
In one possible implementation, the acquiring module is configured to:
detecting whether a user wearing the Bluetooth headset changes;
and if the user wearing the Bluetooth headset changes, acquiring the biological information of the first user currently wearing the Bluetooth headset.
In a fifth aspect, the present application provides an electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory is used for storing a computer program;
the processor is configured to implement the method as described in the first or second aspect above when the computer program is executed.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in the first or second aspect above.
The application provides a connection method, equipment and storage medium of a Bluetooth headset, comprising the following steps: when the Bluetooth headset is in a working state, matching biological information of a first user currently wearing the Bluetooth headset with biological information of an authorized user prestored in a terminal; and the state of the Bluetooth headset is controlled according to the matching result, so that the safety and privacy of the communication between the terminal and the Bluetooth headset are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a connection method of a bluetooth headset according to the present application;
fig. 2 is a schematic flow chart II of a connection method of a bluetooth headset according to the present application;
fig. 3 is a schematic diagram of a bluetooth headset according to the present application;
fig. 4 is a schematic diagram of a second bluetooth headset according to the present application;
FIG. 5 is a first user interface diagram according to the present application;
fig. 6 is a flowchart of a connection method of a bluetooth headset according to the present application;
FIG. 7 is a second user interface diagram according to the present application;
FIG. 8 is a third user interface diagram according to the present application;
FIG. 9 is a diagram of a user interface according to the present application;
fig. 10 is a schematic diagram of wearing a dual-earphone according to the present application;
FIG. 11 is a diagram of a user interface according to the present application;
fig. 12 is a schematic structural diagram of a connection device of a bluetooth headset according to the present application;
fig. 13 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
With the development of bluetooth technology, bluetooth has been increasingly used in bluetooth headsets with low power consumption and further improved transmission rate, and when using bluetooth headsets, secure communication, private communication, etc. have become a focus gradually, and have been widely paid attention to by users. In the prior art, when a user uses a Bluetooth headset to connect a terminal, the Bluetooth headset can be automatically connected in later use once the Bluetooth headset is successfully matched and connected, so that the problem of information security such as leakage of user information is easily caused.
In order to solve the above problems, the present application provides a connection method of a bluetooth headset, which detects the usage status of the bluetooth headset in real time when a user uses the bluetooth headset, determines whether the user wearing the bluetooth headset is an authorized user, i.e. determines that the user has the right to use the bluetooth headset, and controls the working status of the bluetooth headset according to the detection result, thereby avoiding illegal use of the bluetooth headset after pairing connection, and ensuring information security. The following description is made with reference to specific embodiments.
Fig. 1 is a flowchart of a connection method of a bluetooth headset according to the present application. The execution main body of the method is a terminal device, and the terminal device can be a mobile phone, a tablet computer, a personal computer, a wearable intelligent device and the like by way of example, and the application is not limited to the above. As shown in fig. 1, the method includes:
S101, acquiring biological information of a first user wearing a Bluetooth headset.
The Bluetooth headset can acquire the biological information of a first user wearing the Bluetooth headset in a working state, and transmits the biological information of the first user to the terminal equipment. In a usage scenario of the bluetooth headset, the bluetooth headset may be worn by one user at all times in an operating state, or worn by another user after a period of time. Therefore, after the bluetooth headset is started, if the wearing mode is detected, the biological information of the first user wearing the bluetooth headset can be obtained, or the bluetooth headset detects that the user wearing the bluetooth headset changes in the working state, and the bluetooth headset can obtain the biological information of the first user currently wearing the bluetooth headset.
The bluetooth headset may adopt any one of the methods of thermal detection, gravity sensing detection, acceleration sensing detection, biological information detection, etc. to determine whether the bluetooth headset is in a wearing mode, and determine whether a user wearing the bluetooth headset changes, or may also adopt a combination of two or more of the above methods to determine whether the user wearing the bluetooth headset changes, which is not limited in the present application. Or, the terminal can also obtain the data related to the temperature value, the gravity sensing result, the acceleration sensing result, the biological information and the like acquired by the Bluetooth headset, and determine whether the user wearing the Bluetooth headset changes according to the data.
Optionally, when the bluetooth headset is in a working state, the biological information of the user wearing the bluetooth headset can be sampled according to a preset time interval, the sampled biological information is compared with the biological information of the user sampled at the previous time, and if the biological information changes, the user wearing the bluetooth headset can be determined to change. The biological information in this step may be the biological information of the ear hole of the user, for example, the biological information of the ear hole of the user may be obtained through a sampling chip disposed on the bluetooth headset, and after the user wears the bluetooth headset, the bluetooth headset may automatically detect the biological information of the ear hole of the user. The biometric information may be a fingerprint, an iris, or the like, and this embodiment is not limited thereto.
S102, matching the biological information of the first user with the biological information of the authorized user prestored in the terminal.
The authorized user prestored in the terminal is the main user of the terminal or the user authorized by the main user. When a user connects with the terminal through the Bluetooth headset, the user information can be set on the terminal or input through triggering of the Bluetooth headset, after the user wears the Bluetooth headset, the Bluetooth headset acquires the biological information of the user and sends the biological information to the terminal, and at the moment, the user can set the biological information as the biological information of the main user through the terminal. In addition, the main user can authorize the Bluetooth headset to be used by other users, and biological information of the other users is stored as biological information of authorized users through the terminal.
In the using process of the Bluetooth headset, when the Bluetooth headset is matched and connected with the terminal after being started or when the wearing user of the Bluetooth headset which is matched and connected with the terminal is changed, the terminal needs to determine whether the first user currently wearing the Bluetooth headset is an authorized user or not, so that the acquired biological information of the first user needs to be compared with the biological information of the authorized user prestored in the terminal to confirm whether the biological information is matched or not.
S103, controlling the state of the Bluetooth headset according to the matching result, wherein the state is a working state, a state to be authorized or a standby state.
If the biological information of the first user is matched with the biological information of the authorized user prestored in the terminal, the first user is an authorized user; if the biological information of the first user cannot be matched with the biological information of the authorized user prestored in the terminal, the first user is an unauthorized user.
Optionally, the state of the bluetooth headset may be a working state, a state to be authorized, or a standby state, where the working state is a state that the bluetooth headset can normally output audio, and the state to be authorized is a state that the bluetooth headset cannot output audio after being authorized again by the main user. After the biological information of the first user is matched with the biological information of the authorized user prestored in the terminal, different matching results can correspond to different Bluetooth headset states, so that the safety and privacy of Bluetooth headset connection are ensured.
According to the Bluetooth headset connection method, when a user uses the Bluetooth headset, the use state of the Bluetooth headset is detected in real time, particularly when the user wearing the Bluetooth headset changes, whether the user wearing the Bluetooth headset is matched with an authorized user prestored in a terminal or not is determined, the working state of the Bluetooth headset is controlled according to the matching result, the situation that the Bluetooth headset is used illegally at will after being matched and connected is avoided, and safety and privacy of user information are guaranteed.
The following further describes the state of controlling the bluetooth headset according to the matching result of the biological information of the first user and the biological information of the authorized user pre-stored in the terminal in the above embodiment.
If a first authorized user matched with the biological information of the first user exists, controlling the state of the Bluetooth headset according to the authority level of the first authorized user; and if the authorized user matched with the biological information of the first user does not exist, controlling the Bluetooth headset to enter a standby state.
Under the condition that the biological information of the first user is matched with the biological information of the authorized user pre-stored in the terminal, the matching result of the biological information of the first user and the biological information of the authorized user pre-stored in the terminal is different according to different authority levels of the authorized user pre-stored in the terminal, and the states of the corresponding Bluetooth headset can be different. The state of the bluetooth headset is thus controlled according to the authority level of the first authorized user when there is a first authorized user that matches the biometric information of the first user.
Optionally, if the authority level of the first authorized user is the first authority, the bluetooth headset is controlled to maintain the working state. If the authority level of the first authorized user is the second authority, controlling the Bluetooth headset to enter a state to be authorized, outputting an authorization prompt, and if a first authorization instruction is received, controlling the Bluetooth headset to enter a working state, wherein the first authorization instruction is used for indicating that the second authority is granted to the first authorized user again; the first right is higher than the second right.
The authority level of the authorized user pre-stored in the terminal is divided into high authority and low authority, namely, the first authority is high authority, and the second authority is low authority. When a first authorized user matched with the biological information of the first user exists, if the authority level of the first authorized user is high, controlling the Bluetooth headset to keep a working state; if the authority level of the first authorized user is low, controlling the Bluetooth headset to enter a state to be authorized, and outputting an authorization prompt, wherein the authorization prompt is used for prompting the first authorized user to be the low-authority user, and the Bluetooth headset can be used only after re-authorization is required. The main user can execute corresponding authorization operation according to the authorization prompt output by the terminal to generate a first authorization instruction, so that the second authority, namely the low authority, is granted to the first authorized user again. By way of example, the authorization operation may be, but is not limited to, entering a fingerprint, entering a password, entering a verification pattern, verifying a face, verifying a pupil, and the like. And the terminal receives the first authorization instruction and controls the Bluetooth headset to enter a working state.
In the connection process of the Bluetooth headset, if the headset is implanted into the high-authority user ear from the main user ear, the whole use is not switched without any limitation, and if the headset is implanted into the low-authority user ear from the main user ear, the terminal can close the output of the Bluetooth headset and prompt for re-authorization; if the headset is placed in an unauthorized user's ear from the master user's ear, the Bluetooth headset will enter a standby state. If the headset is placed into another low-rights user from the low-rights user's ear, the terminal will turn off the Bluetooth headset's output and prompt for re-authorization. In addition, no matter from what kind of authority user's ear put into the ear of high authority user, bluetooth headset immediately gets into operating condition, does not receive the function restriction.
In the method, when the user uses the Bluetooth headset, the terminal acquires the use state of the Bluetooth headset in real time, when the user wearing the Bluetooth headset changes, the terminal determines whether the user wearing the Bluetooth headset is matched with the authorized user prestored in the terminal, and the working state of the Bluetooth headset can be further controlled according to the matching result and the authority level of the matched authorized user, so that the high-authority user can directly use the Bluetooth headset, the low-authority user needs to be authorized again and then uses the Bluetooth headset, and the unauthorized user cannot use the Bluetooth headset, the hierarchical management of the user authority is realized, the random use of the Bluetooth headset after the pairing connection is avoided, and the safety and privacy of user information are ensured.
The authorized users pre-stored in the terminal according to the above embodiment will be further described below.
Fig. 2 is a schematic flow chart II of a connection method of a bluetooth headset. As shown in fig. 2, the method includes:
s201, acquiring biological information of a second user wearing the Bluetooth headset when receiving a user information input request.
In this step, the user information input request may be triggered by the terminal or by the bluetooth headset. For example, the user may select to enter a user button in a bluetooth headset related page in the end user interface, or the user may trigger a user information entry request by touching or clicking a sensing area of the bluetooth headset, for example.
Biological information of a second user wearing the Bluetooth headset is collected by the Bluetooth headset and sent to the terminal. As shown in fig. 3 and 4, the biological information sampling area with a circle of outline of the bluetooth headset is integrated with a biological information sampling chip, and a radio frequency sampling circuit is integrated in the biological information sampling chip for sampling lines such as biological skin surface and cells under the skin, and the bluetooth headset can sample biological information of the earhole of a user through the biological information chip. When the earphone is placed in the ear by the user, the biological information sampling chip can start working at the trigger window to sample the biological information of the user. An example trigger window may be a preset time interval or a user information entry request. The Bluetooth headset can automatically collect biological information of a user without manual or considered operation requests, and great convenience is brought to Bluetooth pairing.
S202, receiving an authority instruction input by a user, wherein the authority instruction is used for indicating the authority level of a second user.
The bluetooth headset sends the acquired biological information of the second user to the terminal, after the terminal obtains the complete biological information of the second user, the permission options can be displayed on the user interface to prompt the master user for the permission level granted to the second user, for example, as shown in fig. 5, the master user performs a selection operation to generate a permission instruction, so that the terminal obtains the permission level granted to the second user by the master user.
S203, storing the corresponding relation between the biological information of the second user and the authority level of the second user.
The terminal receives the biological information of the second user, receives the authority level of the second user selected by the main user, and correspondingly stores the corresponding relation between the information, so that the second user becomes a prestored authorized user, and the terminal can be matched for use in the subsequent use process.
According to the Bluetooth headset connection method, user information input can be triggered through the terminal or the Bluetooth headset, the Bluetooth headset can automatically collect biological information of a user, and the terminal correspondingly stores the biological information of the user and the corresponding relation between user authority levels set by a main user, so that multiuser authorization management of the Bluetooth headset is achieved, and connection safety of the Bluetooth headset is improved.
On the basis of the embodiment, the process of inputting user information by the terminal is further described. Fig. 6 is a flowchart of a connection method of a bluetooth headset according to the present application. As shown in fig. 6, the method includes:
s601, receiving a user information input request and a pairing mode instruction, wherein the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode or a single-earphone pairing mode.
The user information input request in this embodiment is similar to that in the above-described embodiment S201, and will not be described here again. After receiving the user information input request, the terminal displays a pairing mode selection item on a user interface, and the user triggers a pairing mode instruction by selecting the user interface, wherein the pairing mode instruction can indicate a dual-earphone pairing mode or a single-earphone pairing mode, and the single-earphone pairing mode can also comprise a right-earphone pairing mode and a left-earphone pairing mode.
S602, acquiring biological information of a second user wearing the Bluetooth headset.
After the pairing mode instruction is received and the pairing mode is determined, the terminal acquires the biological information of the second user wearing the Bluetooth headset, and the biological information acquired by the terminal is different according to the different pairing modes.
As shown in fig. 7, when the pairing mode instruction indicates that the pairing mode is a dual-earphone pairing mode, the terminal acquires biological information of both ears of the second user, for example, in the figure, the terminal acquires biological information of the left ear first and then acquires biological information of the right ear, and of course, biological information of the right ear may also be acquired first and then biological information of the left ear.
For example, as shown in fig. 8, when the pairing mode instruction indicates that the pairing mode is a single-earphone pairing mode, and further selects a single-left earphone pairing mode, the terminal acquires biological information of the left ear of the second user.
For example, as shown in fig. 9, when the pairing mode instruction indicates that the pairing mode is a single-earphone pairing mode, and the single-right earphone pairing is further selected, the terminal acquires the biological information of the right ear of the second user.
In the above cases where the pairing mode is manually selected by the user in S601 and S602, the freedom of using headphones is increased by manually selecting the single-headphone mode or the double-headphone mode. In addition, the terminal and the bluetooth headset can determine the pairing mode through adaptive detection, and in an example, a relatively intelligent judgment is performed on whether the bluetooth headset is in a single headset mode or a dual headset mode, as shown in fig. 10, the distance D between the two bluetooth headsets is determined by acquiring the communication distance detection between the bluetooth headsets. The distance between the two earphones is within a certain range, such as about 15cm, when the earphone is worn on the left and the right ears; while a single earphone is worn, the distance between the two earphones is very large, for example 50cm. The terminal can automatically identify whether the two-earphone wearing mode or the single-earphone wearing mode by monitoring the distance D. In this mode, if a dual earphone pairing is performed, the end user interface no longer prompts the user whether to select dual earphone mode, only by confirming whether the single earphone is the left earphone or the right earphone pairing.
S603, receiving an authority instruction input by a user, wherein the authority instruction is used for indicating the authority level of the second user.
The terminal may display the acquired completion of the biological information of the second user on the user interface, for example, as shown in fig. 7, the terminal user interface displays the completion of the left earphone data as 100%, then displays the completion of the right earphone data, and the completion of the right earphone data also reaches 100%, which indicates that the terminal has completely acquired the biological information of both ears of the second user. By way of example, as shown in fig. 8, the terminal user interface displays a left earpiece data completion of 100%, indicating that the terminal has completely acquired the biometric information of the second user's single left earpiece. By way of example, as shown in fig. 9, the terminal user interface displays a right earphone data completion of 100%, indicating that the terminal has completely acquired the biometric information of the second user's right earphone alone.
In addition, when it is required to be described, if the biological information of the second user acquired by the terminal is incomplete, for example, as shown in fig. 11, the biological information of the left earphone acquired by the terminal only reaches 60%, and the terminal may further output a prompting message for prompting the user to confirm whether the bluetooth earphone is worn correctly, for example, whether the bluetooth earphone is worn reversely left and right. As is well known, after the earphone is worn, the contact area of the inner side near the earhole is larger than that of the outer side, so that the sampled data surface near the inner side is larger, if the earphone is worn reversely by a user, a part of the sampled data cannot be sampled, and the sampled data cannot reach 100%, and at the moment, the interface prompts the user to confirm whether the earphone is worn reversely or not.
Besides the fool-proof wearing scheme, the Bluetooth headset can also adopt an asymmetric earstem in the structural design, and the sound outlet hole structure of the headset is added with an 'ear guide hole', so that a user can quickly identify the Bluetooth headset. In addition, for the binaural wearing mode, if the left and right earphones are not worn correctly, a phenomenon that some sound is cancelled between the two earphones prompts the user to replace the earphones, so that the earphone wearing is prevented. The fool-proof scheme is not particularly limited in the application. In addition, the left and right attributes of the left and right Bluetooth headsets are embodied in the MAC address of Bluetooth, so that the terminal can identify whether the pairing is simultaneous pairing or single-headset pairing.
After the terminal completely acquires the biological information of the second user, the permission options are further displayed, and as an example, still referring to fig. 7 to 9, the terminal user interface displays three options of high-permission pairing, low-permission pairing and refusing, and the main user can perform selection operation on the user interface.
If the user selects the high-authority pairing, the second user is granted high authority, the second user can be automatically connected when using the Bluetooth headset later, and the Bluetooth headset outputs normally. If the user selects the low-authority pairing, the second user is granted with low authority, and the second user can normally use the Bluetooth headset after being authorized again when using the Bluetooth headset later. If the user chooses to reject, the second user will not be able to obtain authorization.
S604, receiving a verification instruction input by a user, wherein the verification instruction is used for indicating that the authority level indicated by the authorization instruction is granted to a second user.
After receiving the permission command, the terminal inputs a verification interface to prompt the main user to input a verification command in order to ensure that the permission command is operated by the main user, and the terminal prompts the main user to input fingerprints, input passwords, input verification patterns, verify faces, verify pupils and the like, so that the main user executes corresponding verification triggering verification commands to enable the terminal to perform verification.
And S605, storing the corresponding relation between the biological information of the second user and the authority level of the second user.
After the verification instruction passes the verification, the terminal stores the corresponding relation between the biological information of the second user and the authority level of the second user, and the second user is taken as a pre-stored authorized user. If the master user does not input the verification instruction, or if the terminal fails to verify the verification instruction, for example, the fingerprint received by the terminal does not match with the fingerprint of the master user, the authorization operation is indicated to be performed not to be the master user, so that the terminal refuses to authorize the second user, that is, the terminal does not store the corresponding relationship between the biological information and the authority level of the second user.
The terminal can store the users in a classified mode according to the authority types. After the biological information is successfully matched, the users in the high-authority group can enjoy the use authority of the Bluetooth headset which is the same as that of the master user, and the high-authority user does not need to be paired again after the first authorization. The users in the low-authority group have certain function limitation when actually using the Bluetooth headset, namely, the Bluetooth headset is not automatically connected every time after being successfully matched, the terminal can be connected only by re-authorization of the main user, or even if the main user is connected with the terminal, the Bluetooth headset has no audio output.
For example, the following table 1 exemplifies user information stored in the terminal, the high-authority and low-authority users correspond to different groups, the high-authority is group 1, the sequentially stored data is stored according to 11,12, …,1n, the low-authority is group 2, and the stored data is stored according to 21,22, …,2 n. Because each earphone MAC address has the attribute of the left ear or the right ear, the information can be extracted and stored according to the identification of the left ear or the right ear. And the terminal can store the user information after the verification of the main user. After the biological information of the user is stored, the terminal carries out corresponding permission output limitation on the biological information of the user, so that the privacy use of the Bluetooth headset is ensured.
TABLE 1
According to the Bluetooth headset connection method, user information sampling and input is performed based on biological information and authority classification of the user, and authorization selection verification of the main user is combined, so that other users can use the Bluetooth headset according to the authority set by the main user, the situation that the Bluetooth headset is used randomly after being connected in a pairing mode is avoided, and the use safety and privacy of the Bluetooth headset are guaranteed.
In the above embodiment, the connection between the terminal of the user and the bluetooth headset is performed based on the biological information, and then the use state of the bluetooth headset is tracked, and the bluetooth headset is correspondingly controlled according to different users using the bluetooth headset, so that the terminal and the bluetooth headset are always in private and safe connection, meanwhile, the operation complexity of the user is not increased, and the safety and the privacy of the user information are greatly improved. Based on the communication between the actual terminal and the Bluetooth headset, the display interface of the terminal can further prompt the user permission of the current Bluetooth headset, for example, as shown in fig. 9, HPBT is displayed on the user interface to indicate a high-permission user; as shown in fig. 10, the LPBT is displayed on the user interface to indicate the low-authority user, so that the master user can learn the current bluetooth headset communication status, further ensuring security and privacy.
Fig. 12 is a schematic structural diagram of a connection device of a bluetooth headset according to the present application. As shown in fig. 12, the connection device 120 of the bluetooth headset includes:
an acquisition module 121 for acquiring biological information of a first user wearing a bluetooth headset;
a matching module 122 for matching the biological information of the first user with the biological information of the authorized user pre-stored in the terminal;
the control module 123 is configured to control a state of the bluetooth headset according to the matching result, where the state is a working state, a to-be-authorized state, or a standby state.
In one possible implementation, the control module 123 is configured to:
if a first authorized user matched with the biological information of the first user exists, controlling the state of the Bluetooth headset according to the authority level of the first authorized user;
and if the authorized user matched with the biological information of the first user does not exist, controlling the Bluetooth headset to enter a standby state.
In one possible implementation, the control module 123 is configured to:
if the authority level of the first authorized user is the first authority, controlling the Bluetooth headset to keep the working state;
if the authority level of the first authorized user is the second authority, controlling the Bluetooth headset to enter a state to be authorized, and outputting an authorization prompt; if a first authorization instruction is received, controlling the Bluetooth headset to enter a working state; the first authorization instruction is used for indicating that the second authority is granted to the first authorized user again;
The first right is higher than the second right.
In one possible implementation, the connection device 120 of the bluetooth headset further includes:
the acquiring module 124 is configured to acquire biological information of a second user wearing the bluetooth headset when receiving a user information input request;
a receiving module 125, configured to receive a permission instruction input by a user, where the permission instruction is used to indicate a permission level of the second user;
and a storage module 126, configured to store a correspondence between the biometric information of the second user and the authority level of the second user.
In one possible implementation, the user information entry request is triggered by the terminal or by a bluetooth headset.
In one possible implementation, the receiving module 125 is further configured to: receiving a pairing mode instruction, wherein the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode or a single-earphone pairing mode;
the acquisition module 124 is configured to:
acquiring biological information of two ears of a second user when the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode;
and when the pairing mode instruction is used for indicating that the pairing mode is a single earphone pairing mode, acquiring the biological information of the single ear of the second user.
In one possible implementation, the receiving module 125 is further configured to: and receiving a verification instruction input by the user, wherein the verification instruction is used for indicating that the authority level indicated by the authorization instruction is granted to the second user.
In one possible implementation, the connection device 120 of the bluetooth headset further includes:
and the output module 127 is configured to output a prompt message if the acquired biological information of the second user is incomplete, where the prompt message is used to prompt the user to confirm whether the bluetooth headset is worn correctly.
The connection device of the bluetooth headset provided in this embodiment may be used to implement the connection method of the bluetooth headset executed by the terminal in any of the above method embodiments, and the implementation principle and technical effects are similar, and are not repeated here.
Fig. 13 is a schematic diagram showing a connection device of a bluetooth headset according to the present application. As shown in fig. 13, the connection device 130 of the bluetooth headset includes:
an obtaining module 131, configured to obtain biological information of a first user currently wearing a bluetooth headset;
and a transmitting module 132 for transmitting the biological information of the first user to the terminal, wherein the biological information of the first user is used for matching with the biological information of the authorized user pre-stored in the terminal.
In one possible implementation, the obtaining module 131 is configured to:
detecting whether a user wearing the Bluetooth headset changes;
if the user wearing the Bluetooth headset changes, acquiring the biological information of the first user currently wearing the Bluetooth headset.
The connection device of the bluetooth headset provided in this embodiment may be used to implement the connection method of the bluetooth headset executed by the bluetooth headset in any of the above method embodiments, and the implementation principle and technical effects are similar, and are not repeated here.
Fig. 13 is a schematic structural diagram of an electronic device according to the present application. As shown in fig. 13, the electronic device 130 includes: a transceiver 131, a memory 132, and a processor 133; the transceiver 131, memory 132, and processor 133 are connected by a bus 134.
A memory 132 for storing a computer program; a processor 133 for implementing the method as in any of the method embodiments described above when the computer program is executed. The electronic device may be a terminal or a bluetooth headset.
Alternatively, the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of an embodiment of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor.
The application provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for connecting a bluetooth headset in any of the above method embodiments.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims and the equivalents thereof, the present application is also intended to include such modifications and variations.
In the present disclosure, the term "include" and variations thereof may refer to non-limiting inclusion; the term "or" and variations thereof may refer to "and/or". The terms "first," "second," and the like in this specification are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality of" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.

Claims (8)

1. A method for connecting a bluetooth headset, comprising:
acquiring biological information of a first user wearing the Bluetooth headset;
matching the biological information of the first user with the biological information of the authorized user prestored in the terminal;
controlling the state of the Bluetooth headset according to the matching result, wherein the state is a working state, a state to be authorized or a standby state;
the controlling the state of the bluetooth headset according to the matching result includes:
if a first authorized user matched with the biological information of the first user exists, controlling the state of the Bluetooth headset according to the authority level of the first authorized user;
If no authorized user matched with the biological information of the first user exists, controlling the Bluetooth headset to enter a standby state;
the controlling the state of the bluetooth headset according to the authority level of the first authorized user comprises:
if the authority level of the first authorized user is the first authority, controlling the Bluetooth headset to keep a working state;
if the authority level of the first authorized user is the second authority, controlling the Bluetooth headset to enter a state to be authorized, and outputting an authorization prompt; if a first authorization instruction is received, controlling the Bluetooth headset to enter a working state, wherein the first authorization instruction is used for indicating that the second authority is granted to the first authorized user again;
the first right is higher than the second right.
2. The method according to claim 1, wherein the method further comprises:
when a user information input request is received, acquiring biological information of a second user wearing the Bluetooth headset;
receiving an authority instruction input by a user, wherein the authority instruction is used for indicating the authority level of the second user;
and storing the corresponding relation between the biological information of the second user and the authority level of the second user.
3. The method according to claim 2, wherein the user information entry request is triggered by the terminal or by the bluetooth headset.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
receiving a pairing mode instruction, wherein the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode or a single-earphone pairing mode;
the acquiring the biological information of the second user wearing the Bluetooth headset comprises the following steps:
acquiring biological information of two ears of the second user when the pairing mode instruction is used for indicating that the pairing mode is a double-earphone pairing mode;
and acquiring the biological information of the single ear of the second user when the pairing mode instruction is used for indicating that the pairing mode is a single earphone pairing mode.
5. A method according to claim 2 or 3, wherein before storing the correspondence between the biometric information of the second user and the level of authority of the second user, the method further comprises:
and receiving a verification instruction input by a user, wherein the verification instruction is used for indicating that the authority level indicated by the authority instruction is granted to the second user.
6. A method according to claim 2 or 3, characterized in that the method further comprises:
and if the acquired biological information of the second user is incomplete, outputting prompt information, wherein the prompt information is used for prompting the user to confirm whether the Bluetooth headset is worn correctly.
7. An electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory is used for storing a computer program;
the processor being adapted to implement the method of any of the preceding claims 1-6 when the computer program is executed.
8. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202011415821.3A 2020-12-07 2020-12-07 Bluetooth headset connection method, device and storage medium Active CN112464196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011415821.3A CN112464196B (en) 2020-12-07 2020-12-07 Bluetooth headset connection method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011415821.3A CN112464196B (en) 2020-12-07 2020-12-07 Bluetooth headset connection method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112464196A CN112464196A (en) 2021-03-09
CN112464196B true CN112464196B (en) 2023-11-24

Family

ID=74800680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011415821.3A Active CN112464196B (en) 2020-12-07 2020-12-07 Bluetooth headset connection method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112464196B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470117A (en) * 2018-03-12 2018-08-31 珠海格力电器股份有限公司 A kind of terminal security control method, device and system
CN110267144A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 Information processing method and device and storage medium
CN111666549A (en) * 2020-06-12 2020-09-15 深圳大学 Intelligent earphone and user identification method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10977348B2 (en) * 2016-08-24 2021-04-13 Bragi GmbH Digital signature using phonometry and compiled biometric data system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470117A (en) * 2018-03-12 2018-08-31 珠海格力电器股份有限公司 A kind of terminal security control method, device and system
CN110267144A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 Information processing method and device and storage medium
CN111666549A (en) * 2020-06-12 2020-09-15 深圳大学 Intelligent earphone and user identification method thereof

Also Published As

Publication number Publication date
CN112464196A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
EP3078135B1 (en) Pairing consumer electronic devices using a cross-body communications protocol
EP3160106B1 (en) Techniques for user authentication using a hearable device
US11216549B2 (en) Security verification method and device
US8260262B2 (en) Systems for three factor authentication challenge
US10616400B2 (en) Method for controlling terminal device, terminal device, and wearable device thereof
CN107392056A (en) Terminal and child mode implementation method, computer-readable recording medium
US20130298208A1 (en) System for mobile security
CN108563933A (en) Control method, device, storage medium and the mobile terminal of application program
CN104298901A (en) Unlocking method and device for mobile terminal
CN105975828A (en) Unlocking method and device
CN107480497A (en) Mobile terminal and child mode implementation method, computer-readable recording medium
US20170265074A1 (en) Method and wearable electronic device
CN107249084A (en) Mobile terminal and routine call method, computer-readable recording medium
CN105635093A (en) Access method, wearable intelligent device, authentication method and terminal
CN105760725A (en) Identity authentication method and user terminal
EP3133519B1 (en) Method for unlocking screen of mobile terminal by means of retina information matching
CN108491713B (en) Safety reminding method and electronic equipment
CN106897591A (en) unlocking method and device
WO2017113383A1 (en) Unlocking method, apparatus and system
CN109255617A (en) Intelligent payment method, mobile terminal and computer-readable storage media
CN105430149B (en) A kind of terminal user identity determines method and device
CN112464196B (en) Bluetooth headset connection method, device and storage medium
CN106778340B (en) Delet method, device and the mobile terminal of data
CN107437018A (en) Mobile terminal and its control method, computer-readable recording medium
CN107454257A (en) Mobile terminal and method for connecting network, computer-readable recording medium

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