HK1222231B - Method and apparatus for setting password protection question - Google Patents
Method and apparatus for setting password protection question Download PDFInfo
- Publication number
- HK1222231B HK1222231B HK16109971.6A HK16109971A HK1222231B HK 1222231 B HK1222231 B HK 1222231B HK 16109971 A HK16109971 A HK 16109971A HK 1222231 B HK1222231 B HK 1222231B
- Authority
- HK
- Hong Kong
- Prior art keywords
- password
- questions
- password protection
- question
- setting information
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及安全技术领域,特别是涉及一种密码保护问题的设置方法和一种密码保护问题的设置装置。The present application relates to the field of security technology, and in particular to a method for setting a password protection question and a device for setting a password protection question.
背景技术Background Art
随着互联网的发展,具有不同服务功能的平台越来越多,例如,平台可以提供门户网站、即时通讯工具等等,这些平台为人们的生活和工作带来了方便。With the development of the Internet, there are more and more platforms with different service functions. For example, platforms can provide portals, instant messaging tools, etc. These platforms bring convenience to people's lives and work.
用户通常会在平台上注册账号,并设置相应的密码以保证该账号的安全,用户利用账号和密码可以接受该平台提供的服务。例如,用户利用账号和密码可以登陆即时通讯工具,与其他用户进行即时通讯。Users typically register an account on the platform and set a corresponding password to ensure the security of the account. Users use their account and password to receive services provided by the platform. For example, users use their account and password to log in to instant messaging tools and communicate with other users.
用户在设置密码之后,容易就会出现忘记密码或密码被盗的情况,以致无法再使用该账号,并且,该账号里的用户信息会占用大量的存储资源。因此,为了减少由于用户密码丢失造成用户流失和资源占用的情况,平台会利用密码保护问题,对用户的身份进行安全认证。After setting a password, users are prone to forgetting it or having it stolen, which can make the account unusable. Furthermore, the user information in the account will take up a large amount of storage resources. Therefore, in order to reduce user churn and resource usage caused by password loss, the platform will use password protection questions to perform security authentication on the user's identity.
当用户需要对密码进行修改时,平台要求用户对密码保护问题进行回答。当回答正确时,赋予当前用户进行密码重置的权限。When a user needs to change their password, the platform will ask them to answer the password protection question. If the answer is correct, the current user will be granted the right to reset the password.
目前,密码保护问题一般由平台随机提供若干个密码保护问题给用户进行选择,用户对密码保护问题设置相应的答案。Currently, the platform generally randomly provides several password protection questions for users to choose from, and users set corresponding answers to the password protection questions.
由于用户在密码保护问题设置之后,使用的频率比较低,用户很容易忘记自己设置的答案,当需要时,无法正确回答密码保护问题,以至于无法找回密码。Since users rarely use the password protection questions after setting them, they may easily forget the answers they set. When needed, they cannot correctly answer the password protection questions and are unable to retrieve their passwords.
因此,目前需要本领域技术人员迫切解决的一个技术问题就是:如何提供一种密码保护问题的设置机制,提高密码保护问题的实用性,减少无用的用户信息对存储资源的占用。Therefore, a technical problem that needs to be urgently solved by those skilled in the art is: how to provide a setting mechanism for password protection questions, improve the practicality of password protection questions, and reduce the occupation of storage resources by useless user information.
发明内容Summary of the Invention
本申请实施例所要解决的技术问题是提供一种密码保护问题的设置方法,用以提高密码保护问题的实用性,减少无用的用户信息对存储资源的占用。The technical problem to be solved by the embodiments of the present application is to provide a method for setting a password protection question, so as to improve the practicality of the password protection question and reduce the occupation of storage resources by useless user information.
相应的,本申请实施例还提供了一种密码保护问题的设置装置,用以提高密码保护问题的实用性,减少无用的用户信息对存储资源的占用。Correspondingly, an embodiment of the present application also provides a device for setting password protection questions, so as to improve the practicality of password protection questions and reduce the occupation of storage resources by useless user information.
为了解决上述问题,本申请实施例公开了一种密码保护问题的设置方法,包括:In order to solve the above problems, the present invention discloses a method for setting a password protection question, including:
接收针对密码的密码保护问题的设置请求;所述设置请求中包括用户标识;receiving a setting request for a password protection question for a password; the setting request including a user identifier;
提取所述用户标识对应的一个或多个设置信息;Extracting one or more setting information corresponding to the user identifier;
分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;Respectively obtaining one or more password protection questions matching the one or more setting information;
输出所述一个或多个密码保护问题。The one or more password protection questions are output.
优选地,所述设置信息包括偏好信息,所述设置信息通过以下方式获得:Preferably, the setting information includes preference information, and the setting information is obtained in the following manner:
获取所述用户标识对应的行为信息;Obtaining behavior information corresponding to the user identifier;
从所述行为信息中学习偏好信息。Preference information is learned from the behavior information.
优选地,所述提取所述用户标识对应的一个或多个设置信息的步骤包括:Preferably, the step of extracting one or more setting information corresponding to the user identifier includes:
从预置的数据库中提取所述用户标识对应的、在先设定的一个或多个设置信息。One or more previously set setting information corresponding to the user identification is extracted from a preset database.
优选地,所述分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题的步骤包括:Preferably, the step of respectively obtaining one or more password protection questions matching the one or more setting information comprises:
在预置的题库中查找包含所述一个或多个设置信息的一个或多个密码保护问题。One or more password-protected questions containing the one or more setting information are searched in a preset question bank.
优选地,所述分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题的步骤包括:Preferably, the step of respectively obtaining one or more password protection questions matching the one or more setting information comprises:
在预置的题库中查找与所述一个或多个设置信息语义相同的一个或多个密码保护问题;其中,每个保护问题具有对应的类别信息;Searching for one or more password-protected questions with the same semantics as the one or more setting information in a preset question bank; wherein each protection question has corresponding category information;
分别判断所述一个或多个设置信息与所述类别信息是否匹配;若是,则提取所述密码保护问题。Determine whether the one or more setting information matches the category information; if so, extract the password protection question.
优选地,所述分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题的步骤包括:Preferably, the step of respectively obtaining one or more password protection questions matching the one or more setting information comprises:
采用所述一个或多个设置信息生成一个或多个密码保护问题。One or more password-protected questions are generated using the one or more settings information.
优选地,所述方法还包括:Preferably, the method further comprises:
接收针对所述一个或多个密码保护问题的一个或多个第一答案;receiving one or more first answers to the one or more password-protected questions;
分别建立所述一个或多个密码保护问题与所述一个或多个第一答案的关联关系。An association relationship is established between the one or more password-protected questions and the one or more first answers.
优选地,所述方法还包括:Preferably, the method further comprises:
当接收到针对所述密码的修改请求时,输出所述密码对应的一个或多个密码保护问题;When receiving a request to modify the password, outputting one or more password protection questions corresponding to the password;
接收针对所述一个或多个密码保护问题的一个或多个第二答案;receiving one or more second answers to the one or more password-protected questions;
当所述一个或多个第二答案与所述一个或多个密码保护问题关联的一个或多个第一答案相同时,配置修改所述密码的权限。When the one or more second answers are identical to the one or more first answers associated with the one or more password-protected questions, permission to modify the password is configured.
为了解决上述问题,本申请实施例还公开了一种密码保护问题的设置装置,包括:In order to solve the above problems, the present application also discloses a device for setting password protection questions, including:
设置请求接收模块,用于接收针对密码的密码保护问题的设置请求;所述设置请求中包括用户标识;A setting request receiving module, configured to receive a setting request for a password protection question; the setting request includes a user identifier;
设置信息提取模块,用于提取所述用户标识对应的一个或多个设置信息;A setting information extraction module, configured to extract one or more setting information corresponding to the user identifier;
密码保护问题获取模块,用于分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;a password protection question obtaining module, configured to respectively obtain one or more password protection questions matching the one or more setting information;
第一密码保护问题输出模块,用于输出所述一个或多个密码保护问题。The first password protection question output module is configured to output the one or more password protection questions.
优选地,所述设置信息包括偏好信息,所述设置信息通过以下方式获得:Preferably, the setting information includes preference information, and the setting information is obtained in the following manner:
获取所述用户标识对应的行为信息;Obtaining behavior information corresponding to the user identifier;
从所述行为信息中学习偏好信息。Preference information is learned from the behavioral information.
优选地,所述设置信息提取模块包括:Preferably, the setting information extraction module includes:
数据库提取子模块,用于从预置的数据库中提取所述用户标识对应的、在先设定的一个或多个设置信息。The database extraction submodule is used to extract one or more previously set setting information corresponding to the user identification from a preset database.
优选地,所述密码保护问题获取模块包括:Preferably, the password protection question acquisition module includes:
第一查找子模块,用于在预置的题库中查找包含所述一个或多个设置信息的一个或多个密码保护问题。The first search submodule is configured to search a preset question bank for one or more password-protected questions containing the one or more setting information.
优选地,所述密码保护问题获取模块包括:Preferably, the password protection question acquisition module includes:
第二查找子模块,用于在预置的题库中查找与所述一个或多个设置信息语义相同的一个或多个密码保护问题;其中,每个保护问题具有对应的类别信息;A second search submodule is configured to search a preset question bank for one or more password-protected questions having the same semantics as the one or more setting information; wherein each protection question has corresponding category information;
匹配判断子模块,用于分别判断所述一个或多个设置信息与所述类别信息是否匹配;若是,则调用密码保护问题提取子模块;a matching judgment submodule, configured to respectively judge whether the one or more setting information matches the category information; if so, calling a password protection question extraction submodule;
密码保护问题提取子模块,用于提取所述密码保护问题。The password protection question extraction submodule is used to extract the password protection question.
优选地,所述密码保护问题获取模块包括:Preferably, the password protection question acquisition module includes:
密码保护问题生成子模块,用于采用所述一个或多个设置信息生成一个或多个密码保护问题。The password protection question generating submodule is used to generate one or more password protection questions using the one or more setting information.
优选地,所述装置还包括:Preferably, the device further comprises:
第一答案接收模块,用于接收针对所述一个或多个密码保护问题的一个或多个第一答案;a first answer receiving module for receiving one or more first answers to the one or more password-protected questions;
关联关系建立模块,用于分别建立所述一个或多个密码保护问题与所述一个或多个第一答案的关联关系。The association relationship establishing module is used to respectively establish an association relationship between the one or more password-protected questions and the one or more first answers.
优选地,所述装置还包括:Preferably, the device further comprises:
第二密码保护问题输出模块,用于在接收到针对所述密码的修改请求时,输出所述密码对应的一个或多个密码保护问题;a second password protection question output module, configured to output one or more password protection questions corresponding to the password upon receiving a request to modify the password;
第二答案接收模块,用于接收针对所述一个或多个密码保护问题的一个或多个第二答案;a second answer receiving module for receiving one or more second answers to the one or more password-protected questions;
权限配置模块,用于在所述一个或多个第二答案与所述一个或多个密码保护问题关联的一个或多个第一答案相同时,配置修改所述密码的权限。The permission configuration module is configured to configure the permission to modify the password when the one or more second answers are the same as the one or more first answers associated with the one or more password protection questions.
与背景技术相比,本申请实施例包括以下优点:Compared with the background technology, the embodiments of the present application have the following advantages:
本申请实施例针对密码保护问题的设置请求,通过提取用户标识对应的一个或多个设置信息,分别获取与该一个或多个设置信息匹配的一个或多个密码保护问题,由于设置信息可以在一定程度上表征用户的偏好或兴趣,使得在用户进行密码保护问题设置时,可以输出与用户偏好或兴趣相关的密码保护问题,加大用户对密码保护问题的印象,从而减少了用户忘记设置密码保护问题及其答案的情况,提高了密码保护问题的实用性。In an embodiment of the present application, in response to a request to set a password protection question, one or more setting information corresponding to a user identifier is extracted to obtain one or more password protection questions that match the one or more setting information. Since the setting information can represent the user's preferences or interests to a certain extent, when the user sets the password protection question, the password protection question related to the user's preferences or interests can be output, thereby increasing the user's impression of the password protection question, thereby reducing the situation where the user forgets to set the password protection question and its answer, and improving the practicality of the password protection question.
本申请实施例针对密码的修改请求,输出该密码对应的密码保护问题,在该密码保护问题的第二答案与第一答案相同时,允许修改密码,由于密码保护问题可以根据用户的偏好或兴趣设置,用户得以较容易回答密码保护问题,以取回账号的所有权,大大提高了密保操作的简便性,减少了无用的用户信息的出现,进而减少了无用的用户信息对存储资源的占用。In response to a password modification request, an embodiment of the present application outputs a password protection question corresponding to the password. When the second answer to the password protection question is the same as the first answer, the password modification is allowed. Since the password protection question can be set according to the user's preferences or interests, the user can more easily answer the password protection question to regain ownership of the account, which greatly improves the simplicity of password protection operations, reduces the appearance of useless user information, and thereby reduces the storage resources occupied by useless user information.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是一种传统的密码保护问题的设置示例图;FIG1 is a diagram showing an example of a setting of a traditional password protection question;
图2是本申请的一种密码保护问题的设置方法实施例1的步骤流程图;FIG2 is a flowchart of a method for setting a password protection question according to Embodiment 1 of the present application;
图3是本申请的一种密码保护问题的设置方法实施例2的步骤流程图;FIG3 is a flowchart of a method for setting a password protection question according to Embodiment 2 of the present application;
图4是本申请的一种密码保护问题的设置方法的示例图;FIG4 is an example diagram of a method for setting a password protection question of the present application;
图5是本申请的一种密码保护问题的设置装置实施例1的结构框图;FIG5 is a structural block diagram of a device for setting password protection questions according to Embodiment 1 of the present application;
图6是本申请的一种密码保护问题的设置装置实施例2的结构框图。FIG6 is a structural block diagram of a second embodiment of a device for setting password protection questions of the present application.
具体实施方式DETAILED DESCRIPTION
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
在互联网世界中,用户的各种信息通常以一组特定的数据来表示,各类型的网络系统需要通过识别用户的数字身份,以确认开放对应的操作权限。在互联网行业发展初期,密码即是网络系统识别网络中数字身份合法拥有者与操作者(即保证操作者的物理身份和数字身份相对应)的核心要素。In the internet world, user information is typically represented by a specific set of data. Network systems of all types rely on identifying users' digital identities to confirm and grant corresponding operational permissions. In the early days of the internet, passwords were the core element for network systems to identify the legitimate owners and operators of digital identities within the network (i.e., ensuring that the operator's physical and digital identities correspond).
互联网行业发展达入新的高度后,由于计算机系统的开放性和互联性,用户在网络中的数字身份很容易被不法分子利用木马病毒、黑客程序截获,从而导致用户的各种利益受到侵害。As the Internet industry develops to a new level, due to the openness and interconnectedness of computer systems, users' digital identities on the Internet can easily be intercepted by criminals using Trojan viruses and hacker programs, thereby infringing on various interests of users.
基于此,网络系统确保用户物理身份和数字身份统一,就需要有加强的密码方式或产品,因而,密保(Password protection)就产生了。Based on this, in order for the network system to ensure the unity of the user's physical identity and digital identity, it is necessary to have a strengthened password method or product, thus, password protection came into being.
密保,可以指记录用户身份、负责用户身份识别的安全产品。Password protection refers to security products that record user identity and are responsible for user identity identification.
密码保护问题,可以以回答问题的形式应用于账号密码的安全保护,由于密码保护问题一般包含用户的个人私有信息,如初中班主任姓名、配偶生日、大学学号等等,答案通常只有设置的用户知道,是一种可靠的密保。Password protection questions can be used to protect the security of account passwords in the form of answering questions. Since password protection questions generally contain the user's personal private information, such as the name of the junior high school class teacher, the spouse's birthday, the university student number, etc., the answer is usually only known to the user who set it, making it a reliable password protection.
参照图1,示出了一种传统的密码保护问题的设置示例图。1 , there is shown an example diagram of setting a traditional password protection question.
如1所示,在设置密保(如密码保护问题)的情景102中,用户101可以在步骤104中向服务平台发出密码保护问题的设置请求,服务平台可以在步骤105中随机选出三个密码保护问题,以让用户101进行设置,在步骤106中返回设置成功的信息,服务平台可以存储该密码保护问题及相应的答案。As shown in 1, in the scenario 102 of setting password protection (such as password protection questions), the user 101 can send a password protection question setting request to the service platform in step 104. The service platform can randomly select three password protection questions in step 105 for the user 101 to set, and return the setting success information in step 106. The service platform can store the password protection questions and the corresponding answers.
在密码忘记或者密码被盗等情况下,进入需要密码的场景103中。用户101可以在步骤107中向服务平台发出密码的修改请求,服务平台可以在步骤108中提取在先设置的三个密码保护问题,等待用户回答。In the case of forgetting or theft of password, the user 101 enters the password-required scene 103. The user 101 can send a password modification request to the service platform in step 107, and the service platform can extract the three password protection questions set previously in step 108 and wait for the user to answer.
由于密码保护问题一般在特殊场景(例如,重置密码)才会用到,使用几率比较少,答案容易被用户101遗忘,甚至连密码保护问题本身也容易被用户101所遗忘,用户101经常无法正确回答。因此,服务平台经常在步骤109中返回回答密码保护问题错误的信息,以致用户101无法修改密码。Since password protection questions are generally only used in special scenarios (e.g., resetting a password), they are rarely used, and the answers are easily forgotten by user 101. Even the password protection questions themselves are easily forgotten by user 101, and user 101 often fails to answer them correctly. Therefore, the service platform often returns a message indicating that the answer to the password protection question is incorrect in step 109, making it impossible for user 101 to change the password.
按照传统方式所设置的密码保护问题,无法很好地起到密保的作用,实用性较差,因此提出了本申请实施例的核心构思之一,根据用户的偏好或者兴趣,关联出和用户的偏好或兴趣接近的密码保护问题,可以加深用户对密码保护问题的印象,保证在需要密码保护问题的时候可以正确回答,使密码保护问题真正起到密保的作用。Password protection questions set in the traditional way cannot play a good role in password protection and are less practical. Therefore, one of the core concepts of the embodiment of the present application is proposed. According to the user's preferences or interests, password protection questions that are close to the user's preferences or interests are associated. This can deepen the user's impression of the password protection questions and ensure that they can answer the password protection questions correctly when they are needed, so that the password protection questions can truly play a role in password protection.
参照图2,示出了本申请的一种密码保护问题的设置方法实施例1的步骤流程图,具体可以包括如下步骤:2 , a flowchart of a method for setting a password protection question according to an embodiment 1 of the present invention is shown, which may specifically include the following steps:
步骤201,接收针对密码的密码保护问题的设置请求;Step 201, receiving a request for setting a password protection question for a password;
在实际应用中,密码保护问题的设置请求可以是指用户发出的针对某个密码设置密码保护问题的指示。In actual applications, the request to set a password protection question may refer to an instruction issued by a user to set a password protection question for a certain password.
例如,用户可以在一个指定的网页中提交该密码保护问题的设置请求,也可以通过一个应用程序的指定控件提交该密码保护问题的设置请求,还可以通过其他方式提交该密码保护问题的设置请求。For example, the user may submit a request to set the password protection question on a designated web page, or through a designated control of an application, or through other methods.
需要说明的是,密码保护问题所保护的密码,可以是账号密码和独立密码中至少一个。It should be noted that the password protected by the password protection question can be at least one of the account password and the independent password.
其中,账号密码可以为登录用户账号的密码;独立密码可以为登录用户账号后保护某些业务对象的密码。The account password may be a password for logging into the user account; and the independent password may be a password for protecting certain business objects after logging into the user account.
例如,独立密码可以为在即时通讯工具中查看聊天记录、登录关联邮箱的密码,或者,可以为确认支付的密码,或者,可以为虚拟物品的处理(如交易、销毁等)保护密码,等等,本申请实施例对此不加以限制。For example, the independent password can be a password for viewing chat records in an instant messaging tool, logging into an associated mailbox, or a password for confirming payment, or a password for protecting the processing of virtual items (such as trading, destruction, etc.), etc. The embodiments of the present application are not limited to this.
在具体实现中,所述设置请求中可以包括用户标识,用户标识可以是能够代表一个确定的用户的信息,具体可以包括用户账号、与用户账号关联的用户信息(其他用户账号、邮箱、电话号码、名称)、用户的IP(Internet Protocol,网络之间互连的协议)地址、COOKIE ID等等。In a specific implementation, the setting request may include a user identifier, which may be information that can represent a specific user, and may specifically include a user account, user information associated with the user account (other user accounts, email, phone number, name), the user's IP (Internet Protocol, a protocol for interconnection between networks) address, COOKIE ID, etc.
步骤202,提取所述用户标识对应的一个或多个设置信息;Step 202: extract one or more setting information corresponding to the user identifier;
设置信息,可以为在数据库中设置的,在一定程度上表征该用户标识对应的用户的偏好或兴趣的信息。The setting information may be information set in a database, which to a certain extent characterizes the preferences or interests of the user corresponding to the user identifier.
在本申请的一种优选实施例中,所述设置信息可以包括偏好信息,所述设置信息可以通过以下方式获得:In a preferred embodiment of the present application, the setting information may include preference information, and the setting information may be obtained in the following manner:
子步骤S11,获取所述用户标识对应的行为信息;Sub-step S11, obtaining behavior information corresponding to the user identifier;
子步骤S12,从所述行为信息中学习偏好信息。Sub-step S12: learning preference information from the behavior information.
行为信息可以为记录用户操作行为的信息,可以包括网上的操作行为,例如,购物、浏览网页、播放流媒体等等,也可以包括本地的操作行为,例如,玩游戏、浏览电子图书、播放音/视频等等。Behavior information can be information that records user operation behaviors, and can include online operation behaviors, such as shopping, browsing web pages, playing streaming media, etc., or local operation behaviors, such as playing games, browsing e-books, playing audio/video, etc.
在本申请实施例中,可以通过对用户的行为信息的学习,获取用户的偏好信息,该偏好信息可以为标识用户偏好/兴趣的信息。In an embodiment of the present application, the user's preference information can be obtained by learning the user's behavior information. The preference information can be information that identifies the user's preferences/interests.
例如,若分析某个用户购物的行为信息,该用户购买了100件衣服,其中包括75件连衣裙、衬衫10件、卫衣10件、风衣5件,购买连衣裙的频次相对较高,因此可以学习到该用户的偏好信息为,“衣服:连衣裙”。For example, if we analyze a user's shopping behavior information, we find that the user purchased 100 pieces of clothing, including 75 dresses, 10 shirts, 10 hoodies, and 5 windbreakers. The frequency of purchasing dresses is relatively high, so we can learn that the user's preference information is "Clothes: Dresses".
本申请实施例可以预先离线学习到用户的偏好信息,存储在数据库中,待需要时直接提取。The embodiment of the present application can pre-learn the user's preference information offline, store it in the database, and directly retrieve it when needed.
当然,本申请实施例也可以在线学习用户的偏好信息,本申请实施例对此不加以限制。Of course, the embodiment of the present application can also learn user preference information online, and the embodiment of the present application is not limited to this.
在本申请的另一种优选实施例中,步骤202可以包括如下子步骤:In another preferred embodiment of the present application, step 202 may include the following sub-steps:
子步骤S13,从预置的数据库中提取所述用户标识对应的、在先设定的一个或多个设置信息。Sub-step S13: extracting one or more previously set setting information corresponding to the user identification from a preset database.
应用本申请实施例,用户在先可以在网站、通讯工具等场景中进行一些选项的设置,例如,设置个人资料、订阅的资讯等等,存储在数据库中。By using the embodiments of the present application, users can first set some options in scenarios such as websites and communication tools, for example, set personal information, subscribed information, etc., and store them in a database.
其中,某些设置信息可以在一定程度上表征用户的偏好或兴趣。Among them, certain setting information can represent the user's preferences or interests to a certain extent.
例如,在个人资料中,通常会有“最喜欢的明星”、“最喜欢的颜色”、“最想去的城市”等选项。For example, in a personal profile, there are usually options such as "Favorite Star", "Favorite Color", "City I Most Want to Visit", etc.
又例如,在订阅的资讯时,用户可以选择订阅某个足球俱乐部、某个漫画、某个话题(如军事、美女、美食)的资讯(如新闻、访谈节目等)。For another example, when subscribing to information, users can choose to subscribe to information (such as news, talk shows, etc.) about a certain football club, a certain comic, or a certain topic (such as military, beauty, or food).
在设置完成之后,可以将设置信息保存在数据库中,并与用户标识关联。After the setting is completed, the setting information can be saved in the database and associated with the user ID.
例如,用户账号为“123456”的用户在网站上设置“最喜欢的明星”为“张三”,“最想去的城市”为“北京”,订阅了北京足球俱乐部的资讯,则可以在数据库中保存如下表所示的记录:For example, if a user with the account "123456" sets his "favorite star" to "Zhang San" and his "most desired city" to "Beijing" on the website and subscribes to information about the Beijing Football Club, the following records can be saved in the database:
在本发明实施例中,可以在数据库查询该用户标识关联的表征偏好或兴趣的一个或多个设置信息,并提取该一个或多个设置信息。In the embodiment of the present invention, one or more setting information representing preferences or interests associated with the user identification may be queried in a database, and the one or more setting information may be extracted.
步骤203,分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;Step 203: obtaining one or more password protection questions that match the one or more setting information respectively;
在具体实现中,依据表征偏好或兴趣的一个或多个设置信息获取与之匹配的一个或多个密码保护问题,可以增强用户对该密码保护问题。In a specific implementation, obtaining one or more matching password protection questions based on one or more setting information representing preferences or interests can enhance the user's understanding of the password protection questions.
在本申请的一种优选实施例中,步骤203可以包括如下子步骤:In a preferred embodiment of the present application, step 203 may include the following sub-steps:
子步骤S21,在预置的题库中查找包含所述一个或多个设置信息的一个或多个密码保护问题。Sub-step S21 : searching a preset question bank for one or more password-protected questions containing the one or more setting information.
应用本发明实施例,可以预先设置题库,该题库中具有一些基本的密码保护问题,例如,“你最喜欢去的地方是哪里?”、“你最喜欢的明星是谁?”等等。By applying the embodiment of the present invention, a question bank may be pre-set, which contains some basic password-protected questions, such as "Where is your favorite place to go?", "Who is your favorite star?", etc.
在本发明实施例中,可以比对题库中的密码保护问题是否包含设置信息,若是,则提取该密码保护问题。In an embodiment of the present invention, it is possible to compare whether the password-protected questions in the question bank contain setting information, and if so, extract the password-protected questions.
例如,从数据库中查询出用户账号为“123456”的用户的设置信息中,该用户“最喜欢的明星”为“张三”。根据字符串“最喜欢的明星”在题库中查询开头包含“最喜欢的明星”的密码保护问题,在比对密码保护问题“最喜欢的明星是谁?”时,发现该密码保护问题也含有“最喜欢的明星”的字符串,则“最喜欢的明星是谁?”作为当前用户的密码保护问题。For example, the database retrieves the user's settings for user account "123456," and finds that the user's "Favorite Star" is "Zhang San." Based on the string "Favorite Star," the question bank is searched for password-protected questions that begin with "Favorite Star." When compared with the password-protected question "Who is your favorite star?", it is found that the password-protected question also contains the string "Favorite Star." Therefore, "Who is your favorite star?" is selected as the password-protected question for the current user.
在本申请的一种优选实施例中,步骤203可以包括如下子步骤:In a preferred embodiment of the present application, step 203 may include the following sub-steps:
子步骤S31,在预置的题库中查找与所述一个或多个设置信息语义相同的一个或多个密码保护问题;Sub-step S31, searching a preset question bank for one or more password-protected questions having the same semantics as the one or more setting information;
子步骤S32,分别判断所述一个或多个设置信息与所述类别信息是否匹配;若是,则执行子步骤S33;Sub-step S32, determining whether the one or more setting information matches the category information; if so, executing sub-step S33;
子步骤S33,提取所述密码保护问题。Sub-step S33: extracting the password protection question.
应用本发明实施例,可以预先设置题库,该题库中具有一些基本的密码保护问题,每个保护问题可以具有对应的类别信息。例如,密码保护问题“你最喜欢去的地方是哪里?”的类别属于地理、密码保护问题“你最喜欢的明星是谁?”的类别属于娱乐,等等。In the embodiment of the present invention, a question bank can be pre-set, which contains some basic password-protected questions. Each password-protected question can have corresponding category information. For example, the password-protected question "Where is your favorite place to go?" is categorized as geography, the password-protected question "Who is your favorite celebrity?" is categorized as entertainment, and so on.
在本发明实施例中,在未查找到题库中包含有设置信息的密码保护问题等情况下,可以查找与该设置信息语义相同的密码保护问题,判断该设置信息是否与该密码保护问题的类别信息,若是,则提取该密码保护问题。In an embodiment of the present invention, when no password-protected question containing setting information is found in the question bank, a password-protected question with the same semantics as the setting information can be searched to determine whether the setting information is consistent with the category information of the password-protected question. If so, the password-protected question is extracted.
在具体实现中,可以计算偏好信息与密码保护问题的语义相似度,若该语义相似度超过一相似度阈值,则可以认为该偏好信息与密码保护问题语义相同。In a specific implementation, the semantic similarity between the preference information and the password protection question may be calculated. If the semantic similarity exceeds a similarity threshold, it may be considered that the preference information and the password protection question have the same semantics.
其中,语义相似度计算的方法主要由两种,一种方法是通过语义词典,把有关词语的概念组织在一个树形的结构中计算;另一种方法是通过词语上下文信息,运用统计的方法进行求解。There are two main methods for calculating semantic similarity. One method is to organize the concepts of related words in a tree structure through a semantic dictionary for calculation; the other method is to use statistical methods to solve the problem through word context information.
例如,从数据库中查询出用户账号为“123456”的用户的设置信息中,该用户“最想去的城市”为“北京”。根据字符串“最想去的城市”未在题库中查询开头包含“最想去的城市”的密码保护问题,在比对密码保护问题“最想去的地方是哪儿?”时,发现该密码保护问题与“最想去的城市”语义相同,其中,“最想去的地方是哪儿?”的类别属于地理,“最想去的城市”属于地理类别,则可以提取“最想去的地方是哪儿?”作为当前用户的密码保护问题。For example, the database retrieves the user settings for user account "123456," and the user's "most desired city" is "Beijing." Based on the string "most desired city," no password-protected questions beginning with "most desired city" are found in the question bank. When comparing the password-protected question "Where is the place I most want to go?" with "Where is the place I most want to go?", it is found that the password-protected question has the same semantics as "most desired city." Since "Where is the place I most want to go?" is classified as geography, and "most desired city" is also classified as geography, "Where is the place I most want to go?" can be selected as the password-protected question for the current user.
在本申请的一种优选实施例中,步骤203可以包括如下子步骤:In a preferred embodiment of the present application, step 203 may include the following sub-steps:
子步骤S41,采用所述一个或多个设置信息生成一个或多个密码保护问题。Sub-step S41: generating one or more password protection questions using the one or more setting information.
在本发明实施例中,在未查找到题库中包含有设置信息的密码保护问题、与设置信息语义相同的密码保护问题等情况下,可按照指定的生成规则,采用设置信息生成密码保护问题。In an embodiment of the present invention, when no password-protected questions containing setting information or password-protected questions with the same semantics as the setting information are found in the question bank, the setting information may be used to generate password-protected questions according to specified generation rules.
例如,从数据库中查询出用户账号为“123456”的用户的设置信息中,该用户订阅的资讯为“北京足球俱乐部”。根据字符串“北京足球俱乐部”未在题库中查询开头包含“最想去的城市”的密码保护问题,也未查询到与“北京足球俱乐部”语义相同的密码保护问题,则可以提取设置信息“北京足球俱乐部”中的字符串“足球俱乐部”,添加字符串“最喜欢的”和“是哪个?”,生成密码保护问题“最喜欢的足球俱乐部是哪个?”。For example, the database retrieves the user account "123456"'s settings information, which shows that the user subscribes to the news "Beijing Football Club." Since the string "Beijing Football Club" doesn't match any password-protected questions beginning with "The city I most want to visit" or semantically equivalent to "Beijing Football Club," we can extract the string "football club" from the settings information "Beijing Football Club" and add the strings "favorite" and "Which one?" to generate the password-protected question "What is your favorite football club?"
又例如,对于偏好信息,“衣服:连衣裙”,即表示用户喜欢类目为衣服中的连衣裙,则提取字符串“衣服”,添加字符串“最喜欢的”和“是什么?”,生成密码保护问题“最喜欢的衣服是什么?”。For another example, for the preference information "clothing: dress", which means that the user likes dresses in the clothing category, the character string "clothing" is extracted, and the character strings "favorite" and "what is it?" are added to generate the password-protected question "What is your favorite clothing?".
需要说明的是,对于不同类别的设置信息可以有不同的生成规则,本领域技术人员可以根据实际情况进行设定。It should be noted that there may be different generation rules for different types of setting information, and those skilled in the art may set them according to actual conditions.
步骤204,输出所述一个或多个密码保护问题。Step 204: output the one or more password protection questions.
在具体实现中,可以将密码保护问题输出至提交密码保护问题的设置请求的对象中进行展示,以让用户进行选择并设置相应的答案。In a specific implementation, the password protection question can be output to the object that submits the password protection question setting request for display, so that the user can select and set the corresponding answer.
例如,若用户在一个指定的网页中提交该密码保护问题的设置请求,则可以将该一个或多个密码保护问题输出至该指定的网页进行展示;若用户以通过一个应用程序的指定控件提交该密码保护问题的设置请求,则可以将该一个或多个密码保护问题输出至该应用程序中的指定界面进行展示;若用户通过其他方式提交该密码保护问题的设置请求,则可以通过输出至相应的对象中进行展示。For example, if a user submits a request to set the password protection question on a designated web page, the one or more password protection questions can be output to the designated web page for display; if a user submits a request to set the password protection question through a designated control of an application, the one or more password protection questions can be output to a designated interface in the application for display; if a user submits a request to set the password protection question through other means, it can be displayed by outputting it to a corresponding object.
本申请实施例针对密码保护问题的设置请求,通过提取用户标识对应的一个或多个设置信息,分别获取与该一个或多个设置信息匹配的一个或多个密码保护问题,由于设置信息可以在一定程度上表征用户的偏好或兴趣,使得在用户进行密码保护问题设置时,可以输出与用户偏好或兴趣相关的密码保护问题,加大用户对密码保护问题的印象,从而减少了用户忘记设置密码保护问题及其答案的情况,提高了密码保护问题的实用性。In an embodiment of the present application, in response to a request to set a password protection question, one or more setting information corresponding to a user identifier is extracted to obtain one or more password protection questions that match the one or more setting information. Since the setting information can represent the user's preferences or interests to a certain extent, when the user sets the password protection question, the password protection question related to the user's preferences or interests can be output, thereby increasing the user's impression of the password protection question, thereby reducing the situation where the user forgets to set the password protection question and its answer, and improving the practicality of the password protection question.
参照图3,示出了本申请的一种密码保护问题的设置方法实施例2的步骤流程图,具体可以包括如下步骤:3 , a flowchart of a second embodiment of a method for setting a password protection question of the present application is shown, which may specifically include the following steps:
步骤301,接收针对密码的密码保护问题的设置请求;所述设置请求中包括用户标识;Step 301: receiving a request for setting a password protection question for a password; the setting request includes a user identifier;
步骤302,提取所述用户标识对应的一个或多个设置信息;Step 302: extract one or more setting information corresponding to the user identifier;
步骤303,分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;Step 303: Obtain one or more password protection questions that match the one or more setting information respectively;
步骤304,输出所述一个或多个密码保护问题。Step 304: output the one or more password protection questions.
步骤305,接收针对所述一个或多个密码保护问题的一个或多个第一答案;Step 305, receiving one or more first answers to the one or more password-protected questions;
步骤306,分别建立所述一个或多个密码保护问题与所述一个或多个第一答案的关联关系。Step 306: Establish associations between the one or more password-protected questions and the one or more first answers.
本发明实施例中,用户可以对输出的全部或部分密码保护问题设置第一答案,在后台接收该第一答案,建立该第一答案与密码保护问题的关联关系,存储在数据库中,待重置密码等情况下进行身份信息的验证。In an embodiment of the present invention, the user can set a first answer for all or part of the output password protection questions, receive the first answer in the background, establish an association between the first answer and the password protection question, store it in the database, and verify the identity information when resetting the password, etc.
例如,对用户账号为“123456”的用户提供了三个密码保护问题,分别为“最喜欢的明星是谁?”、“最想去的地方是哪儿?”和“最喜欢的足球俱乐部是哪个?”,该用户全部设置了相应的答案,分别为“张三”、“北京”、“北京足球俱乐部”,则可以建立如下表所示的关联关系:For example, a user with the account "123456" is given three password-protected questions: "Who is your favorite celebrity?", "Where is your favorite place to go?", and "What is your favorite football club?". The user sets corresponding answers for all three questions: "Zhang San", "Beijing", and "Beijing Football Club". Then, the following associations can be established:
步骤307,当接收到针对所述密码的修改请求时,输出所述密码对应的一个或多个密码保护问题;Step 307: When a request to modify the password is received, output one or more password protection questions corresponding to the password;
步骤308,接收针对所述一个或多个密码保护问题的一个或多个第二答案;Step 308, receiving one or more second answers to the one or more password-protected questions;
步骤309,当所述一个或多个第二答案与所述一个或多个密码保护问题关联的一个或多个第一答案相同时,配置修改所述密码的权限。Step 309: When the one or more second answers are the same as the one or more first answers associated with the one or more password-protected questions, configure the permission to modify the password.
本发明实施例中,密码的修改请求可以是指用户发出的修改某个密码的指示。In the embodiment of the present invention, a password modification request may refer to an instruction issued by a user to modify a certain password.
在忘记密码或者密码被盗等情况下,用户可以发出针对密码的修改请求,以重置密码,此时需要对当前用户的身份进行验证,以确定是否是拥有该密码所属的数字身份的合法拥有者。若验证成功,则确认当前用户具有修改密码的权限,允许其修改密码。In the event of a forgotten or stolen password, a user can request a password change to reset it. This requires verification of the user's identity to determine if they are the legitimate owner of the digital identity associated with the password. If verification is successful, the user is confirmed to have permission to change their password and is allowed to do so.
例如,当前用户发出对用户账号“123456”的密码的修改请求,则可以在数据库中查找该用户账号“123456”的密码所对应的一个或多个密码保护问题,输出该一个或多个密码保护问题进行展示,如下表所示:For example, if the current user issues a password modification request for the user account "123456", one or more password protection questions corresponding to the password of the user account "123456" can be searched in the database and output for display, as shown in the following table:
若用户在如上表所示的答案栏中输入第二答案,分别为“张三”、“北京”、“北京足球俱乐部”,判断第二答案与密码保护问题关联的第一答案相同时,允许当前用户修改密码。If the user enters the second answer in the answer column as shown in the table above, which is "Zhang San", "Beijing", and "Beijing Football Club", respectively, and it is determined that the second answer is the same as the first answer associated with the password protection question, the current user is allowed to modify the password.
本申请实施例针对密码的修改请求,输出该密码对应的密码保护问题,在该密码保护问题的第二答案与第一答案相同时,允许修改密码,由于密码保护问题可以根据用户的偏好或兴趣设置,用户得以较容易回答密码保护问题,以取回账号的所有权,大大提高了密保操作的简便性,减少了无用的用户信息的出现,进而减少了无用的用户信息对存储资源的占用。In response to a password modification request, an embodiment of the present application outputs a password protection question corresponding to the password. When the second answer to the password protection question is the same as the first answer, the password modification is allowed. Since the password protection question can be set according to the user's preferences or interests, the user can more easily answer the password protection question to regain ownership of the account, which greatly improves the simplicity of password protection operations, reduces the appearance of useless user information, and thereby reduces the storage resources occupied by useless user information.
为使本领域技术人员更好地理解本申请实施例,以下通过具体的示例来说明本申请实施例中密码保护问题的设置方法。In order to enable those skilled in the art to better understand the embodiments of the present application, the following describes a method for setting password protection questions in the embodiments of the present application through specific examples.
参照图4,示出了本申请的一种密码保护问题的设置示例图。4 , there is shown an example diagram of setting a password protection question of the present application.
如4所示,在设置密保(如密码保护问题)的情景402中,用户401可以在步骤405中向服务平台发出密码保护问题的设置请求,服务平台可以在步骤406中结合可以标识用户的偏好或兴趣403的设置信息选出三个密码保护问题,在步骤407中返回该三个密码保护问题,在步骤408中展示该三个密码保护问题以让用户401进行设置,在设置成功后,在步骤409中返回设置成功的信息,服务平台可以建立该密码保护问题及相应的答案的关联关系,并存储在数据库中。As shown in Figure 4, in the scenario 402 of setting password protection (such as password protection questions), the user 401 can send a password protection question setting request to the service platform in step 405. The service platform can select three password protection questions in step 406 based on the setting information that can identify the user's preferences or interests 403, return the three password protection questions in step 407, and display the three password protection questions in step 408 to allow the user 401 to set them. After the setting is successful, the information of successful setting is returned in step 409. The service platform can establish an association between the password protection questions and the corresponding answers, and store them in the database.
在密码忘记或者密码被盗等情况下,进入需要密码的场景404中。用户401可以在步骤410中向服务平台发出密码的修改请求,服务平台可以在步骤411中提取在先设置的三个密码保护问题,等待用户回答。In the case of password forgetting or password theft, the user enters the password-required scene 404. The user 401 can send a password modification request to the service platform in step 410, and the service platform can extract the three password protection questions set previously in step 411 and wait for the user to answer.
由于密码保护问题是根据用户的偏好或兴趣设置的,即使使用几率小,但是关乎用户自身信息的问题,答案是不容易被用户101遗忘,用户可以容易回答成功。因此,服务平台经常在步骤412中返回回答密码保护问题正确的信息,允许用户401修改密码。Since the password protection question is set based on the user's preferences or interests, even if the probability of use is small, the answer to the question related to the user's personal information is not easily forgotten by the user 101, and the user can easily answer it successfully. Therefore, the service platform often returns the information that the answer to the password protection question is correct in step 412, allowing the user 401 to change the password.
本示例中根据用户的偏好或者兴趣,关联出和用户的偏好或兴趣接近的密码保护问题,可以加深用户对密码保护问题的印象,保证在需要密码保护问题的时候可以正确回答,使密码保护问题真正起到密保的作用。In this example, based on the user's preferences or interests, password protection questions that are similar to the user's preferences or interests are associated, which can deepen the user's impression of the password protection questions and ensure that they can answer the password protection questions correctly when they are needed, so that the password protection questions can truly play a role in password protection.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。It should be noted that for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the order of the actions described, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
参照图5,示出了本申请一种密码保护问题的设置装置实施例1的结构框图,具体可以包括如下模块:5 , a block diagram of a first embodiment of a device for setting a password protection question according to the present invention is shown, which may include the following modules:
设置请求接收模块501,用于接收针对密码的密码保护问题的设置请求;所述设置请求中包括用户标识;A setting request receiving module 501 is configured to receive a setting request for a password protection question; the setting request includes a user identifier;
设置信息提取模块502,用于提取所述用户标识对应的一个或多个设置信息;A setting information extraction module 502 is used to extract one or more setting information corresponding to the user identifier;
密码保护问题获取模块503,用于分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;A password protection question obtaining module 503 is configured to obtain one or more password protection questions that match the one or more setting information respectively;
第一密码保护问题输出模块504,用于输出所述一个或多个密码保护问题。The first password protection question output module 504 is configured to output the one or more password protection questions.
在本申请的一种优选实施例中,所述设置信息可以包括偏好信息,所述设置信息可以通过以下方式获得:In a preferred embodiment of the present application, the setting information may include preference information, and the setting information may be obtained in the following manner:
获取所述用户标识对应的行为信息;Obtaining behavior information corresponding to the user identifier;
从所述行为信息中学习偏好信息。Preference information is learned from the behavioral information.
在本申请的一种优选实施例中,所述偏好信息计算模块502可以包括如下子模块:In a preferred embodiment of the present application, the preference information calculation module 502 may include the following submodules:
数据库提取子模块,用于从预置的数据库中提取所述用户标识对应的、在先设定的一个或多个设置信息。The database extraction submodule is used to extract one or more previously set setting information corresponding to the user identification from a preset database.
在本申请的一种优选实施例中,所述密码保护问题获取模块503可以包括如下子模块:In a preferred embodiment of the present application, the password protection question acquisition module 503 may include the following submodules:
第一查找子模块,用于在预置的题库中查找包含所述一个或多个设置信息的一个或多个密码保护问题。The first search submodule is configured to search a preset question bank for one or more password-protected questions containing the one or more setting information.
在本申请的一种优选实施例中,所述密码保护问题获取模块503可以包括如下子模块:In a preferred embodiment of the present application, the password protection question acquisition module 503 may include the following submodules:
第二查找子模块,用于在预置的题库中查找与所述一个或多个设置信息语义相同的一个或多个密码保护问题;其中,每个保护问题具有对应的类别信息;A second search submodule is configured to search a preset question bank for one or more password-protected questions having the same semantics as the one or more setting information; wherein each protection question has corresponding category information;
匹配判断子模块,用于分别判断所述一个或多个设置信息与所述类别信息是否匹配;若是,则调用密码保护问题提取子模块;a matching judgment submodule, configured to respectively judge whether the one or more setting information matches the category information; if so, calling a password protection question extraction submodule;
密码保护问题提取子模块,用于提取所述密码保护问题。The password protection question extraction submodule is used to extract the password protection question.
在本申请的一种优选实施例中,所述密码保护问题获取模块503可以包括如下子模块:In a preferred embodiment of the present application, the password protection question acquisition module 503 may include the following submodules:
密码保护问题生成子模块,用于采用所述一个或多个设置信息生成一个或多个密码保护问题。The password protection question generating submodule is used to generate one or more password protection questions using the one or more setting information.
参照图6,示出了本申请一种密码保护问题的设置装置实施例2的结构框图,具体可以包括如下模块:6 , a block diagram of a second embodiment of a device for setting a password protection question according to the present invention is shown, which may specifically include the following modules:
设置请求接收模块601,用于接收针对密码的密码保护问题的设置请求;所述设置请求中包括用户标识;A setting request receiving module 601 is configured to receive a setting request for a password protection question; the setting request includes a user identifier;
设置信息提取模块602,用于提取所述用户标识对应的一个或多个设置信息;A setting information extraction module 602 is used to extract one or more setting information corresponding to the user identifier;
密码保护问题获取模块603,用于分别获取与所述一个或多个设置信息匹配的一个或多个密码保护问题;A password protection question obtaining module 603 is configured to obtain one or more password protection questions that match the one or more setting information respectively;
第一密码保护问题输出模块604,用于输出所述一个或多个密码保护问题。The first password protection question output module 604 is configured to output the one or more password protection questions.
第一答案接收模块605,用于接收针对所述一个或多个密码保护问题的一个或多个第一答案;A first answer receiving module 605 is configured to receive one or more first answers to the one or more password-protected questions;
关联关系建立模块606,用于分别建立所述一个或多个密码保护问题与所述一个或多个第一答案的关联关系。The association relationship establishing module 606 is configured to establish association relationships between the one or more password-protected questions and the one or more first answers.
第二密码保护问题输出模块607,用于在接收到针对所述密码的修改请求时,输出所述密码对应的一个或多个密码保护问题;A second password protection question output module 607 is configured to output one or more password protection questions corresponding to the password upon receiving a request to modify the password;
第二答案接收模块608,用于接收针对所述一个或多个密码保护问题的一个或多个第二答案;A second answer receiving module 608 is configured to receive one or more second answers to the one or more password-protected questions;
权限配置模块609,用于在所述一个或多个第二答案与所述一个或多个密码保护问题关联的一个或多个第一答案相同时,配置修改所述密码的权限。The permission configuration module 609 is configured to configure the permission to modify the password when the one or more second answers are the same as the one or more first answers associated with the one or more password-protected questions.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. Memory may include non-permanent storage in computer-readable media, random access memory (RAM), and/or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented using any method or technology to store information. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media such as modulated data signals and carrier waves.
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application embodiment is described with reference to the flow chart and/or block diagram of the method, terminal device (system), and computer program product according to the embodiment of the present application. It should be understood that each process and/or box in the flow chart and/or block diagram, and the combination of the process and/or box in the flow chart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device produce a device for realizing the function specified in one process or multiple processes in the flow chart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
以上对本申请所提供的一种密码保护问题的设置方法和一种密码保护问题的设置装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to a method for setting a password protection question and a device for setting a password protection question provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims (14)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410487036.7A CN105426744B (en) | 2014-09-22 | 2014-09-22 | A kind of setting method and device of cryptoguard problem |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1222231A1 HK1222231A1 (en) | 2017-06-23 |
| HK1222231B true HK1222231B (en) | 2019-11-01 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7029003B2 (en) | Password protection Question setting method and device | |
| JP6720276B2 (en) | Methods, devices, and computer programs for managing user accounts in the case of login name conflicts | |
| KR102088553B1 (en) | Method and apparatus of detecting weak password | |
| US9819671B2 (en) | Prompting login account | |
| EP3435260A1 (en) | Method and device for outputting risk information and constructing risk information | |
| KR20180082570A (en) | Information recommendation method and apparatus | |
| CN105471581A (en) | Identity verification method and device | |
| CN109087053B (en) | Collaborative office processing method, device, equipment and medium based on association topological graph | |
| WO2018176855A1 (en) | Method and apparatus for processing home page recommendation, server and storage medium | |
| CN102959539B (en) | A project recommendation method and system for business crossover | |
| WO2018040942A1 (en) | Verification method and device | |
| US9876743B1 (en) | Inter-user message forwarding by an online service | |
| CN103036726A (en) | Method and device for network user management | |
| CN109145621B (en) | Document management method and device | |
| HK1222231B (en) | Method and apparatus for setting password protection question | |
| CN114003881A (en) | Identity authentication method and device, electronic equipment and storage medium | |
| CN107733909A (en) | Data storage method, device, server and storage medium | |
| CN106844540B (en) | Information processing method and device | |
| CN119110296A (en) | Interface management method, device, computer equipment and storage medium for short message platform | |
| CN114676456A (en) | Data privacy protection method and device based on edge calculation and storage medium | |
| CN112883232A (en) | Resource searching method, device and equipment | |
| HK40026123A (en) | Infringement evidence storage method, device and equipment based on evidence storage block chain | |
| HK40026123B (en) | Infringement evidence storage method, device and equipment based on evidence storage block chain | |
| HK1218359B (en) | Method and apparatus for prompting for login account | |
| HK1221354B (en) | Informaiton authentication method and device thereof |