CN106375117B - Router manager identity authentication method and system - Google Patents
Router manager identity authentication method and system Download PDFInfo
- Publication number
- CN106375117B CN106375117B CN201610765063.5A CN201610765063A CN106375117B CN 106375117 B CN106375117 B CN 106375117B CN 201610765063 A CN201610765063 A CN 201610765063A CN 106375117 B CN106375117 B CN 106375117B
- Authority
- CN
- China
- Prior art keywords
- color
- light
- router
- emitting
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/28—Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/24—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using dedicated network management hardware
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a system for authenticating the identity of a router manager, wherein the method comprises the following steps: the router randomly generates a luminous color sequence consisting of a plurality of luminous colors after receiving the login page request, generates a corresponding luminous instruction according to the luminous color sequence and sends the luminous instruction to the light-emitting device; the light-emitting device emits light correspondingly according to the light-emitting instruction; the router receives an input color sequence composed of a plurality of input colors; the server judges whether the color difference between the luminous color sequence and the input color sequence is smaller than a color difference threshold value, and if the color difference is smaller than the color difference threshold value, the server passes login authentication. The invention has the following advantages: identity authentication is carried out through color, the probability that the router is cracked violently is greatly reduced, and meanwhile, a user does not need to record the router login password with great effort.
Description
Technical Field
The invention relates to the field of information security, in particular to a method and a system for authenticating the identity of a router manager.
Background
In the related art, a user inputs an account password through a router management interface by using a keyboard, and can log in a router after verification. However, this approach results in the router being easily hacked and the user being unable to log in to the router when they forget the login password.
Disclosure of Invention
The present invention is directed to solving at least one of the above problems.
To this end, an object of the present invention is to provide a method for authenticating an identity of a router administrator.
Still another object of the present invention is to provide a router administrator identity authentication system.
In order to achieve the above object, an embodiment of the present invention discloses a router administrator identity authentication method, including a router and a light-emitting device, where the light-emitting device is disposed on the router, and the method includes the following steps: the router randomly generates a luminous color sequence consisting of a plurality of luminous colors after receiving a login page request, generates a corresponding luminous instruction according to the luminous color sequence and sends the luminous instruction to the light-emitting device; the light-emitting device emits light correspondingly according to the light-emitting instruction; the router receiving an input color sequence of a plurality of input colors; and the router judges whether the color difference between the luminous color sequence and the input color sequence is smaller than a color difference threshold value, and if so, the router passes login authentication.
According to the router manager identity authentication method provided by the embodiment of the invention, a user selects corresponding input colors to form an input color sequence by observing the light-emitting color sequence sent by the light-emitting device on the router, and sends the input color sequence to the router for login authentication, only the owner of the router can see the correct light colors to pass the authentication, and meanwhile, the owner of the router can identify the color difference problem when the color is identified by human eyes.
In addition, the method for authenticating the identity of the router administrator according to the above embodiment of the present invention may further have the following additional technical features:
further, the luminescent color and the input color are both RGB colors.
Further, after the light emitting device performs corresponding light emission according to the light emission instruction, the method further includes: the router selects a light-emitting color according to the light-emitting color sequence; the router generating a plurality of candidate color options, wherein the plurality of candidate color options comprises a correct lighting color option and at least one incorrect lighting color option; and when the user selects one luminous color option as an input color, the router selects one luminous color from the luminous color sequence again for the user to select and input until all the luminous colors in the luminous color sequence are selected and input by the user.
Further, the color difference between the emission color sequence and the input color sequence is calculated by a straight-line distance between color gamuts.
Further, the light emitting device includes a plurality of light emitting units that emit light in the light emission color sequence a plurality of times when the number of the light emitting units is smaller than the number of the light emission colors.
In order to achieve the above object, an embodiment of the present invention discloses an identity authentication system for a router administrator, including a router and a light emitting device, where the light emitting device is disposed on the router, the router is configured to receive a login page request, then randomly generate a light emitting color sequence composed of a plurality of light emitting colors, generate a corresponding light emitting instruction according to the light emitting color sequence, and send the corresponding light emitting instruction to the light emitting device, the router is further configured to receive an input color sequence composed of a plurality of input colors, the router is further configured to determine whether a color difference between the light emitting color sequence and the input color sequence is smaller than a color difference threshold, and if the color difference is smaller than the color difference threshold, the router passes login authentication; the light-emitting device is used for emitting light correspondingly according to the light-emitting instruction.
According to the router manager identity authentication system provided by the embodiment of the invention, a user selects corresponding input colors to form an input color sequence by observing the light-emitting color sequence sent by the light-emitting device on the router, and sends the input color sequence to the router for login authentication, only the owner of the router can see the correct light colors to pass the authentication, and meanwhile, the owner of the router can identify the color difference problem when the color is identified by human eyes.
In addition, the router administrator identity authentication system according to the above embodiment of the present invention may further have the following additional technical features:
further, the luminescent color and the input color are both RGB colors.
Further, the router is further configured to select a lighting color according to the lighting color sequence, and the router is further configured to generate a plurality of candidate color options, where the plurality of candidate color options include a correct lighting color option and at least one incorrect lighting color option, and the router is further configured to select a lighting color again from the lighting color sequence for user selection and input after a user has selected a lighting color option as an input color until all lighting colors in the lighting color sequence are selected and input by the user.
Further, the router is further configured to calculate a color difference between the light-emitting color sequence and the input color sequence according to a straight-line distance between color gamuts.
Further, the light emitting device includes a plurality of light emitting units that emit light in the light emission color sequence a plurality of times when the number of the light emitting units is smaller than the number of the light emission colors.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart of a method for authenticating an identity of a router administrator according to an embodiment of the present invention
Fig. 2 is a block diagram of a router administrator identity authentication system according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
The invention is described below with reference to embodiments by means of the accompanying drawings.
Fig. 1 is a block diagram of a router administrator identity authentication method according to an embodiment of the present invention.
As shown in fig. 1, a router administrator identity authentication method includes a router and a light-emitting device, where the light-emitting device is disposed on the router, and the method includes the following steps:
s1: the router randomly generates a luminous color sequence consisting of a plurality of luminous colors after receiving the login page request, generates a corresponding luminous instruction according to the luminous color sequence and sends the luminous instruction to the light-emitting device.
In one embodiment of the invention, the colors are represented by RGB.
Specifically, a user opens a router login page through software to apply for router login. The router randomly generates a light-emitting color sequence consisting of a plurality of colors after receiving the login application. In one example of the invention, the router randomly chooses 4 colors, each composed of (R, G, B) triads. The light emission color sequence P ═ [ (194,15,15), (240, 65), (60,240,240), (150,60,240) ].
S2: the light-emitting device emits light correspondingly according to the light-emitting instruction.
In one embodiment of the present invention, the light emitting device includes a plurality of light emitting units that emit light in a sequence of light emission colors a plurality of times when the number of light emitting units is less than the number of light emission colors.
Specifically, the router has 2 light emitting devices that can display different colors, and the length of the light emitting color sequence P is 4. Thus, the display is performed in two times.
S3: the router receives an input color sequence of a plurality of input colors.
In one embodiment of the present invention, after the light emitting device performs corresponding light emission according to the light emission instruction, the method further includes: the router selects a lighting color according to the lighting color sequence. The router generates a plurality of candidate color options. Wherein the plurality of candidate color options comprises a correct lighting color option and at least one incorrect lighting color option. And when the user selects one luminous color option as an input color, the router selects one luminous color from the luminous color sequence again for the user to select and input until all the luminous colors in the luminous color sequence are selected and input by the user.
In one example of the present invention, the password input page returned by the router contains prompt text: please select 2 colors of the router to emit light; the password entry page also includes a color selection interface. Wherein, the color selection interface comprises ten random color blocks, two of which have the color of (194,15,15), (240, 65) and represent the correct password. The other 8 select patches for randomly generated colors. The display position where the correct color code is located is a random position.
The user selects the 2 lighting colors seen through the password entry page. The browser used by the user detects that the user selection is completed, and sends 2 colors to the router. The router records the color selected by the user in the user color sequence U. The router judges whether the length of the collected U is | P | ═ 4, and the length is only 2, so the password input page returned by the router contains prompt words: please select 2 colors of the router light, the password input page includes a color selection interface. The color selection interface includes ten random color patches, two of which are (60,240,240), (150,60,240) representing the correct password, and the remaining 8 colors being generated for the random number. The user selects the last two colors in the interface returned by the router.
S4: the router judges whether the color difference between the luminous color sequence and the input color sequence is smaller than a color difference threshold value, and if the color difference is smaller than the color difference threshold value, the router passes login authentication.
In one embodiment of the invention, the color difference between the emission color sequence and the input color sequence is calculated by the straight-line distance between the color gamuts.
In one example of the invention, assume that the last set of colors produced by the router has two purple colors (150,60,240), (140,60,250), and the user has selected the wrong purple. The user has selected the last two color codes (60,240,240), (140,60, 250). The browser used by the user detects that the user selection is completed, and sends 2 colors to the router. Since the emission color sequence P ═ [ (194,15,15), (240, 65), (60,240,240), (150,60,240) ], the input color sequence U ═ [ (194,15,15), (240, 65), (60,240,240), (140,60,250) ]. The linear distance between color gamuts is used as the color difference calculation, which is as follows:
d1=sqrt[(194-194)2+(15-15)2+(15-15)2]=0;
d2=0;
d3=0;
d4=sqrt[(150-140)2+(60-60)2+(240-250)2]=14.142。
where sqrt is a square root function. And (5) verifying the color difference in the DL, if the color difference of all the colors is smaller than a color difference threshold value. In one example of the present invention, the color difference threshold is 30. Since each color difference is less than 30 in the DL, the authentication is successful. The representative user has the random light color which is seen correctly, has the management authority and can log in the control interface of the router.
Fig. 2 is a block diagram of a router administrator identity authentication system according to an embodiment of the present invention. As shown in fig. 2, an embodiment of the present invention relates to a router administrator identity authentication system, which further includes a router 210 and a lighting device 220.
The router 210 is configured to randomly generate a light-emitting color sequence composed of a plurality of light-emitting colors after receiving the login page request, generate a corresponding light-emitting instruction according to the light-emitting color sequence, and send the light-emitting instruction to the light-emitting device 220, the router 210 is further configured to receive an input color sequence composed of a plurality of input colors, the router 210 is further configured to determine whether a color difference between the light-emitting color sequence and the input color sequence is smaller than a color difference threshold, and if the color difference is smaller than the color difference threshold, the router passes login authentication.
The light emitting device 220 is disposed on the router 210, and the light emitting device 220 is used for emitting light according to the light emitting instruction.
In one embodiment of the invention, the lighting color and, for example, the input color are RGB colors.
In an embodiment of the present invention, the router 210 is further configured to select a lighting color according to a lighting color sequence, the router 210 is further configured to generate a plurality of candidate color options, wherein the plurality of candidate color options includes a correct lighting color option and at least one incorrect lighting color option, and the router 210 is further configured to select a lighting color again from the lighting color sequence for user selection and input after the user has selected a lighting color option as an input color until all lighting colors in the lighting color sequence are selected and input by the user.
In one embodiment of the invention, the router 210 is further configured to calculate a color difference between the lighting color sequence and the input color sequence based on the linear distance between the color gamuts.
In one embodiment of the present invention, the light emitting device 220 includes a plurality of light emitting units that emit light in a sequence of light emission colors a plurality of times when the number of light emitting units is less than the number of light emission colors.
It should be noted that a specific implementation manner of the router administrator identity authentication system according to the embodiment of the present invention is similar to a specific implementation manner of the router administrator identity authentication method according to the embodiment of the present invention, and please refer to the description of the method part specifically, and details are not described here in order to reduce redundancy.
In addition, other configurations and functions of the method and system for authenticating an identity of a router administrator according to the embodiments of the present invention are known to those skilled in the art, and are not described in detail for reducing redundancy.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (8)
1. A router administrator identity authentication method, comprising a router and a lighting device, wherein the lighting device is disposed on the router, and the method comprises the following steps:
the router randomly generates a luminous color sequence consisting of a plurality of luminous colors after receiving a login page request, generates a corresponding luminous instruction according to the luminous color sequence and sends the luminous instruction to the light-emitting device;
the light-emitting device emits light correspondingly according to the light-emitting instruction;
the router receiving an input color sequence of a plurality of input colors;
the router judges whether the color difference between the light-emitting color sequence and the input color sequence is smaller than a color difference threshold, if so, the router passes login authentication, and after the light-emitting device performs corresponding light-emitting according to the light-emitting instruction, the method further comprises the following steps:
the router selects a light-emitting color according to the light-emitting color sequence;
the router generating a plurality of candidate color options, wherein the plurality of candidate color options comprises a correct lighting color option and at least one incorrect lighting color option;
and when the user selects one luminous color option as an input color, the router selects one luminous color from the luminous color sequence again for the user to select and input until all the luminous colors in the luminous color sequence are selected and input by the user.
2. The router administrator identity authentication method of claim 1, wherein the lighting color and the input color are both RGB colors.
3. The router administrator identity authentication method of claim 2, wherein the color difference between the light emitting color sequence and the input color sequence is calculated by a straight-line distance between color gamuts.
4. The router administrator identity authentication method according to any one of claims 1 to 3, wherein the lighting device includes a plurality of lighting units, and when the number of lighting units is smaller than the number of lighting colors, the plurality of lighting units emit light in the lighting color sequence in a plurality of times.
5. A router manager identity authentication system is characterized by comprising a router and a light-emitting device, wherein the light-emitting device is arranged on the router,
the router is used for randomly generating a light-emitting color sequence consisting of a plurality of light-emitting colors after receiving a login page request, generating a corresponding light-emitting instruction according to the light-emitting color sequence and sending the corresponding light-emitting instruction to the light-emitting device, receiving an input color sequence consisting of a plurality of input colors, judging whether the color difference between the light-emitting color sequence and the input color sequence is smaller than a color difference threshold value or not, and if the color difference is smaller than the color difference threshold value, the router passes login authentication;
the light-emitting device is used for emitting light correspondingly according to the light-emitting instruction, the router is further used for selecting a light-emitting color according to the light-emitting color sequence, and the router is further used for generating a plurality of candidate color options, wherein the candidate color options comprise a correct light-emitting color option and at least one incorrect light-emitting color option, and the router is further used for selecting a light-emitting color from the light-emitting color sequence again for user selection and input after a user selects a light-emitting color option as an input color until all light-emitting colors in the light-emitting color sequence are selected and input by the user.
6. The router administrator identity authentication system of claim 5, wherein the lighting color and the input color are both RGB colors.
7. The router manager identity authentication system of claim 6, wherein the router is further configured to calculate a color difference between the lighting color sequence and the input color sequence according to a straight-line distance between color gamuts.
8. The router administrator identity authentication system according to any one of claims 5 to 7, wherein the lighting device includes a plurality of lighting units that emit light in the lighting color sequence in a plurality of times when the number of lighting units is smaller than the number of lighting colors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610765063.5A CN106375117B (en) | 2016-08-30 | 2016-08-30 | Router manager identity authentication method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610765063.5A CN106375117B (en) | 2016-08-30 | 2016-08-30 | Router manager identity authentication method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375117A CN106375117A (en) | 2017-02-01 |
CN106375117B true CN106375117B (en) | 2020-05-01 |
Family
ID=57901495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610765063.5A Active CN106375117B (en) | 2016-08-30 | 2016-08-30 | Router manager identity authentication method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375117B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103678988A (en) * | 2012-09-23 | 2014-03-26 | 张仁平 | Method and system using colors as verification code |
US9397992B1 (en) * | 2013-10-23 | 2016-07-19 | Emc Corporation | Authentication using color-shape pairings |
CN104298912B (en) * | 2013-07-15 | 2018-12-11 | 深圳市腾讯计算机系统有限公司 | Anti- identifying code implementation method, generation method and the device cracked |
CN105307171B (en) * | 2015-10-08 | 2018-11-16 | 广东欧珀移动通信有限公司 | A kind of WIFI hot spot connection method and device being added principle based on color |
CN105260648B (en) * | 2015-10-08 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of method and device for the login remote server that principle is added based on color |
CN105488820B (en) * | 2016-02-25 | 2018-04-06 | 曹溯 | Color comparison method and device |
-
2016
- 2016-08-30 CN CN201610765063.5A patent/CN106375117B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106375117A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977194B (en) | Third-party verification code system and third-party verification code provision method | |
TWI710921B (en) | User identity verification method, system and verification server | |
US8850540B2 (en) | Method and device for verifying dynamic password | |
CN108011863B (en) | Method and device for identifying brute force cracking | |
CN110245220A (en) | Electronic document signs method, apparatus and server, storage medium | |
CN102843236B (en) | Generation and authentication method and system for dynamic password | |
US11354396B2 (en) | Authentication systems using sequences of tile selections from a grid | |
CN107147644A (en) | It is a kind of to realize the method that mobile APP user logs in single equipment | |
CN105847247A (en) | Authentication system and working method thereof | |
CN101047503A (en) | Method and system for fetching cipher | |
CN105099707B (en) | A kind of offline authentication method, server and system | |
CN105046141A (en) | Self-daptive verification code design method and system | |
CN1716851A (en) | Information processing apparatus, information processing method, and storage medium | |
CN105262733B (en) | A kind of fingerprint method for authenticating, cloud server, fingerprint identification method and terminal | |
WO2011025352A3 (en) | Method for producing an electro-biometric signature allowing legal interaction between and identification of persons | |
CN102208978A (en) | Input verification system and method | |
US8601552B1 (en) | Personal identification pairs | |
CN115001843B (en) | Identity verification method, device, electronic equipment and computer readable storage medium | |
CN106453321A (en) | Authentication server, system and method, and to-be-authenticated terminal | |
CN104836786A (en) | Automatic login system and automatic login method | |
CN107580002B (en) | Double-factor authentication security manager login system and method | |
US8590020B1 (en) | Authentication system and method using arrangements of objects | |
CN106375117B (en) | Router manager identity authentication method and system | |
CN113935070A (en) | Data processing method, device and equipment based on block chain and storage medium | |
CN108156187B (en) | A kind of cloud service system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |