Invitation code generation method and device, terminal equipment and storage medium

An invitation code and target generation technology, applied in the information field, can solve problems such as the complexity of the process of generating invitation codes, and achieve the effects of preventing brute force cracking, improving security, and ensuring security

Active Publication Date: 2019-11-22
PING AN SECURITIES CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method, device, terminal device and storage medium for generating an invitation code to solve the problem that the process of generating an invitation code in the prior art is too complicated

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Invitation code generation method and device, terminal equipment and storage medium
  • Invitation code generation method and device, terminal equipment and storage medium
  • Invitation code generation method and device, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In the following description, specific details such as specific system structures and technologies are presented for illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0027] The technical solutions of the present invention are illustrated below through specific examples.

[0028] refer to figure 1 , which shows a schematic flow chart of the steps of a method for generating an invitation code according to an embodiment of the present invention, which may specifically include the following steps:

[0029] S101. Determine a reference character string for generating an invitati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention is suitable for the technical field of information, and provides an invitation code generation method and device, terminal equipment and a storage medium, and the method comprises the steps: determining a reference character string for generating an invitation code; performing hash calculation on the reference character string to generate an MD5 value; generating ahash array according to the reference character string and the MD5 value, and converting the hash array into a verification character string according to a preset rule; performing position transformation on the reference character string by adopting the hash array to generate a target character string; and combining the verification character string and the target character string into an invitation code. In the generation process of the embodiment, hash calculation only needs to be executed once, and the efficiency of generating the invitation code is high; the verification character string in the generated invitation code can irregularly follow, and the invitation code cannot be cracked by modifying a certain character, so that the safety of the invitation code is improved.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a method for generating an invitation code, a device for generating an invitation code, a terminal device and a computer-readable storage medium. Background technique [0002] An invitation code is a string of characters that users can freely share, and users can obtain certain benefits through this invitation code. For example, a credit card user of a bank invites a friend to apply for a credit card of the bank by sending an invitation code to the friend, so that the user and his friend can both obtain points rights or item rewards presented by the bank. [0003] Usually, the invitation code is a character string with a certain length generated by corresponding algorithmic rules. For example, the invitation code may be a 12-digit string composed of numbers and letters. In order to ensure the security of the invitation code, while generating the invitation code...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/25G06F16/901G06F16/903
CPCG06F16/258G06F16/9014G06F16/90344
Inventor 杨泽鑫
Owner PING AN SECURITIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products