Login password setting method, usage method, device, electronic device and medium

By setting the background color selection range and configuring color setting attributes in the password box, and combining the user-entered character password with the background color to determine the mixed password, the problem of users having difficulty remembering complex passwords and insufficient security is solved, realizing a secure and easy-to-use login method.

CN114978498BActive Publication Date: 2025-01-14INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210546440.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2025-01-14
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

In existing technologies, password login methods suffer from the problems of users finding it difficult to remember complex passwords and simple passwords being insecure. Furthermore, website providers are constantly raising the requirements for password composition, leading to a poor user experience.

Method used

By pre-setting the background color selection range of the password box, and configuring the password setting attributes in combination with the color selection range, the system obtains the character password and background color entered by the user, determines the mixed password, establishes a mapping relationship with the username, stores and matches the mixed password to log in.

Benefits of technology

It improves the security and ease of use of password login, allowing users to log in simply by remembering the character password and background color. The display format is intuitive and easy for users to remember and use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114978498B_ABST
    Figure CN114978498B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for setting a login password, a method of using, a device, an electronic device, and a medium. The above method and device can be used in the field of artificial intelligence and information security technology. The method for setting a login password includes: presetting a color selection range for the background color of a password box, wherein the password box is used to input a character password; pre-configuring password setting attributes that can be operated by the user according to the color selection range, wherein the password setting attributes include a color display item, and the color display item is for displaying the content of the color selection range; obtaining the character password and background color entered by the user when setting the password; determining a mixed password according to the character password and background color entered by the user when setting the password; establishing a mapping relationship between the mixed password and the corresponding user name; and storing the mapping relationship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence and information security technology, and more specifically, to a method, device, electronic device, medium and computer program product for setting a login password. Background Art

[0002] With the development of biometric technology, the login method of online banking or mobile banking now tends to be face recognition from the perspective of convenience. However, with the further development of technology, there are technologies that can completely simulate and recognize faces through videos. Therefore, face recognition will no longer be safe, and password login will regain its important position.

[0003] There are two main problems for users when logging in with a password: one is that complex passwords are hard to remember; the other is that simple passwords are insecure. From a security perspective, website providers are constantly raising the requirements for password composition, such as a combination of numbers, English, uppercase and lowercase letters, and special characters. The requirements are increasing, making them less and less user-friendly. Summary of the invention

[0004] In view of this, the present disclosure provides a method for setting a login password with high security and good usability, a method for using the method, an apparatus, an electronic device, and a computer-readable storage medium.

[0005] One aspect of the present disclosure provides a method for setting a login password, comprising: presetting a color selection range for the background color of a password box, wherein the password box is used to input a character password; preconfiguring password setting attributes that can be operated by a user according to the color selection range, wherein the password setting attributes include a color display item, and the color display item is for displaying the content of the color selection range; obtaining the character password and background color input by the user when setting the password; determining a mixed password according to the character password and background color input by the user when setting the password; establishing a mapping relationship between the mixed password and the corresponding user name; and storing the mapping relationship.

[0006] According to the login password setting method of the embodiment of the present disclosure, the mixed password is determined by the character password and the background color, which has high security, and the display form of the character password and the background color is more intuitive and convenient for users to use. Presetting the color selection range of the background color of the password box, and pre-configuring the password setting attributes that can be operated by the user based on the color selection range can facilitate the use of the background color as part of the mixed password, and at the same time facilitate the provision of operation options for users, which is convenient for users to use.

[0007] In some embodiments, the color selection range of the background color of the pre-set password box specifically includes: determining m color components of red, where m is an integer greater than or equal to 1; determining n color components of green, where n is an integer greater than or equal to 1; determining r color components of blue, where r is an integer greater than or equal to 1; and combining the m color components of red, the n color components of green, and the r color components of blue to obtain a color selection range, wherein the color selection range includes m×n×r colors.

[0008] In some embodiments, the password box includes multiple position areas, the password setting attributes also include a specified area position item, and obtaining the character password and background color input by the user specifically includes obtaining the character password input by the user and the background color of the position area specified by the user.

[0009] In some embodiments, the method further comprises: randomly filling background colors in non-user-specified location areas.

[0010] In some embodiments, determining the mixed password based on the character password and background color input by the user specifically includes: converting the background color into a digital code; and determining the combination of the character password and the digital code as the mixed password.

[0011] In some embodiments, determining the mixed password based on the character password and background color input by the user specifically includes: converting the character password into color components; and determining a combination of the color components of the background color and the color components of the character password as the mixed password.

[0012] Another aspect of the present disclosure provides a device for setting a login password, including: a setting module, the setting module is used to execute pre-setting of a color selection range for the background color of a password box, wherein the password box is used to input a character password; a configuration module, the configuration module is used to execute pre-configuration of password setting attributes that can be operated by a user according to the color selection range, wherein the password setting attributes include color display items, and the color display items are used to display the content of the color selection range; an acquisition module, the acquisition module is used to execute acquisition of the character password and background color input by the user when setting the password; a determination module, the determination module is used to execute determination of a mixed password according to the character password and background color input by the user when setting the password; an establishment module, the establishment module is used to execute establishment of a mapping relationship between the mixed password and the corresponding user name; and a storage module, the storage module is used to execute storage of the mapping relationship.

[0013] Another aspect of the present disclosure provides a method for using a login password, including: obtaining a user name, character password, and background color input by a user when logging in; converting the character password and background color input by the user when logging in into a mixed login code; and matching the mixed login code with the mapping relationship stored above, wherein when the mixed login code and the corresponding user name are consistent with the mixed password and user name in the mapping relationship, the user name logs in successfully.

[0014] According to the method for using the login password in the embodiment of the present disclosure, login can be quickly achieved by matching the mixed login code with the stored mapping relationship. From the user's perspective, the user only needs to fill in the user name, character password and background color to log in. The display form of the character password and background color is more intuitive, which is convenient for users to remember and use.

[0015] Another aspect of the present disclosure provides a device for using a login password, including: a login acquisition module, the login acquisition module is used to execute acquisition of the user name, character password and background color input by the user when logging in; a conversion module, the conversion module is used to convert the character password and background color input by the user when logging in into a mixed login code; and a matching module, the matching module is used to match the mixed login code with the above-mentioned stored mapping relationship, wherein, when the mixed login code and the corresponding user name are consistent with the mixed password and user name in the mapping relationship, the user name logs in successfully.

[0016] Another aspect of the present disclosure provides an electronic device, comprising one or more processors and one or more memories, wherein the memories are used to store executable instructions, and when the executable instructions are executed by the processors, the above-mentioned method is implemented.

[0017] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above method when executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0019] Figure 1 An exemplary system architecture to which the method and apparatus according to an embodiment of the present disclosure can be applied is schematically shown;

[0020] Figure 2 A flowchart schematically shows a method for setting a login password according to an embodiment of the present disclosure;

[0021] Figure 3A flowchart schematically illustrates a color selection range for presetting the background color of a password box according to an embodiment of the present disclosure;

[0022] Figure 4 A flowchart of determining a mixed password according to a character password and a background color input by a user according to an embodiment of the present disclosure is schematically shown;

[0023] Figure 5 A flowchart of determining a mixed password according to a character password and a background color input by a user according to an embodiment of the present disclosure is schematically shown;

[0024] Figure 6 A schematic diagram of a password box according to an embodiment of the present disclosure is schematically shown;

[0025] Figure 7 A flowchart of obtaining a character password and a background color input by a user according to an embodiment of the present disclosure is schematically shown;

[0026] Figure 8 A flowchart schematically shows a method for setting a login password according to an embodiment of the present disclosure;

[0027] Fig. 9 The structure block diagram of the device for setting the login password according to the embodiment of the present disclosure is schematically shown;

[0028] Fig.10 The structure block diagram of the setting module according to the embodiment of the present disclosure is schematically shown;

[0029] Fig.11 The structure block diagram of the acquisition module according to the embodiment of the present disclosure is schematically shown;

[0030] Fig.12 The structure block diagram of the device for setting the login password according to the embodiment of the present disclosure is schematically shown;

[0031] Fig.13 The structural block diagram of the determination module according to the embodiment of the present disclosure is schematically shown;

[0032] Fig.14 The structural block diagram of the determination module according to the embodiment of the present disclosure is schematically shown;

[0033] Fig.15 The flowchart schematically shows a method for using a login password according to an embodiment of the present disclosure.

[0034] Fig.16 The structural block diagram of the device for using the login password according to the embodiment of the present disclosure is schematically shown.

[0035] Fig.17A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0036] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0037] In the technical solution of this disclosure, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and they do not violate public order and good morals.

[0038] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0039] When using expressions such as "at least one of A, B or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the said features.

[0040] With the development of biometric technology, the login method of online banking or mobile banking now tends to be face recognition from the perspective of convenience. However, with the further development of technology, there are technologies that can completely simulate and recognize faces through videos. Therefore, face recognition will no longer be safe, and password login will regain its important position.

[0041] There are two main problems for users when logging in with a password: one is that complex passwords are hard to remember; the other is that simple passwords are insecure. From a security perspective, website providers are constantly raising the requirements for password composition, such as a combination of numbers, English, uppercase and lowercase letters, and special characters. The requirements are increasing, making them less and less user-friendly.

[0042] The embodiments of the present disclosure provide a method for setting a login password, a method for using the method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product. The method for setting a login password includes: presetting a color selection range for the background color of a password box, wherein the password box is used to input a character password; preconfiguring password setting attributes that can be operated by the user according to the color selection range, wherein the password setting attributes include a color display item, and the color display item is to display the content of the color selection range; obtaining the character password and background color entered by the user when setting the password; determining a mixed password according to the character password and background color entered by the user when setting the password; establishing a mapping relationship between the mixed password and the corresponding user name; and storing the mapping relationship.

[0043] It should be noted that the login password setting method, usage method, device, electronic device, computer-readable storage medium and computer program product disclosed in the present invention can be used in the fields of artificial intelligence and information security, and can also be used in any field other than the fields of artificial intelligence and information security, such as the financial field. The field of the present invention is not limited here.

[0044] Figure 1 The exemplary system architecture 100 of the method for setting a login password, the method for using the login password, the device, the electronic device, the computer-readable storage medium and the computer program product according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0045] like Figure 1 As shown, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0046] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0047] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0048] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0049] It should be noted that the login password setting method and the use method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the login password setting device and the use device provided in the embodiment of the present disclosure can generally be set in the server 105. The login password setting method and the use method provided in the embodiment of the present disclosure can also be executed by a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the login password setting device and the use device provided in the embodiment of the present disclosure can also be set in a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.

[0050] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0051] The following will be based on Figure 1 The scene described by Figure 2 to Figure 7 The method for setting the login password according to the embodiment of the present disclosure is described in detail.

[0052] Figure 2 The flowchart of the method for setting a login password according to an embodiment of the present disclosure is schematically shown.

[0053] like Figure 2 As shown, the method for setting a login password in this embodiment includes operations S210 to S260.

[0054] In operation S210, a color selection range of the background color of the password box is preset, wherein the password box is used to input a character password. It is understandable that there are countless colors in nature, and colors in computers are composed of three basic colors: red, green, and blue. Therefore, as a possible implementation method, Figure 3 As shown, operation S210 pre-sets a color selection range for the background color of the password box, which specifically includes operations S211 to S214.

[0055] In operation S211 , m color components of red are determined, where m is an integer greater than or equal to 1. For example, one color component can be represented by one byte, and determining m color components of red can be understood as determining that the color components of red are m bytes.

[0056] In operation S212, n color components of green are determined, where n is an integer greater than or equal to 1, and determining the n color components of green can be understood as determining the color components of green to be n bytes.

[0057] In operation S213, r color components of blue are determined, where r is an integer greater than or equal to 1, and determining the r color components of blue can be understood as determining the color components of blue to be r bytes.

[0058] In operation S214, the m color components of red, the n color components of green, and the r color components of blue are combined to obtain a color selection range, wherein the color selection range includes m×n×r colors. For example, m×n×r can be set to 32, that is, the color selection range includes 32 colors. Of course, setting m×n×r to 32 is only an example and cannot be understood as a limitation of the present disclosure.

[0059] Thus, through operations S211 to S214, it is convenient to pre-set a color selection range for the background color of the password box.

[0060] In operation S220, according to the color selection range, password setting attributes that can be operated by the user are preconfigured, wherein the password setting attributes include a color display item, and the color display item is the content of displaying the color selection range. It can be understood that after determining the color selection range, the color selection range can be used as the content of the color display item, and when the user sets the password, the color can be selected from the color display item as the background color of his password box.

[0061] In operation S230, the character password and background color entered by the user when setting the password are obtained. It is understandable that the user can enter the character password that he wants to set in the password box. The character password may include a numeric password; the character password may also include an alphabetic password; the character password may also include a symbolic password; the character password may also include a combination of a numeric password, an alphabetic password and a symbolic password. There are no excessive restrictions on the form of the character password here. The user can select the background color of the password box that he wants to set in the password setting properties. After the user completes the setting of the character password and background color, the character password and background color entered by the user can be obtained.

[0062] In operation S240, a hashed password is determined according to the character password and the background color input by the user when setting the password.

[0063] As an implementable approach, Figure 4 As shown, operation S240 determines the mixed password according to the character password and background color input by the user, and specifically includes operation S241 and operation S242.

[0064] In operation S241, the background color is converted into a digital code. It should be noted that this operation needs to call a color coding model. As some specific examples, the color coding model uses formula (1) to convert the background color into a digital code.

[0065] Digital code = ax + by + cz (1)

[0066] Among them, since all colors are composed of three primary colors, x represents the basic code of pure red, a represents the amount of red, y represents the basic code of pure yellow, b represents the amount of yellow, z represents the basic code of pure blue, and c represents the amount of blue.

[0067] For example, the background color set by the user is yellow, which can be a combination of 0.1 pure red, 0.88 pure yellow and 0.12 pure blue. Therefore, the digital code after converting the background color yellow is 0.1x+0.88y+0.12z. Of course, 0.1x+0.88y+0.12z is only an example, and the specific color components are subject to computer recognition.

[0068] In operation S242, the combination of the character password and the numeric code is determined as a mixed password. As some specific examples, when the character password and the numeric code are combined, the numeric code can be placed in front of the character password, for example, if the character password set by the user is 123456abc, then the mixed password is 0.1x+0.88y+0.12z123456abc. As some other specific examples, when the character password and the numeric code are combined, the numeric code can be placed behind the character password, for example, if the character password set by the user is 123456abc, then the mixed password is 123456abc0.1x+0.88y+0.12z.

[0069] Therefore, through operation S241 and operation S242, it is convenient to determine the mixed password according to the character password and background color input by the user.

[0070] As another possible implementation method, Figure 5 As shown, operation S240 determines the mixed password according to the character password and background color input by the user, and specifically includes operation S243 and operation S244.

[0071] In operation S243, the character password is converted into color components. It should be noted that this operation needs to call a character code conversion model. As some specific examples, the character code conversion model defines the color of the character password and assigns the character a primary color component.

[0072] In operation S244, the combination of the color component of the background color and the color component of the character password is determined as the mixed password. The character code conversion model combines the primary color component of the background color, merges the primary color component of the background color and the primary color component of the character, and displays them as one color, which is the mixed password.

[0073] Therefore, through operation S243 and operation S244, it is convenient to determine the mixed password according to the character password and background color input by the user.

[0074] In operation S250, a mapping relationship is established between the hashed password and the corresponding user name.

[0075] In operation S260, the mapping relationship is stored. It is understandable that after the hashed password and the corresponding user name are mapped and stored, the next time the password entered by the user is consistent with the stored hashed password, the login will be successful, and if the entered password is inconsistent with the stored hashed password, the login will fail.

[0076] According to the login password setting method of the embodiment of the present disclosure, the mixed password is determined by the character password and the background color, which has high security, and the display form of the character password and the background color is more intuitive and convenient for users to use. Presetting the color selection range of the background color of the password box, and pre-configuring the password setting attributes that can be operated by the user based on the color selection range can facilitate the use of the background color as part of the mixed password, and at the same time facilitate the provision of operation options for users, which is convenient for users to use.

[0077] According to some embodiments of the present disclosure, Figure 6 As shown, the password box may include multiple location areas, and the password setting attribute may also include a specified area location item, such as Figure 7 As shown, operation S230 obtains the character password and background color input by the user, which specifically includes operation S231.

[0078] In operation S231, the character password input by the user and the background color of the position area specified by the user are obtained. It can be understood that, for example, the password box can be divided into 5 position areas, each of which can input at least one character, and the number of characters allowed to be input in each position area can be set as needed. The user can select which position area to fill the background color in by specifying the area position item. For example, the user can enter the character password 12345 in the 5 position areas and fill the background color yellow in the 3rd position area, thereby setting his own user password. Operation S231 can facilitate the acquisition of the character password and background color input by the user.

[0079] As some specific examples, when combining the character password and the numeric code, the numeric code can be placed in the middle position of the character password, and the number in the middle position can be the same as the number in the specified position area. Continuing with the example of the above numeric code 0.1x+0.88y+0.12z, the background color yellow is filled in the third position area. Assuming that the character password set by the user is 123456abc, the mixed password is to insert 0.1x+0.88y+0.12z into the third position of the character password 123456abc, that is, the mixed password is 120.1x+0.88y+0.12z3456abc.

[0080] In some embodiments of the present disclosure, Figure 8 As shown, the method for setting the login password also includes operation S270.

[0081] In operation S270, the background color is randomly filled in the position area not specified by the user. Continuing with the example of dividing the password box into 5 position areas and filling the background color yellow in the third position area, the random filling of the background color in the position area not specified by the user can be understood as the random filling of the background color in the first position area, the second position area, the fourth position area and the fifth position area, thereby setting the user's own password. Operation S270 can achieve an anti-peeping effect when the user sets the password.

[0082] Based on the above login password setting method, the present disclosure also provides a login password setting device 10. Figure 9-14 The device for setting the login password is described in detail.

[0083] Fig. 9 The structural block diagram of the device 10 for setting a login password according to an embodiment of the present disclosure is schematically shown.

[0084] The device 10 for setting a login password includes a setting module 1 , a configuration module 2 , an acquisition module 3 , a determination module 4 , an establishment module 5 and a storage module 6 .

[0085] Setting module 1, setting module 1 is used to perform operation S210: presetting a color selection range of a background color of a password box, wherein the password box is used to input a character password.

[0086] Configuration module 2, configuration module 2 is used to perform operation S220: pre-configure password setting attributes that can be operated by the user according to the color selection range, wherein the password setting attributes include color display items, and the color display items are contents that display the color selection range.

[0087] The acquisition module 3 is used to perform operation S230: acquiring the character password and background color input by the user when setting the password.

[0088] The determination module 4 is used to perform operation S240: determine the mixed password according to the character password and background color input by the user when setting the password.

[0089] Establishing module 5, establishing module 5 is used to perform operation S250: establishing a mapping relationship between the mixed password and the corresponding user name.

[0090] The storage module 6 is used to perform operation S260: store the mapping relationship.

[0091] Fig.10 The structural block diagram of the setting module 1 according to the embodiment of the present disclosure is schematically shown. The setting module 1 comprises a first determining unit 11, a second determining unit 12, a third determining unit 13 and a fourth determining unit 14.

[0092] The first determining unit 11 is used to determine m color components of red, where m is an integer greater than or equal to 1.

[0093] The second determining unit 12 is used to determine n color components of green, where n is an integer greater than or equal to 1.

[0094] The third determining unit 13 is used to determine r color components of blue, where r is an integer greater than or equal to 1.

[0095] The fourth determining unit 14 is used to combine the m color components of red, the n color components of green and the r color components of blue to obtain a color selection range, wherein the color selection range includes m×n×r colors.

[0096] Fig.11 The structure block diagram of the acquisition module 3 according to the embodiment of the present disclosure is schematically shown. The password box includes a plurality of location areas, the password setting attribute also includes a designated area location item, and the acquisition module 3 includes an acquisition unit 31 .

[0097] The acquisition unit 31 is used to acquire the character password input by the user and the background color of the position area specified by the user.

[0098] Fig.12 The structural block diagram of the device 10 for setting a login password according to an embodiment of the present disclosure is schematically shown. The device 10 for setting a login password further includes a filling module 7.

[0099] The filling module 7 is used to randomly fill the background color in the position area not specified by the user.

[0100] Fig.13 The structural block diagram of the determination module 4 according to the embodiment of the present disclosure is schematically shown. The determination module 4 comprises a first conversion unit 41 and a fifth determination unit 42.

[0101] The first conversion unit 41 is used to convert the background color into a digital code.

[0102] The fifth determining unit 42 is used to determine the combination of the character password and the numeric code as a mixed password.

[0103] Fig.14 The structural block diagram of the determination module 4 according to the embodiment of the present disclosure is schematically shown. The determination module 4 comprises a second conversion unit 43 and a sixth determination unit 44.

[0104] The second conversion unit 43 is used to convert the character password into color components.

[0105] The sixth determining unit 44 is used to determine a combination of a color component of the background color and a color component of the character password as a mixed password.

[0106] According to the login password setting device of the embodiment of the present disclosure, the mixed password is determined by the character password and the background color, which has high security, and the display form of the character password and the background color is more intuitive and convenient for users to use. Presetting the color selection range of the background color of the password box and pre-configuring the password setting attributes that can be operated by the user based on the color selection range can facilitate the use of the background color as part of the mixed password, and at the same time facilitate the provision of operation options for users, which is convenient for users to use.

[0107] In addition, according to an embodiment of the present disclosure, any multiple modules among the setting module 1, the configuration module 2, the acquisition module 3, the determination module 4, the establishment module 5 and the storage module 6 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module.

[0108] According to an embodiment of the present disclosure, at least one of the setting module 1, the configuration module 2, the acquisition module 3, the determination module 4, the establishment module 5 and the storage module 6 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware, or in an appropriate combination of any of them.

[0109] Alternatively, at least one of the setting module 1, the configuration module 2, the acquisition module 3, the determination module 4, the establishment module 5 and the storage module 6 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be executed.

[0110] Fig.15 The flowchart schematically shows a method for using a login password according to an embodiment of the present disclosure.

[0111] like Fig.15 As shown, the method for using the login password in this embodiment includes operations S310 to S330.

[0112] In operation S310, the user name, character password and background color input by the user when logging in are obtained.

[0113] In operation S320, the character password and background color input by the user when logging in are converted into a mixed login code.

[0114] As an implementable manner, converting the character password and background color input by the user when logging in into a mixed login code may include converting the background color into a digital code, and then determining the combination of the character password and the digital code as the mixed login code.

[0115] As another feasible method, converting the character password and background color input by the user when logging in into a mixed login code may include converting the character password into color components, and then determining the combination of the color components of the background color and the color components of the character password as the mixed login password.

[0116] It should be noted that the specific steps of converting the background color into a digital code and then determining the combination of the character password and the digital code as a mixed login code are the same as operations S241 and S242; converting the character password and background color entered by the user when logging in into a mixed login code may include converting the character password into color components and then determining the combination of the color components of the background color and the color components of the character password as the mixed login password. The specific steps are the same as operations S243 and S244, which will not be repeated here.

[0117] In operation S330, the hashed login code is matched with the stored mapping relationship, wherein when the hashed login code and the corresponding user name are consistent with the hashed password and user name in the mapping relationship, the login of the user name is successful.

[0118] According to the method for using the login password in the embodiment of the present disclosure, login can be quickly achieved by matching the mixed login code with the stored mapping relationship. From the user's perspective, the user only needs to fill in the user name, character password and background color to log in. The display form of the character password and background color is more intuitive, which is convenient for users to remember and use.

[0119] Based on the above login password usage method, the present disclosure also provides a login password usage device 20. Fig.16 The device for using the login password is described in detail.

[0120] Fig.16 The structural block diagram of the device 20 for using a login password according to an embodiment of the present disclosure is schematically shown.

[0121] The login password using device 20 comprises a login obtaining module 201 , a conversion module 202 and a matching module 203 .

[0122] The login acquisition module 201 is used to perform operation S310: obtaining the user name, character password and background color input by the user when logging in.

[0123] The conversion module 202 is used to perform operation S320: converting the character password and background color input by the user when logging in into a mixed login code.

[0124] The matching module 203 is used to perform operation S330: matching the mixed login code with the stored mapping relationship, wherein when the mixed login code and the corresponding user name are consistent with the mixed password and user name in the mapping relationship, the user name logs in successfully.

[0125] According to the login password usage device 20 of the embodiment of the present disclosure, by matching the mixed login code with the stored mapping relationship, the login can be quickly achieved. From the user's perspective, the user only needs to fill in the user name, character password and background color to achieve the login. The display form of the character password and background color is more intuitive, which is convenient for the user to remember and use.

[0126] In addition, according to an embodiment of the present disclosure, any multiple modules among the login acquisition module 201, the conversion module 202 and the matching module 203 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module.

[0127] According to an embodiment of the present disclosure, at least one of the login acquisition module 201, the conversion module 202 and the matching module 203 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware, or in an appropriate combination of any of them.

[0128] Alternatively, at least one of the login acquisition module 201, the conversion module 202 and the matching module 203 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.

[0129] Fig.17 A block diagram of an electronic device suitable for implementing the above method according to an embodiment of the present disclosure is schematically shown.

[0130] like Fig.17As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0131] In RAM 903, various programs and data required for the operation of electronic device 900 are stored. Processor 901, ROM 902 and RAM 903 are connected to each other via bus 904. Processor 901 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 902 and / or RAM 903. It should be noted that the program can also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0132] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the I / O interface 905: an input portion 906 including a keyboard, a mouse, etc.; an output portion 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 908 including a hard disk, etc.; and a communication portion 909 including a network interface card such as a LAN card, a modem, etc. The communication portion 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.

[0133] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0134] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 902 and / or RAM 903 described above and / or one or more memories other than ROM 902 and RAM 903.

[0135] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method of the embodiment of the present disclosure.

[0136] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 901. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0137] In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and downloaded and installed through the communication part 909, and / or installed from a removable medium 911. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0138] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0139] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0140] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0141] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0142] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A method for setting a login password, characterized in that: include: Presetting a color selection range for the background color of a password box, wherein the password box is used to input a character password; Pre-configuring password setting attributes that can be operated by a user according to the color selection range, wherein the password setting attributes include a color display item, and the color display item is a content that displays the color selection range; Get the character password and background color entered by the user when setting the password; Determine the mixed password according to the character password and background color input by the user when setting the password; Establishing a mapping relationship between the mixed password and the corresponding user name; and The mapping relationship is stored.

2. The method according to claim 1, characterized in that The color selection range of the pre-set background color of the password box specifically includes: Determine m color components of red, where m is an integer greater than or equal to 1; Determine n color components of green, where n is an integer greater than or equal to 1; Determine r color components of blue, where r is an integer greater than or equal to 1; and The m color components of red, the n color components of green, and the r color components of blue are combined to obtain a color selection range, wherein the color selection range includes m×n×r colors.

3. The method according to claim 1, characterized in that The password box includes multiple position areas, the password setting attribute also includes a designated area position item, and the obtaining of the character password and background color input by the user specifically includes: Gets the character password entered by the user and the background color of the location area specified by the user.

4. The method according to claim 1, characterized in that Also includes: Randomly fill the background color in the non-user-specified position area.

5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the mixed password according to the character password and the background color input by the user specifically includes: Converting the background color into a digital code; and The combination of the character password and the numeric code is determined as a mixed password.

6. The method according to any one of claims 1 to 4, characterized in that: The step of determining the mixed password according to the character password and the background color input by the user specifically includes: converting the character code into color components; and A combination of the color component of the background color and the color component of the character password is determined as a mixed password.

7. A device for setting a login password, characterized in that: include: A setting module, the setting module is used to pre-set a color selection range of the background color of a password box, wherein the password box is used to input a character password; a configuration module, the configuration module being used to pre-configure password setting attributes that can be operated by a user according to the color selection range, wherein the password setting attributes include a color display item, and the color display item is a content that displays the color selection range; An acquisition module, the acquisition module is used to execute acquisition of the character password and background color input by the user when setting the password; A determination module, the determination module is used to determine the mixed password according to the character password and background color input by the user when setting the password; An establishing module, the establishing module is used to establish a mapping relationship between the mixed password and the corresponding user name; and A storage module is used to execute and store the mapping relationship.

8. A method for using a login password, characterized in that: include: Get the user name, character password and background color entered by the user when logging in; Convert the character password and background color input by the user when logging in to a mixed login code; as well as The mixed login code is matched with the mapping relationship stored in any one of claims 1 to 6, wherein when the mixed login code and the corresponding user name are consistent with the mixed password and user name in the mapping relationship, the user name logs in successfully.

9. A device for using a login password, characterized in that: include: A login acquisition module, which is used to acquire the user name, character password and background color input by the user when logging in; A conversion module, the conversion module is used to convert the character password and background color input by the user when logging in into a mixed login code; as well as A matching module, the matching module is used to match the mixed login code with the mapping relationship stored in any one of claims 1 to 6, wherein when the mixed login code and the corresponding user name are consistent with the mixed password and user name in the mapping relationship, the user name logs in successfully.

10. An electronic device, characterized in that: include: one or more processors; One or more memories, for storing executable instructions, wherein when the executable instructions are executed by the processor, the method according to any one of claims 1 to 6 or claim 8 is implemented.

11. A computer-readable storage medium, characterized in that: The storage medium stores executable instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 6 or claim 8.

Citation Information

Patent Citations

  • Website login method and device

    CN103312674A

  • Method and device for inputting account information

    CN104516624A