WO2021115111A1 - Information display method and apparatus, electronic device, and storage medium - Google Patents

Information display method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2021115111A1
WO2021115111A1 PCT/CN2020/131055 CN2020131055W WO2021115111A1 WO 2021115111 A1 WO2021115111 A1 WO 2021115111A1 CN 2020131055 W CN2020131055 W CN 2020131055W WO 2021115111 A1 WO2021115111 A1 WO 2021115111A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
index
login
login password
information
Prior art date
Application number
PCT/CN2020/131055
Other languages
French (fr)
Chinese (zh)
Inventor
钟望
Original Assignee
北京金山云网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山云网络技术有限公司 filed Critical 北京金山云网络技术有限公司
Publication of WO2021115111A1 publication Critical patent/WO2021115111A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0846Network architectures or network communication protocols for network security for authentication of entities using passwords using time-dependent-passwords, e.g. periodically changing passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Definitions

  • This application relates to the field of computer technology, in particular to an information display method, display device, electronic equipment, and storage medium.
  • the account password is usually entered into the account system.
  • the account system can show the user the current login password
  • the degree of safety for example, a score index is shown to the user, and the higher the score index, the higher the degree of safety.
  • the account system when it determines the security level of the user's current login password, it usually calculates the security level of the user's current login password based on the length of the login password and the types of characters contained, for example, the longer the current login password, or the characters contained The more types (such as containing numbers, uppercase and lowercase letters, special characters, etc.), the higher the security of the calculated login password.
  • the purpose of the embodiments of the present application is to provide an information display method, display device, electronic equipment, and storage medium to more accurately reflect the security level of the login password.
  • the technical solutions are as follows:
  • an embodiment of the present application provides an information display method, including: obtaining a login password of a current account; generating a security level indicator of the current login account based on information in different dimensions of the login password, and the different The information under the dimensions includes: the attribute information of the login password itself and information related to the password setting operation; and the security level indicator is displayed to the user.
  • the step of generating the security degree index of the current login account based on the information in different dimensions of the login password includes: setting the information based on the length information of the login password and the character type information. The information in the time dimension generated when the password is logged in is used to generate the security degree index of the current login account.
  • the step of generating a security index of the current login account based on information in different dimensions of the login password includes: based on the password length of the login password and the type of password characters, the login Password modification time span, the expiration time of the login password, the first number of incorrect password entries within a preset time period, and the second number of incorrect password entries within the expiration period, generating the current login account number A security level indicator, wherein the expiration time of the login password represents the difference between the preset login password expiration time and the time to modify the login password, and the modification time span is the time period between two adjacent password modification operations .
  • the step of generating the security level indicator of the current login account includes: generating the security level indicator of the current login account by using a preset calculation rule,
  • the calculation rules include: the password length, the password character type, the modification time span, the expiration time length, the first number of times, and the second number of times corresponding to the calculation rules of subdivision indicators.
  • the method further includes: obtaining the first moment when the login password is modified, and calculating the modification at the first moment Time span; the corresponding relationship between each modification time span in the calculation rule and the subdivision index is used to generate the subdivision index corresponding to the modification time span at the first moment.
  • the method further includes : Based on the password length of the modified current login password, the type of password characters, the time span, the expiration time, the subdivision indicators corresponding to the first times and the second times, the security of the modified current login password is generated Degree index.
  • A represents the intermediate index
  • B represents the second number of times
  • C represents the expiration time length.
  • the intermediate index is a decimal number
  • the intermediate index is normalized to an integer by a round; use The intermediate index and the preset subdivision index calculation rule are used to calculate the subdivision index of the second number of times.
  • an embodiment of the present application provides an information display device, including: a first obtaining module configured to obtain a login password of a current account; a first generating module configured to obtain information in different dimensions based on the login password, The security level indicator of the current login account is generated, and the information in the different dimensions includes: the attribute information of the login password itself and information related to the password setting operation; the display module is set to display the security level to the user index.
  • the first generating module is configured to: generate information in the time dimension generated when the login password is set based on the length information of the login password, character type information, and generate the security of the current login account. Degree index.
  • the first generation module is set to: based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, within a preset time period The first number of times that the password is allowed to be entered incorrectly, and the second number of times that the password is allowed to be entered incorrectly within the expiration period, generate a security level indicator of the current login account, where the expiration period of the login password represents a preset login password The difference between the expiration time and the time to modify the login password, and the modification time span is the time period between two adjacent password modification operations.
  • the first generating module is configured to generate a security level indicator of the current login account by using a preset calculation rule, and the calculation rule includes: the password length, the password character type, The subdivision index calculation rules corresponding to the modification time span, the expiration time length, the first number of times, and the second number of times.
  • the device further includes: a second obtaining module configured to obtain the first moment when the login password is modified in the case of receiving a modification instruction for the login password of the current account, and calculate The modification time span at the first moment; the second generation module is configured to use the corresponding relationship between each modification time span in the calculation rule and the subdivision index to generate the detail corresponding to the modification time span at the first moment Sub-indices.
  • the device further includes: a third generation module, configured to be based on the password length, password character type, time span, expiration time, the first number of times, and the first number of passwords based on the modified current login password.
  • the subdivision index corresponding to each of the two times generates the security degree index of the modified current login password.
  • the intermediate indicator is a decimal number
  • the intermediate indicator is rounded to one. Converted to an integer; using the intermediate index and a preset subdivision index calculation rule to calculate the subdivision index of the second number of times.
  • an embodiment of the present application provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processing The device executes the machine executable instructions to implement the method steps of the information display method provided in the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium that stores a computer program in the computer-readable storage medium.
  • the computer program is executed by a processor, the information display provided in the first aspect is realized. Method steps of the method.
  • the embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method steps of the information display method provided in the first aspect.
  • the embodiments of the present application also provide a computer program, which when running on a computer, causes the computer to execute the method steps of the information display method provided in the first aspect.
  • the information display method, display device, electronic equipment, and storage medium provided by the embodiments of the present application can generate the security index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where ,
  • the information in different dimensions includes: the attribute information of the login password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the current login account security index, not only the login password itself is considered
  • the attribute information also considers the information related to the password setting operation, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • any product or method of the present application does not necessarily need to achieve all the above advantages at the same time.
  • FIG. 1 is a schematic flow chart of an information display method provided by an embodiment of this application.
  • FIG. 2 is a schematic diagram of another flow of an information display method provided by an embodiment of this application.
  • FIG. 3 is a schematic structural diagram of an information display device provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of another structure of an information display device provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of still another structure of the information display device provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of a fourth structure of an information display device provided by an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • an embodiment of the present application provides an information display method, which may include the following steps:
  • the information display method of the embodiment of the present application may be implemented by an electronic device.
  • the electronic device may be an account server for managing accounts.
  • the specific structure of the account server refer to the server structure in the related technology, which is not specifically limited here.
  • the electronic device may obtain the login password of the current account, for example, obtain the login password carried in the account login instruction.
  • the account server may be a server used to manage account logins, and the current account may be an account used by the current user to log in, for example, an account used to log in to a cloud service platform, where the electronic device may be an account server or It is other devices with computing capabilities.
  • S102 Based on information in different dimensions of the login password, generate a security degree index of the current login account.
  • the information in the login password can be extracted.
  • the information in different dimensions of the login password can be extracted, for example, the attribute information of the login password itself and the information related to the password setting operation.
  • the attribute information of the login password itself can refer to the inherent information of the login password itself, for example, the length of the login password, and the types of characters contained in the login password; in one embodiment, when other dimensions of information are the same Below, the longer the length of the login password, the more secure the login account’s security indicator; when other dimensions of information are the same, the more characters contained in the login password, the more secure the login account’s security indicator.
  • the information related to the password setting operation can refer to the information generated when the login password is set and other operations, usually it can be set by the user, generated according to the user's setting, for example, setting the login password modification time span, setting the login password Expiration time, set the number of times that the password is allowed to be entered incorrectly within the unit time period, set the number of times that the password is allowed to be entered incorrectly within the above expiration time, etc.; in one embodiment, when other dimensions of information are the same, the login password modification time span The shorter is, the more secure the login account’s security indicator is; when other dimensions of information are the same, the shorter the expiration time of the login password is, the more secure the login account’s security indicator is; if the information on other dimensions is the same, the unit The fewer times the password is allowed to be entered incorrectly during the time period, the safer the login account’s security level indicator is; if other dimensions of information are the same, the fewer the number of times the password is allowed to be entered incorrectly within the expiration time, the login account
  • the electronic device After obtaining the information in different dimensions of the login password, the electronic device can use the information to calculate the security degree of the current login account, thereby generating a security degree indicator of the current login account.
  • this embodiment of the present application can display the security level indicator to the user, so that the user knows the security level of the currently logged-in account according to the security level indicator, thereby having a good user experience.
  • the terminal device used by the user such as a mobile phone, a computer, etc., may send information carrying a security level indicator, so that the terminal device can display the security level indicator.
  • the security level corresponding to the security level indicator in addition to displaying the security level indicator to the user, can also be displayed.
  • the corresponding relationship between the security level indicator and the security level can be shown in Table 1. .
  • the safety level can be divided into five levels: safe, strong, medium, weak, and dangerous from high to low.
  • the corresponding safety indicators are 90-100, 80-90, 70-80, 60- 70, less than 60, it can be seen that as the safety level decreases, the safety index also decreases.
  • the embodiment of the present application may also display the color of each security level when displaying the security level. For example, for the security level "safe”, it can be represented by dark green, and for the security level "strong”, it can be represented by light green. For the safety level "medium” can be expressed in yellow, for the safety level "weak” can be expressed in orange.
  • the corresponding representation of the security level and the color here is only an example, and the setting can be customized according to the actual situation.
  • the security level "danger” can be displayed in eye-catching red to better remind the user.
  • the information in different dimensions of the login password may include: length information of the login password and character type information
  • the information related to the password setting operation may include: generated when the login password is set
  • Information in the time dimension this embodiment of the application can use the information to generate the security degree index of the current login account after obtaining the length information of the login password, the character type information, and the information in the time dimension generated when the login password is set.
  • This indicator can be embodied in the form of scores.
  • the information referred to in the process of generating the security index of the login password More comprehensive.
  • the information in the time dimension generated when the login password is set may include: the modification time span of the login password, the expiration time of the login password, and the password is allowed to be entered incorrectly within a preset time period.
  • the first number of times, the second number of times that the password is allowed to be entered incorrectly within the expiration time the embodiment of this application can use the password length of the login password, the type of password characters, and the modification time span of the above login password, the expiration time of the login password, and the Set the first number of incorrect password entries within the time period and the second number of incorrect password entries within the expiration period to generate an indicator of the security level of the current login account.
  • the above login password expiration time represents the difference between the preset login password expiration time and the time to modify the login password.
  • the login password modification time is December 1, 2019, and the login password set by the user expires The time is January 1, 2020, and the expiration time of the login password is 31 days.
  • the above-mentioned modification time span is the time period between two consecutive password modification operations. For example, the time of this modification of the login password is December 1, 2019, and the last modification of the login password is November 20, 2019. The modification time span is 11 days.
  • preset calculation rules can be used to generate the security level index of the current login account.
  • the calculation rules include: password length, password character type, modification time span, expiration time, and the first mentioned above.
  • the subdivision index calculation rules corresponding to the times and the second times mentioned above.
  • the security degree index of the current login account can be used: the score of at least one dimension information segmentation index in the attribute information of the login password itself, and the segmentation of at least one dimension information segmentation of the information related to the password setting operation
  • the scores of the indicators are collectively expressed.
  • the security degree index of the current login account may be the sum or weighted sum of the attribute information of the login password itself and the subdivision index scores of each dimension information in the information related to the password setting operation.
  • its calculation rule may be: when the password length set by the user is greater than or equal to the preset length threshold, the full score index under the subdivision index is obtained, and the set password length With respect to the preset length threshold, each time the preset length is reduced, the first preset score is reduced on the basis of the first full score index until the first preset score threshold is no longer reduced.
  • the technician can reasonably set the aforementioned preset length, first preset score, and first preset score threshold according to actual business requirements, and the specific values are not limited in this embodiment of the application.
  • the password length set by the user is greater than or equal to 18 bits, and the first full score indicator is 10 points, and the password length is reduced by one point for every two digits reduced (e.g. The password length is 16 digits and the score is 9 points), of course, it can also be reduced by 0.5 points for each decrease of one digit, and so on, until it is reduced to 5 points, the minimum is 5 points.
  • the first full score index is the full score index corresponding to the password length.
  • its calculation rule may be: when the character type of the password set by the user is less than the preset minimum type threshold, the lowest index under the subdivision index is obtained, and the Each time the password character type of is increased by one on the basis of the minimum type threshold, the second preset score is increased on the basis of the minimum index, until it is increased to the second full score index and no longer increases.
  • the technical personnel can reasonably set the above-mentioned minimum category threshold and the second preset score according to actual business requirements, and the specific value is not limited in the embodiment of the present application.
  • the minimum index under the subdivision index is 10 points.
  • the password character types are set to two types, 10 points are obtained. Add 10 points on the basis of points to get 20 points.
  • the set password character types are three types, add 20 points on the basis of 10 points to get 30 points, of which 30 points is the second full score indicator, that is, when the set If there are more than three types of password characters, 30 points are still awarded.
  • the second full score index is the full score index corresponding to the password character type.
  • its calculation rule may be: Compare the current time of the password modification with the time of the last modification of the password. The longer the current time is from the last modification time, the calculated subdivision The lower the index.
  • the calculation logic can be as follows: within the preset time period (such as 4 days) when the user changes the password, or when the user registers for the first time, the subdivision index will be calculated according to the third full score index 15 points, and every preset number of days (such as 4 If the number of days is less than 4 days, it will be calculated as 4 days), and the score when calculating the segmentation index will be subtracted from the preset value (for example, minus 1), and so on. After the preset maximum number of days (60 days), if the user If the password has not been changed again, this subdivision index will be reduced to 0 points, but it will not continue to be reduced to negative points.
  • Table 2 The corresponding relationship of the subdivision indicators for the modified time span is shown in Table 2.
  • the technician can reasonably set the above-mentioned preset number of days and preset value according to actual business requirements, and the specific value is not limited in the embodiment of this application.
  • the third full score index is the full score index corresponding to the modification time span.
  • its calculation rule may be: set the number of days corresponding to the fourth full score indicator (for example, 30 days, the fourth full score indicator is 15 points), then the user sets Each time the expiration time of is increased by a preset number of days (for example, 4 days, if it is less than 4 days, it is calculated as 4 days), the first preset value is subtracted (for example, minus 1), until it drops to 0 points.
  • a preset number of days for example, 4 days, if it is less than 4 days, it is calculated as 4 days
  • the first preset value is subtracted (for example, minus 1), until it drops to 0 points.
  • the technician can reasonably set the above-mentioned preset number of days and the first preset value according to actual business requirements, and the specific value is not limited in this embodiment of the application.
  • the expiration time set by the user is 32 days, then 1 point will be subtracted from 15 points, and the score for this item will be 14 points, and so on. If the expiration time set by the user is greater than or equal to 90 days, just this item will be scored. Will drop to 0 points, but will not continue to drop to negative points.
  • the fourth full score indicator is the full score indicator corresponding to the expiration time of the login password.
  • the calculation rule may be: when the user sets a preset time period (for example, within 10 minutes), the password input is allowed When the number of errors is within the preset number (e.g. 5), it is the fifth full mark indicator (e.g. 20 points). For each increase in the number of allowed input errors, the score will be calculated minus the second preset value (e.g. 2 points). By analogy, until it is reduced to 0 points, it will not continue to be reduced to negative points.
  • the technician can reasonably set the above-mentioned preset time period, preset number of times, and second preset value according to actual business requirements, and the specific value is not limited in the embodiment of this application.
  • the fifth full score index is the full score index corresponding to the first time.
  • its calculation rule may be: first determine the relationship between the second number of times and the expiration time, so as to obtain the intermediate index, and then according to the intermediate index Determine the subdivision index.
  • the intermediate index is less than or equal to the third preset value (for example, 3)
  • the sixth full score index for example, 10 points
  • the intermediate index increases by 1 (less than 1 is calculated as 1, and the rounding method is adopted. For example, when the value of the intermediate indicator is 3.2, round 3.2 to 4), then subtract 1 from the sixth full-point indicator until it is reduced to 0 points, but it will not continue to drop. For negative points.
  • the technician can reasonably set the aforementioned third preset value according to actual business requirements, and the specific value is not limited in the embodiment of the present application.
  • the sixth full score index is the full score index corresponding to the second time.
  • the following expression may be used to calculate the intermediate index corresponding to the second order:
  • the intermediate indicator is used to indicate the relationship between the second time and the expiration time.
  • A represents the intermediate indicator
  • B represents the second time
  • C represents the expiration time.
  • the intermediate indicator is a decimal number
  • the intermediate indicator is normalized by a rounding method. It is an integer, that is, rounded up, and then the intermediate index and the above-mentioned preset segmentation index calculation rule are used to calculate the segmentation index for the second number of times the password is allowed to be entered incorrectly during the expiration period.
  • the information display method of the embodiment of the present application may further include:
  • S201 Obtain the first moment when the login password is modified, and calculate the modification time span at the first moment.
  • the electronic device can obtain the first moment when the login password is modified according to the moment when the login password modification instruction for the current account is received, and determine the second moment when the login password was last modified, thereby determining the modification time span of the first moment.
  • the detail corresponding to the modification time span at the first moment can be generated according to the corresponding relationship between the modification time span and each subdivision index. Sub-indices.
  • the embodiment of the present application may also be based on the modified password length of the current login password, the type of password characters, the time span, the expiration time, and the first time.
  • the subdivision indicators corresponding to the number and the second number respectively generate the modified current login password security indicator, and display the security indicator, so that every time the user changes the login password, the embodiment of this application can be re-determined
  • the safety index enables users to know the safety degree of the current safety index in time, and makes the information display process more humane.
  • the information display method provided by the embodiment of this application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • the embodiments of the present application also provide corresponding device embodiments.
  • an embodiment of the present application provides an information display device, including:
  • the first obtaining module 301 is configured to obtain the login password of the current account.
  • the first generating module 302 is configured to generate a security degree index of the current login account based on information in different dimensions of the login password.
  • the information in different dimensions includes: attribute information of the login password itself and information related to password setting operations.
  • the display module 303 is configured to display the security level index to the user.
  • the above-mentioned first generation module is configured to generate the security degree index of the current login account based on the length information of the login password, the character type information, and the information in the time dimension generated when the login password is set.
  • the above-mentioned first generation module is set to: based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, and the password is allowed to be entered incorrectly within a preset time period The first number of times that the password is allowed to be entered incorrectly during the expiration time, the second number of times that the password is allowed to be entered incorrectly within the expiration time, and the security level indicator of the current login account is generated.
  • the modification time span is the time period between two consecutive password modification operations.
  • the above-mentioned first generation module is configured to generate a security index of the current login account by using preset calculation rules.
  • the calculation rules include: password length, password character type, modification time span, and expiration time , The calculation rules of subdivision indicators corresponding to the first and second times.
  • the information display device of the embodiment of the present application may further include:
  • the second acquiring module 401 is configured to acquire the first moment when the login password is modified in the case of receiving a modification instruction for the login password of the current account, and calculate the modification time span at the first moment.
  • the second generating module 402 is configured to use the corresponding relationship between each modification time span in the calculation rule and the subdivision index to generate the subdivision index corresponding to the modification time span at the first moment.
  • the information display device of the embodiment of the present application may further include:
  • the third generation module 501 is set to generate the modified current login based on the modified current login password’s password length, password character type, time span, expiration time, the first number of times, and the second number of corresponding subdivision indicators. An indicator of the security level of the password.
  • the information display device of the embodiment of the present application may further include:
  • the calculation module 601 is configured to calculate the intermediate index corresponding to the second number of times by using the following expression:
  • the intermediate indicator is used to indicate the relationship between the second time and the expiration time.
  • A represents the intermediate indicator
  • B represents the second time
  • C represents the expiration time.
  • the intermediate indicator is a decimal number
  • the intermediate indicator is normalized by a rounding method. It is an integer; the intermediate index and the preset subdivision index calculation rule are used to calculate the second subdivision index.
  • An information display device can generate a security level indicator of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • An embodiment of the present application also provides an electronic device, which may be a server.
  • the electronic device 700 includes a processor 701 and a machine-readable storage medium 702.
  • the machine-readable storage medium stores data that can be executed by the processor.
  • the machine executable instructions of the processor execute the machine executable instructions to implement the following steps:
  • the information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
  • the electronic device of the embodiment of the present application further includes a communication interface and a communication bus.
  • the processor 701, the communication interface, and the machine-readable storage medium 702 communicate with each other through the communication bus.
  • processor 701 when the processor 701 is configured to execute the machine-executable instructions in the machine-readable storage medium 702, it can also implement any of the foregoing information display methods.
  • the communication bus mentioned in the above electronic device may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus or the like.
  • the communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the above-mentioned electronic device and other devices.
  • the machine-readable storage medium may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM Random Access Memory
  • non-volatile memory such as at least one disk memory.
  • the memory may also be at least one storage device located far away from the aforementioned processor.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP for short) , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the electronic device provided by the embodiment of the application can generate the security index of the current login account based on the information in different dimensions of the login password.
  • the information in different dimensions includes: the login password itself Attribute information, as well as information related to password setting operations, to show users the degree of security.
  • the security index of the current login account not only the attribute information of the login password itself is considered, but also the related password setting operations are considered. Therefore, the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium.
  • a computer program is stored in the computer-readable storage medium.
  • the information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
  • the above-mentioned computer program when executed by the processor, it can also implement any one of the above-mentioned information display methods.
  • the computer-readable storage medium provided by the embodiment of the present application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • the embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the following steps:
  • the information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
  • the computer program product when run on a computer, it can also implement any of the information display methods described above.
  • the computer program product containing instructions provided by the embodiments of the present application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: The attribute information of the login password itself, as well as the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password Set the information related to the operation, so the information referenced in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • the embodiment of the present application also provides a computer program, which when running on a computer, causes the computer to perform the following steps:
  • the information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
  • the computer program when run on a computer, it can also implement any of the information display methods described above.
  • the computer program containing instructions provided by the embodiments of this application can generate the security index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
  • the information display method, display device, electronic equipment, and storage medium provided in this application can be manufactured or used, and the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the login password to the user
  • the degree of safety can have a positive effect.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present application provide an information display method and apparatus, an electronic device, and a storage medium. The method comprises: obtaining a login password of a current account; generating a security degree index of the current login account on the basis of information of the login password in different dimensions; and displaying the security degree index to a user. According to the embodiments of the present application, the security degree of the login password can be reflected to the user more accurately.

Description

一种信息展示方法、展示装置、电子设备及存储介质Information display method, display device, electronic equipment and storage medium
本申请要求于2019年12月13日提交中国专利局、申请号为201911282909.X,发明名称为“一种信息展示方法、展示装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on December 13, 2019, with an application number of 201911282909.X and an invention title of "an information display method, display device, electronic equipment, and storage medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种信息展示方法、展示装置、电子设备及存储介质。This application relates to the field of computer technology, in particular to an information display method, display device, electronic equipment, and storage medium.
背景技术Background technique
用户在登录账号时,例如,登录即时通信程序账号或者电商平台账号时,通常需要向账号系统输入账号密码,当用户输入账号密码或者修改账号密码后,账号系统可以向用户展示当前登录密码的安全程度,例如,向用户展示一个分数指标,分数指标越高则表示安全程度越高。When a user logs in to an account, for example, when logging in to an instant messaging program account or an e-commerce platform account, the account password is usually entered into the account system. When the user enters the account password or changes the account password, the account system can show the user the current login password The degree of safety, for example, a score index is shown to the user, and the higher the score index, the higher the degree of safety.
相关技术中,账号系统在确定用户当前登录密码的安全程度时,通常基于登录密码的长度和所包含字符的种类计算用户当前登录密码的安全程度,例如,当前登录密码越长,或者包含的字符种类越多(如包含数字、大小写字母、特殊字符等),则计算得到的该登录密码的安全程度越高。In related technologies, when the account system determines the security level of the user's current login password, it usually calculates the security level of the user's current login password based on the length of the login password and the types of characters contained, for example, the longer the current login password, or the characters contained The more types (such as containing numbers, uppercase and lowercase letters, special characters, etc.), the higher the security of the calculated login password.
然而,这种仅从登录密码长度和所包含字符种类确定登录密码安全程度的方法,不能准确地反映登录密码的安全程度,这是由于即使一个登录密码的长度再长,所包含的字符种类再多,只要用于暴力破解的机器算力足够强大,那么上述登录密码就有被破解的可能性。因此亟需一种能够更加准确地反映登录密码安全程度的信息展示方法。However, this method of determining the security level of the login password only from the length of the login password and the types of characters contained cannot accurately reflect the security level of the login password. This is because even if the length of a login password is longer, the types of characters contained are no longer valid. Many, as long as the computing power of the machine used for brute force cracking is strong enough, then the above login password may be cracked. Therefore, there is an urgent need for an information display method that can more accurately reflect the security level of the login password.
发明内容Summary of the invention
本申请实施例的目的在于提供一种信息展示方法、展示装置、电子设备及存储介质,以更加准确地反映登录密码的安全程度。技术方案如下:The purpose of the embodiments of the present application is to provide an information display method, display device, electronic equipment, and storage medium to more accurately reflect the security level of the login password. The technical solutions are as follows:
第一方面,本申请实施例提供了一种信息展示方法,包括:获取当前账 号的登录密码;基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标,所述不同维度下的信息包括:所述登录密码自身的属性信息,以及与密码设置操作相关的信息;向用户展示所述安全程度指标。In the first aspect, an embodiment of the present application provides an information display method, including: obtaining a login password of a current account; generating a security level indicator of the current login account based on information in different dimensions of the login password, and the different The information under the dimensions includes: the attribute information of the login password itself and information related to the password setting operation; and the security level indicator is displayed to the user.
在一实施方式中,所述基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标的步骤,包括:基于所述登录密码的长度信息,字符种类信息,设置所述登录密码时产生的时间维度下的信息,生成所述当前登录账号的安全程度指标。In one embodiment, the step of generating the security degree index of the current login account based on the information in different dimensions of the login password includes: setting the information based on the length information of the login password and the character type information. The information in the time dimension generated when the password is logged in is used to generate the security degree index of the current login account.
在一实施方式中,所述基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标的步骤,包括:基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标,其中,所述登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,所述修改时间跨度为相邻两次密码修改操作之间的时间段。In one embodiment, the step of generating a security index of the current login account based on information in different dimensions of the login password includes: based on the password length of the login password and the type of password characters, the login Password modification time span, the expiration time of the login password, the first number of incorrect password entries within a preset time period, and the second number of incorrect password entries within the expiration period, generating the current login account number A security level indicator, wherein the expiration time of the login password represents the difference between the preset login password expiration time and the time to modify the login password, and the modification time span is the time period between two adjacent password modification operations .
在一实施方式中,所述基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标的步骤,包括:利用预设的计算规则,生成所述当前登录账号的安全程度指标,所述计算规则包括:所述密码长度、所述密码字符种类、所述修改时间跨度、所述过期时长、所述第一次数、所述第二次数各自对应的细分指标计算规则。In one embodiment, based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, the first password allowed to be entered incorrectly within a preset time period The number of times, the second number of times the password is allowed to be entered incorrectly within the expiration time, and the step of generating the security level indicator of the current login account includes: generating the security level indicator of the current login account by using a preset calculation rule, The calculation rules include: the password length, the password character type, the modification time span, the expiration time length, the first number of times, and the second number of times corresponding to the calculation rules of subdivision indicators.
在一实施方式中,在接收针对所述当前账号的登录密码的修改指令的情况下,所述方法还包括:获取修改所述登录密码时的第一时刻,并计算所述第一时刻的修改时间跨度;利用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标。In an embodiment, in the case of receiving a modification instruction for the login password of the current account, the method further includes: obtaining the first moment when the login password is modified, and calculating the modification at the first moment Time span; the corresponding relationship between each modification time span in the calculation rule and the subdivision index is used to generate the subdivision index corresponding to the modification time span at the first moment.
在一实施方式中,所述利用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标之后,所述方法还包括:基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、所述第一次数、所述第二次数各自对应的细分指标, 生成修改后的当前登录密码的安全程度指标。In an embodiment, after the corresponding relationship between each modification time span in the calculation rule and the subdivision index is used to generate the subdivision index corresponding to the modification time span at the first moment, the method further includes : Based on the password length of the modified current login password, the type of password characters, the time span, the expiration time, the subdivision indicators corresponding to the first times and the second times, the security of the modified current login password is generated Degree index.
在一实施方式中,所述方法还包括:利用如下表达式计算所述第二次数对应的中间指标:A=B%*C,其中,所述中间指标用于表示所述第二次数与所述过期时长之间的关系,A表示所述中间指标,B表示所述第二次数,C表示所述过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数;利用所述中间指标及预设的细分指标计算规则,计算所述第二次数的细分指标。In one embodiment, the method further includes: calculating an intermediate index corresponding to the second number of times by using the following expression: A=B%*C, wherein the intermediate index is used to represent the second number of times and the total number of times. The relationship between the expiration time length, A represents the intermediate index, B represents the second number of times, and C represents the expiration time length. When the intermediate index is a decimal number, the intermediate index is normalized to an integer by a round; use The intermediate index and the preset subdivision index calculation rule are used to calculate the subdivision index of the second number of times.
第二方面,本申请实施例提供了一种信息展示装置,包括:第一获取模块,设置为获取当前账号的登录密码;第一生成模块,设置为基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标,所述不同维度下的信息包括:所述登录密码自身的属性信息,以及与密码设置操作相关的信息;展示模块,设置为向用户展示所述安全程度指标。In a second aspect, an embodiment of the present application provides an information display device, including: a first obtaining module configured to obtain a login password of a current account; a first generating module configured to obtain information in different dimensions based on the login password, The security level indicator of the current login account is generated, and the information in the different dimensions includes: the attribute information of the login password itself and information related to the password setting operation; the display module is set to display the security level to the user index.
在一实施方式中,所述第一生成模块设置为:基于所述登录密码的长度信息,字符种类信息,设置所述登录密码时产生的时间维度下的信息,生成所述当前登录账号的安全程度指标。In one embodiment, the first generating module is configured to: generate information in the time dimension generated when the login password is set based on the length information of the login password, character type information, and generate the security of the current login account. Degree index.
在一实施方式中,所述第一生成模块设置为:基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标,其中,所述登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,所述修改时间跨度为相邻两次密码修改操作之间的时间段。In one embodiment, the first generation module is set to: based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, within a preset time period The first number of times that the password is allowed to be entered incorrectly, and the second number of times that the password is allowed to be entered incorrectly within the expiration period, generate a security level indicator of the current login account, where the expiration period of the login password represents a preset login password The difference between the expiration time and the time to modify the login password, and the modification time span is the time period between two adjacent password modification operations.
在一实施方式中,所述第一生成模块设置为:利用预设的计算规则,生成所述当前登录账号的安全程度指标,所述计算规则包括:所述密码长度、所述密码字符种类、所述修改时间跨度、所述过期时长、所述第一次数、所述第二次数各自对应的细分指标计算规则。In one embodiment, the first generating module is configured to generate a security level indicator of the current login account by using a preset calculation rule, and the calculation rule includes: the password length, the password character type, The subdivision index calculation rules corresponding to the modification time span, the expiration time length, the first number of times, and the second number of times.
在一实施方式中,所述装置还包括:第二获取模块,设置为在接收针对所述当前账号的登录密码的修改指令的情况下,获取修改所述登录密码时的第一时刻,并计算所述第一时刻的修改时间跨度;第二生成模块,设置为利 用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标。In one embodiment, the device further includes: a second obtaining module configured to obtain the first moment when the login password is modified in the case of receiving a modification instruction for the login password of the current account, and calculate The modification time span at the first moment; the second generation module is configured to use the corresponding relationship between each modification time span in the calculation rule and the subdivision index to generate the detail corresponding to the modification time span at the first moment Sub-indices.
在一实施方式中,所述装置还包括:第三生成模块,设置为基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、所述第一次数、所述第二次数各自对应的细分指标,生成修改后的当前登录密码的安全程度指标。In one embodiment, the device further includes: a third generation module, configured to be based on the password length, password character type, time span, expiration time, the first number of times, and the first number of passwords based on the modified current login password. The subdivision index corresponding to each of the two times generates the security degree index of the modified current login password.
在一实施方式中,所述装置还包括:计算模块,设置为利用如下表达式计算所述第二次数对应的中间指标:A=B%*C,其中,所述中间指标用于表示所述第二次数与所述过期时长之间的关系,A表示所述中间指标,B表示所述第二次数,C表示所述过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数;利用所述中间指标及预设的细分指标计算规则,计算所述第二次数的细分指标。In an embodiment, the device further includes: a calculation module configured to calculate an intermediate index corresponding to the second number of times by using the following expression: A=B%*C, wherein the intermediate index is used to represent the The relationship between the second number of times and the expiration time, A represents the intermediate indicator, B represents the second number, and C represents the expiration time. When the intermediate indicator is a decimal number, the intermediate indicator is rounded to one. Converted to an integer; using the intermediate index and a preset subdivision index calculation rule to calculate the subdivision index of the second number of times.
第三方面,本申请实施例提供了一种电子设备,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令以实现上述第一方面提供的信息展示方法的方法步骤。In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processing The device executes the machine executable instructions to implement the method steps of the information display method provided in the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时,实现上述第一方面提供的信息展示方法的方法步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium that stores a computer program in the computer-readable storage medium. When the computer program is executed by a processor, the information display provided in the first aspect is realized. Method steps of the method.
第五方面,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面提供的信息展示方法的方法步骤。In the fifth aspect, the embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method steps of the information display method provided in the first aspect.
第六方面,本申请实施例还提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面提供的信息展示方法的方法步骤。In the sixth aspect, the embodiments of the present application also provide a computer program, which when running on a computer, causes the computer to execute the method steps of the information display method provided in the first aspect.
本申请实施例提供的一种信息展示方法、展示装置、电子设备及存储介质,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全 程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。当然,实施本申请的任一产品或方法必不一定需要同时达到以上的所有优点。The information display method, display device, electronic equipment, and storage medium provided by the embodiments of the present application can generate the security index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where , The information in different dimensions includes: the attribute information of the login password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the current login account security index, not only the login password itself is considered The attribute information also considers the information related to the password setting operation, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user. Of course, implementing any product or method of the present application does not necessarily need to achieve all the above advantages at the same time.
附图说明Description of the drawings
为了更清楚地说明本申请实施例和相关技术的技术方案,下面对实施例和相关技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions of the embodiments of the present application and related technologies, the following briefly introduces the drawings that need to be used in the embodiments and related technologies. Obviously, the drawings in the following description are only of the present application. For some embodiments, those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的信息展示方法的一种流程示意图;FIG. 1 is a schematic flow chart of an information display method provided by an embodiment of this application;
图2为本申请实施例提供的信息展示方法的另一种流程示意图;FIG. 2 is a schematic diagram of another flow of an information display method provided by an embodiment of this application;
图3为本申请实施例提供的信息展示装置的一种结构示意图;FIG. 3 is a schematic structural diagram of an information display device provided by an embodiment of this application;
图4为本申请实施例提供的信息展示装置的另一种结构示意图;4 is a schematic diagram of another structure of an information display device provided by an embodiment of the application;
图5为本申请实施例提供的信息展示装置的再一种结构示意图;FIG. 5 is a schematic diagram of still another structure of the information display device provided by an embodiment of the application;
图6为本申请实施例提供的信息展示装置的第四种结构示意图;FIG. 6 is a schematic diagram of a fourth structure of an information display device provided by an embodiment of this application;
图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
准确地反映登录密码的安全程度,能够帮助用户对登录密码进行安全管理,有效减少账号被盗用的情况。为了能够更加准确地反映登录密码的安全程度,如图1所示,本申请实施例提供了一种信息展示方法,该方法可以包括 以下步骤:Accurately reflect the degree of security of the login password, which can help users to safely manage the login password and effectively reduce account theft. In order to more accurately reflect the security level of the login password, as shown in FIG. 1, an embodiment of the present application provides an information display method, which may include the following steps:
S101,获取当前账号的登录密码。S101: Obtain the login password of the current account.
本申请实施例的信息展示方法可以通过电子设备实现,例如,该电子设备可以为用于管理账号的账号服务器,账号服务器的具体结构可以参见相关技术中的服务器结构,此处不做具体限定。The information display method of the embodiment of the present application may be implemented by an electronic device. For example, the electronic device may be an account server for managing accounts. For the specific structure of the account server, refer to the server structure in the related technology, which is not specifically limited here.
本申请实施例中,电子设备在接收到用户的账号登录指令后,可以获取当前账号的登录密码,例如,获取账号登录指令中携带的登录密码。所说的账号服务器可以是用于管理账号登录的服务器,所说的当前账号可以是当前用户登录使用的账号,例如,登录云服务平台使用的账号,其中,电子设备可以是账号服务器,也可以是其他具有计算能力的设备。In the embodiment of the present application, after receiving the user's account login instruction, the electronic device may obtain the login password of the current account, for example, obtain the login password carried in the account login instruction. The account server may be a server used to manage account logins, and the current account may be an account used by the current user to log in, for example, an account used to log in to a cloud service platform, where the electronic device may be an account server or It is other devices with computing capabilities.
S102,基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标。S102: Based on information in different dimensions of the login password, generate a security degree index of the current login account.
在获取当前账号的登录密码后,可以提取登录密码中的信息,本申请实施例中可以提取登录密码不同维度下的信息,例如,登录密码自身的属性信息,以及与密码设置操作相关的信息。可以理解的是,登录密码自身的属性信息可以是指登录密码自身固有的信息,例如,登录密码的长度,登录密码中所包含的字符种类;在一实施方式中,在其他维度信息相同的情况下,登录密码的长度越长,登录账号的安全程度指标表示越安全;在其他维度信息相同的情况下,登录密码中所包含的字符种类越多,登录账号的安全程度指标表示越安全。与密码设置操作相关的信息可以是指在对登录密码进行设置等操作时产生的信息,通常可以是用户设置的,根据用户的设置生成,例如,设置登录密码的修改时间跨度,设置登录密码的过期时长,设置在单元时间段内密码允许输入错误的次数,设置上述过期时长内密码允许输入错误的次数等;在一实施方式中,在其他维度信息相同的情况下,登录密码的修改时间跨度越短,登录账号的安全程度指标表示越安全;在其他维度信息相同的情况下,登录密码的过期时长越短,登录账号的安全程度指标表示越安全;在其他维度信息相同的情况下,单元时间段内密码允许输入错误的次数越少,登录账号的安全程度指标表示越安全;在其他维度信息相同的情况下,过期时长内密码允许输入错误的次数越少,登录账号的安全程度指标表示越安全。 可见,上述信息都可以是在对登录密码进行设置操作过程中产生的。After the login password of the current account is obtained, the information in the login password can be extracted. In the embodiment of the application, the information in different dimensions of the login password can be extracted, for example, the attribute information of the login password itself and the information related to the password setting operation. It is understandable that the attribute information of the login password itself can refer to the inherent information of the login password itself, for example, the length of the login password, and the types of characters contained in the login password; in one embodiment, when other dimensions of information are the same Below, the longer the length of the login password, the more secure the login account’s security indicator; when other dimensions of information are the same, the more characters contained in the login password, the more secure the login account’s security indicator. The information related to the password setting operation can refer to the information generated when the login password is set and other operations, usually it can be set by the user, generated according to the user's setting, for example, setting the login password modification time span, setting the login password Expiration time, set the number of times that the password is allowed to be entered incorrectly within the unit time period, set the number of times that the password is allowed to be entered incorrectly within the above expiration time, etc.; in one embodiment, when other dimensions of information are the same, the login password modification time span The shorter is, the more secure the login account’s security indicator is; when other dimensions of information are the same, the shorter the expiration time of the login password is, the more secure the login account’s security indicator is; if the information on other dimensions is the same, the unit The fewer times the password is allowed to be entered incorrectly during the time period, the safer the login account’s security level indicator is; if other dimensions of information are the same, the fewer the number of times the password is allowed to be entered incorrectly within the expiration time, the login account’s security indicator indicates The safer. It can be seen that all the above information can be generated during the process of setting the login password.
当得到登录密码不同维度下的信息后,电子设备便可以利用这些信息计算当前登录账号的安全程度,从而生成当前登录账号的安全程度指标。After obtaining the information in different dimensions of the login password, the electronic device can use the information to calculate the security degree of the current login account, thereby generating a security degree indicator of the current login account.
S103,向用户展示安全程度指标。S103: Display a safety degree index to the user.
当生成当前登录账号的安全程度指标后,本申请实施例可以向用户展示该安全程度指标,以使用户根据该安全程度指标得知当前登录账号的安全程度,从而具有良好的用户体验。例如,可以向用户使用的终端设备,如手机、电脑等发送携带安全程度指标的信息,以使终端设备展示该安全程度指标。After the security level indicator of the currently logged-in account is generated, this embodiment of the present application can display the security level indicator to the user, so that the user knows the security level of the currently logged-in account according to the security level indicator, thereby having a good user experience. For example, the terminal device used by the user, such as a mobile phone, a computer, etc., may send information carrying a security level indicator, so that the terminal device can display the security level indicator.
在本申请实施例的一种实施方式中,除了向用户展示安全程度指标外,还可以展示该安全程度指标对应的安全等级,其中,安全程度指标与安全等级的对应关系可以如表1所示。In an implementation manner of the embodiments of the present application, in addition to displaying the security level indicator to the user, the security level corresponding to the security level indicator can also be displayed. The corresponding relationship between the security level indicator and the security level can be shown in Table 1. .
表1 不同安全程度指标与安全等级的对应关系Table 1 Correspondence between different security level indicators and security levels
Figure PCTCN2020131055-appb-000001
Figure PCTCN2020131055-appb-000001
如表1所示,安全等级可以由高到低依次划分为安全、强、中、弱、危险5个等级,对应的安全程度指标分别为90~100,80~90,70~80,60~70,小于60,可见,随着安全等级的降低,其安全程度指标也随之降低。在一实施方式中,本申请实施例还可以在展示安全等级时,相应的展示各安全等级的颜色,例如,对于安全等级“安全”可以以深绿表示,对于安全等级“强”可以以浅绿表示,对于安全等级“中”可以以黄色表示,对于安全等级“弱”可以以橘黄表示。此处的安全等级与颜色的对应表示仅为举例,可以根据实际情况自定义设置,一种实施方式中,对于安全等级“危险”可以以醒目的红色表示,以更好地提醒用户。As shown in Table 1, the safety level can be divided into five levels: safe, strong, medium, weak, and dangerous from high to low. The corresponding safety indicators are 90-100, 80-90, 70-80, 60- 70, less than 60, it can be seen that as the safety level decreases, the safety index also decreases. In one embodiment, the embodiment of the present application may also display the color of each security level when displaying the security level. For example, for the security level "safe", it can be represented by dark green, and for the security level "strong", it can be represented by light green. For the safety level "medium" can be expressed in yellow, for the safety level "weak" can be expressed in orange. The corresponding representation of the security level and the color here is only an example, and the setting can be customized according to the actual situation. In one implementation, the security level "danger" can be displayed in eye-catching red to better remind the user.
在本申请实施例的一种实施方式中,上述登录密码不同维度下的信息可以包括:登录密码的长度信息、字符种类信息,上述与密码设置操作相关的信息可以包括:设置登录密码时产生的时间维度下的信息,则本申请实施例 可以在获取上述登录密码的长度信息、字符种类信息、设置登录密码时产生的时间维度下的信息后,利用这些信息生成当前登录账号的安全程度指标,该指标可以以分数的形式体现。由于在生成当前登录账号的安全程度指标的过程中,不仅考虑了登录密码的长度、字符种类,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面。In an implementation of the embodiment of the present application, the information in different dimensions of the login password may include: length information of the login password and character type information, and the information related to the password setting operation may include: generated when the login password is set Information in the time dimension, this embodiment of the application can use the information to generate the security degree index of the current login account after obtaining the length information of the login password, the character type information, and the information in the time dimension generated when the login password is set. This indicator can be embodied in the form of scores. In the process of generating the security index of the current login account, not only the length and character types of the login password are considered, but also the information related to the password setting operation is considered. Therefore, the information referred to in the process of generating the security index of the login password More comprehensive.
在本申请实施例的一种实施方式中,上述设置登录密码时产生的时间维度下的信息可以包括:登录密码的修改时间跨度,登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,过期时长内密码允许输入错误的第二次数,则本申请实施例可以利用登录密码的密码长度,密码字符种类,以及上述登录密码的修改时间跨度,登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,过期时长内密码允许输入错误的第二次数,生成当前登录账号的安全程度指标。In an implementation manner of the embodiment of the present application, the information in the time dimension generated when the login password is set may include: the modification time span of the login password, the expiration time of the login password, and the password is allowed to be entered incorrectly within a preset time period. The first number of times, the second number of times that the password is allowed to be entered incorrectly within the expiration time, the embodiment of this application can use the password length of the login password, the type of password characters, and the modification time span of the above login password, the expiration time of the login password, and the Set the first number of incorrect password entries within the time period and the second number of incorrect password entries within the expiration period to generate an indicator of the security level of the current login account.
其中,上述登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,例如,本次修改登录密码的时间为2019年12月1日,用户设置的登录密码过期时间为2020年1月1日,则登录密码的过期时长为31天。Among them, the above login password expiration time represents the difference between the preset login password expiration time and the time to modify the login password. For example, the login password modification time is December 1, 2019, and the login password set by the user expires The time is January 1, 2020, and the expiration time of the login password is 31 days.
上述修改时间跨度为相邻两次密码修改操作之间的时间段,例如,本次修改登录密码的时间为2019年12月1日,上一次修改登录密码的时间为2019年11月20日,则修改时间跨度为11天。The above-mentioned modification time span is the time period between two consecutive password modification operations. For example, the time of this modification of the login password is December 1, 2019, and the last modification of the login password is November 20, 2019. The modification time span is 11 days.
在本申请实施例的一种实施方式中,可以利用预设的计算规则,生成当前登录账号的安全程度指标,计算规则包括:密码长度、密码字符种类、修改时间跨度、过期时长、上述第一次数、上述第二次数各自对应的细分指标计算规则。在一实施方式中,当前登录账号的安全程度指标可以利用:登录密码自身的属性信息中至少一个维度信息的细分指标的得分,以及与密码设置操作相关的信息中至少一个维度信息的细分指标的得分来共同表示。例如,当前登录账号的安全程度指标可以为登录密码自身的属性信息以及与密码设置操作相关的信息中各维度信息的细分指标得分的和或加权和。In an implementation manner of the embodiment of the present application, preset calculation rules can be used to generate the security level index of the current login account. The calculation rules include: password length, password character type, modification time span, expiration time, and the first mentioned above. The subdivision index calculation rules corresponding to the times and the second times mentioned above. In one embodiment, the security degree index of the current login account can be used: the score of at least one dimension information segmentation index in the attribute information of the login password itself, and the segmentation of at least one dimension information segmentation of the information related to the password setting operation The scores of the indicators are collectively expressed. For example, the security degree index of the current login account may be the sum or weighted sum of the attribute information of the login password itself and the subdivision index scores of each dimension information in the information related to the password setting operation.
下面将对各细分指标计算规则进行详细描述。The calculation rules of each subdivision index will be described in detail below.
在一实施方式中,对于密码长度的细分指标,它的计算规则可以为:当用户设置的密码长度大于或等于预设长度阈值时,得到该细分指标下的满分指标,设置的密码长度相对于预设长度阈值每减少预设长度,则在第一满分指标基础上减少第一预设分数,直至降低至第一预设分数阈值不再降低。当然,技术人员可以根据实际业务需求合理设置上述预设长度、第一预设分数、第一预设分数阈值,具体数值本申请实施例不做限定。In one embodiment, for the subdivision index of password length, its calculation rule may be: when the password length set by the user is greater than or equal to the preset length threshold, the full score index under the subdivision index is obtained, and the set password length With respect to the preset length threshold, each time the preset length is reduced, the first preset score is reduced on the basis of the first full score index until the first preset score threshold is no longer reduced. Of course, the technician can reasonably set the aforementioned preset length, first preset score, and first preset score threshold according to actual business requirements, and the specific values are not limited in this embodiment of the application.
示例性地,以密码长度为8~32位可选区间为例说明,用户所设置的密码长度大于或等于18位,得到第一满分指标10分,密码长度每减少两位降一分(如密码长度16位则得分为9分),当然也可以每减少一位降0.5分,依此类推,直至降至5分为止后不再降低,即这一项最低为5分。Illustratively, taking the optional interval of 8 to 32 bits in the password length as an example, the password length set by the user is greater than or equal to 18 bits, and the first full score indicator is 10 points, and the password length is reduced by one point for every two digits reduced (e.g. The password length is 16 digits and the score is 9 points), of course, it can also be reduced by 0.5 points for each decrease of one digit, and so on, until it is reduced to 5 points, the minimum is 5 points.
第一满分指标为密码长度对应的满分指标。第一满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为10%,第一满分指标可以为100*10%=10分。The first full score index is the full score index corresponding to the password length. The first full score index may be calculated by the corresponding weight. For example, if the total score index of the safety degree index is 100 points, the corresponding weight is 10%, and the first full score index may be 100*10%=10 points.
在一实施方式中,对于密码字符种类的细分指标,它的计算规则可以为:当用户设置的密码的字符种类小于预设的最低种类阈值时,得到该细分指标下的最低指标,设置的密码字符种类在最低种类阈值的基础上每增加一个,则在最低指标的基础上增加第二预设分数,直至增加至第二满分指标不再增加。当然,技术人员可以根据实际业务需求合理设置上述最低种类阈值、第二预设分数,具体数值本申请实施例不做限定。In one embodiment, for the subdivision index of the password character type, its calculation rule may be: when the character type of the password set by the user is less than the preset minimum type threshold, the lowest index under the subdivision index is obtained, and the Each time the password character type of is increased by one on the basis of the minimum type threshold, the second preset score is increased on the basis of the minimum index, until it is increased to the second full score index and no longer increases. Of course, the technical personnel can reasonably set the above-mentioned minimum category threshold and the second preset score according to actual business requirements, and the specific value is not limited in the embodiment of the present application.
示例性地,用户设置的密码的字符种类小于两类时,如只包含数字或只包含小写字母,得到该细分指标下的最低指标10分,设置的密码字符种类为两类时,在10分的基础上增加10分,得到20分,设置的密码字符种类为三类时,在10分的基础上增加20分,得到30分,其中30分即为第二满分指标,即当设置的密码字符种类超过三类时,仍得30分。Exemplarily, when the character types of the password set by the user are less than two types, such as containing only numbers or only lowercase letters, the minimum index under the subdivision index is 10 points. When the password character types are set to two types, 10 points are obtained. Add 10 points on the basis of points to get 20 points. When the set password character types are three types, add 20 points on the basis of 10 points to get 30 points, of which 30 points is the second full score indicator, that is, when the set If there are more than three types of password characters, 30 points are still awarded.
第二满分指标为密码字符种类对应的满分指标。第二满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为30%,第二满分指标可以为100*30%=30分。The second full score index is the full score index corresponding to the password character type. The second full score index can be calculated by the corresponding weight. For example, if the total full score index of the safety degree index is 100 points, the corresponding weight is 30%, and the second full score index may be 100*30%=30 points.
在一实施方式中,对于修改时间跨度的细分指标,它的计算规则可以为: 修改密码的当前时间和上次修改密码时间比较,当前时间距离上次修改时间越久,则计算出来的细分指标越低。In one embodiment, for the subdivision index of the modification time span, its calculation rule may be: Compare the current time of the password modification with the time of the last modification of the password. The longer the current time is from the last modification time, the calculated subdivision The lower the index.
计算逻辑可以如下:用户修改密码的预设时间段内(如4天内),或者用户初次注册账号时,计算细分指标时都会按第三满分指标15分计算,每经过预设天数(例如4天,不满4天时按4天计算),计算细分指标时的分数则会减去预设数值(例如减去1),依此类推,当经过预设最大天数(60天)后,如果用户还没有再次修改密码,则此项细分指标会降为0分,但不会继续降为负分,修改时间跨度的细分指标对应关系如表2所示。当然,技术人员可以根据实际业务需求合理设置上述预设天数、预设数值,具体数值本申请实施例不做限定。The calculation logic can be as follows: within the preset time period (such as 4 days) when the user changes the password, or when the user registers for the first time, the subdivision index will be calculated according to the third full score index 15 points, and every preset number of days (such as 4 If the number of days is less than 4 days, it will be calculated as 4 days), and the score when calculating the segmentation index will be subtracted from the preset value (for example, minus 1), and so on. After the preset maximum number of days (60 days), if the user If the password has not been changed again, this subdivision index will be reduced to 0 points, but it will not continue to be reduced to negative points. The corresponding relationship of the subdivision indicators for the modified time span is shown in Table 2. Of course, the technician can reasonably set the above-mentioned preset number of days and preset value according to actual business requirements, and the specific value is not limited in the embodiment of this application.
第三满分指标为修改时间跨度对应的满分指标。第三满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为15%,第二满分指标可以为100*15%=15分。The third full score index is the full score index corresponding to the modification time span. The third full score index can be calculated by the corresponding weight. For example, if the total full score index of the safety degree index is 100 points, the corresponding weight is 15%, and the second full score index may be 100*15%=15 points.
表2 修改时间跨度的细分指标对应关系Table 2 Correspondence of subdivision indicators for modification time span
Figure PCTCN2020131055-appb-000002
Figure PCTCN2020131055-appb-000002
在一实施方式中,对于登录密码的过期时长的细分指标,它的计算规则可以为:设定第四满分指标对应的天数(如30天,第四满分指标为15分),则用户设置的过期时间每增加预设天数(例如4天,不满4天时按4天计算),减去第一预设数值(例如减去1),直至降至0分。当然,技术人员可以根据实际业务需求合理设置上述预设天数、第一预设数值,具体数值本申请实施例不做限定。In one embodiment, for the subdivision indicator of the expiration time of the login password, its calculation rule may be: set the number of days corresponding to the fourth full score indicator (for example, 30 days, the fourth full score indicator is 15 points), then the user sets Each time the expiration time of is increased by a preset number of days (for example, 4 days, if it is less than 4 days, it is calculated as 4 days), the first preset value is subtracted (for example, minus 1), until it drops to 0 points. Of course, the technician can reasonably set the above-mentioned preset number of days and the first preset value according to actual business requirements, and the specific value is not limited in this embodiment of the application.
例如,如果用户设置的过期时间为32天,则在15分的基础上减去1分,此项得分为14分,依此类推,如果用户设置的过期时间大于等于90天,刚此项得分将降至0分,但不会继续降为负分。For example, if the expiration time set by the user is 32 days, then 1 point will be subtracted from 15 points, and the score for this item will be 14 points, and so on. If the expiration time set by the user is greater than or equal to 90 days, just this item will be scored. Will drop to 0 points, but will not continue to drop to negative points.
第四满分指标为登录密码的过期时长对应的满分指标。第四满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为15%,第二满分指标可以为100*15%=15分。The fourth full score indicator is the full score indicator corresponding to the expiration time of the login password. The fourth full score index can be calculated by the corresponding weight. For example, if the total full score index of the safety degree index is 100 points, the corresponding weight is 15%, and the second full score index can be 100*15%=15 points.
在一实施方式中,对于预设时间段内密码允许输入错误的第一次数的细分指标,它的计算规则可以为:当用户设置预设时间段内(例如10分钟内)允许输入密码错误次数在预设次数(例如5次)及以内时,则为第五满分指标(例如20分),允许输入错误次数每增加一次,则计算分数减第二预设数值(例如2分),依次类推,直至减为0分,但不会继续降为负分。当然,技术人员可以根据实际业务需求合理设置上述预设时间段内、预设次数、第二预设数值,具体数值本申请实施例不做限定。In one embodiment, for the subdivision index of the first number of times the password is allowed to be entered incorrectly in a preset time period, its calculation rule may be: when the user sets a preset time period (for example, within 10 minutes), the password input is allowed When the number of errors is within the preset number (e.g. 5), it is the fifth full mark indicator (e.g. 20 points). For each increase in the number of allowed input errors, the score will be calculated minus the second preset value (e.g. 2 points). By analogy, until it is reduced to 0 points, it will not continue to be reduced to negative points. Of course, the technician can reasonably set the above-mentioned preset time period, preset number of times, and second preset value according to actual business requirements, and the specific value is not limited in the embodiment of this application.
第五满分指标为第一次数对应的满分指标。第五满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为20%,第二满分指标可以为100*20%=20分。The fifth full score index is the full score index corresponding to the first time. The fifth full score index can be calculated by the corresponding weight. For example, if the total full score index of the safety degree index is 100 points, the corresponding weight is 20%, and the second full score index can be 100*20%=20 points.
在一实施方式中,对于过期时长内密码允许输入错误的第二次数的细分指标,它的计算规则可以为:先确定第二次数与过期时长的关系,从而得到中间指标,然后根据中间指标的大小,确定细分指标,当中间指标小于或等于第三预设数值(例如3)时,得到该细分指标下的第六满分指标(例如10分),当中间指标每增加1(不足1的按1计算,采取进位方式,例如,当中间指标的值为3.2,把3.2进位至4),则在第六满分指标的基础上减1,直至减为0分,但不会继续降为负分。当然,技术人员可以根据实际业务需求合理设置上述第三预设数值,具体数值本申请实施例不做限定。In one embodiment, for the subdivision index of the second number of times the password is allowed to be entered incorrectly during the expiration time, its calculation rule may be: first determine the relationship between the second number of times and the expiration time, so as to obtain the intermediate index, and then according to the intermediate index Determine the subdivision index. When the intermediate index is less than or equal to the third preset value (for example, 3), the sixth full score index (for example, 10 points) under the subdivision index is obtained. When the intermediate index increases by 1 (less than 1 is calculated as 1, and the rounding method is adopted. For example, when the value of the intermediate indicator is 3.2, round 3.2 to 4), then subtract 1 from the sixth full-point indicator until it is reduced to 0 points, but it will not continue to drop. For negative points. Of course, the technician can reasonably set the aforementioned third preset value according to actual business requirements, and the specific value is not limited in the embodiment of the present application.
第六满分指标为第二次数对应的满分指标。第六满分指标可以通过对应的权重计算得到,例如,如果安全程度指标的总满分指标为100分,对应的权重为10%,第二满分指标可以为100*10%=10分。The sixth full score index is the full score index corresponding to the second time. The sixth full score index can be calculated by the corresponding weight. For example, if the total full score index of the safety degree index is 100 points, the corresponding weight is 10%, and the second full score index may be 100*10%=10 points.
在本申请实施例的一种实施方式中,可以利用如下表达式计算第二次数对应的中间指标:In an implementation manner of the embodiment of the present application, the following expression may be used to calculate the intermediate index corresponding to the second order:
A=B%*CA=B%*C
其中,中间指标用于表示第二次数与过期时长之间的关系,A表示中间指 标,B表示第二次数,C表示过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数,即向上取整,然后利用中间指标及上述预设的细分指标计算规则,计算过期时长内密码允许输入错误的第二次数的细分指标。Among them, the intermediate indicator is used to indicate the relationship between the second time and the expiration time. A represents the intermediate indicator, B represents the second time, and C represents the expiration time. When the intermediate indicator is a decimal number, the intermediate indicator is normalized by a rounding method. It is an integer, that is, rounded up, and then the intermediate index and the above-mentioned preset segmentation index calculation rule are used to calculate the segmentation index for the second number of times the password is allowed to be entered incorrectly during the expiration period.
在本申请实施例的一种实施方式中,如图2所示,在接收针对当前账号的登录密码的修改指令的情况下,本申请实施例的信息展示方法还可以包括:In an implementation manner of the embodiment of the present application, as shown in FIG. 2, in the case of receiving a modification instruction for the login password of the current account, the information display method of the embodiment of the present application may further include:
S201,获取修改登录密码时的第一时刻,并计算第一时刻的修改时间跨度。S201: Obtain the first moment when the login password is modified, and calculate the modification time span at the first moment.
电子设备可以根据接收到针对当前账号的登录密码的修改指令的时刻,得到修改登录密码时的第一时刻,并确定上次修改登录密码的第二时刻,从而确定第一时刻的修改时间跨度。The electronic device can obtain the first moment when the login password is modified according to the moment when the login password modification instruction for the current account is received, and determine the second moment when the login password was last modified, thereby determining the modification time span of the first moment.
S202,利用计算规则中的各修改时间跨度与细分指标的对应关系,生成第一时刻的修改时间跨度所对应的细分指标。S202: Use the corresponding relationship between each modification time span in the calculation rule and the subdivision index to generate a subdivision index corresponding to the modification time span at the first moment.
如前述实施例表2所示的内容,当确定第一时刻的修改时间跨度后,便可以根据该修改时间跨度与各细分指标的对应关系,生成第一时刻的修改时间跨度所对应的细分指标。As shown in Table 2 of the foregoing embodiment, after the modification time span at the first moment is determined, the detail corresponding to the modification time span at the first moment can be generated according to the corresponding relationship between the modification time span and each subdivision index. Sub-indices.
在本申请实施例的一种实施方式中,当用户对登录密码修改后,本申请实施例还可以基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、第一次数、第二次数各自对应的细分指标,生成修改后的当前登录密码的安全程度指标,并展示该安全程度指标,这样,当每次用户修改登录密码后,本申请实施例都可以重新确定安全程度指标,使用户及时得知当前安全程度指标的安全程度,使信息展示过程更加人性化。In an implementation manner of the embodiment of the present application, after the user modifies the login password, the embodiment of the present application may also be based on the modified password length of the current login password, the type of password characters, the time span, the expiration time, and the first time. The subdivision indicators corresponding to the number and the second number respectively, generate the modified current login password security indicator, and display the security indicator, so that every time the user changes the login password, the embodiment of this application can be re-determined The safety index enables users to know the safety degree of the current safety index in time, and makes the information display process more humane.
本申请实施例提供的一种信息展示方法,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更 加全面,从而更加准确地向用户反映登录密码的安全程度。The information display method provided by the embodiment of this application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
相应于上面的方法实施例,本申请实施例还提供了相应的装置实施例。Corresponding to the above method embodiments, the embodiments of the present application also provide corresponding device embodiments.
如图3所示,本申请实施例提供了一种信息展示装置,包括:As shown in FIG. 3, an embodiment of the present application provides an information display device, including:
第一获取模块301,设置为获取当前账号的登录密码。The first obtaining module 301 is configured to obtain the login password of the current account.
第一生成模块302,设置为基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息。The first generating module 302 is configured to generate a security degree index of the current login account based on information in different dimensions of the login password. The information in different dimensions includes: attribute information of the login password itself and information related to password setting operations.
展示模块303,设置为向用户展示安全程度指标。The display module 303 is configured to display the security level index to the user.
在一种可能的实施方式中,上述第一生成模块设置为:基于登录密码的长度信息,字符种类信息,设置登录密码时产生的时间维度下的信息,生成当前登录账号的安全程度指标。In a possible implementation manner, the above-mentioned first generation module is configured to generate the security degree index of the current login account based on the length information of the login password, the character type information, and the information in the time dimension generated when the login password is set.
在一种可能的实施方式中,上述第一生成模块设置为:基于登录密码的密码长度,密码字符种类,登录密码的修改时间跨度,登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,过期时长内密码允许输入错误的第二次数,生成当前登录账号的安全程度指标,其中,登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,修改时间跨度为相邻两次密码修改操作之间的时间段。In a possible implementation manner, the above-mentioned first generation module is set to: based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, and the password is allowed to be entered incorrectly within a preset time period The first number of times that the password is allowed to be entered incorrectly during the expiration time, the second number of times that the password is allowed to be entered incorrectly within the expiration time, and the security level indicator of the current login account is generated. Difference, the modification time span is the time period between two consecutive password modification operations.
在一种可能的实施方式中,上述第一生成模块设置为:利用预设的计算规则,生成当前登录账号的安全程度指标,计算规则包括:密码长度、密码字符种类、修改时间跨度、过期时长、第一次数、第二次数各自对应的细分指标计算规则。In a possible implementation manner, the above-mentioned first generation module is configured to generate a security index of the current login account by using preset calculation rules. The calculation rules include: password length, password character type, modification time span, and expiration time , The calculation rules of subdivision indicators corresponding to the first and second times.
在一种可能的实施方式中,在图3所示装置结构的基础上,如图4所示,本申请实施例的信息展示装置还可以包括:In a possible implementation manner, based on the device structure shown in FIG. 3, as shown in FIG. 4, the information display device of the embodiment of the present application may further include:
第二获取模块401,设置为在接收针对当前账号的登录密码的修改指令的情况下,获取修改登录密码时的第一时刻,并计算第一时刻的修改时间跨度。The second acquiring module 401 is configured to acquire the first moment when the login password is modified in the case of receiving a modification instruction for the login password of the current account, and calculate the modification time span at the first moment.
第二生成模块402,设置为利用计算规则中的各修改时间跨度与细分指标的对应关系,生成第一时刻的修改时间跨度所对应的细分指标。The second generating module 402 is configured to use the corresponding relationship between each modification time span in the calculation rule and the subdivision index to generate the subdivision index corresponding to the modification time span at the first moment.
在一种可能的实施方式中,在图4所示装置结构的基础上,如图5所示,本申请实施例的信息展示装置还可以包括:In a possible implementation manner, based on the device structure shown in FIG. 4, as shown in FIG. 5, the information display device of the embodiment of the present application may further include:
第三生成模块501,设置为基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、第一次数、第二次数各自对应的细分指标,生成修改后的当前登录密码的安全程度指标。The third generation module 501 is set to generate the modified current login based on the modified current login password’s password length, password character type, time span, expiration time, the first number of times, and the second number of corresponding subdivision indicators. An indicator of the security level of the password.
在一种可能的实施方式中,在图3所示装置结构的基础上,如图6所示,本申请实施例的信息展示装置还可以包括:In a possible implementation manner, based on the device structure shown in FIG. 3, as shown in FIG. 6, the information display device of the embodiment of the present application may further include:
计算模块601,设置为利用如下表达式计算第二次数对应的中间指标:The calculation module 601 is configured to calculate the intermediate index corresponding to the second number of times by using the following expression:
A=B%*CA=B%*C
其中,中间指标用于表示第二次数与过期时长之间的关系,A表示中间指标,B表示第二次数,C表示过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数;利用中间指标及预设的细分指标计算规则,计算第二次数的细分指标。Among them, the intermediate indicator is used to indicate the relationship between the second time and the expiration time. A represents the intermediate indicator, B represents the second time, and C represents the expiration time. When the intermediate indicator is a decimal number, the intermediate indicator is normalized by a rounding method. It is an integer; the intermediate index and the preset subdivision index calculation rule are used to calculate the second subdivision index.
本申请实施例提供的一种信息展示装置,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。An information display device provided by an embodiment of the present application can generate a security level indicator of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
本申请实施例还提供了一种电子设备,可以为服务器,如图7所示,该电子设备700包括处理器701和机器可读存储介质702,机器可读存储介质存储有能够被处理器执行的机器可执行指令,处理器执行机器可执行指令实现以下步骤:An embodiment of the present application also provides an electronic device, which may be a server. As shown in FIG. 7, the electronic device 700 includes a processor 701 and a machine-readable storage medium 702. The machine-readable storage medium stores data that can be executed by the processor. The machine executable instructions of the processor execute the machine executable instructions to implement the following steps:
获取当前账号的登录密码;Get the login password of the current account;
基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息;Based on the information in different dimensions of the login password, generate the security index of the current login account. The information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
向用户展示安全程度指标。Show users safety indicators.
在一实施方式中,本申请实施例的电子设备还包括通信接口和通信总线,其中,处理器701,通信接口,机器可读存储介质702通过通信总线完成相互间的通信。In an implementation manner, the electronic device of the embodiment of the present application further includes a communication interface and a communication bus. The processor 701, the communication interface, and the machine-readable storage medium 702 communicate with each other through the communication bus.
在一实施方式中,上述处理器701用于执行上述机器可读存储介质702中的机器可执行指令时,还能够实现上述任意一种信息展示方法。In one embodiment, when the processor 701 is configured to execute the machine-executable instructions in the machine-readable storage medium 702, it can also implement any of the foregoing information display methods.
上述电子设备提到的通信总线可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus or the like. The communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above-mentioned electronic device and other devices.
机器可读存储介质可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。在一实施方式中,存储器还可以是至少一个位于远离前述处理器的存储装置。The machine-readable storage medium may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. In an embodiment, the memory may also be at least one storage device located far away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP for short) , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
本申请实施例提供的电子设备,在获取当前账号的登录密码后,能够基 于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。After obtaining the login password of the current account, the electronic device provided by the embodiment of the application can generate the security index of the current login account based on the information in different dimensions of the login password. Among them, the information in different dimensions includes: the login password itself Attribute information, as well as information related to password setting operations, to show users the degree of security. When generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the related password setting operations are considered. Therefore, the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时,用以执行如下步骤:The embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, it is used to perform the following steps:
获取当前账号的登录密码;Get the login password of the current account;
基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息;Based on the information in different dimensions of the login password, generate the security index of the current login account. The information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
向用户展示安全程度指标。Show users safety indicators.
在一实施方式中,上述计算机程序被处理器执行时,还能够实现上述任意一种信息展示方法。In one embodiment, when the above-mentioned computer program is executed by the processor, it can also implement any one of the above-mentioned information display methods.
本申请实施例提供的计算机可读存储介质,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。The computer-readable storage medium provided by the embodiment of the present application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行以下步骤:The embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the following steps:
获取当前账号的登录密码;Get the login password of the current account;
基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息;Based on the information in different dimensions of the login password, generate the security index of the current login account. The information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
向用户展示安全程度指标。Show users safety indicators.
在一实施方式中,上述计算机程序产品在计算机上运行时,还能够实现上述任意一种信息展示方法。In one embodiment, when the computer program product is run on a computer, it can also implement any of the information display methods described above.
本申请实施例提供的包含指令的计算机程序产品,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。The computer program product containing instructions provided by the embodiments of the present application can generate the security degree index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: The attribute information of the login password itself, as well as the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password Set the information related to the operation, so the information referenced in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
本申请实施例还提供了一种计算机程序,当其在计算机上运行时,使得计算机执行以下步骤:The embodiment of the present application also provides a computer program, which when running on a computer, causes the computer to perform the following steps:
获取当前账号的登录密码;Get the login password of the current account;
基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息;Based on the information in different dimensions of the login password, generate the security index of the current login account. The information in different dimensions includes: the attribute information of the login password itself and the information related to the password setting operation;
向用户展示安全程度指标。Show users safety indicators.
在一实施方式中,上述计算机程序在计算机上运行时,还能够实现上述任意一种信息展示方法。In one embodiment, when the computer program is run on a computer, it can also implement any of the information display methods described above.
本申请实施例提供的包含指令的计算机程序,在获取当前账号的登录密码后,能够基于登录密码不同维度下的信息,生成当前登录账号的安全程度指标,其中,不同维度下的信息包括:登录密码自身的属性信息,以及与密码设置操作相关的信息,进而向用户展示安全程度,由于在生成当前登录账号的安全程度指标时,不仅考虑了登录密码自身的属性信息,还考虑了与密 码设置操作相关的信息,因此在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度。The computer program containing instructions provided by the embodiments of this application can generate the security index of the current login account based on the information in different dimensions of the login password after obtaining the login password of the current account, where the information in different dimensions includes: login The attribute information of the password itself, and the information related to the password setting operation, and then show the user the degree of security, because when generating the security index of the current login account, not only the attribute information of the login password itself is considered, but also the password setting Operation-related information, so the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the security of the login password to the user.
对于装置/电子设备/存储介质/计算机程序产品/计算机程序的实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the embodiments of the device/electronic equipment/storage medium/computer program product/computer program, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply one of these entities or operations. There is any such actual relationship or order between. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or equipment that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The foregoing descriptions are only preferred embodiments of the present application, and are not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application are all included in the protection scope of this application.
工业实用性Industrial applicability
本申请提供的一种信息展示方法、展示装置、电子设备及存储介质,能够制造或使用,且在生成登录密码安全程度指标的过程中参考的信息更加全面,从而更加准确地向用户反映登录密码的安全程度,能够产生积极的效果。The information display method, display device, electronic equipment, and storage medium provided in this application can be manufactured or used, and the information referred to in the process of generating the login password security index is more comprehensive, so as to more accurately reflect the login password to the user The degree of safety can have a positive effect.

Claims (16)

  1. 一种信息展示方法,所述方法包括:An information display method, the method includes:
    获取当前账号的登录密码;Get the login password of the current account;
    基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标,所述不同维度下的信息包括:所述登录密码自身的属性信息,以及与密码设置操作相关的信息;Based on the information in different dimensions of the login password, generating the security degree index of the current login account, the information in the different dimensions includes: attribute information of the login password itself, and information related to password setting operations;
    向用户展示所述安全程度指标。Show the user the security level indicator.
  2. 根据权利要求1所述的方法,其中,所述基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标的步骤,包括:The method according to claim 1, wherein the step of generating a security degree indicator of the current login account based on information in different dimensions of the login password comprises:
    基于所述登录密码的长度信息,字符种类信息,设置所述登录密码时产生的时间维度下的信息,生成所述当前登录账号的安全程度指标。Based on the length information of the login password and the character type information, the information in the time dimension generated when the login password is set is generated to generate the security degree index of the current login account.
  3. 根据权利要求1或2所述的方法,其中,所述基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标的步骤,包括:The method according to claim 1 or 2, wherein the step of generating a security degree indicator of the current login account based on information in different dimensions of the login password comprises:
    基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标,其中,所述登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,所述修改时间跨度为相邻两次密码修改操作之间的时间段。Based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, the first number of times the password is allowed to be entered incorrectly within the preset time period, and the expiration time The second number of times that the password is allowed to be entered incorrectly is generated to generate the security level indicator of the current login account, wherein the expiration time of the login password represents the difference between the preset login password expiration time and the time to modify the login password, and The modification time span is the time period between two consecutive password modification operations.
  4. 根据权利要求3所述的方法,其中,所述基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标的步骤,包括:The method according to claim 3, wherein the password is based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, and the password is allowed within a preset time period The first number of incorrect entries, the second number of incorrect password entries within the expiration period, and the step of generating the security level indicator of the current login account includes:
    利用预设的计算规则,生成所述当前登录账号的安全程度指标,所述计算规则包括:所述密码长度、所述密码字符种类、所述修改时间跨度、所述过期时长、所述第一次数、所述第二次数各自对应的细分指标计算规则。Use preset calculation rules to generate a security level indicator for the current login account. The calculation rules include: the password length, the password character type, the modification time span, the expiration time, and the first The subdivision index calculation rules corresponding to each of the times and the second times.
  5. 根据权利要求4所述的方法,其中,在接收针对所述当前账号的登录 密码的修改指令的情况下,所述方法还包括:The method according to claim 4, wherein, in the case of receiving a modification instruction for the login password of the current account, the method further comprises:
    获取修改所述登录密码时的第一时刻,并计算所述第一时刻的修改时间跨度;Obtain the first moment when the login password is modified, and calculate the modification time span at the first moment;
    利用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标。The corresponding relationship between each modification time span and the subdivision index in the calculation rule is used to generate the subdivision index corresponding to the modification time span at the first moment.
  6. 根据权利要求5所述的方法,其中,所述利用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标之后,所述方法还包括:The method according to claim 5, wherein after the corresponding relationship between each modification time span in the calculation rule and a subdivision index is used to generate the subdivision index corresponding to the modification time span at the first moment, The method also includes:
    基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、所述第一次数、所述第二次数各自对应的细分指标,生成修改后的当前登录密码的安全程度指标。Based on the password length of the modified current login password, password character type, time span, expiration time, and subdivision indicators corresponding to each of the first and second times, the security level of the modified current login password is generated index.
  7. 根据权利要求3-6任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 3-6, wherein the method further comprises:
    利用如下表达式计算所述第二次数对应的中间指标:Use the following expression to calculate the intermediate index corresponding to the second number of times:
    A=B%*CA=B%*C
    其中,所述中间指标用于表示所述第二次数与所述过期时长之间的关系,A表示所述中间指标,B表示所述第二次数,C表示所述过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数;Wherein, the intermediate indicator is used to indicate the relationship between the second number of times and the expiration time, A represents the intermediate indicator, B represents the second number of times, and C represents the expiration time, when the intermediate indicator is In the case of decimals, the intermediate index is normalized to an integer by a round;
    利用所述中间指标及预设的细分指标计算规则,计算所述第二次数的细分指标。The intermediate index and the preset subdivision index calculation rule are used to calculate the subdivision index of the second number of times.
  8. 一种信息展示装置,所述装置包括:An information display device, which includes:
    第一获取模块,设置为获取当前账号的登录密码;The first obtaining module is set to obtain the login password of the current account;
    第一生成模块,设置为基于所述登录密码不同维度下的信息,生成所述当前登录账号的安全程度指标,所述不同维度下的信息包括:所述登录密码自身的属性信息,以及与密码设置操作相关的信息;The first generating module is configured to generate the security degree index of the current login account based on the information in different dimensions of the login password. The information in the different dimensions includes: the attribute information of the login password itself and the password Set information related to the operation;
    展示模块,设置为向用户展示所述安全程度指标。The display module is set to display the safety degree index to the user.
  9. 根据权利要求8所述的装置,其中,所述第一生成模块设置为:The device according to claim 8, wherein the first generating module is configured to:
    基于所述登录密码的长度信息,字符种类信息,设置所述登录密码时产生的时间维度下的信息,生成所述当前登录账号的安全程度指标。Based on the length information of the login password and the character type information, the information in the time dimension generated when the login password is set is generated to generate the security degree index of the current login account.
  10. 根据权利要求8或9所述的装置,其中,所述第一生成模块设置为:The device according to claim 8 or 9, wherein the first generating module is configured to:
    基于所述登录密码的密码长度,密码字符种类,所述登录密码的修改时间跨度,所述登录密码的过期时长,预设时间段内密码允许输入错误的第一次数,所述过期时长内密码允许输入错误的第二次数,生成所述当前登录账号的安全程度指标,其中,所述登录密码的过期时长表示预设的登录密码过期时间与修改登录密码时间之间的差值,所述修改时间跨度为相邻两次密码修改操作之间的时间段。Based on the password length of the login password, the type of password characters, the modification time span of the login password, the expiration time of the login password, the first number of times the password is allowed to be entered incorrectly within the preset time period, and the expiration time The second number of times that the password is allowed to be entered incorrectly is generated to generate the security level indicator of the current login account, wherein the expiration time of the login password represents the difference between the preset login password expiration time and the time to modify the login password, and The modification time span is the time period between two consecutive password modification operations.
  11. 根据权利要求10所述的装置,其中,所述第一生成模块设置为:The device according to claim 10, wherein the first generating module is configured to:
    利用预设的计算规则,生成所述当前登录账号的安全程度指标,所述计算规则包括:所述密码长度、所述密码字符种类、所述修改时间跨度、所述过期时长、所述第一次数、所述第二次数各自对应的细分指标计算规则。Use preset calculation rules to generate a security level indicator for the current login account. The calculation rules include: the password length, the password character type, the modification time span, the expiration time, and the first The subdivision index calculation rules corresponding to each of the times and the second times.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    第二获取模块,设置为在接收针对所述当前账号的登录密码的修改指令的情况下,获取修改所述登录密码时的第一时刻,并计算所述第一时刻的修改时间跨度;The second acquiring module is configured to acquire the first moment when the login password is modified in the case of receiving a modification instruction for the login password of the current account, and calculate the modification time span of the first moment;
    第二生成模块,设置为利用所述计算规则中的各修改时间跨度与细分指标的对应关系,生成所述第一时刻的修改时间跨度所对应的细分指标。The second generating module is configured to generate the subdivision index corresponding to the modification time span at the first moment by using the corresponding relationship between each modification time span in the calculation rule and the subdivision index.
  13. 根据权利要求12所述的装置,其中,所述装置还包括:The device according to claim 12, wherein the device further comprises:
    第三生成模块,设置为基于修改后的当前登录密码的密码长度、密码字符种类、时间跨度、过期时长、所述第一次数、所述第二次数各自对应的细分指标,生成修改后的当前登录密码的安全程度指标。The third generation module is set to generate the modified subdivision indicators based on the password length, password character type, time span, expiration time, the first number of times, and the second number of times of the modified current login password. The security index of the current login password.
  14. 根据权利要求10-13任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 10-13, wherein the device further comprises:
    计算模块,设置为利用如下表达式计算所述第二次数对应的中间指标:The calculation module is configured to calculate the intermediate index corresponding to the second number of times by using the following expression:
    A=B%*CA=B%*C
    其中,所述中间指标用于表示所述第二次数与所述过期时长之间的关系,A表示所述中间指标,B表示所述第二次数,C表示所述过期时长,当中间指标为小数时,将中间指标以进位方式归一化为整数;利用所述中间指标及预设的细分指标计算规则,计算所述第二次数的细分指标。Wherein, the intermediate indicator is used to indicate the relationship between the second number of times and the expiration time, A represents the intermediate indicator, B represents the second number of times, and C represents the expiration time, when the intermediate indicator is In the case of a decimal, the intermediate index is normalized to an integer in a rounding manner; the intermediate index and the preset subdivision index calculation rule are used to calculate the subdivision index of the second order.
  15. 一种电子设备,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可执行指令,所述处理器执行所述机器可执行指令以实现权利要求1-7任一项所述的信息展示方法的方法步骤。An electronic device including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement The method steps of the information display method according to any one of claims 1-7.
  16. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7任一项所述的信息展示方法的方法步骤。A computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the method steps of the information display method according to any one of claims 1-7 are realized.
PCT/CN2020/131055 2019-12-13 2020-11-24 Information display method and apparatus, electronic device, and storage medium WO2021115111A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911282909.XA CN110995735A (en) 2019-12-13 2019-12-13 Information display method, display device, electronic equipment and storage medium
CN201911282909.X 2019-12-13

Publications (1)

Publication Number Publication Date
WO2021115111A1 true WO2021115111A1 (en) 2021-06-17

Family

ID=70093483

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131055 WO2021115111A1 (en) 2019-12-13 2020-11-24 Information display method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN110995735A (en)
WO (1) WO2021115111A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995735A (en) * 2019-12-13 2020-04-10 北京金山云网络技术有限公司 Information display method, display device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313696A1 (en) * 2008-06-12 2009-12-17 International Business Machines Corporation Calculating a password strength score based upon character proximity and relative position upon an input device
CN102819701A (en) * 2012-06-29 2012-12-12 北京奇虎科技有限公司 Method and device for prompting password security of form filling component
CN106682489A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Password security detection method, password security reminding method and corresponding devices
CN107229868A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of information security management and control method and system based on storage management system
CN108256317A (en) * 2017-12-05 2018-07-06 西安交大捷普网络科技有限公司 A kind of weak password detection method
CN109726529A (en) * 2017-10-30 2019-05-07 夏普株式会社 Computing device, information processing unit and control method
CN110995735A (en) * 2019-12-13 2020-04-10 北京金山云网络技术有限公司 Information display method, display device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717227B (en) * 2012-06-29 2018-10-09 北京奇虎科技有限公司 A kind of method and apparatus logging in control update log-on message
CN104079409A (en) * 2014-06-10 2014-10-01 百度在线网络技术(北京)有限公司 Account login method and device
CN105809024A (en) * 2014-12-31 2016-07-27 航天信息软件技术有限公司 Password setting method and device
EP3280110A1 (en) * 2016-08-05 2018-02-07 Gemalto Sa A method for generating a modified one-time password allowing to authenticate the user for which it has been generated
CN107563210B (en) * 2017-08-30 2020-08-25 江苏方洋智能科技有限公司 Information processing method, terminal and computer readable storage medium
CN109344604B (en) * 2018-10-23 2020-12-25 杭州安恒信息技术股份有限公司 Method and system for judging password risk of user based on user habit
CN109635557A (en) * 2018-10-24 2019-04-16 平安科技(深圳)有限公司 A kind of secure log control method, device and terminal device
CN110535885A (en) * 2019-09-29 2019-12-03 北京金山云网络技术有限公司 A kind of account management method, device, server, user terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313696A1 (en) * 2008-06-12 2009-12-17 International Business Machines Corporation Calculating a password strength score based upon character proximity and relative position upon an input device
CN102819701A (en) * 2012-06-29 2012-12-12 北京奇虎科技有限公司 Method and device for prompting password security of form filling component
CN106682489A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Password security detection method, password security reminding method and corresponding devices
CN107229868A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of information security management and control method and system based on storage management system
CN109726529A (en) * 2017-10-30 2019-05-07 夏普株式会社 Computing device, information processing unit and control method
CN108256317A (en) * 2017-12-05 2018-07-06 西安交大捷普网络科技有限公司 A kind of weak password detection method
CN110995735A (en) * 2019-12-13 2020-04-10 北京金山云网络技术有限公司 Information display method, display device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110995735A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US9195842B2 (en) Information processing method, apparatus, and system
CN109327439B (en) Risk identification method and device for service request data, storage medium and equipment
US9183195B2 (en) Autocorrecting text for the purpose of matching words from an approved corpus
US20190311031A1 (en) Techniques for automatic proofing of textual data
CN110245488B (en) Method, device, terminal and computer readable storage medium for detecting password strength
US20130346904A1 (en) Targeted key press zones on an interactive display
CN111400755B (en) Index mechanism-based personalized differential privacy protection method and system
WO2021115111A1 (en) Information display method and apparatus, electronic device, and storage medium
CN115688133A (en) Data processing method, device, equipment and storage medium
WO2018233117A1 (en) Method and device for evaluating correction risk factors of business data tables, and storage medium
CN113312560B (en) Group detection method and device and electronic equipment
CN109873788B (en) Botnet detection method and device
US11704392B2 (en) Fraud estimation system, fraud estimation method and program
CN111881304A (en) Author identification method, device, equipment and storage medium
CN116341023B (en) Block chain-based service address verification method, device, equipment and storage medium
CN113238765B (en) Method, device, equipment and storage medium for distributing small program
CN111177661A (en) Copyright authentication method for building information model component and related product
CN115511014B (en) Information matching method, device, equipment and storage medium
CN112560430B (en) Error correction method and device for numerical content in text and electronic equipment
CN113051313B (en) Information aggregation method, apparatus, electronic device, storage medium, and program product
CN118312554A (en) Method, device, equipment, storage medium and program product for generating standing book
CN117640521A (en) Transaction flow determination method, device, equipment and storage medium
CN116049836A (en) Method, device, equipment and storage medium for determining vehicle vulnerability priority
CN115827693A (en) Data checking method and device, terminal equipment and storage medium
CN106708415A (en) Data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20898655

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20898655

Country of ref document: EP

Kind code of ref document: A1