CN114900490B - Identification information generation method, system, equipment and storage medium - Google Patents

Identification information generation method, system, equipment and storage medium Download PDF

Info

Publication number
CN114900490B
CN114900490B CN202210351511.2A CN202210351511A CN114900490B CN 114900490 B CN114900490 B CN 114900490B CN 202210351511 A CN202210351511 A CN 202210351511A CN 114900490 B CN114900490 B CN 114900490B
Authority
CN
China
Prior art keywords
identifier
information
random number
identification information
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210351511.2A
Other languages
Chinese (zh)
Other versions
CN114900490A (en
Inventor
何俊华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Wangxing Information Technology Co ltd
Original Assignee
Guangzhou Wangxing Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Wangxing Information Technology Co ltd filed Critical Guangzhou Wangxing Information Technology Co ltd
Priority to CN202210351511.2A priority Critical patent/CN114900490B/en
Publication of CN114900490A publication Critical patent/CN114900490A/en
Application granted granted Critical
Publication of CN114900490B publication Critical patent/CN114900490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a method, a system, equipment and a storage medium for generating identification information. According to the technical scheme provided by the embodiment of the application, the third party account identifier or the input information of the current user is determined to be the first identifier by acquiring the third party account identifier of the current user or acquiring the input information of the current user; inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier; and combining the first identifier and the second identifier to generate the identifier information of the current user. By adopting the technical means, the uniqueness of the identification information is ensured through the random number specified by the random number sequence. And the user's third party account identification or input information is used for displaying the related information of the user's requirement, so as to meet the user's personalized setting requirement, ensure the meaning of the identification information and optimize the personalized generation effect of the identification information.

Description

Identification information generation method, system, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a system, equipment and a storage medium for generating identification information.
Background
At present, in application scenes of various social software, user identification information (such as a nickname of a user) is taken as an important user attribute, so that the user can well indicate the identity of the user in the interaction behaviors of paying attention to friends, posting comments, content praying, gifts and the like. To better communicate with the other party and promote the social relationship of the two parties. In general, identification information needs to be unique to avoid cluttering the software application environment by the presence of a large number of users with identical nicknames. Thus, when a user creates or autonomously modifies a nickname, the system may provide a random combination of a segment of alphanumeric symbols to assist in generating a new nickname to avoid homonymic conflicts between identifying information.
However, the conventional identification information generated based on the random combination of the letters and the numerical symbols is difficult to display the associated information required by the user, and cannot meet the personalized requirements of the user. And is difficult to memorize and use for communication, lacking in meaning. In addition, the identification information of random combination has the possibility of homonymous conflict, and the uniqueness of the identification information cannot be guaranteed.
Disclosure of Invention
The embodiment of the application provides a method, a system, equipment and a storage medium for generating identification information, which can improve the meaning of the identification information while guaranteeing the uniqueness of the identification information, meet the personalized setting requirement of a user and solve the technical problem that the identification information is difficult to display the requirement information of the user.
In a first aspect, an embodiment of the present application provides a method for generating identification information, including:
acquiring a third party account identifier of a current user or input information of the current user, and determining the third party account identifier or the input information as a first identifier;
inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier;
and combining the first identifier and the second identifier to generate the identifier information of the current user.
In a second aspect, an embodiment of the present application provides an identification information generating system, including:
the acquisition module is configured to acquire a third party account identifier of the current user or acquire input information of the current user, and determine the third party account identifier or the input information as a first identifier;
the query module is configured to query a pre-constructed random number sequence, extract a specified random number and determine the specified random number as a second identifier;
and the generating module is configured to combine the first identifier and the second identifier to generate the identifier information of the current user.
In a third aspect, an embodiment of the present application provides an identification information generating device, including:
a memory and one or more processors;
the memory is configured to store one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the identification information generation method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are configured to perform the identification information generation method of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising instructions which, when executed on a computer or processor, cause the computer or processor to perform the identification information generation method according to the first aspect
According to the embodiment of the application, the third party account identifier or the input information of the current user is determined to be the first identifier by acquiring the third party account identifier of the current user or acquiring the input information of the current user; inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier; and combining the first identifier and the second identifier to generate the identifier information of the current user. By adopting the technical means, the uniqueness of the identification information is ensured through the random number specified by the random number sequence. And the user's third party account identification or input information is used for displaying the related information of the user's requirement, so as to meet the user's personalized setting requirement, ensure the meaning of the identification information and optimize the personalized generation effect of the identification information.
Drawings
Fig. 1 is a flowchart of an identification information generating method provided in an embodiment of the present application;
FIG. 2 is a Gray code number column diagram provided by an embodiment of the present application;
FIG. 3 is a flow chart of the determination of a second identifier in an embodiment of the present application;
FIG. 4 is a flow chart of generation of identification information in an embodiment of the present application;
FIG. 5 is a schematic diagram of a user registration interface in an embodiment of the present application;
FIG. 6 is a schematic diagram of an identification information modification interface in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an identification information generating system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an identification information generating apparatus provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The identification information generation method aims at combining the appointed random number through the third party user identification or the user input information so as to ensure the uniqueness of the user identification information and ensure the significance of the identification information while ensuring that the identification information contains the related information of the user requirement, thereby meeting the personalized setting requirement of the user.
In a practical application scenario, the identification information is allowed to be modified by the user independently, but cannot be generally repeated with the identification information existing on the line. Before the user modifies or newly builds the identification information, the system allocates a preset identification information as a reference for the user to select.
The system needs to ensure the uniqueness of the identification information when generating the identification information. I.e. the identification information must be unique or the line will be filled with a large number of indistinguishable users of the same identification, which may be confusing to the application environment. For this reason, the existing identification information generation method uses a random combination of alphanumeric symbols or combines user equipment information to construct user identification information. However, these methods do not contain relevant information about the current user, are difficult to meet the personalized needs of the user, and random alphanumeric symbol combinations have no practical meaning, are difficult to memorize and lack meaning.
In addition, a method for constructing an identification information base by crawling a large amount of data by utilizing a crawler program and then randomly selecting and distributing identification information from the identification information base is also provided. The identification information base requires a lot of memory space at the time of initial construction, and the random allocation of the identification information, although having a fixed meaning to the identification information itself, may not be relevant to the user. For example, assigning maleated identification information to female users can affect the user's nickname setting experience.
Based on the above, an identification information generating method of the embodiment of the application is provided to solve the technical problem that the identification information is difficult to display the user demand information.
Examples:
fig. 1 shows a flowchart of an identification information generating method provided in an embodiment of the present application, where the identification information generating method provided in the embodiment may be performed by an identification information generating device, and the identification information generating device may be implemented by using software and/or hardware, and the identification information generating device may be configured by using two or more physical entities or one physical entity. In general, the identification information generating device may be a computing device such as a system background, a server host, or the like.
The following description will take the identification information generating apparatus as an example of a main body that performs the identification information generating method. Referring to fig. 1, the identification information generation method specifically includes:
s110, acquiring a third party account identifier of the current user or acquiring input information of the current user, and determining the third party account identifier or the input information as a first identifier.
When the identification information is generated, the user identification information is constructed by combining the specified random number through the third party account identification of the user or the input information of the user. The identification information constructed according to the third party account identification or the user input information can contain user association information through the third party account identification or the user input information acquisition, and the personalized setting requirement of the user identification information is met.
Specifically, for a scenario of acquiring a third party account identifier of a current user, when the current user performs an account registration operation, the embodiment of the present application acquires the third party account identifier of the current user in response to the account registration operation; and detecting the specified information of the third party account identifier, and screening out the specified information.
It will be appreciated that since many registered users of application products are registered through a third party account. Such as registering an account number of another application product using a third party account such as a mailbox account, a WeChat account, or the like. Based on the characteristics, when the current user registers an account, the embodiment of the application cuts out the part of information through the third party account identifier (such as a mailbox name, an account nickname and the like) used by the current user, and defines the part of information as a first identifier for generating the identification information of the subsequent user.
In addition, in order to simplify the first identification information, some information without special meaning or with a small meaning is removed, the application implementation further detects the specified information of the third party account identification, and then screens out the specified information. The specified information may be emoticons, offensive text, symbols, and the like. And the information needing to be screened is pre-designated, and then the third party account identification can be adaptively screened after being acquired.
For the scenario of acquiring the input information of the current user, when the current user performs the identification modification operation, the embodiment of the application acquires the input information of the current user in response to the identification modification operation.
It will be appreciated that when the user modifies the identification information, the part of the information input by the user in real time is also necessarily the part of the information required by the user to create the identification information. The part of the input information is also information which is required by the user and has significance. The embodiment of the application intercepts the input information before the user does not submit the input information, and uses the input information as a first identifier for generating subsequent user identification information.
It should be noted that, in the user modification identification information or the user registration scenario, the user is required to perform a creation operation of the user identification (such as creating a nickname of the user). In order to optimize the user identifier creation experience, the embodiment of the application generates the identifier information by acquiring the first identifier and combining the second identifier when the user registers or modifies the identifier information. And then providing the user identification information to a client terminal which is registering the user or modifying the identification information for presentation so as to assist the user who is creating the user identification, and providing reference for the creation of the user identification. When the user creates the user identification, the user identification can be efficiently created by clicking and selecting the identification information as the user identification, and the user interaction experience is improved.
S120, inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier.
Specifically, in order to ensure the uniqueness of the identification information, the embodiment of the application adds a random number into the identification information to ensure that the identification information does not have homonymous conflict. Wherein, when generating the identification information, a random number is determined by inquiring a pre-constructed random number sequence, and the random number is determined as the second identification. To generate the identification information based on the first identification and the second identification later.
Optionally, in the embodiment of the present application, a pre-constructed random number sequence is queried according to the first identifier, where the random number sequence is pre-constructed corresponding to the first identifier, and the random number sequence is a gray code number sequence. Before the identification information generating device constructs corresponding random number columns corresponding to different first identifications in advance, so that the uniqueness of the identification information is further improved, and the situation that when all the identification information shares the same random number column, second identifications of the identification information are too lengthy and are easy to collide with each other under the same name is avoided.
Since in a number set, in order to be able to ensure that the currently selected number has not been selected before, the selection of numbers in the number set is performed in a certain order. Therefore, each time a random number is selected from the random number sequence, the embodiment of the present application sequentially selects the specified random number, so as to ensure that the currently selected random number is not selected before.
Illustratively, when the current set of digits ranges from 0 to 99, the digits are ordered in a 0,1,2,3. Then in the series sequence (index) =index (0+.index < sequence_length=100). Where index represents the number position, sequence represents the number column, and sequence_length represents the number column length. Then if the digital sequence was last selected (40), then when the specified random number selection is currently made, the sequence is selected (41). Because the rule of selecting random numbers by the sequential sequence is too obvious every time, the second marks selected based on the first marks are incremental numbers in the front and back times, so that the mark information is generated to be too similar, and tracking is available. The second identification sequence generated based on the same first identification is increased in a short time, so that the generated identification information is similar, and the interaction experience of the user is affected. Based on this, the present application uses gray code sequence, and the gray code sequence of 0 to 127 is taken as an example, and the sequence arrangement form is shown in fig. 2. The gray code number columns in various arrangement forms are used for transforming the ordering mode of the numbers in the number columns, so that the random ordering of the numbers in the number columns is ensured, and the situation that the sequence of random numbers selected in a short time before and after is increased is avoided.
Further, referring to fig. 3, the embodiment of the present application extracts a specified random number, determines the specified random number as the second identifier, and includes:
s1201, determining first position information of a random number used last time in a random number sequence;
s1202, determining second position information based on the first position information plus the setting step information, extracting a specified random number from the second position information and determining the specified random number as a second mark.
Specifically, by arranging the digits in the digit set into an ordered sequence of digits, the digits in any one position index of the sequence can be denoted by "sequence (index)", and the digits are in one-to-one correspondence. Then, when the random number is selected, if the random number selected last time is "sequence (index)", i.e., the first location information is "index". When the random number is selected currently, setting step length information is added on the basis of the first position information index, the obtained position information is defined as second position information, the random number is selected from the second position information as a second identifier, and therefore the fact that the number selected each time cannot be repeated can be ensured.
Based on the gray code sequence, although the regularity is not obvious in general, the sequence can be found to be ordered from small to large and from large to small. But also the similarity of numbers is higher for short sequence observations scaled down into it. For this reason, the embodiment of the present application introduces the concept of setting the step size information step. The currently selected specified random number is changed into 'sequence (index+step)', wherein 0 is less than or equal to index < sequence_length >, index represents a digital position, sequence represents a sequence, and sequence_length represents a sequence length.
For example, when the current random number is selected by setting the step information to 1. The random number "sequence (index+1)" at the second position information "index+1" is directly selected. The random number sequence (index+1) is used as the second identifier, so that the uniqueness of the second identifier can be ensured. In order to avoid a high similarity between several numbers in a small range, the setting step information may be set to a large value. For example, when the current random number is selected by setting the step information to 8. The random number "sequence (index+8)" at the second position information "index+8" is directly selected. The random number sequence (index+1) is used as the second identifier, so that the uniqueness of the second identifier can be ensured. The first position information index of the random number is only needed to be selected every time, the second position information can be determined by combining the set step length information, and the random number of the second position information is extracted to be used as the second identifier.
Further, determining the second position information based on the first position information plus the setting step information further includes: when the position of the first position information added with the set step length information exceeds the number sequence length of the random number sequence, the first position information is added with the set step length information, and the second position information is obtained by performing modulo processing on the first position information and the number sequence length, wherein the number sequence length and the set step length information are prime numbers.
It will be appreciated that, because the length of the array is fixed, each time a random number is selected, a fixed step is spaced, and if the value "index+step" of the first position information plus the set step information exceeds the length range of the array, the random number not selected in the array is used continuously. In the embodiment of the application, the value "index+step" of the set step information is added to the first position information to perform modulo processing on the sequence_length of the array length. A specified random number "sequence (next (index, step)) at the second position information is obtained. Where next (index, step) = (index+step)% sequence_length. Each time the value "index+step" of the first position information plus the set step information exceeds the range of the length of the sequence, the second position information is redetermined in the random sequence by modulo processing until the number traversed is repeated. At this time, a new random number sequence may be created to ensure that the second identifier provided later is not repeated.
It should be noted that, in the selection value of the setting step information "step", it is necessary to ensure that the setting step information "step" and the sequence length "sequence_length" are prime numbers to each other. Therefore, the second position information (i.e. the remainder after the modulo processing) obtained after each modulo processing is not repeated with the position information selected before, so that the sequence can be repeatedly traversed.
S130, combining the first identifier and the second identifier to generate the identifier information of the current user.
Finally, based on the first identifier and the second identifier determined in the steps S110 to S120, the embodiment of the present application synthesizes the two pieces of information to serve as the identifier information of the current user. Because the first identifier comprises the third party account identifier or the input information and comprises the related information of the user requirement, the generation of the identifier information can be ensured to meet the personalized requirement of the user, and the meaning of the identifier information is ensured. The second identifier is selected through a random number sequence, so that the uniqueness of the generated identifier information can be ensured. The individuation generating effect of the identification information is optimized while the uniqueness of the identification information is guaranteed.
Specifically, when the first identifier and the second identifier are combined, the first identifier is used as a prefix of the identifier information, and the second identifier is used as a suffix of the identifier information to be combined. It will be appreciated that based on the first identification, a meaningful portion of the identification information has been assigned. However, if the first identification is directly used as the identification information, there is a possibility that a large amount of identification information is repeated thereto. For example, if account identification information for different users in a third party platform is likely not unique. Or when a certain hotspot appears, the user can actively input the same content to modify the nickname of the user. This results in a duplication of the first identification.
Based on this, the embodiment of the application will prefix the first identifier as the finally generated identifier information. In order to solve the uniqueness problem of the identification information, a specified random number (namely a second identification) is added as the suffix of the identification information, so that the identification information which can ensure uniqueness and meet the requirements of users and has significance is obtained. In practical application, the first identifier may be used as the suffix of the identification information, and the second identifier may be used as the prefix of the identification information, so as to combine and obtain the identification information. According to the actual requirement for generating the identification information, the information combination can be performed by adaptively selecting the combination mode of the two, and the specific combination mode is not fixedly limited in the embodiment of the application and is not repeated here.
Optionally, after generating the identification information, the identification information generating device further updates the second location information to the first location information of the next query random number sequence. It will be appreciated that in order to ensure that the next time identification information is generated, the random number selected based on the random number sequence will not overlap with the random number selected last time, resulting in a situation in which the second identification is repeated. The first position information recorded by the random number sequence needs to be updated, the second position information of the random number selected at the time is updated into new first position information, so that when the next second identifier is acquired, the random number sequence is queried through the new first position information, and the random number at the position of the first position information plus the set step length information (i.e. index+step) is selected as the second identifier.
Illustratively, taking a scenario in which a user creates a nickname of the user as shown in fig. 4, when the user registers an account or modifies the nickname, the client may report, in real time, the nickname of the user's third party account or input information when modifying the nickname to the identification information generating device. The identification information generating device firstly obtains a first identification through a nickname prefix management service process based on a nickname service process received third party account nickname or input information when modifying the nickname. The nickname prefix management service is responsible for processing the nickname of the third party account or waiting for the input information to process the text information, and screens out the specified information, such as removing less significant information such as emoticons, numbers, and the like, so as to obtain a nickname prefix (i.e., the first identifier). And then the nickname prefix is sent to a nickname suffix management service, and the nickname suffix management service queries a random number sequence corresponding to the nickname prefix currently, the number sequence length, the set step length information and the first position information from a database according to the imported nickname prefix, and then selects a designated random number from a second position of the random number sequence by referring to the second identification mode to serve as the nickname suffix. The nickname suffix is returned to the nickname service. The nickname service returns the user nickname to the client by combining the nickname prefix and the nickname suffix to obtain the user nickname (i.e., identification information).
Referring to fig. 5, if the user is performing an account registration operation at this time, a user nickname "helloxxx" is displayed on the user registration page. Wherein the nickname prefix "Hello" is the nickname of the third party account (i.e., the third party account identification) used when the current user is registered. The nickname suffix "XXXX" is a specified random number selected from the nickname prefix query random number sequence. The user selects the nickname of the user through man-machine interaction, and the nickname of the user can be used as the nickname of the current user registered account, so that efficient account nickname setting is realized, and user identification setting efficiency is improved. The method and the device effectively assist the user in user identification setting, and optimize interaction experience of nickname setting of the registered account when the user registers.
On the other hand, referring to fig. 6, if the user is nickname modification operation at this time. When a user inputs the information "Hello" while modifying the nickname, a user nickname "helloxxx" is displayed on the user registration page. The nickname prefix 'Hello' is a first identification part obtained by information 'Hello' input when a current user modifies a nickname. The nickname suffix "XXXX" is a specified random number (i.e., the second identification portion) selected from the array of nickname query random numbers based on the nickname prefix. The user selects the nickname of the user through man-machine interaction, so that the nickname modification of the user can be completed quickly, and the uniqueness of the nickname of the user is ensured. Therefore, efficient user nickname setting is realized, and user identification setting efficiency is improved. The method and the device effectively assist the user to set the user identification and optimize the interaction experience when the nickname of the user is modified.
Further, referring to fig. 4, if the client confirms that the nickname returned by the nickname service is used. The nickname service also updates the first location information of the nickname suffix management service to facilitate subsequent selection of the random number in the random number sequence, avoiding duplication of random number selection.
The third party account identifier or the input information of the current user is determined to be the first identifier by acquiring the third party account identifier of the current user or acquiring the input information of the current user; inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier; and combining the first identifier and the second identifier to generate the identifier information of the current user. By adopting the technical means, the uniqueness of the identification information is ensured through the random number specified by the random number sequence. And the user's third party account identification or input information is used for displaying the related information of the user's requirement, so as to meet the user's personalized setting requirement, ensure the meaning of the identification information and optimize the personalized generation effect of the identification information.
On the basis of the above embodiment, fig. 7 is a schematic structural diagram of an identification information generating system provided in the present application. Referring to fig. 7, the identification information generating system provided in this embodiment specifically includes: an acquisition module 21, a query module 22 and a generation module 23.
The acquiring module 21 is configured to acquire a third party account identifier of the current user or acquire input information of the current user, and determine the third party account identifier or the input information as a first identifier;
the query module 22 is configured to query a pre-constructed random number sequence, extract a specified random number, and determine the specified random number as the second identifier;
the generating module 23 is configured to combine the first identification and the second identification to generate identification information of the current user.
Specifically, the obtaining module 21 is configured to obtain, when the current user performs an account registration operation, a third party account identifier of the current user in response to the account registration operation; and detecting the specified information of the third party account identifier, and screening out the specified information. When the current user carries out the identification modification operation, the input information of the current user is obtained in response to the identification modification operation.
Specifically, the query module 22 is configured to query a pre-constructed random number sequence according to the first identifier, where the random number sequence is pre-constructed corresponding to the first identifier, and the random number sequence is a gray code number sequence. Determining first position information of a random number used last time by the random number sequence; determining second position information based on the first position information plus the setting step information, extracting a specified random number from the second position information, and determining the second position information as a second identification.
When the position of the first position information added with the set step length information exceeds the number sequence length of the random number sequence, the first position information is added with the set step length information, and the second position information is obtained by performing modulo processing on the first position information and the number sequence length, wherein the number sequence length and the set step length information are prime numbers.
Specifically, the generating module 23 is configured to combine the first identifier as a prefix of the identification information and the second identifier as a suffix of the identification information.
The third party account identifier or the input information of the current user is determined to be the first identifier by acquiring the third party account identifier of the current user or acquiring the input information of the current user; inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier; and combining the first identifier and the second identifier to generate the identifier information of the current user. By adopting the technical means, the uniqueness of the identification information is ensured through the random number specified by the random number sequence. And the user's third party account identification or input information is used for displaying the related information of the user's requirement, so as to meet the user's personalized setting requirement, ensure the meaning of the identification information and optimize the personalized generation effect of the identification information.
The identification information generation system provided by the embodiment of the application can be configured to execute the identification information generation method provided by the embodiment, and has corresponding functions and beneficial effects.
On the basis of the above practical example, the embodiment of the present application further provides an identification information generating apparatus, referring to fig. 8, including: processor 31, memory 32, communication module 33, input device 34 and output device 35. The memory 32 is configured as a computer-readable storage medium, and is configured to store a software program, a computer-executable program, and a module, and program instructions/modules (e.g., an acquisition module, a query module, and a generation module in an identification information generation system) corresponding to the identification information generation method according to any embodiment of the present application. The communication module 33 is configured to perform data transmission. The processor 31 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory, that is, implements the identification information generation method described above. The input device 34 may be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the apparatus. The output means 35 may comprise a display device such as a display screen. The identification information generating device provided above may be configured to execute the identification information generating method provided in the above embodiment, and has corresponding functions and beneficial effects.
On the basis of the above embodiments, the present embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor are configured to perform an identification information generation method, and the storage medium may be any of various types of memory devices or storage devices. Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the identification information generation method described above, and may also perform the relevant operations in the identification information generation method provided in any embodiment of the present application.
On the basis of the above embodiments, the embodiments of the present application further provide a computer program product, where the technical solution of the present application is essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product, and the computer program product is stored in a storage medium, and includes several instructions to cause a computer device, a mobile terminal or a processor therein to execute all or part of the steps of the identification information generation method described in the embodiments of the present application.

Claims (9)

1. An identification information generation method, characterized by comprising:
acquiring a third party account identifier of a current user or acquiring input information of the current user, and determining the third party account identifier or the input information as a first identifier;
inquiring a pre-constructed random number sequence, extracting a specified random number, and determining the specified random number as a second identifier; inquiring a pre-constructed random number sequence according to the first identifier, wherein the random number sequence is pre-constructed corresponding to the first identifier, and the random number sequence is a Gray code number sequence; determining first position information of a random number used once on the random number; determining second position information based on the first position information plus a set step size information, extracting the specified random number from the second position information and determining the specified random number as the second identifier;
and merging the first identifier and the second identifier to generate the identifier information of the current user.
2. The method for generating identification information according to claim 1, wherein the obtaining the third party account identification of the current user includes:
when the current user performs account registration operation, responding to the account registration operation, and acquiring a third party account identifier of the current user;
and detecting the specified information of the third party account identifier, and screening out the specified information.
3. The identification information generating method according to claim 1, wherein the obtaining input information of the current user includes:
when the current user carries out the identification modification operation, the input information of the current user is obtained in response to the identification modification operation.
4. The identification information generating method according to claim 1, wherein the determining of the second position information based on the first position information plus the setting step information further comprises:
when the position of the first position information added with the set step length exceeds the number sequence length of the random number sequence, the first position information is added with the set step length, and the second position information is obtained by performing modulo processing on the first position information and the number sequence length, wherein the number sequence length and the set step length are prime numbers.
5. The identification information generation method according to claim 1, characterized by further comprising, after generating the identification information of the current user:
updating the second location information to the first location information of the next query of the random number sequence.
6. The identification information generating method according to claim 1, wherein the merging the first identification and the second identification includes:
and combining the first identifier as a prefix of the identification information and the second identifier as a suffix of the identification information.
7. An identification information generation system, comprising:
the acquisition module is configured to acquire a third party account identifier of a current user or acquire input information of the current user, and determine the third party account identifier or the input information as a first identifier;
the query module is configured to query a pre-constructed random number sequence, extract a specified random number and determine the specified random number as a second identifier; inquiring a pre-constructed random number sequence according to the first identifier, wherein the random number sequence is pre-constructed corresponding to the first identifier, and the random number sequence is a Gray code number sequence; determining first position information of a random number used once on the random number; determining second position information based on the first position information plus a set step size information, extracting the specified random number from the second position information and determining the specified random number as the second identifier;
and the generation module is configured to combine the first identifier and the second identifier to generate the identifier information of the current user.
8. An identification information generating apparatus, characterized by comprising:
a memory and one or more processors;
the memory is configured to store one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the identification information generation method of any of claims 1-6.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are configured to perform the identification information generation method of any of claims 1-6.
CN202210351511.2A 2022-04-02 2022-04-02 Identification information generation method, system, equipment and storage medium Active CN114900490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210351511.2A CN114900490B (en) 2022-04-02 2022-04-02 Identification information generation method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210351511.2A CN114900490B (en) 2022-04-02 2022-04-02 Identification information generation method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114900490A CN114900490A (en) 2022-08-12
CN114900490B true CN114900490B (en) 2023-12-26

Family

ID=82715158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210351511.2A Active CN114900490B (en) 2022-04-02 2022-04-02 Identification information generation method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114900490B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421395B1 (en) * 2000-02-18 2008-09-02 Microsoft Corporation System and method for producing unique account names
KR20090093370A (en) * 2008-02-29 2009-09-02 주식회사 엔씨소프트 Method of Registering User Indication Name Used for On-Line Service
CN103457954A (en) * 2013-09-11 2013-12-18 陈迪 Method and device for user password management
CN105577626A (en) * 2014-10-28 2016-05-11 祝永康 User name registration and use method, system and device
CN106943747A (en) * 2017-03-27 2017-07-14 网易(杭州)网络有限公司 Virtual role names recommend method, device, electronic equipment and storage medium
WO2019184120A1 (en) * 2018-03-29 2019-10-03 平安科技(深圳)有限公司 Account management method and apparatus, terminal device, and storage medium
CN111953477A (en) * 2019-05-15 2020-11-17 北京奇安信科技有限公司 Terminal equipment, generation method of identification token of terminal equipment and interaction method of client
CN113411268A (en) * 2021-05-24 2021-09-17 深圳市元征未来汽车技术有限公司 Data transmission method, data transmission device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10394922B2 (en) * 2014-06-30 2019-08-27 Facebook, Inc. User index with nicknames

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421395B1 (en) * 2000-02-18 2008-09-02 Microsoft Corporation System and method for producing unique account names
KR20090093370A (en) * 2008-02-29 2009-09-02 주식회사 엔씨소프트 Method of Registering User Indication Name Used for On-Line Service
CN103457954A (en) * 2013-09-11 2013-12-18 陈迪 Method and device for user password management
CN105577626A (en) * 2014-10-28 2016-05-11 祝永康 User name registration and use method, system and device
CN106943747A (en) * 2017-03-27 2017-07-14 网易(杭州)网络有限公司 Virtual role names recommend method, device, electronic equipment and storage medium
WO2019184120A1 (en) * 2018-03-29 2019-10-03 平安科技(深圳)有限公司 Account management method and apparatus, terminal device, and storage medium
CN111953477A (en) * 2019-05-15 2020-11-17 北京奇安信科技有限公司 Terminal equipment, generation method of identification token of terminal equipment and interaction method of client
CN113411268A (en) * 2021-05-24 2021-09-17 深圳市元征未来汽车技术有限公司 Data transmission method, data transmission device and electronic equipment

Also Published As

Publication number Publication date
CN114900490A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN107145594B (en) Method, device and system for pushing virtual gift recommendation list
CN110020086B (en) User portrait query method and device
CN107391277B (en) Information processing method and device
US20190012362A1 (en) Method and apparatus for processing information
CN108432200A (en) Allow to access of the limitation to user information while communication
CN113031951B (en) Menu generation method, menu generation device, computer equipment and storage medium
CN105337841A (en) Information processing method and system, client, and server
US9894136B2 (en) Generating a domain name for each member in a group using a social graph or contact information
CN107391764B (en) Service data query method
CN104618420A (en) Information display method and device
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
US20170034109A1 (en) Generating a user name for each member in a group using a social graph or contact information
KR20180016735A (en) Business processing methods and devices
CN106210810B (en) Advertisement information processing method and device
CN112818654B (en) Message storage method, message generation method, device, electronic equipment and computer readable medium
CN114493541A (en) Task creation method, task creation apparatus, electronic device, storage medium, and program product
CN114900490B (en) Identification information generation method, system, equipment and storage medium
CN106649806B (en) Method for maintaining brand information
CN111200645B (en) Service request processing method, device, equipment and readable storage medium
CN105610849B (en) Method and device for generating sharing label and method and device for displaying attribute information
CN105677847A (en) Method for medicine information intelligent inquiry based on database
CN103491087A (en) Multimedia message processing method and device
CN105162842A (en) Display method and device for application in application wall
CN109120783A (en) Information acquisition method and device, mobile terminal and computer readable storage medium
CN112235120B (en) Group combination method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant