Emoji-based password generation method, device, equipment and storage medium

By building an emoji-based password mapping template, converting the string password into an emoji password, and authenticating it on the receiving end, the security and fun issues of emoji information sharing are solved, and successful forwarding and secure authentication across applications are achieved.

CN116633632BActive Publication Date: 2025-08-26BEIJING MOMO INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310605929.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2025-08-26
Estimated Expiration
2043-05-25

AI Technical Summary

Technical Problem

In the prior art, information sharing based on emoji is insufficient, and information sharing in traditional character strings is easily recognized and restricted by software, and lacks interest.

Method used

Based on the user's emoji historical usage information, we determine the first emoji candidate data set, build password mapping templates of different security levels, convert string passwords into emoji passwords through the mapping template, and perform pre-authentication and post-authentication on the receiving end to improve security.

Benefits of technology

It improves the security of emoji passwords, avoids application recognition and blocking, enhances the security and fun of information sharing, and meets the security needs of different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116633632B_ABST
    Figure CN116633632B_ABST
Patent Text Reader

Abstract

The present invention relates to an emoji-based password generation method, apparatus, device, and storage medium. The method comprises determining a first emoji candidate dataset based on a user's emoji usage history; determining a second emoji dataset corresponding to each password mapping template from the first emoji candidate dataset based on the security level of each password mapping template; establishing each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set; calculating the password security level based on a password generation request; matching a target template from the password mapping template set based on the password security level; and converting a string password into an emoji password based on the target template. The hierarchical management of emoji sources and password mapping targets improves the security of emoji passwords.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of domain data analysis and processing, and in particular to a method, apparatus, device, and storage medium for generating an emoji-based password. Background Art

[0002] Relying on the development of the Internet, online communication between users is becoming more and more frequent. There is a lot of information sharing in online communication, such as simple information sharing, shopping link sharing, news sharing, etc., and also sharing invitation codes for adding friends or joining groups on social networks. The above information sharing is usually done by users generating a string of letters, numbers or special symbols randomly combined at the place where the information is generated, and then forwarding and sharing it. This string can become a password. Figure 1 As shown, a general flow chart of string generation in an existing social scenario is shown. The initial step receives a user password generation request; next, a string password is generated according to the parameters of the initial step, and then the user information corresponding to the string password is stored; finally, the generated string password is returned to the user.

[0003] However, this traditional string-based information sharing method has two drawbacks. First, from a security perspective, string-based information is easily recognized by other software, and then blocked or restricted by other software. Currently, most software generally has sharing restrictions and blocking mechanisms for information that is not from its own source, such as truncation, copy restriction, and sharing restriction, which results in user sharing failures, or other users who see it cannot copy it, resulting in sharing failures, affecting the effectiveness of information dissemination and sharing. Second, from a fun perspective, this string is just a piece of garbled code in the eyes of users, lacking fun and difficult to attract users' attention. Therefore, there is a need for an information sharing method that can break through the limitations of various software platforms while increasing fun.

[0004] Unicode, an international standard, began assigning code points to emoji in 2010. Now, as a special type of Unicode, emoji is supported by various operating systems and application software, providing a technical foundation for emoji-based information sharing. However, existing technologies use the same template to convert character strings to be shared into emojis regardless of the scenario, resulting in a certain regularity in the generated emojis and insufficient security for information sharing. Therefore, there is an urgent need for a highly secure method, device, equipment, and storage medium for generating emoji-based passwords. Summary of the Invention

[0005] The purpose of the embodiments of the present invention is to solve the technical problem of insufficient security of emoji-based information sharing in the prior art, and to provide an emoji-based password generation method, device, equipment and storage medium.

[0006] To solve the above technical problems, an embodiment of the present invention provides an emoji-based password generation method, which specifically includes:

[0007] determining a first emoji candidate dataset based on the user's emoji usage history information, wherein each first emoji in the first emoji candidate dataset includes emoji category information;

[0008] Determining, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establishing each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset corresponding to each password mapping template;

[0009] Calculating a security level of the password based on the password generation request, and matching a target template from the password mapping template set according to the password security level;

[0010] The string password is converted into an emoji password based on the target template.

[0011] Preferably, after converting the character string password into an emoji password based on the target template, the method further includes:

[0012] The password recipient copies the emoji password and enters the application corresponding to the emoji password;

[0013] In response to the application corresponding to the emoji password detecting the copied emoji password, the application corresponding to the emoji password issues an operation request to the user who issued the emoji;

[0014] The user who sent the emoji performs pre-authentication and post-authentication on the emoji password respectively. If the pre-authentication and post-authentication are passed, the preset operation is performed in response to the operation request; otherwise, the operation request is rejected.

[0015] Preferably, determining the first emoji candidate dataset based on the user's emoji historical usage information specifically includes:

[0016] Count the categories of emojis used in a first historical time period in a password requirement scenario, sort the categories of each emoji according to the frequency of use, obtain the top n categories as candidate categories, and obtain the emojis of each candidate category to form a first emoji candidate dataset, wherein the first emoji candidate dataset includes multiple emojis, and each emoji includes a category attribute.

[0017] Preferably, before determining the second emoji dataset corresponding to each password mapping template from the first emoji candidate dataset according to the security level of each password mapping template, the method further includes:

[0018] Obtain historical usage data of various applications of users in the client;

[0019] Marking the applications that use information sharing and their information sharing application scenarios based on historical usage data of various applications to obtain a first scenario set, wherein the first scenario set includes a plurality of first scenario pairs, and each first scenario pair stores the applications that use information sharing and their corresponding information sharing application scenarios in a combined form;

[0020] Extracting the application identifier and the semantic vector of the information sharing application scenario in each first scenario pair in the first scenario set as input, and evaluating the safety factor score of the first scenario pair using the first model;

[0021] According to the security factor scores of each first scenario pair in the first scenario set, k security level levels are determined, that is, k password mapping templates with different security levels are included. According to the security level from high to low, k password mapping templates with different security levels are established respectively.

[0022] Preferably, calculating the security level of the password based on the password generation request, and matching the target template from the password mapping template set according to the password security level, specifically includes:

[0023] In response to an information sharing demand generated by a user in a first application, extracting a first scene semantic vector based on a location where the information sharing demand is generated, and issuing a password generation request, the password generation request including at least user information, a first application identifier, and the first scene semantic vector;

[0024] In response to detecting the password generation request, extracting a first application identifier and a first scenario semantic vector of the password generation request and inputting them into a first model to obtain a password security factor score;

[0025] According to the security factor score of the password, a security level corresponding to the password mapping template is determined, and a target template is matched from the password mapping template set according to the security level.

[0026] Preferably, converting the string password into emoji based on the target template specifically includes:

[0027] Acquiring user information based on the password generation request, and determining a unique identifier for a character string password generated in response to the password generation request;

[0028] Based on the user information in the password generation request and the unique identifier of the string password, whether the password is the same as the password in the historical password database;

[0029] If so, verify the validity of the same password in the historical password database; if valid, convert the same password in the historical password database into an emoji based on the target template;

[0030] If the password does not exist or is invalid, a target password parsing template is matched based on the user information, a string password is generated based on the target password parsing template, and the generated string password is converted into an emoji password based on the target template.

[0031] Preferably, the emoji-based password generation method further includes:

[0032] determining an update period for each password mapping template according to a security level of each password mapping template to update each password mapping template in the password mapping template set, and updating the validity of the emoji password based on the first timestamp of the emoji password and the validity period of each password;

[0033] The first emoji candidate dataset is updated according to a preset data update period, where the data update period is longer than the update period corresponding to each password mapping template and the validity period of each password.

[0034] An embodiment of the present invention further provides an emoji-based password generation device, comprising:

[0035] a data collection module, configured to determine a first emoji candidate dataset based on historical emoji usage information of the user, wherein each first emoji in the first emoji candidate dataset includes emoji category information;

[0036] a template establishment module, configured to determine, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establish each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset;

[0037] a template matching module, configured to calculate a security level of a password based on a password generation request, and match a target template from the password mapping template set according to the security level of the password;

[0038] A password conversion module is used to convert the string password into an emoji password based on the target template.

[0039] An embodiment of the present invention further provides an electronic device, including:

[0040] processor;

[0041] a memory for storing instructions executable by the processor;

[0042] The processor is configured to execute the instructions stored in the memory to implement the emoji-based password generation method as described above.

[0043] An embodiment of the present invention further provides a computer-readable storage medium storing a plurality of computer programs, wherein the computer programs are suitable for being loaded by a processor and executing the aforementioned emoji-based password generation method.

[0044] Compared with the existing technology, the embodiments of the present invention provide an emoji-based password generation method, device, equipment and storage medium, which can generate an emoji candidate data set for defining a password mapping template based on emoji historical usage information, and at the same time design password mapping templates of different complexities based on different security levels, thereby improving the security of emoji passwords from both the information source and conversion rules, and meeting the password security requirements of different scenarios.

[0045] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0047] Figure 1 A flowchart of a method for generating an emoji-based password provided by an embodiment of the present invention;

[0048] Figure 2 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, each embodiment of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be understood by those skilled in the art that in each embodiment of the present invention, many technical details are provided to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can be implemented. The division of the following embodiments is for convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with each other and referenced to each other under the premise that there is no contradiction.

[0050] The first embodiment of the present invention relates to a method for generating a password based on emoji, such as Figure 1 As shown, the emoji-based password generation method specifically includes the following steps:

[0051] determining a first emoji candidate dataset based on the user's emoji usage history information, wherein each first emoji in the first emoji candidate dataset includes emoji category information;

[0052] Determining, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establishing each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset corresponding to each password mapping template;

[0053] Calculating a security level of the password based on the password generation request, and matching a target template from the password mapping template set according to the password security level;

[0054] The string password is converted into an emoji password based on the target template.

[0055] The present invention provides an emoji-based password generation method that generates an emoji candidate dataset for defining a password mapping template based on historical emoji usage information. Password mapping templates of varying complexity are designed based on different security levels, thereby improving the security of emoji passwords from both the information source and the conversion rules. Specifically, emojis can be used not only for password generation but also for everyday social interactions and information expression. To prevent applications from identifying emoji passwords, it is necessary to obfuscate the purpose of user-provided emojis. Since users often enter and use emojis in everyday social interactions or information browsing, and to prevent information-sharing applications from identifying the currently entered emoji as a password for information sharing, the present invention determines the emojis in the password mapping template based on historical usage information. This means that the emojis entered by users in everyday social interactions are also used as passwords, using the same emojis for both purposes. This prevents applications from identifying emoji passwords and blocking or cracking them, thereby improving password security. On the other hand, the present invention provides password mapping templates with different security levels, which meet the requirements of password security in different scenarios and improve the security of emoji passwords.

[0056] After converting the string password into an emoji password based on the target template, the method further includes: copying and forwarding the emoji password; the password recipient copies the emoji password and enters the application corresponding to the emoji password; in response to the application corresponding to the emoji password detecting the copied emoji password, the application corresponding to the emoji password issues an operation request to the user who issued the emoji; the user who issued the emoji performs pre-authentication and post-authentication on the emoji password respectively, and if the pre-authentication and post-authentication pass, the preset operation is performed in response to the operation request; otherwise, the operation request is rejected. Wherein, the target template defines the mapping relationship between characters and emojis, and the password parsing template defines the mapping relationship between operations, intentions and strings. Preferably, if the emoji password is a password for inviting people to join a group in WeChat, the initiator is, for example, the group owner. After receiving the emoji password, the recipient copies the password and opens the application corresponding to the emoji password, such as the WeChat app. In response to the application corresponding to the emoji password receiving the copied emoji password, the application sends an operation request to the initiator. After the initiator verifies the emoji password, the recipient is allowed to join the corresponding group. The pre-authentication specifically includes: verifying whether the password content format meets the first preset requirement, and the first preset requirement at least includes: the password length meets the length threshold and whether the password format is legal; if the emoji password passes the pre-authentication, before performing the post-authentication, it also includes parsing the emoji password into the string password according to the target template, and converting the string password into password information and user information corresponding to the password information according to the password parsing template; the post-authentication specifically includes: detecting whether the password information corresponding to the emoji password meets the second preset requirement and detecting whether the user information corresponding to the password information meets the third preset requirement at the same time, the second preset requirement at least includes that the generation time of the password information is less than the first preset time difference from the current time, and the third preset requirement is that the user corresponding to the password information has not been banned.

[0057] Generally speaking, emojis include multiple categories, such as animals, fruits, vegetables, etc. Therefore, each emoji expression has a category attribute. The first emoji candidate data set is determined based on the user's emoji historical usage information, specifically including: counting the categories of emojis used in the first historical time period under the password requirement scenario, sorting the categories of each emoji according to the frequency of use, obtaining the top n categories as candidate categories, and obtaining emojis of each candidate category to form the first emoji candidate data set. The first emoji candidate data set contains multiple emojis, and each emoji contains a category attribute. Specifically, the historical usage data of various applications of users in the client are obtained, and the applications that use information sharing and their information sharing application scenarios are marked based on the historical usage data of various applications as password requirement scenarios.

[0058] It can be understood that the emoji-based password generation method provided by the present invention directly selects emojis by counting high-frequency emojis in password-required scenarios. In this way, on the one hand, emojis can be widely used in daily communication, and on the other hand, emojis of the same type as those used in daily communication can be widely used in password generation. Even if the application recognizes the emoji, it cannot distinguish whether daily communication and passwords are required, and thus cannot block, truncate, or perform other operations on the emoji-based passwords, thereby improving the success rate of cross-application password forwarding.

[0059] Before determining the second emoji data set corresponding to each password mapping template from the first emoji candidate data set according to the security level of each password mapping template, the method also includes: obtaining historical usage data of various applications of users in the client; marking the applications that use information sharing and their information sharing application scenarios based on the historical usage data of various applications to obtain a first scenario set, wherein the first scenario set includes multiple first scenario pairs, and each first scenario pair stores the applications that use information sharing and their corresponding information sharing application scenarios in a combined form; extracting the application identifier and the semantic vector of the information sharing application scenario in each first scenario pair in the first scenario set as input, and evaluating the security factor score of the first scenario pair with the help of the first model; according to the security factor score of each first scenario pair in the first scenario set, determining that there are k security level hierarchies, that is, including k password mapping templates with different security levels, and establishing k password mapping templates with different security levels according to the security level from high to low. Based on the number of security level levels, the number of required emoji types corresponding to each password mapping template is calculated, and based on the number of required emoji types, the second emoji data set corresponding to each password mapping template is determined from the first emoji candidate data set. The security levels of each password mapping template are different, and the number of emoji categories contained in the second emoji data set corresponding to each password mapping template is different. For example, the number of required emoji types corresponding to the password mapping template with a security level of i is P(i) = i*P(0), where P(0) is the number of basic required emoji types. Each password mapping template corresponds to a different security level, and each password mapping template corresponds to a security level, such as a high-security level for inviting people to join a group, or a low-security level for sharing Taobao links; the higher the security level, the more types of emojis it contains.

[0060] After determining the second emoji data set, each password mapping template is established using the emojis in the second emoji data set corresponding to each password mapping template to form a password mapping template set. Each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis. Specifically, the characters in each password mapping template include uppercase letters, lowercase letters, numbers, and special symbols, and the mapping relationship between each type of character and emoji is defined respectively. Among them, one character type can correspond to one type of emoji. Furthermore, to improve the security of emoji passwords, one character type can correspond to multiple types of emoji.

[0061] Calculating a password security level based on a password generation request specifically includes: responding to a user's information sharing demand generated in a first application, extracting a first scenario semantic vector based on the location where the information sharing demand was generated, and issuing a password generation request, wherein the password generation request includes at least user information, a first application identifier, and a first scenario semantic vector. As an optional embodiment, if a first preset trigger word is detected during the use of the first application, the first application is triggered to generate an information sharing demand, and the first preset trigger word includes at least forwarding, sharing, etc. For example, if the first application is WeChat, during a WeChat chat, the user mentions "wait a moment, I'll forward it to you", the first preset trigger word is detected, the user's information sharing demand is identified, and the first application is triggered to generate an information sharing demand; further, as another optional embodiment, if the user clicks a preset button in the first application, the first application is triggered to generate an information sharing demand; as another optional embodiment, if the first preset trigger word is detected during the use of the first application, the context of the first preset trigger word in the first application is obtained, and the presence of an information sharing demand is identified based on the detected first preset trigger word and the context calibration of the first preset trigger word.

[0062] In response to detecting the password generation request, the first application identifier and the first scenario semantic vector of the password generation request are extracted and input into the first model to obtain a password security factor score; based on the password security factor score, the security level corresponding to the password mapping template is determined, and the target template is matched from the password mapping template set according to the security level.

[0063] The converting of the string password into emoji based on the target template specifically includes: obtaining user information based on the password generation request, determining the unique identifier of the string password generated in response to the password generation request; matching the same password in the historical password database based on the user information in the password generation request and the unique identifier of the string password; if so, verifying the validity of the same password in the historical password database; if so, converting the same password in the historical password database into emoji based on the target template; if not or the password is invalid, matching the target password parsing template based on the user information, generating a string password based on the target password parsing template, and converting the generated string password into an emoji password based on the target template. As an optional embodiment, the verifying the validity of the same password in the historical password database specifically includes: the password has a first timestamp for recording the time when the password was generated, calculating whether the time difference between the first timestamp of the same password in the historical password database and the current time is less than a time validity threshold; if so, the same password in the historical password database is valid; otherwise, it is invalid.

[0064] After converting the character string password into an emoji password based on the target template, the method further includes: associating and storing user information, a unique identifier of the character string password, and the character string password in a historical password database, and returning the emoji password to the requesting user.

[0065] As an optional embodiment, the emoji-based password generation method further includes: updating each password mapping template in the password mapping template set according to the security level of each password mapping template, and updating the validity of the emoji password based on the first timestamp of the emoji password. Specifically, an update period corresponding to each security level is set, and the update period of each password mapping template in the password mapping template set is determined according to the security level of each password mapping template. If the update period is reached since the password mapping template was generated, the method returns to the step of determining the second emoji data set corresponding to each password mapping template from the first emoji candidate data set according to the security level of each password mapping template. The time value of the generation of the emoji password is used as the first timestamp, and the validity period of each password is set according to the security factor score of the password. If the validity period is reached since the first timestamp, the corresponding emoji password is set to an invalid state.

[0066] As an optional embodiment, the emoji-based password generation method further includes: updating the first emoji candidate data set according to a preset data update cycle, wherein the length of the data update cycle is greater than the update cycle corresponding to each password mapping template and the validity period of each password.

[0067] A second embodiment of the present invention provides an emoji-based password generation device, wherein the emoji-based password generation device specifically includes:

[0068] a data collection module, configured to determine a first emoji candidate dataset based on historical emoji usage information of the user, wherein each first emoji in the first emoji candidate dataset includes emoji category information;

[0069] a template establishment module, configured to determine, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establish each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset;

[0070] a template matching module, configured to calculate a security level of a password based on a password generation request, and match a target template from the password mapping template set according to the security level of the password;

[0071] A password conversion module is used to convert the string password into an emoji password based on the target template.

[0072] The emoji-based password generation device also includes: a sending module, which is used to copy and forward the emoji password after converting the string password into an emoji password based on the target template; the password recipient copies the emoji password and enters the application corresponding to the emoji password. In response to the application corresponding to the emoji password detecting the copied emoji password, the application corresponding to the emoji password issues an operation request to the user who issued the emoji; the user who issued the emoji performs pre-authentication and post-authentication on the emoji password respectively. If the pre-authentication and post-authentication are passed, the preset operation is performed in response to the operation request; otherwise, the operation request is rejected.

[0073] After converting the character string password into an emoji password based on the target template, the method further includes: associating and storing user information, a unique identifier of the character string password, and the character string password in a historical password database, and returning the emoji password to the requesting user.

[0074] As an optional embodiment, the emoji-based password generation device also includes: an update module, which is used to update each password mapping template in the password mapping template set according to the security level of each password mapping template, and update the validity of the emoji password based on the first timestamp of the emoji password; update the first emoji candidate data set according to a preset data update cycle, and the length of the data update cycle is greater than the update cycle corresponding to each password mapping template and the validity period of each password.

[0075] It is not difficult to find that this embodiment is a device embodiment corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied to the first embodiment.

[0076] It is worth noting that all modules involved in this embodiment are logical modules. In actual applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, to highlight the innovations of the present invention, this embodiment does not include units that are not closely related to solving the technical problems proposed by the present invention. However, this does not mean that other units do not exist in this embodiment.

[0077] This specification also provides a computer-readable storage medium, which stores a computer program that can be used to execute the above Figure 1 Provides a method for generating emoji-based passwords.

[0078] This manual also provides Figure 2 The one shown corresponds to Figure 1 Schematic diagram of the electronic equipment. Figure 2 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 The emoji-based password generation method. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0079] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0080] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0081] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Thus, this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take 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.

[0082] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0083] The foregoing is merely an example of the present invention and is not intended to limit the present invention. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.

Claims

1. A method for generating a password based on emoji, characterized in that: The emoji-based password generation method specifically includes: determining a first emoji candidate dataset based on the user's emoji usage history information, wherein each first emoji in the first emoji candidate dataset includes emoji category information; Determining, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establishing each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset corresponding to each password mapping template; Calculating a security level of the password based on the password generation request, and matching a target template from the password mapping template set according to the password security level; The string password is converted into an emoji password based on the target template.

2. The emoji-based password generation method according to claim 1, characterized in that: After converting the string password into an emoji password based on the target template, the method further includes: The password recipient copies the emoji password and enters the application corresponding to the emoji password; In response to the application corresponding to the emoji password detecting the copied emoji password, the application corresponding to the emoji password issues an operation request to the user who issued the emoji; The user who sent the emoji performs pre-authentication and post-authentication on the emoji password respectively. If the pre-authentication and post-authentication are passed, the preset operation is performed in response to the operation request; otherwise, the operation request is rejected.

3. The emoji-based password generation method according to claim 1, characterized in that: Determining the first emoji candidate dataset based on the user's emoji historical usage information specifically includes: Count the categories of emojis used in a first historical time period in a password requirement scenario, sort the categories of each emoji according to the frequency of use, obtain the top n categories as candidate categories, and obtain the emojis of each candidate category to form a first emoji candidate dataset, wherein the first emoji candidate dataset includes multiple emojis, and each emoji includes a category attribute.

4. The emoji-based password generation method according to claim 1, characterized in that: Before determining the second emoji datasets corresponding to the respective password mapping templates from the first emoji candidate dataset according to the security level of the respective password mapping templates, the method further includes: Obtain historical usage data of various applications of users in the client; Marking the applications that use information sharing and their information sharing application scenarios based on historical usage data of various applications to obtain a first scenario set, wherein the first scenario set includes a plurality of first scenario pairs, and each first scenario pair stores the applications that use information sharing and their corresponding information sharing application scenarios in a combined form; Extracting the application identifier and the semantic vector of the information sharing application scenario in each first scenario pair in the first scenario set as input, and evaluating the safety factor score of the first scenario pair using the first model; According to the security factor scores of each first scenario pair in the first scenario set, k security level levels are determined, that is, k password mapping templates with different security levels are included. According to the security level from high to low, k password mapping templates with different security levels are established respectively.

5. The emoji-based password generation method according to claim 1, characterized in that: Calculating a password security level based on the password generation request, and matching a target template from the password mapping template set according to the password security level, specifically comprising: In response to an information sharing demand generated by a user in a first application, extracting a first scene semantic vector based on a location where the information sharing demand is generated, and issuing a password generation request, the password generation request including at least user information, a first application identifier, and the first scene semantic vector; In response to detecting the password generation request, extracting a first application identifier and a first scenario semantic vector of the password generation request and inputting them into a first model to obtain a password security factor score; According to the security factor score of the password, a security level corresponding to the password mapping template is determined, and a target template is matched from the password mapping template set according to the security level.

6. The emoji-based password generation method according to claim 1, characterized in that: The converting of the string password into emoji based on the target template specifically includes: Acquiring user information based on the password generation request, and determining a unique identifier for a character string password generated in response to the password generation request; Based on the user information in the password generation request and the unique identifier of the string password, whether the password is the same as the password in the historical password database; If so, verify the validity of the same password in the historical password database; if valid, convert the same password in the historical password database into an emoji based on the target template; If the password does not exist or is invalid, a target password parsing template is matched based on the user information, a string password is generated based on the target password parsing template, and the generated string password is converted into an emoji password based on the target template.

7. The emoji-based password generation method according to claim 1, characterized in that: The emoji-based password generation method further includes: determining an update period for each password mapping template according to a security level of each password mapping template to update each password mapping template in the password mapping template set, and updating the validity of the emoji password based on the first timestamp of the emoji password and the validity period of each password; The first emoji candidate dataset is updated according to a preset data update period, where the data update period is longer than the update period corresponding to each password mapping template and the validity period of each password.

8. A password generation device based on emoji, characterized in that: The emoji-based password generation device includes: a data collection module, configured to determine a first emoji candidate dataset based on historical emoji usage information of the user, wherein each first emoji in the first emoji candidate dataset includes emoji category information; a template establishment module, configured to determine, from the first emoji candidate dataset, a second emoji dataset corresponding to each password mapping template based on the security level of each password mapping template, and establish each password mapping template using the emojis in the second emoji dataset corresponding to each password mapping template to form a password mapping template set, wherein each password mapping template in the password mapping template set defines a mapping relationship between characters and emojis, each password mapping template having a different security level, and each password mapping template having a different number of emoji categories contained in the second emoji dataset; a template matching module, configured to calculate a security level of a password based on a password generation request, and match a target template from the password mapping template set according to the security level of the password; A password conversion module is used to convert the string password into an emoji password based on the target template.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions stored in the memory to implement the emoji-based password generation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a plurality of computer programs, wherein the computer programs are suitable for being loaded by a processor and executing the emoji-based password generation method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data processing method and device, electronic equipment and computer-readable storage medium

    CN108549681A

  • Password sharing method and device, electronic equipment and storage medium

    CN112632418A