Identity card number desensitization method and device, equipment and storage medium

An ID card number and desensitization technology, which is applied in the field of data processing, can solve problems such as missing information and being unable to be used as a valid input for verification, and achieve the effect of increasing practical significance

Pending Publication Date: 2022-04-12
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This desensitization method will lose information when the ID card number is required to show actual meaning, and the '*' cannot be used as a valid input for verification when verifying the validity of the ID card number input.

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
  • Identity card number desensitization method and device, equipment and storage medium
  • Identity card number desensitization method and device, equipment and storage medium
  • Identity card number desensitization method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a schematic flowchart of a method for desensitizing an ID number provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of desensitizing the ID number. The method can be executed by an ID card number desensitization device, which can be realized by software and / or hardware, for example, the ID card number desensitization device can be configured in a computer device. Such as figure 1 As shown, the method includes:

[0046] S110. Obtain the ID card number to be desensitized and the current time stamp.

[0047] In this embodiment, in order to ensure the rationality and statistical availability of the desensitized ID card number to the greatest extent, a timestamp-based desensitization method is provided. Taking advantage of the fact that the numbers at the front of the timestamp do not change frequently, and the numbers at the back change more frequently, the characteristics of the number composition in the ID ...

Embodiment 2

[0065] figure 2 It is a schematic flowchart of a method for desensitizing an ID number provided in Embodiment 2 of the present invention. This embodiment provides a preferred embodiment on the basis of the above solution.

[0066] Such as figure 2 As shown, the ID number to be desensitized is obtained after the desensitized ID number through the province and city code rationalization device, the date of birth rationalization device and the ID number legality verification supplementary device. to combine figure 2 , the ID number desensitization method provided in this embodiment is composed of the following components:

[0067] (1) Eighteen-bit time stamp acquirer. The function is to obtain the timestamp digital string, and reserve 18 digits for future use.

[0068] (2) The bitwise remainder device is an arithmetic unit, which corresponds the 18-digit time stamp acquired by the time stamp acquirer to the 18-digit ID number one by one, and then pairs each digit of the fi...

Embodiment 3

[0087] image 3 It is a structural schematic diagram of an ID number desensitization device provided in Embodiment 3 of the present invention. The device for desensitizing the ID number can be realized by means of software and / or hardware, for example, the device for desensitizing the ID number can be configured in a computer device. Such as image 3 As shown, the device includes a desensitization parameter acquisition module 310, an ID number removal module 320, a number rationalization processing module 330 and a desensitization ID number module 340, wherein:

[0088] The desensitization parameter acquisition module 310 is used to obtain the identity card number to be desensitized and the current timestamp;

[0089] The ID card number gets the remainder module 320, is used to take each digit in the ID card number to be desensitized to the corresponding number in the current time stamp to get the remainder, and obtains the ID card number that gets the remainder;

[0090] T...

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 discloses an identity card number desensitization method and device, equipment and a storage medium. The method comprises the following steps: acquiring a to-be-desensitized identity card number and a current timestamp; each digit in the to-be-desensitized identity card number is used to carry out remainder taking on a corresponding digit in the current timestamp to obtain a remainder taking identity card number; determining a to-be-desensitized region code, a to-be-desensitized birthday code and a sequence code in the remaining identity card number according to the digital code meaning in the identity card number, desensitizing the to-be-desensitized region code to obtain a desensitized region code, desensitizing the to-be-desensitized birthday code to obtain a desensitized birthday code, and desensitizing the to-be-desensitized birthday code to obtain a desensitized birthday code; determining a check code based on the desensitized region code, the desensitized birthday code and the sequence code; and sequentially splicing the desensitization region code, the desensitization birthday code, the sequence code and the check code to obtain a desensitization identity card number. According to the method, the identity card number is desensitized based on the timestamp, so that the identity card numbers with similar numbers before desensitization are still kept close after desensitization processing, the characteristics of number composition are kept, and the practical significance is increased.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular to a method, device, equipment and storage medium for desensitizing an ID card number. Background technique [0002] In recent years, information security incidents such as personal information leakage and information tampering have occurred frequently. These personal information data all have certain risks. Through the data desensitization device, it can effectively prevent the abuse of private data within the enterprise, prevent the private data from flowing out of the enterprise without desensitization, and satisfy the enterprise's need to protect private data and make reasonable use of the data at the same time. [0003] At present, a common desensitization method for similar sensitive information such as ID number is to replace several digits in the middle of the ID number with the character '*'. This desensitization method will lose info...

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
IPC IPC(8): G06F21/62
Inventor 朱鹏儒
Owner AGRICULTURAL BANK OF CHINA
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