CN112231685A - Equipment authentication method and device, computer equipment and storage medium - Google Patents
Equipment authentication method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112231685A CN112231685A CN202011112411.1A CN202011112411A CN112231685A CN 112231685 A CN112231685 A CN 112231685A CN 202011112411 A CN202011112411 A CN 202011112411A CN 112231685 A CN112231685 A CN 112231685A
- Authority
- CN
- China
- Prior art keywords
- verification
- screen
- information
- color information
- equipment
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012795 verification Methods 0.000 claims abstract description 155
- 238000013475 authorization Methods 0.000 claims description 31
- 230000015654 memory Effects 0.000 claims description 28
- 238000005070 sampling Methods 0.000 claims description 14
- 229910002056 binary alloy Inorganic materials 0.000 claims description 7
- 239000003086 colorant Substances 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 239000002775 capsule Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 238000001962 electrophoresis Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K2019/06215—Aspects not covered by other subgroups
- G06K2019/06225—Aspects not covered by other subgroups using wavelength selection, e.g. colour code
Abstract
The invention relates to a device authentication method, a device, computer equipment and a storage medium based on screen black and white color switching, wherein the method comprises the following steps: sequentially reading screen color information of an EInk screen of the security equipment which passes the administrator information authentication through a gray sensor; generating a verification code according to the screen color information read each time; sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code; and receiving verification passing information fed back by the authentication server, and displaying the verification passing information. The method can realize the safety verification of the equipment under the condition that the equipment cannot use a camera or a microphone.
Description
Technical Field
The invention relates to the technical field of equipment authentication, in particular to an equipment authentication method and device based on screen black-and-white color switching, computer equipment and a storage medium.
Background
In the existing technology for equipment safety verification, a mobile phone needing to apply for authentication uses a camera to scan a two-dimensional code displayed on another mobile phone which is authenticated by administrator information, then the two-dimensional code is decoded, and related information is used as a request parameter to apply for authentication to a server.
However, in scenarios where security levels are more demanding, such as high-level meetings, users are typically not allowed to use their personal devices, but rather devices are provided by the host. Many times, such devices are not equipped with LED or LCD screens, which are common to mobile phones, but use what is known as e-ink electronic ink screen (EInk screen), which reduces power consumption and ensures use during a meeting (2 to 3 days) without recycling in the middle. In addition, such devices often do not provide a camera or microphone to avoid the risk of disclosure. Authentication of the security device cannot be performed using popular code scanning schemes.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a device authentication method and device based on screen black-and-white color switching, computer equipment and a storage medium, which can realize equipment safety verification under the condition that equipment cannot use a camera or a microphone.
In order to solve at least one technical problem, an embodiment of the present invention provides an apparatus authentication method based on screen black-and-white color switching, where the method includes:
sequentially reading screen color information of an EInk screen of the security equipment which passes the administrator information authentication through a gray sensor;
generating a verification code according to the screen color information read each time;
sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code;
and receiving verification passing information fed back by the authentication server, and displaying the verification passing information.
Preferably, the screen color information of the EInk screen of the secure device includes black and white; the generating of the verification code according to the screen color information read each time comprises the following steps:
if the read screen color information is black, representing the read screen color information by 0 in a binary system mode;
if the read screen color information is white, representing the read screen color information by 1 in a binary system mode;
and generating the verification code according to the read binary number.
Preferably, the sequentially reading, by the grayscale sensor, screen color information of an EInk screen of the security device that has been authenticated by the administrator information includes:
setting sampling frequency, and sequentially reading screen color information of an EInk screen of the security device which passes the administrator information authentication through a gray sensor according to the sampling frequency.
Preferably, the sampling frequency is 4Hz, and the multiple color information sequentially read comprises black, white, black, white and white;
the generating of the verification code according to the screen color information read each time comprises the following steps:
generating 00100111 binary codes according to the black, white, black, white and white read in sequence;
and generating a verification code according to the binary code of the 00100111.
Preferably, the screen color information of the EInk screen is determined according to an authorization code sent to the secure device by the authentication server; when the authorization code is 1884, the screen color information sequentially transformed by the EInk screen is black, white, black, white, black and black;
the generating of the verification code according to the screen color information read each time comprises the following steps:
generating 00011101011100 binary codes according to the screen color information read each time;
a verification code 1884 is generated from the binary code of 00011101011100.
The application also provides an equipment safety verification system, which comprises the safety equipment which passes the administrator information authentication, equipment to be verified and an authentication server;
the security equipment which passes the administrator information authentication communicates with the authentication server, acquires an authorization code from the authentication server, and controls an EInk screen of the security equipment which passes the administrator information authentication to change multiple screen colors according to the authorization code;
the device to be verified sequentially reads multiple screen color information from an EInk screen of the security device which passes the administrator information authentication through a gray sensor, generates a verification code according to the screen color information read each time, and sends the verification code to the authentication server;
the authentication server carries out security verification on the verification code according to the authorization code, sets the equipment to be verified as security equipment when the verification code passes the security verification, and sends verification passing information to the equipment to be verified;
and the equipment to be verified receives the verification passing information and displays the verification passing information.
Preferably, the authorisation code comprises a number or a string of characters.
The application also provides an equipment authentication device based on screen black and white color switching, the device includes:
the reading module is used for sequentially reading the screen color information of the EInk screen of the security equipment which passes the administrator information authentication through the gray level sensor;
the generating module is used for generating a verification code according to the screen color information read each time;
the sending module is used for sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code;
and the receiving module is used for receiving the verification passing information fed back by the authentication server and displaying the verification passing information.
In addition, an embodiment of the present invention further provides a computer device, including: the system comprises a memory, a processor and an application program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the method of any embodiment when executing the application program.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which an application program is stored, and when the application program is executed by a processor, the steps of any one of the above-mentioned embodiments of the method are implemented.
In the embodiment of the invention, by implementing the method, the equipment to be verified sequentially reads the screen color information of the EInk screen of the safety equipment which passes the administrator information authentication through the gray level sensor; generating a verification code according to the screen color information read each time; sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code; and receiving verification passing information fed back by the authentication server, and displaying the verification passing information. Therefore, the equipment safety verification of the equipment to be verified is realized under the condition that a camera or a microphone is not suitable for use, and the safety verification of the equipment in a scene with higher safety level requirement is met. Meanwhile, a user using the device to be verified can determine that the authentication server has set the device to be verified as the security device through the verification passing information displayed on the device, so that the device to be verified can be used for interacting network information, and the security verification of each device in a scene with high security level requirements is realized.
Drawings
Fig. 1 is a block diagram of a device security verification system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for verifying device security in an implementation scenario of the present invention;
fig. 3 is a flowchart illustrating an apparatus authentication method based on screen black-and-white color switching according to an embodiment of the present invention;
fig. 4 is a waveform diagram of a signal output sampled by a device to be verified when an authorization code is 1884 in the embodiment of the present invention;
fig. 5 is an output waveform corresponding to a gray sensor on a device to be authenticated according to another embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus authentication device based on screen black-and-white color switching in an embodiment of the present invention;
fig. 7 is a schematic structural composition diagram of a computer device 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.
An embodiment of the present invention provides an apparatus security verification system, as shown in fig. 1, which includes a security apparatus 11 that has been authenticated by administrator information, an apparatus to be verified 15, and an authentication server 13.
The security device 11 which passes the administrator information authentication communicates with the authentication server 13, acquires an authorization code from the authentication server 13, and controls the EInk screen of the security device 11 which passes the administrator information authentication to change multiple screen colors according to the authorization code;
the device to be verified 15 sequentially reads multiple screen color information from the EInk screen of the security device 11 that has passed the administrator information authentication through a grayscale sensor, generates a verification code according to the screen color information read each time, and sends the verification code to the authentication server 13;
the authentication server 13 performs security verification on the verification code according to the authorization code, sets the device 15 to be verified as a security device when the verification code passes security verification, and sends verification passing information to the device 15 to be verified;
and the device to be verified 15 receives the verification passing information and displays the verification passing information.
In the present embodiment, the secure device 11 that has passed the administrator information authentication is a device a that has performed the administrator information authentication, and the device to be verified 15 is a device B that is ready to apply for the system user authority authentication. Both the device a and the device B are equipped with an EInk screen and a grayscale sensor, and are connected to the authentication server 13 through a network. The authentication stage is as follows: the device a communicates with the authentication server 13 to determine the authorization code for this authentication, which is usually set as a number or string. And after the device A receives the authorization code, controlling an EInk screen on the device A to display the corresponding screen color. And (3) an authorization stage: after reading the information of the multiple screen colors of the EInk screen on the device A through the gray sensor, the device B decodes the information into corresponding authorization codes and submits the corresponding authorization codes to the authentication server 13, and if the authentication server 13 judges that the authorization codes are valid, the authorization of the device B is considered to be passed. Therefore, the equipment safety verification of the equipment to be verified is realized under the condition that a camera or a microphone is not suitable for use, and the safety verification of the equipment in a scene with higher safety level requirement is met.
Specifically, a flow of implementing the device security authentication method by the device security authentication system can be seen in fig. 2. The device A is a mobile phone A, the device B is a mobile phone B, and the authentication server is used for authenticating the mobile phone A and the mobile phone B.
The embodiment of the invention provides a device authentication method based on screen black-and-white color switching, which is applied to a device 15 to be verified as shown in fig. 1. As shown in fig. 3, the device authentication method based on screen black and white color switching includes the following steps:
and S102, sequentially reading the screen color information of the EInk screen of the security device which passes the administrator information authentication through the gray level sensor.
In this embodiment, the security device that has passed the administrator information authentication communicates with the authentication server to obtain the authorization code, and controls the screen color information of the EInk screen according to the authorization code. The screen color information of the EInk screen includes black and white. And the equipment to be verified sequentially reads the screen color information of the EInk screen of the security equipment which passes the administrator information authentication through the gray level sensor.
The EInk is a display technology based on an electrophoresis technology. The dot particles with black and white colors float up and down in the liquid capsule under the action of the electric field to form a picture. After the picture is formed, the color particles stop moving, and the picture does not disappear even if the power is off. Therefore, when turning to a certain page, the screen does not blink. The EInk is a total reflection type, that is, the display effect is different along with the change of the ambient light. The better the external light source, the better the display effect. Therefore, the EInk electronic book is almost the same as the paper book in the clear outdoor.
The gray sensor detects the color depth by using the principle that the reflection degrees of the light of the detection surfaces with different colors are different, and the resistance values of the light returned by the photoresistors to the light of different detection surfaces are also different. When the dark color is detected, a low voltage value is output, and when the light color is detected, a high voltage value is output, so that the detection output of the high voltage value is a square wave which changes along with the color depth. Since EInk is a reflective light source, and not a luminescent light source as with an LED or LCD screen, a grayscale sensor can detect well the color identifying EInk.
Therefore, the screen color information of the EInk screen can be well read by the gray sensor.
And S104, generating a verification code according to the screen color information read each time.
In this embodiment, when the device to be verified sequentially reads the screen color information of the EInk screen of the security device, the screen color information read each time is recorded, and a corresponding verification code is generated according to the recorded screen color information. The color information read each time may be converted into an internally recognizable code, the code obtained each time is recorded, and finally, the verification code is generated according to the code obtained each time. For example, the read screen color information is recorded in binary codes, each binary code uniquely representing one kind of screen color information.
S106, sending the verification code to an authentication server; and when the verification code passes the safety verification, the authentication server feeds back verification passing information to the equipment sending the verification code.
In this embodiment, the device to be verified sends the verification code to the authentication server, so that the security authentication server performs security verification on the verification code. Specifically, the authentication server analyzes the verification code to obtain the code to be verified. Further, the code to be verified is matched with the authorization code sent to the security device which passes the administrator information authentication, and if the matching is successful, the verification code is determined to pass the security verification. At this time, the authentication server sets the device that transmitted the verification code as the secure device when the verification code passes the security verification. That is, the device to be authenticated is set as the security device, and the authentication pass information is issued to the device that sends the authentication code. That is, the authentication pass information is issued to the device to be authenticated. Therefore, the safety verification of the equipment to be verified can be realized under the condition that the camera or the microphone is not suitable for use, and the safety verification of the equipment in a scene with higher safety level requirement is met.
And S108, receiving verification passing information fed back by the authentication server, and displaying the verification passing information.
In this embodiment, the device to be verified receives verification passing information fed back by the security verification server, determines that the device to be verified passes the security verification of the authentication server according to the verification passing information, and determines that the device to be verified becomes the security device that passes the information authentication. At this time, the verification passing information can be displayed on the screen, the user using the device to be verified is informed, and the device to be verified passes the security verification and can be used in the scene with higher security level requirement.
By implementing the method, the equipment to be verified sequentially reads the screen color information of the EInk screen of the safety equipment which passes the administrator information authentication through the gray level sensor; generating a verification code according to the screen color information read each time; sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code; and receiving verification passing information fed back by the authentication server, and displaying the verification passing information. Therefore, the equipment safety verification of the equipment to be verified is realized under the condition that a camera or a microphone is not suitable for use, and the safety verification of the equipment in a scene with higher safety level requirement is met. Meanwhile, a user using the device to be verified can determine that the authentication server has set the device to be verified as the security device through the verification passing information displayed on the device, so that the device to be verified can be used for interacting network information, and the security verification of each device in a scene with high security level requirements is realized.
In one embodiment, the screen color information of the EInk screen of the security device comprises black and white. S104 comprises the following steps: if the read screen color information is black, representing the read screen color information by 0 in a binary system mode; if the read screen color information is white, representing the read screen color information by 1 in a binary system mode; and generating the verification code according to the read binary number.
In this embodiment, the device to be authenticated sets a corresponding matching identifier for the read screen color information. Specifically, the read color information of each screen is recorded in a binary coding mode. For example, the screen color information is white, represented by 1 in a binary manner. The screen color information is black, represented by 0 in a binary manner, and the authentication code is generated from the sequentially generated identifiers.
In one embodiment, S102 includes: setting sampling frequency, and sequentially reading screen color information of an EInk screen of the security device which passes the administrator information authentication through a gray sensor according to the sampling frequency.
Preferably, the sampling frequency is 4Hz, and the multiple color information sequentially read comprises black, white, black, white and white; s104 comprises the following steps: generating 00100111 binary codes according to the black, white, black, white and white read in sequence; and generating a verification code according to the binary code of the 00100111.
Preferably, the screen color information of the EInk screen is determined according to an authorization code sent to the secure device by the authentication server; when the authorization code is 1884, the screen color information sequentially transformed by the EInk screen is black, white, black, white, black and black; s104 comprises the following steps: generating 00011101011100 binary codes according to the screen color information read each time; a verification code 1884 is generated from the binary code of 00011101011100.
Specifically, 4-digit numbers and binary codes are taken as examples. Since the EInk screen corresponds to 0 when displayed in black and 1 when displayed in white, the related information can be easily recorded using a binary code. A4-digit number corresponds to a range of 0 to 9999, so 2 is required14I.e. a 14-bit encoding in binary. Setting the sampling frequency to 4Hz, sampling 4 times per second, requires 14/4, i.e. a detection time of 3.5 seconds.
If the authorization code is 1884, its corresponding binary encoding is: 00011101011100, the sampled output should be as shown in fig. 4.
For another example, if the EInk screen is displayed in the following table sequence, the output waveform corresponding to the gray sensor on the device to be verified is shown in fig. 5.
EInk screen display color
Black colour
Black colour
White colour (Bai)
Black colour
Black colour
White colour (Bai)
White colour (Bai)
White colour (Bai)
Therefore, the equipment safety verification of the equipment to be verified can be realized under the condition that a camera or a microphone is not suitable for use, and the safety verification of the equipment in a scene with higher safety level requirement is met.
In an embodiment, the invention further provides an equipment authentication device based on screen black and white color switching. As shown in fig. 6, the apparatus includes:
the reading module 12 is used for sequentially reading the screen color information of the EInk screen of the security device which passes the administrator information authentication through the gray level sensor;
the generating module 14 is configured to generate a verification code according to the screen color information read each time;
a sending module 16, configured to send the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code;
and the receiving module 18 is configured to receive verification passing information fed back by the authentication server, and display the verification passing information.
Preferably, the screen color information of the EInk screen of the secure device includes black and white; the generating module 14 is further configured to indicate the read screen color information by 0 in a binary manner if the read screen color information is black; if the read screen color information is white, representing the read screen color information by 1 in a binary system mode; and generating the verification code according to the read binary number.
Preferably, the reading module 12 is specifically configured to set a sampling frequency, and sequentially read, by a grayscale sensor, screen color information of an EInk screen of the security device that has passed the administrator information authentication according to the sampling frequency.
Preferably, the sampling frequency is 4Hz, and the multiple color information sequentially read comprises black, white, black, white and white; the generating module 14 is specifically configured to generate 00100111 binary codes according to the sequentially read black, white, black, white, and white; and generating a verification code according to the binary code of the 00100111.
Preferably, the screen color information of the EInk screen is determined according to an authorization code sent to the secure device by the authentication server; when the authorization code is 1884, the screen color information sequentially transformed by the EInk screen is black, white, black, white, black and black; the generating module 14 is specifically configured to generate 00011101011100 binary codes according to the screen color information read each time; a verification code 1884 is generated from the binary code of 00011101011100.
For specific limitations of the device authentication apparatus based on screen black and white color switching, reference may be made to the above limitations of the device authentication method based on screen black and white color switching, and details are not repeated here. The modules in the device authentication device based on screen black and white color switching can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment of the present invention, an application program is stored on a computer-readable storage medium, and when the application program is executed by a processor, the method for authenticating a device based on black and white color switching of a screen according to any one of the above embodiments is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the equipment authentication method based on the black-white color switching of the screen in any one of the embodiments.
Fig. 7 is a schematic structural diagram of a computer device in the embodiment of the present invention.
An embodiment of the present invention further provides a computer device, as shown in fig. 7. The computer device comprises a processor 702, a memory 703, an input unit 704, and a display unit 705. Those skilled in the art will appreciate that the device configuration means shown in fig. 7 do not constitute a limitation of all devices and may include more or less components than those shown, or some components in combination. The memory 703 may be used to store the application program 701 and various functional modules, and the processor 702 executes the application program 701 stored in the memory 703, thereby executing various functional applications of the device and data processing. The memory may be internal or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The disclosed memory is by way of example only and not by way of limitation.
The input unit 704 is used for receiving input of signals and receiving keywords input by a user. The input unit 704 may include a touch panel and other input devices. The touch panel can collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel by using any suitable object or accessory such as a finger, a stylus and the like) and drive the corresponding connecting device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 705 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 705 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 702 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 703 and calling data stored in the memory.
As one embodiment, the computer device includes: one or more processors 702, a memory 703, one or more applications 701, wherein the one or more applications 701 are stored in the memory 703 and configured to be executed by the one or more processors 702, and wherein the one or more applications 701 are configured to perform a device authentication method based on-screen black-and-white color switching in any of the above embodiments.
In addition, the above detailed description is provided for the device authentication method, apparatus, computer device and storage medium based on black-and-white color switching of the screen according to the embodiments of the present invention, and a specific example should be used herein to explain the principle and the implementation of the present invention, and the description of the above 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 authentication method based on screen black and white color switching is characterized by comprising the following steps:
sequentially reading screen color information of an EInk screen of the security equipment which passes the administrator information authentication through a gray sensor;
generating a verification code according to the screen color information read each time;
sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code;
and receiving verification passing information fed back by the authentication server, and displaying the verification passing information.
2. The method of claim 1, wherein the screen color information of the EInk screen of the secure device includes black and white; the generating of the verification code according to the screen color information read each time comprises the following steps:
if the read screen color information is black, representing the read screen color information by 0 in a binary system mode;
if the read screen color information is white, representing the read screen color information by 1 in a binary system mode;
and generating the verification code according to the read binary number.
3. The method according to claim 2, wherein the sequentially reading, by the grayscale sensor, the screen color information of the EInk screen of the security device that has passed the administrator information authentication includes:
setting sampling frequency, and sequentially reading screen color information of an EInk screen of the security device which passes the administrator information authentication through a gray sensor according to the sampling frequency.
4. The method according to claim 3, wherein the sampling frequency is 4Hz, and the plurality of color information read sequentially comprises black, white, black, white and white;
the generating of the verification code according to the screen color information read each time comprises the following steps:
generating 00100111 binary codes according to the black, white, black, white and white read in sequence;
and generating a verification code according to the binary code of the 00100111.
5. The method of claim 4, wherein the screen color information of the EInk screen is determined according to an authorization code sent by the authentication server to the secure device; when the authorization code is 1884, the screen color information sequentially transformed by the EInk screen is black, white, black, white, black and black;
the generating of the verification code according to the screen color information read each time comprises the following steps:
generating 00011101011100 binary codes according to the screen color information read each time;
a verification code 1884 is generated from the binary code of 00011101011100.
6. The equipment safety verification system is characterized by comprising a safety equipment which passes through administrator information authentication, a to-be-verified equipment and an authentication server;
the security equipment which passes the administrator information authentication communicates with the authentication server, acquires an authorization code from the authentication server, and controls an EInk screen of the security equipment which passes the administrator information authentication to change multiple screen colors according to the authorization code;
the device to be verified sequentially reads multiple screen color information from an EInk screen of the security device which passes the administrator information authentication through a gray sensor, generates a verification code according to the screen color information read each time, and sends the verification code to the authentication server;
the authentication server carries out security verification on the verification code according to the authorization code, sets the equipment to be verified as security equipment when the verification code passes the security verification, and sends verification passing information to the equipment to be verified;
and the equipment to be verified receives the verification passing information and displays the verification passing information.
7. The method of claim 6, wherein the authorization code includes a number or a string of characters.
8. An apparatus authentication device based on screen black and white color switching, the apparatus comprising:
the reading module is used for sequentially reading the screen color information of the EInk screen of the security equipment which passes the administrator information authentication through the gray level sensor;
the generating module is used for generating a verification code according to the screen color information read each time;
the sending module is used for sending the verification code to an authentication server; when the verification code passes the security verification, the authentication server feeds back verification passing information to the equipment sending the verification code;
and the receiving module is used for receiving the verification passing information fed back by the authentication server and displaying the verification passing information.
9. A computer device comprising a memory, a processor and an application program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 5 are implemented when the application program is executed by the processor.
10. A computer-readable storage medium, on which an application program is stored, which when executed by a processor implements the steps of the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112411.1A CN112231685B (en) | 2020-10-16 | 2020-10-16 | Device authentication method, device, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112411.1A CN112231685B (en) | 2020-10-16 | 2020-10-16 | Device authentication method, device, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112231685A true CN112231685A (en) | 2021-01-15 |
CN112231685B CN112231685B (en) | 2023-11-24 |
Family
ID=74119086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011112411.1A Active CN112231685B (en) | 2020-10-16 | 2020-10-16 | Device authentication method, device, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112231685B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651866A (en) * | 2011-02-23 | 2012-08-29 | 三星电子株式会社 | Method for authenticating mobile device and display apparatus using the same, and mobile device authentication system |
CN103632608A (en) * | 2012-08-20 | 2014-03-12 | 邹烨祥 | Method for manufacturing color codons |
KR101496049B1 (en) * | 2013-11-21 | 2015-02-25 | 성균관대학교산학협력단 | User authentication system using image code |
CN105184934A (en) * | 2015-10-13 | 2015-12-23 | 广东聚光电子科技有限公司 | Access control system and control method thereof |
CN105900432A (en) * | 2014-01-02 | 2016-08-24 | Vid拓展公司 | Two-demensional palette coding for screen content coding |
CN106686597A (en) * | 2017-03-17 | 2017-05-17 | 深圳丹勋科技有限公司 | Method for using unmanned plane to recognize identity of mobile phone user in near field |
CN106845972A (en) * | 2015-12-04 | 2017-06-13 | 朴峰 | A kind of intelligent authentication method and device |
CN107122970A (en) * | 2017-04-27 | 2017-09-01 | 深圳怡化电脑股份有限公司 | Safety certifying method, device, system, equipment, ATM and storage medium |
CN108770044A (en) * | 2018-05-22 | 2018-11-06 | 四川斐讯信息技术有限公司 | A kind of smart machine distribution method and system by changing mobile phone screen color |
WO2019171013A1 (en) * | 2018-03-09 | 2019-09-12 | Jcdecaux Sa | Method and device for transmitting a coded light message, in particular for purposes of verifying the display of a content by an electronic screen |
CN209809484U (en) * | 2019-04-19 | 2019-12-20 | 曹孙裔 | Electronic ink screen weiqi |
CN110995926A (en) * | 2019-11-27 | 2020-04-10 | 惠州Tcl移动通信有限公司 | Information reminding method and device, computer equipment and storage medium |
-
2020
- 2020-10-16 CN CN202011112411.1A patent/CN112231685B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102651866A (en) * | 2011-02-23 | 2012-08-29 | 三星电子株式会社 | Method for authenticating mobile device and display apparatus using the same, and mobile device authentication system |
CN103632608A (en) * | 2012-08-20 | 2014-03-12 | 邹烨祥 | Method for manufacturing color codons |
KR101496049B1 (en) * | 2013-11-21 | 2015-02-25 | 성균관대학교산학협력단 | User authentication system using image code |
CN105900432A (en) * | 2014-01-02 | 2016-08-24 | Vid拓展公司 | Two-demensional palette coding for screen content coding |
CN105184934A (en) * | 2015-10-13 | 2015-12-23 | 广东聚光电子科技有限公司 | Access control system and control method thereof |
CN106845972A (en) * | 2015-12-04 | 2017-06-13 | 朴峰 | A kind of intelligent authentication method and device |
CN106686597A (en) * | 2017-03-17 | 2017-05-17 | 深圳丹勋科技有限公司 | Method for using unmanned plane to recognize identity of mobile phone user in near field |
CN107122970A (en) * | 2017-04-27 | 2017-09-01 | 深圳怡化电脑股份有限公司 | Safety certifying method, device, system, equipment, ATM and storage medium |
WO2019171013A1 (en) * | 2018-03-09 | 2019-09-12 | Jcdecaux Sa | Method and device for transmitting a coded light message, in particular for purposes of verifying the display of a content by an electronic screen |
CN108770044A (en) * | 2018-05-22 | 2018-11-06 | 四川斐讯信息技术有限公司 | A kind of smart machine distribution method and system by changing mobile phone screen color |
CN209809484U (en) * | 2019-04-19 | 2019-12-20 | 曹孙裔 | Electronic ink screen weiqi |
CN110995926A (en) * | 2019-11-27 | 2020-04-10 | 惠州Tcl移动通信有限公司 | Information reminding method and device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
李栋楠: "P公司网络安全及管理体系的改进与实施研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 02, pages 139 - 117 * |
李海燕: "基于多传感器的可穿戴监护系统研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 01, pages 140 - 95 * |
Also Published As
Publication number | Publication date |
---|---|
CN112231685B (en) | 2023-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10068071B2 (en) | Screen shot marking and identification for device security | |
US20180348721A1 (en) | Automatic portable electronic device configuration | |
US7693298B2 (en) | Image processing system having a plurality of users utilizing a plurality of image processing apparatuses connected to network, image processing apparatus, and image processing program product executed by image processing apparatus | |
CN108551519B (en) | Information processing method, device, storage medium and system | |
CA2813172A1 (en) | Multiple-access-level lock screen | |
CN1453701A (en) | Portable terminal, access control method and access control program | |
CN107870997B (en) | Conference blackboard-writing file management method and device, display device and storage medium | |
CN104299136A (en) | Information processing method and electronic equipment | |
CN101710372B (en) | Method for verifying identity | |
CN111130765A (en) | Two-dimensional code sharing method and device for intelligent device and storage medium | |
EP3251005B1 (en) | Image processing device and electronic whiteboard | |
CN108830178A (en) | Fingerprint recognition mould group, electronic equipment and fingerprint image generation method | |
CN105306737A (en) | Information management method and user terminal | |
CN110502512B (en) | Information carrier generation method, correlation method, device, equipment and storage medium | |
US20110093943A1 (en) | Automatic access system, host computer, device, response device, remote code reader system, barcode reader, automatic access method, authentication method, computer program, and recording medium | |
US20090153293A1 (en) | System and method for controlling access to a handheld device by validating fingerprints | |
CN104866752A (en) | Application protection method and user terminal | |
CN111783055A (en) | Account information management method and device and electronic equipment | |
CN108399540B (en) | Code scanning payment method and device based on mobile terminal, terminal and storage medium | |
CN104380722A (en) | Communicating with an endpoint using matrix barcodes | |
US20210133363A1 (en) | Display apparatus, display method, and image processing system | |
CN107408173A (en) | The non-transitory storage media of image processing equipment, authentication method and authentication storage program | |
US20200306627A1 (en) | Method for prompting position of game character, terminal device, and storage medium | |
EP3422228A1 (en) | Icon processing method and device for applications | |
CN110826438A (en) | Display method and electronic equipment |
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 |