CN113453208A - Equipment screen saver unlocking method, device and system based on Bluetooth communication - Google Patents
Equipment screen saver unlocking method, device and system based on Bluetooth communication Download PDFInfo
- Publication number
- CN113453208A CN113453208A CN202110782766.XA CN202110782766A CN113453208A CN 113453208 A CN113453208 A CN 113453208A CN 202110782766 A CN202110782766 A CN 202110782766A CN 113453208 A CN113453208 A CN 113453208A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- unlocking
- equipment
- packet data
- terminal
- 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.)
- Pending
Links
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a method, a device and a system for unlocking a screen saver of equipment based on Bluetooth communication; wherein the method comprises the following steps: the main Bluetooth device on the device end broadcasts the identification information of the device end as a broadcast signal in real time; the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time; after a user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal; the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data; and the equipment terminal performs matching by using the unlocking password based on the unlocking command, and unlocks the screen saver after the matching is successful. In the embodiment of the invention, the screen saver can be unlocked remotely without performing related unlocking operation on the equipment terminal when the equipment terminal is unlocked, so that the user experience is improved.
Description
Technical Field
The invention relates to the technical field of equipment unlocking, in particular to a method, a device and a system for unlocking a screen saver of equipment based on Bluetooth communication.
Background
With the gradual and extensive application of the all-in-one machine or the education machine, the all-in-one machine or the education machine is gradually applied to education or other fields, however, in the prior art, when the all-in-one machine or the education machine is unlocked by screen protection, a user needs to go to a screen manually to operate the screen and input a password; if the person does not approach the screen, the screen can not be unlocked, and even if the person approaches the screen for unlocking, the password input also takes time and is slow; resulting in great inconvenience.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method, a device and a system for unlocking a screen saver of equipment based on Bluetooth communication, which can realize remote unlocking without performing related unlocking operation on the equipment when the screen saver of the equipment is unlocked, thereby improving user experience.
In order to solve the technical problem, the invention provides a device screen saver unlocking method based on bluetooth communication, which comprises the following steps:
the main Bluetooth device on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
and the equipment terminal performs matching by using the unlocking password based on the unlocking command, and unlocks the screen saver after the matching is successful.
Optionally, the real-time broadcasting of the identification information of the device end as a broadcast signal by the master bluetooth device on the device end includes:
and controlling the main Bluetooth equipment to broadcast the identification information of the equipment end as a broadcast signal in real time by using a first unlocking application running on the equipment end.
Optionally, the establishing, by the ue, a bluetooth connection between the slave bluetooth device and the device end based on a broadcast signal broadcasted in real time includes:
after recognizing the broadcast signal of the real-time broadcast, the slave Bluetooth equipment of the user terminal is connected and paired with the master Bluetooth equipment of the equipment terminal based on a preset pairing rule;
and after the pairing is successful, the slave Bluetooth equipment of the user terminal establishes Bluetooth connection with the master Bluetooth equipment of the equipment terminal.
Optionally, the sending, by the user terminal, the bluetooth packet data for unlocking the screen saver of the device end to the device end includes:
the user terminal calls a second unlocking application and generates the unlocking command and the unlocking password based on the operation of the user on the second unlocking application;
the second unlocking application packages the unlocking command and the unlocking password into Bluetooth packet data by sending the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal;
and the slave Bluetooth equipment of the user terminal sends the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Optionally, the sending the bluetooth packet data from the slave bluetooth device of the user terminal to the master bluetooth device of the device side includes:
and the slave Bluetooth equipment of the terminal calls a Bluetooth broadcast interface to broadcast and send the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Optionally, the bluetooth packet data is obtained by using the unlocking command and the unlocking password based on bluetooth protocol extension package.
Optionally, the bluetooth packet data is in a 16-entry format; wherein, the first byte of the Bluetooth packet data is user-defined data; and the third byte is ID data; the fourth byte is an unlocking command; the fifth byte is length data of the unlocking password, and the sixth byte represents the unlocking password.
Optionally, the receiving, by the device side, the bluetooth packet data based on a bluetooth standard interface, and analyzing the bluetooth packet data to obtain an unlocking command and an unlocking password of the bluetooth packet data includes:
the equipment terminal calls a first unlocking application and receives the Bluetooth packet data through a Bluetooth standard interface of the Android;
the equipment terminal analyzes the Bluetooth packet data based on the first unlocking application to obtain an unlocking command and an unlocking password of the Bluetooth packet data.
In addition, the embodiment of the invention also provides a device for unlocking the screen saver of the equipment based on the Bluetooth communication, and the device comprises:
a broadcasting module: the main Bluetooth device used on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
establishing a connection module: the method comprises the steps that a slave Bluetooth device used for a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
a sending module: the user terminal is used for sending Bluetooth packet data for unlocking the screen saver of the equipment end to the equipment end after the Bluetooth connection is established between the user terminal and the equipment end, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
an analysis module: the equipment base receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
a matching unlocking module: and the device terminal uses the unlocking password for matching based on the unlocking command and unlocks the screen saver after the matching is successful.
In addition, an embodiment of the present invention further provides a device screen saver unlocking system based on bluetooth communication, where the system includes: the device comprises a device end and a user terminal; the device side comprises a main Bluetooth device and a first unlocking application; the user terminal comprises a slave Bluetooth device and a second unlocking application; the device side establishes Bluetooth connection with the slave Bluetooth device of the user terminal based on the master Bluetooth device; wherein the system is configured to perform the device screensaver unlocking method of any one of the above.
In the embodiment of the invention, the identification information of the equipment end is used as a broadcast signal to be broadcasted in real time by the main Bluetooth equipment on the equipment end; the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time; after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password; the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data; the equipment terminal utilizes the unlocking password to carry out matching based on the unlocking command, and unlocks the screen saver after the matching is successful; the method and the device can realize remote unlocking without carrying out related unlocking operation on the device end when the screen saver is unlocked on the device end, and improve user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for unlocking a screen saver of a device based on bluetooth communication according to an embodiment of the present invention;
fig. 2 is a schematic structural component diagram of a device screen saver unlocking device based on bluetooth communication in the embodiment of the present invention;
fig. 3 is a schematic structural component diagram of a device screen saver unlocking system based on bluetooth communication in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for unlocking a screen saver of a device based on bluetooth communication according to an embodiment of the present invention.
As shown in fig. 1, a method for unlocking a screen saver of a device based on bluetooth communication includes:
s11: the main Bluetooth device on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
in the specific implementation process of the present invention, the real-time broadcasting of the identification information of the device end as a broadcast signal by the master bluetooth device on the device end includes: and controlling the main Bluetooth equipment to broadcast the identification information of the equipment end as a broadcast signal in real time by using a first unlocking application running on the equipment end.
Specifically, in order to facilitate the connection of the slave bluetooth device of the user terminal to the master bluetooth device of the device end, in a state where the master device is powered on, the built-in master bluetooth device is powered on, that is, a first unlocking application installed on the device terminal controls the master bluetooth device to broadcast the identification information of the device end as a broadcast signal in real time in the background; subsequent searching from the Bluetooth device is facilitated, and relevant pairing connection is carried out.
S12: the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
in the specific implementation process of the present invention, the establishing of the bluetooth connection between the slave bluetooth device of the user terminal and the device terminal based on the broadcast signal broadcasted in real time includes: after recognizing the broadcast signal of the real-time broadcast, the slave Bluetooth equipment of the user terminal is connected and paired with the master Bluetooth equipment of the equipment terminal based on a preset pairing rule; and after the pairing is successful, the slave Bluetooth equipment of the user terminal establishes Bluetooth connection with the master Bluetooth equipment of the equipment terminal.
Specifically, when the slave bluetooth device of the user terminal recognizes the broadcast signal command of the real-time broadcast, the second unlocking application calls a related preset pairing rule to perform connection pairing operation with the master bluetooth device of the device end, and after the pairing is successful, a bluetooth connection is established between the slave bluetooth device of the user terminal and the master bluetooth device of the device end; the data interaction between the subsequent user terminal and the equipment terminal is carried out through Bluetooth connection; the bluetooth connection can be regarded as an interaction platform between the user terminal and the device side.
S13: after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
in a specific implementation process of the present invention, the sending, by the user terminal, the bluetooth packet data for unlocking the device side screen saver to the device side includes: the user terminal calls a second unlocking application and generates the unlocking command and the unlocking password based on the operation of the user on the second unlocking application; the second unlocking application packages the unlocking command and the unlocking password into Bluetooth packet data by sending the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal; and the slave Bluetooth equipment of the user terminal sends the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Further, the sending the bluetooth packet data from the slave bluetooth device of the user terminal to the master bluetooth device of the device side includes: and the slave Bluetooth equipment of the terminal calls a Bluetooth broadcast interface to broadcast and send the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Further, the bluetooth packet data is obtained by extending a package based on a bluetooth protocol using the unlocking command and the unlocking password.
Further, the bluetooth packet data is in a 16-bit format; wherein, the first byte of the Bluetooth packet data is user-defined data; and the third byte is ID data; the fourth byte is an unlocking command; the fifth byte is length data of the unlocking password, and the sixth byte represents the unlocking password.
Specifically, a second unlocking application is called at the user terminal, and then the unlocking command and the unlocking password are generated according to the operation of the user on the second unlocking application; the specific operation can be to utilize a plurality of scenes to perform the action of unlocking the screen saver, for example, the mouse of the user can be touched, the screen of the mobile phone can be touched, or the screen saver can be unlocked by one key easily by shaking the mobile phone; then the second unlocking application transmits the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal to be packaged into Bluetooth packet data; the slave Bluetooth device of the user terminal sends the Bluetooth packet data to the master Bluetooth device of the device terminal.
The user terminal broadcasts the Bluetooth packet data through the interface for calling the Bluetooth broadcast from the Bluetooth equipment, the interface is an existing interface, and only the broadcasting interface of the Bluetooth is needed to be called without related transformation; the bluetooth packet data is obtained by extending a package based on a bluetooth protocol using an unlock command and an unlock password.
The method comprises the following specific steps:
such as: FF 00004950000812345678
The table above is 16-ary, where the first byte is FF: AD TYPE, which represents manufacturer self-defined data, and the second and third bytes are manufacturer ID and need to be applied by each manufacturer. The fourth byte is a fixed command, and the ASCAII code value is user-defined, such as: 00 (indicating unlock), the fifth byte indicates the password length, such as: 8, the password is represented by 8 bytes, the password is represented by the 6 th byte to the end, and the length is 8 of the lock description of the fifth byte.
S14: the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
in the specific implementation process of the present invention, the device end receives the bluetooth packet data based on a bluetooth standard interface, and analyzes the bluetooth packet data to obtain an unlocking command and an unlocking password of the bluetooth packet data, including: the equipment terminal calls a first unlocking application and receives the Bluetooth packet data through a Bluetooth standard interface of the Android; the equipment terminal analyzes the Bluetooth packet data based on the first unlocking application to obtain an unlocking command and an unlocking password of the Bluetooth packet data.
Specifically, the equipment terminal calls a first unlocking application and receives Bluetooth packet data through a Bluetooth standard interface of Android; and then the equipment terminal analyzes the Bluetooth packet data according to the first unlocking application to obtain an unlocking command and an unlocking password in the Bluetooth packet data.
S15: and the equipment terminal performs matching by using the unlocking password based on the unlocking command, and unlocks the screen saver after the matching is successful.
In the specific implementation process of the invention, the equipment terminal utilizes the unlocking password to carry out matching according to the unlocking command, carries out unlocking screen protection on the equipment terminal after the matching is successful, and feeds back that the unlocking screen protection fails if the matching is unsuccessful.
In the embodiment of the present invention, the format of the bluetooth packet data is: there are two roles in bluetooth, Central and Peripheral, namely Central and Peripheral. The central device may actively connect with peripheral devices that transmit broadcasts or are connected by the central device. The peripheral is discovered by the central device through broadcasting, and the broadcasting carries the relevant information of the peripheral device. There are two types of broadcast packets: broadcast packets (Advertising Data) that each device must broadcast, and Response packets (Scan Response) that are optional. Each packet is 31 bytes, and the data packet is divided into two parts, namely valid data (significant) and invalid data (non-significant). Valid data portion: contains several broadcast data units, called AD Structure. The composition of the AD Structure is: the first byte is the length value Len, indicating that the next Len bytes are the data portion. The first byte of the data part represents the Type of data AD Type, and the remaining Len-1 bytes are the real data AD data. The AD type is very critical, and determines what the Data of AD Data represents and how to parse. Invalid data portion: since the length of the broadcast packet must be 31 bytes, if the valid data portion is less than 31 bytes, the remainder is complemented with 0. This portion of data is invalid and, when interpreted, can be ignored.
In the embodiment of the invention, the identification information of the equipment end is used as a broadcast signal to be broadcasted in real time by the main Bluetooth equipment on the equipment end; the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time; after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password; the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data; the equipment terminal utilizes the unlocking password to carry out matching based on the unlocking command, and unlocks the screen saver after the matching is successful; the method and the device can realize remote unlocking without carrying out related unlocking operation on the device end when the screen saver is unlocked on the device end, and improve user experience.
Example two
Referring to fig. 2, fig. 2 is a schematic structural composition diagram of a device screen saver unlocking apparatus based on bluetooth communication in an embodiment of the present invention.
As shown in fig. 2, an apparatus for unlocking a screen saver of a device based on bluetooth communication, the apparatus comprising:
the broadcasting module 21: the main Bluetooth device used on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
in the specific implementation process of the present invention, the real-time broadcasting of the identification information of the device end as a broadcast signal by the master bluetooth device on the device end includes: and controlling the main Bluetooth equipment to broadcast the identification information of the equipment end as a broadcast signal in real time by using a first unlocking application running on the equipment end.
Specifically, in order to facilitate the connection of the slave bluetooth device of the user terminal to the master bluetooth device of the device end, in a state where the master device is powered on, the built-in master bluetooth device is powered on, that is, a first unlocking application installed on the device terminal controls the master bluetooth device to broadcast the identification information of the device end as a broadcast signal in real time in the background; subsequent searching from the Bluetooth device is facilitated, and relevant pairing connection is carried out.
The connection establishing module 22: the method comprises the steps that a slave Bluetooth device used for a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
in the specific implementation process of the present invention, the establishing of the bluetooth connection between the slave bluetooth device of the user terminal and the device terminal based on the broadcast signal broadcasted in real time includes: after recognizing the broadcast signal of the real-time broadcast, the slave Bluetooth equipment of the user terminal is connected and paired with the master Bluetooth equipment of the equipment terminal based on a preset pairing rule; and after the pairing is successful, the slave Bluetooth equipment of the user terminal establishes Bluetooth connection with the master Bluetooth equipment of the equipment terminal.
Specifically, when the slave bluetooth device of the user terminal recognizes the broadcast signal command of the real-time broadcast, the second unlocking application calls a related preset pairing rule to perform connection pairing operation with the master bluetooth device of the device end, and after the pairing is successful, a bluetooth connection is established between the slave bluetooth device of the user terminal and the master bluetooth device of the device end; the data interaction between the subsequent user terminal and the equipment terminal is carried out through Bluetooth connection; the bluetooth connection can be regarded as an interaction platform between the user terminal and the device side.
The sending module 23: the user terminal is used for sending Bluetooth packet data for unlocking the screen saver of the equipment end to the equipment end after the Bluetooth connection is established between the user terminal and the equipment end, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
in a specific implementation process of the present invention, the sending, by the user terminal, the bluetooth packet data for unlocking the device side screen saver to the device side includes: the user terminal calls a second unlocking application and generates the unlocking command and the unlocking password based on the operation of the user on the second unlocking application; the second unlocking application packages the unlocking command and the unlocking password into Bluetooth packet data by sending the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal; and the slave Bluetooth equipment of the user terminal sends the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Further, the sending the bluetooth packet data from the slave bluetooth device of the user terminal to the master bluetooth device of the device side includes: and the slave Bluetooth equipment of the terminal calls a Bluetooth broadcast interface to broadcast and send the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
Further, the bluetooth packet data is obtained by extending a package based on a bluetooth protocol using the unlocking command and the unlocking password.
Further, the bluetooth packet data is in a 16-bit format; wherein, the first byte of the Bluetooth packet data is user-defined data; and the third byte is ID data; the fourth byte is an unlocking command; the fifth byte is length data of the unlocking password, and the sixth byte represents the unlocking password.
Specifically, a second unlocking application is called at the user terminal, and then the unlocking command and the unlocking password are generated according to the operation of the user on the second unlocking application; the specific operation can be to utilize a plurality of scenes to perform the action of unlocking the screen saver, for example, the mouse of the user can be touched, the screen of the mobile phone can be touched, or the screen saver can be unlocked by one key easily by shaking the mobile phone; then the second unlocking application transmits the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal to be packaged into Bluetooth packet data; the slave Bluetooth device of the user terminal sends the Bluetooth packet data to the master Bluetooth device of the device terminal.
The user terminal broadcasts the Bluetooth packet data through the interface for calling the Bluetooth broadcast from the Bluetooth equipment, the interface is an existing interface, and only the broadcasting interface of the Bluetooth is needed to be called without related transformation; the bluetooth packet data is obtained by extending a package based on a bluetooth protocol using an unlock command and an unlock password.
The method comprises the following specific steps:
such as: FF 00004950000812345678
The table above is 16-ary, where the first byte is FF: AD TYPE, which represents manufacturer self-defined data, and the second and third bytes are manufacturer ID and need to be applied by each manufacturer. The fourth byte is a fixed command, and the ASCAII code value is user-defined, such as: 00 (indicating unlock), the fifth byte indicates the password length, such as: 8, the password is represented by 8 bytes, the password is represented by the 6 th byte to the end, and the length is 8 of the lock description of the fifth byte.
The analysis module 24: the equipment base receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
in the specific implementation process of the present invention, the device end receives the bluetooth packet data based on a bluetooth standard interface, and analyzes the bluetooth packet data to obtain an unlocking command and an unlocking password of the bluetooth packet data, including: the equipment terminal calls a first unlocking application and receives the Bluetooth packet data through a Bluetooth standard interface of the Android; the equipment terminal analyzes the Bluetooth packet data based on the first unlocking application to obtain an unlocking command and an unlocking password of the Bluetooth packet data.
Specifically, the equipment terminal calls a first unlocking application and receives Bluetooth packet data through a Bluetooth standard interface of Android; and then the equipment terminal analyzes the Bluetooth packet data according to the first unlocking application to obtain an unlocking command and an unlocking password in the Bluetooth packet data.
The matching unlocking module 25: and the device terminal uses the unlocking password for matching based on the unlocking command and unlocks the screen saver after the matching is successful.
In the specific implementation process of the invention, the equipment terminal utilizes the unlocking password to carry out matching according to the unlocking command, carries out unlocking screen protection on the equipment terminal after the matching is successful, and feeds back that the unlocking screen protection fails if the matching is unsuccessful.
In the embodiment of the present invention, the format of the bluetooth packet data is: there are two roles in bluetooth, Central and Peripheral, namely Central and Peripheral. The central device may actively connect with peripheral devices that transmit broadcasts or are connected by the central device. The peripheral is discovered by the central device through broadcasting, and the broadcasting carries the relevant information of the peripheral device. There are two types of broadcast packets: broadcast packets (Advertising Data) that each device must broadcast, and Response packets (Scan Response) that are optional. Each packet is 31 bytes, and the data packet is divided into two parts, namely valid data (significant) and invalid data (non-significant). Valid data portion: contains several broadcast data units, called AD Structure. The composition of the AD Structure is: the first byte is the length value Len, indicating that the next Len bytes are the data portion. The first byte of the data part represents the Type of data AD Type, and the remaining Len-1 bytes are the real data AD data. The AD type is very critical, and determines what the Data of AD Data represents and how to parse. Invalid data portion: since the length of the broadcast packet must be 31 bytes, if the valid data portion is less than 31 bytes, the remainder is complemented with 0. This portion of data is invalid and, when interpreted, can be ignored.
In the embodiment of the invention, the identification information of the equipment end is used as a broadcast signal to be broadcasted in real time by the main Bluetooth equipment on the equipment end; the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time; after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password; the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data; the equipment terminal utilizes the unlocking password to carry out matching based on the unlocking command, and unlocks the screen saver after the matching is successful; the method and the device can realize remote unlocking without carrying out related unlocking operation on the device end when the screen saver is unlocked on the device end, and improve user experience.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural composition diagram of a screen saver unlocking system for a device based on bluetooth communication in an embodiment of the present invention.
As shown in fig. 3, a device screen saver unlocking system based on bluetooth communication includes: the device comprises a device end and a user terminal; the device side comprises a main Bluetooth device and a first unlocking application; the user terminal comprises a slave Bluetooth device and a second unlocking application; the device side establishes Bluetooth connection with the slave Bluetooth device of the user terminal based on the master Bluetooth device; wherein the system is configured to perform the device screensaver unlocking method of any one of the above.
Specifically, the real-time mode of the system part may refer to the above embodiments, and will not be described herein again.
In the embodiment of the invention, the identification information of the equipment end is used as a broadcast signal to be broadcasted in real time by the main Bluetooth equipment on the equipment end; the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time; after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password; the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data; the equipment terminal utilizes the unlocking password to carry out matching based on the unlocking command, and unlocks the screen saver after the matching is successful; the method and the device can realize remote unlocking without carrying out related unlocking operation on the device end when the screen saver is unlocked on the device end, and improve user experience.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In addition, the method, the device and the system for unlocking a screen saver of a device based on bluetooth communication provided by the embodiment of the present invention are described in detail, a specific embodiment is adopted herein to explain the principle and the implementation manner of the present invention, and the description of the embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A device screen saver unlocking method based on Bluetooth communication is characterized by comprising the following steps:
the main Bluetooth device on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
the method comprises the steps that a slave Bluetooth device of a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
after the user terminal and the equipment terminal establish Bluetooth connection, the user terminal sends Bluetooth packet data for unlocking the screen saver of the equipment terminal to the equipment terminal, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
the equipment terminal receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
and the equipment terminal performs matching by using the unlocking password based on the unlocking command, and unlocks the screen saver after the matching is successful.
2. The device screen saver unlocking method according to claim 1, wherein the real-time broadcasting of the identification information of the device end as a broadcast signal by the master bluetooth device on the device end comprises:
and controlling the main Bluetooth equipment to broadcast the identification information of the equipment end as a broadcast signal in real time by using a first unlocking application running on the equipment end.
3. The device screen saver unlocking method according to claim 1, wherein the slave bluetooth device of the user terminal establishes a bluetooth connection with the device side based on a broadcast signal broadcasted in real time, and the method comprises the following steps:
after recognizing the broadcast signal of the real-time broadcast, the slave Bluetooth equipment of the user terminal is connected and paired with the master Bluetooth equipment of the equipment terminal based on a preset pairing rule;
and after the pairing is successful, the slave Bluetooth equipment of the user terminal establishes Bluetooth connection with the master Bluetooth equipment of the equipment terminal.
4. The method for unlocking the device screen saver according to claim 1, wherein the step of sending the bluetooth packet data for unlocking the device screen saver to the device by the user terminal comprises:
the user terminal calls a second unlocking application and generates the unlocking command and the unlocking password based on the operation of the user on the second unlocking application;
the second unlocking application packages the unlocking command and the unlocking password into Bluetooth packet data by sending the unlocking command and the unlocking password to the slave Bluetooth equipment of the user terminal;
and the slave Bluetooth equipment of the user terminal sends the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
5. The device screen saver unlocking method according to claim 4, wherein the transmitting the Bluetooth packet data from the slave Bluetooth device of the user terminal to the master Bluetooth device of the device side comprises:
and the slave Bluetooth equipment of the terminal calls a Bluetooth broadcast interface to broadcast and send the Bluetooth packet data to the master Bluetooth equipment of the equipment terminal.
6. The device screen saver unlocking method of claim 4, wherein the Bluetooth packet data is obtained based on a Bluetooth protocol extension package using the unlocking command and the unlocking password.
7. The device screen saver unlocking method of claim 4 wherein the Bluetooth packet data is in a 16-entry format; wherein, the first byte of the Bluetooth packet data is user-defined data; and the third byte is ID data; the fourth byte is an unlocking command; the fifth byte is length data of the unlocking password, and the sixth byte represents the unlocking password.
8. The device screen saver unlocking method of claim 1, wherein the device side receives the bluetooth packet data based on a bluetooth standard interface and analyzes the bluetooth packet data to obtain an unlocking command and an unlocking password of the bluetooth packet data, comprising:
the equipment terminal calls a first unlocking application and receives the Bluetooth packet data through a Bluetooth standard interface of the Android;
the equipment terminal analyzes the Bluetooth packet data based on the first unlocking application to obtain an unlocking command and an unlocking password of the Bluetooth packet data.
9. An apparatus for unlocking a screen saver of a device based on bluetooth communication, the apparatus comprising:
a broadcasting module: the main Bluetooth device used on the device end broadcasts the identification information of the device end as a broadcast signal in real time;
establishing a connection module: the method comprises the steps that a slave Bluetooth device used for a user terminal establishes Bluetooth connection with a device terminal based on a broadcast signal broadcasted in real time;
a sending module: the user terminal is used for sending Bluetooth packet data for unlocking the screen saver of the equipment end to the equipment end after the Bluetooth connection is established between the user terminal and the equipment end, wherein the Bluetooth packet data comprises an unlocking command and an unlocking password;
an analysis module: the equipment base receives the Bluetooth packet data based on a Bluetooth standard interface and analyzes the Bluetooth packet data to obtain an unlocking command and an unlocking password of the Bluetooth packet data;
a matching unlocking module: and the device terminal uses the unlocking password for matching based on the unlocking command and unlocks the screen saver after the matching is successful.
10. A device screen saver unlocking system based on bluetooth communication, the system comprising: the device comprises a device end and a user terminal; the device side comprises a main Bluetooth device and a first unlocking application; the user terminal comprises a slave Bluetooth device and a second unlocking application; the device side establishes Bluetooth connection with the slave Bluetooth device of the user terminal based on the master Bluetooth device; wherein the system is configured to perform the device screen saver unlocking method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110782766.XA CN113453208A (en) | 2021-07-12 | 2021-07-12 | Equipment screen saver unlocking method, device and system based on Bluetooth communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110782766.XA CN113453208A (en) | 2021-07-12 | 2021-07-12 | Equipment screen saver unlocking method, device and system based on Bluetooth communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113453208A true CN113453208A (en) | 2021-09-28 |
Family
ID=77815808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110782766.XA Pending CN113453208A (en) | 2021-07-12 | 2021-07-12 | Equipment screen saver unlocking method, device and system based on Bluetooth communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113453208A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115314866A (en) * | 2022-06-23 | 2022-11-08 | 深圳市智微智能科技股份有限公司 | Method for automatically unlocking and logging in operating system through Bluetooth equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105893802A (en) * | 2016-03-29 | 2016-08-24 | 四川效率源信息安全技术股份有限公司 | Method for locking/unlocking computer screen based on Bluetooth |
CN107734460A (en) * | 2017-09-20 | 2018-02-23 | 广州市盈泽信息科技有限公司 | A kind of method and terminal that bluetooth lock intelligent unlocking is realized based on mobile terminal |
US20180084106A1 (en) * | 2015-04-20 | 2018-03-22 | Alibaba Group Holding Limited | Mobile terminal unlocking method and device |
CN109636959A (en) * | 2018-11-15 | 2019-04-16 | 江苏科技大学 | A kind of intelligent lock system and its unlocking method |
-
2021
- 2021-07-12 CN CN202110782766.XA patent/CN113453208A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180084106A1 (en) * | 2015-04-20 | 2018-03-22 | Alibaba Group Holding Limited | Mobile terminal unlocking method and device |
CN105893802A (en) * | 2016-03-29 | 2016-08-24 | 四川效率源信息安全技术股份有限公司 | Method for locking/unlocking computer screen based on Bluetooth |
CN107734460A (en) * | 2017-09-20 | 2018-02-23 | 广州市盈泽信息科技有限公司 | A kind of method and terminal that bluetooth lock intelligent unlocking is realized based on mobile terminal |
CN109636959A (en) * | 2018-11-15 | 2019-04-16 | 江苏科技大学 | A kind of intelligent lock system and its unlocking method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115314866A (en) * | 2022-06-23 | 2022-11-08 | 深圳市智微智能科技股份有限公司 | Method for automatically unlocking and logging in operating system through Bluetooth equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113490218B (en) | Pairing method, pairing device, bluetooth remote controller, intelligent device and storage medium | |
US10171997B2 (en) | Method and apparatus for interconnection between terminal device and gateway device | |
CN101494474B (en) | Method and terminal equipment for automatic connection of Bluetooth vehicle-mounted hands-free equipment | |
KR100425252B1 (en) | Remote Control System using Mobile Communication Device | |
CN104469482A (en) | Control method and device for connection of intelligent terminal and Bluetooth devices | |
CN110944406B (en) | Link establishment method of sidelink and terminal | |
CN101409871B (en) | Long-distance remote-control method, system and remote-control device | |
CN109005532A (en) | A kind of Bluetooth connecting method, bluetooth master and Bluetooth slave devices | |
CN105451368A (en) | Communication method and apparatus | |
CN111867143A (en) | Communication method and device among multiple devices in education whiteboard and education whiteboard | |
CN113453208A (en) | Equipment screen saver unlocking method, device and system based on Bluetooth communication | |
CN103281693A (en) | Wireless communication authentication method, network translation equipment and terminal | |
CN105049090A (en) | Solar cell type electronic communication apparatus | |
CN112738789B (en) | SIM card locking method and device, storage medium and electronic equipment | |
CN105188155B (en) | A kind of method and terminal of network connection | |
CN114785914A (en) | Display device, control apparatus, and device configuration method | |
CN112887155A (en) | QoS (quality of service) associated information synchronization method and related product | |
CN114007266A (en) | Link establishment method, device, base station and storage medium | |
CN103763507B (en) | Video conference terminal, service end, the upgrade-system of video conference terminal and method | |
CN110972332A (en) | Intelligent lock networking method, device and system, intelligent lock and intelligent gateway equipment | |
CN205430621U (en) | Equipment system of paiing | |
CN105007305A (en) | Remotely-controlled electronic communication device | |
US20130176894A1 (en) | Communication system and method | |
CN116847317A (en) | Bluetooth dual-mode non-inductive secure connection method and system based on data characteristics | |
CN115802449A (en) | WiFi device automatic network distribution method, wiFi device, electronic device and storage 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210928 |