Data conversion method, device, electronic device and storage medium

The data conversion method addresses security gaps in electronic commercial bill desensitization by using sequence information to replace transaction data, ensuring unique desensitized ticket numbers and preventing information leakage.

CN114219631BActive Publication Date: 2024-12-27AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111570927.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-12-27
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

Existing methods for data desensitization of electronic commercial bills lack security and fail to meet protection needs, leading to potential information leakage.

Method used

A data conversion method that obtains ticket numbers with time and transaction information, acquires sequence information based on time, and replaces transaction information with sequence information to generate desensitized ticket numbers, ensuring unique sequence information and maintaining data structure integrity.

Benefits of technology

The method enhances security by avoiding duplication and leakage of ticket number information while maintaining data integrity and improving desensitization speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114219631B_ABST
    Figure CN114219631B_ABST
Patent Text Reader

Abstract

The present invention discloses a data conversion method, device, electronic device and storage medium. The method comprises: obtaining a ticket number to be processed, wherein the ticket number to be processed comprises time information and flow information; obtaining sequence information corresponding to the ticket number to be processed based on the time information; replacing the flow information based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed. The above technical scheme of the present invention obtains sequence information through time information, so that the obtained sequence information is the associated information of the time information, which can avoid the problem of duplication of sequence information in the time information; further, by replacing the flow information in the ticket number to be processed with the sequence information corresponding to the ticket number to be processed, the desensitization of the ticket number to be processed is achieved, the leakage of the ticket number information is avoided, and the security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of data processing technology, and in particular to a data conversion method, device, electronic device and storage medium. Background Art

[0002] Electronic commercial bills are commercial bills made in the form of data messages and promoted uniformly by the People's Bank of China. Depending on the acceptor, they include bank acceptance bills and commercial acceptance bills. In order to prevent information leakage of electronic commercial bills, desensitization is required.

[0003] Currently, there are many methods for data desensitization, and the rules and means are also rich. However, the desensitization method for electronic commercial bills has not yet been developed, which makes it difficult to meet the protection needs of electronic commercial bills and has poor security. Summary of the invention

[0004] The embodiments of the present invention provide a data conversion method, device, electronic device and storage medium to achieve desensitization processing of ticket numbers and improve the security of tickets.

[0005] In a first aspect, an embodiment of the present invention provides a data conversion method, including:

[0006] Obtaining the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information;

[0007] Acquire the sequence information corresponding to the ticket number to be processed based on the time information;

[0008] The transaction information is replaced based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed.

[0009] In a second aspect, an embodiment of the present invention further provides a data conversion device, comprising:

[0010] The ticket number processing module is used to obtain the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information;

[0011] A sequence information acquisition module, used to acquire the sequence information corresponding to the to-be-processed ticket number based on the time information;

[0012] The desensitized ticket number generation module is used to replace the transaction information based on the sequence information to obtain the desensitized ticket number corresponding to the ticket number to be processed.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0014] one or more processors;

[0015] a storage device for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement any data conversion method described in the embodiments of the present invention.

[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute any of the data conversion methods described in the embodiments of the present invention.

[0018] The present invention obtains the ticket number to be processed and obtains sequence information based on the time information in the ticket number to be processed, thereby avoiding the problem of duplication of sequence information in the time information; further, by replacing the flow information in the ticket number to be processed with the sequence information corresponding to the ticket number to be processed, the ticket number to be processed is desensitized, the leakage of the ticket number information is avoided, and the security is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 It is a flowchart of a data conversion method provided by Embodiment 1 of the present invention;

[0021] Figure 2 is a flow chart of a data conversion method provided by Embodiment 2 of the present invention;

[0022] Figure 3 is a structural schematic diagram of a data conversion device provided by Embodiment 3 of the present invention;

[0023] Figure 4 It is a structural schematic diagram of an electronic device provided by Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention.

[0025] It should also be noted that, for ease of description, only the part relevant to the present invention but not all content is shown in the accompanying drawings. It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processing or methods depicted as flow charts. Although the flow chart describes each operation (or step) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to methods, functions, procedures, subroutines, subprograms, etc.

[0026] Embodiment 1

[0027] Figure 1 This is a flow chart of a data conversion method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case where the ticket number is automatically desensitized. The method can be executed by the data conversion device provided in the embodiment of the present invention. The device can be implemented by software and / or hardware. The device can be configured on an electronic computing device, such as a terminal and / or a server. Specifically, it includes the following steps:

[0028] S110. Obtain the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information.

[0029] Among them, the pending bill number can be the bill number that needs to be desensitized, which is the unique identifier of the bill. The pending bill number can be composed of one or more of numbers, letters, and symbols. For example, the bill may include but is not limited to electronic commercial bills, that is, the pending bill number can be the number of the electronic commercial bill. Electronic commercial bills are commercial bills made in the form of data telegrams and promoted uniformly by the People's Bank of China. Depending on the acceptor, they include bank acceptance bills and commercial acceptance bills. The pending bill number includes but is not limited to time information and running information. Time information can be information associated with the bill, such as the bill generation time or the bill issuance time. For example, the time information can be the bill issuance registration date. Running information refers to the running number of the bill transaction, which is unique, and different pending bill numbers can be distinguished based on the running information.

[0030] In an embodiment of the present invention, there may be one or more ticket numbers to be processed. If there are multiple ticket numbers to be processed, the present invention can perform desensitization processing on the ticket numbers to be processed in batches. The method for obtaining the ticket numbers to be processed includes: reading the ticket numbers to be processed from a preset file, wherein the preset file contains multiple ticket numbers to be processed, and the preset file can be stored in a remote server or a local terminal computer, which is not limited here; or, extracting the ticket number from the bill in real time through a ticket number collection device, and using the ticket number obtained in real time as the ticket number to be processed. The present invention does not limit the method for generating the ticket number to be processed.

[0031] On the basis of the above embodiment, before obtaining the ticket number to be processed, the method further includes: clearing the sequence information corresponding to the ticket number to be processed within each preset time.

[0032] The preset time refers to a period of time, for example, within a day, within a week, etc. The sequence information may be the arrangement sequence number of the bills corresponding to the to-be-processed bill number, that is, the sequence information is the arrangement sequence information of the bills.

[0033] Exemplarily, the preset time may be one day, and the arrangement sequence numbers corresponding to the bills within the same day may be cleared, and the arrangement sequence numbers of the bills for each day may be cleared, that is, the arrangement sequence numbers of the bills corresponding to all dates may be cleared, and cleared on a daily basis.

[0034] On the basis of the above embodiment, after obtaining the ticket number to be processed, the method further includes: extracting information of the ticket number to be processed based on the ticket number format to obtain time information and transaction information corresponding to the ticket number to be processed.

[0035] Among them, the ticket number format refers to the composition structure of the ticket number to be processed in the bill. The time information and serial information are part of the ticket number to be processed. The ticket number format includes the position information of each component. For example, the ticket number to be processed can be composed of 30 Arabic numerals, and the time information is the 14th to 21st digits of the ticket number to be processed.

[0036] Specifically, the time information and transaction information can be extracted respectively according to their location information, thereby achieving targeted extraction of time information and transaction information, and obtaining the time information and transaction information corresponding to the ticket number to be processed, which can reduce the processing time of the ticket number to be processed and thereby improve the efficiency of ticket number desensitization.

[0037] S120. Obtain sequence information corresponding to the ticket number to be processed based on the time information.

[0038] The sequence information may be the order number of the bills corresponding to the bill number to be processed. The order number of the bills may be obtained according to the processing order of the bill number to be processed, that is, the sequence information may be the processing order number of the bill number to be processed.

[0039] It is understandable that any pending ticket number has unique corresponding sequence information, that is, the ticket has a unique arrangement sequence number. The time information can refer to a certain moment or a certain time period. If the time information refers to a certain time period, the sequence information of the tickets corresponding to one or more pending ticket numbers in the time period can be obtained. If the time information refers to a certain moment, the sequence information of the tickets corresponding to one or more pending ticket numbers at that moment can be obtained.

[0040] S130. Replace the transaction information based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed.

[0041] Among them, the desensitized ticket number refers to the ticket number after the bill is desensitized, and the desensitized ticket number corresponds to the pending ticket number one by one. By replacing the running information with the sequence information, the desensitization of the pending ticket number is realized, which can protect the key information in the pending ticket number from being leaked, improve the security of the bill transaction, and the method does not require a large amount of calculation, only replaces the data, the method is simple, and can improve the desensitization speed of the ticket number. In some embodiments, after obtaining the desensitized ticket number corresponding to the pending ticket number, the desensitized ticket number can also be written into the desensitized file to facilitate the subsequent call of the desensitized ticket number, wherein the desensitized file is used to store the desensitized ticket number.

[0042] In an embodiment of the present invention, the replacement method may specifically be to delete the serial number information in the ticket number to be processed, and place the sequence information in the position of the serial number information. Optionally, the serial number information and the sequence information have the same number of digits. The serial number information and the sequence information have the same number of digits, and after the replacement, the structure of the ticket number to be processed can be kept unchanged, and the problem of non-compliance with the rules of the desensitized data can be avoided.

[0043] An embodiment of the present invention provides a data conversion method, which can avoid the problem of duplication of sequence information in the time information by obtaining the ticket number to be processed and obtaining sequence information based on the time information in the ticket number to be processed; further, by replacing the flow information in the ticket number to be processed with the sequence information corresponding to the ticket number to be processed, the ticket number to be processed is desensitized, the leakage of the ticket number information is avoided, and the security is improved.

[0044] Embodiment 2

[0045] Figure 2 This is a flowchart diagram of a data conversion method provided in the second embodiment of the present invention. Based on the above embodiment, "obtaining the sequence information corresponding to the ticket number to be processed based on the time information" is further refined. The specific implementation method can refer to the detailed description of this technical solution. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here. Figure 2 As shown, the method of the embodiment of the present invention specifically includes the following steps:

[0046] S210. Obtain the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information.

[0047] S220: Match the time information in a database to obtain historical sequence information.

[0048] The database refers to a database that records bill information, and the database may contain sequence information of multiple bills. The historical sequence information may be sequence information of bills that have been desensitized within a preset time, wherein the preset time may be within a day, a week, etc.

[0049] Specifically, according to the time information in the current to-be-processed ticket number, the order information of the tickets that have completed the desensitization in the time information is matched in the database. That is, through the time information in the current to-be-processed ticket number, multiple to-be-processed ticket numbers that have completed the desensitization in the time information can be matched in the database, and the number of to-be-processed ticket numbers that have completed the desensitization can be obtained, that is, the arrangement order information of the tickets that have completed the desensitization processing can be obtained.

[0050] Exemplarily, if the time information is within a certain day, for example, the time information may be December 5, 2021. If it is matched or queried in the database that 4 bills within December 5, 2021 have been desensitized, the historical sequence information obtained may be 00000004.

[0051] S230. Update the historical sequence information to obtain the sequence information corresponding to the ticket number to be processed.

[0052] In the embodiment of the present invention, updating the historical sequence information is essentially deleting the historical sequence information, and new sequence information is obtained based on the historical sequence information. The new sequence information is stored in the position of the historical sequence information, which can avoid the occurrence of repeated sequence information and make each new sequence information unique.

[0053] Based on the above embodiment, the updating of the historical sequence information to obtain the sequence information corresponding to the ticket number to be processed includes: accumulating the historical sequence information to obtain the sequence information corresponding to the ticket number to be processed.

[0054] Among them, the update method adopted in the embodiment of the present invention can be a cumulative method, that is, each time the ticket number is desensitized, a numerical value is added once based on the historical sequence information, so that the sequence information corresponding to the ticket number to be processed is unique, which can avoid the occurrence of duplication of sequence information.

[0055] S240. Replace the transaction information based on the sequence information, update the verification code based on the bill type identification, payment system information, the time information and the sequence information corresponding to the ticket number to be processed, and obtain a desensitized ticket number corresponding to the ticket number to be processed.

[0056] The bill number to be processed also includes the bill type identification, payment system information and verification code. The bill type identification refers to the identification corresponding to the bill type, and the bill type may include but is not limited to bank acceptance bills and commercial acceptance bills. The payment system information refers to the bank payment system's bank number information. The verification code can be used to verify the correctness of the bill number to be processed, and can be automatically generated by the electronic commercial bill system.

[0057] Exemplarily, the bill number to be processed may be 30 digits in Arabic numerals, and the bill number to be processed includes bill type identification, payment system information, time information, serial number information and verification code. Among them, the bill type identification may be 1 digit in Arabic numerals, 1 may be used to represent a bank acceptance bill, and 2 may be used to represent a commercial acceptance bill; the payment system information may be 12 digits in Arabic numerals, which may be the payment system bank number of the bill issuer's bank account opening bank; the time information may be 8 digits in Arabic numerals, which may be the working day when the bill information is successfully registered in the electronic commercial bill system; the serial number information may be 8 digits in Arabic numerals, which may be the unique serial number of the electronic commercial bill system on that day; the verification code may be 1 digit in Arabic numerals, which is located at the last digit of the bill number to be processed.

[0058] Specifically, a new verification code can be generated according to the verification code rule and based on the bill type identification, payment system information, time information and the sequence information corresponding to the to-be-processed bill number, and the new verification code can replace the verification code in the to-be-processed bill number to assemble a new bill number, that is, to generate a desensitized bill number corresponding to the to-be-processed bill number. Among them, the verification code rule can be a dual-mode verification mechanism algorithm, and the bill type identification, payment system information, time information and the sequence information corresponding to the to-be-processed bill number can be brought into the dual-mode verification mechanism algorithm model to obtain a new verification code.

[0059] An embodiment of the present invention provides a data conversion method, which obtains a ticket number to be processed, matches historical sequence information in a database according to time information in the ticket number to be processed, and accumulates the historical information to obtain unique sequence information, thereby avoiding the problem of duplication of sequence information in the time information; further, by replacing the serial information in the ticket number to be processed with the sequence information corresponding to the ticket number to be processed, and replacing the check code, the ticket number to be processed is desensitized, the leakage of the ticket number information is avoided, and the security is improved; because the sequence information is unique, the desensitized ticket number is also unique, and the number of digits of the sequence information and the serial information is the same, thereby avoiding the problem of non-compliance and duplication of the desensitized data.

[0060] Embodiment 3

[0061] Figure 3This is a schematic diagram of the structure of a data conversion device provided in the third embodiment of the present invention. The data conversion device provided in this embodiment can be implemented by software and / or hardware, and can be configured in a terminal and / or server to implement the data conversion method in the embodiment of the present invention. The device can specifically include: a ticket number processing module 310, a sequence information acquisition module 320, and a desensitized ticket number generation module 330.

[0062] Among them, the ticket number processing module 310 is used to obtain the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information; the sequence information acquisition module 320 is used to obtain the sequence information corresponding to the ticket number to be processed based on the time information; the desensitized ticket number generation module 330 is used to replace the transaction information based on the sequence information to obtain the desensitized ticket number corresponding to the ticket number to be processed.

[0063] An embodiment of the present invention provides a data conversion device, which can avoid the problem of duplication of sequence information in the time information by obtaining the ticket number to be processed and obtaining sequence information according to the time information in the ticket number to be processed; further, by replacing the flow information in the ticket number to be processed with the sequence information corresponding to the ticket number to be processed, the ticket number to be processed is desensitized, the leakage of the ticket number information is avoided, and the security is improved.

[0064] Based on any optional technical solution in the embodiments of the present invention, optionally, the device is further used for:

[0065] The sequence information corresponding to the ticket numbers to be processed within each preset time is cleared.

[0066] Based on any optional technical solution in the embodiments of the present invention, optionally, the device is further used for:

[0067] Information is extracted from the ticket number to be processed based on the ticket number format to obtain time information and flow information corresponding to the ticket number to be processed.

[0068] Based on any optional technical solution in the embodiments of the present invention, optionally, the number of bits of the running information and the sequence information is the same.

[0069] Based on any optional technical solution in the embodiment of the present invention, optionally, the sequence information acquisition module 320 includes:

[0070] A historical sequence information acquisition unit, used to match the time information in a database to obtain historical sequence information;

[0071] The sequence information updating unit is used to update the historical sequence information to obtain the sequence information corresponding to the ticket number to be processed.

[0072] Based on any optional technical solution in the embodiments of the present invention, optionally, the sequence information updating unit is further used to:

[0073] The historical sequence information is accumulated to obtain the sequence information corresponding to the ticket number to be processed.

[0074] Based on any optional technical solution in the embodiment of the present invention, optionally, the to-be-processed ticket number further includes a ticket type identifier, payment system information and a verification code; and the device is further used for:

[0075] The verification code is updated based on the bill type identification, the payment system information, the time information and the sequence information corresponding to the bill number to be processed.

[0076] The data conversion device provided in the embodiment of the present invention can execute the data conversion method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0077] Embodiment 4

[0078] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 4 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0079] like Figure 4 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0080] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0081] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0082] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0083] A program / utility 36 having a set (at least one) of program modules 26 may be stored, for example, in system memory 28, such program modules 26 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 26 generally perform the functions and / or methods of the embodiments described herein.

[0084] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and / or any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 4 As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0085] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing a data conversion method provided by an embodiment of the present invention.

[0086] Embodiment 5

[0087] Embodiment 5 of the present invention further provides a storage medium including computer executable instructions, wherein the computer executable instructions are used to perform a data conversion method when executed by a computer processor, the method comprising:

[0088] Obtaining the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information;

[0089] Acquire the sequence information corresponding to the ticket number to be processed based on the time information;

[0090] The transaction information is replaced based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed.

[0091] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0092] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0093] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0094] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0095] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A data conversion method, characterized in that: include: Obtaining the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information; Acquire the sequence information corresponding to the ticket number to be processed based on the time information; The transaction information is replaced based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed; The acquiring the sequence information corresponding to the to-be-processed ticket number based on the time information includes: Matching the time information in a database to obtain historical sequence information; The historical sequence information is updated to obtain the sequence information corresponding to the ticket number to be processed; The updating of the historical sequence information to obtain the sequence information corresponding to the ticket number to be processed includes: The historical sequence information is accumulated to obtain the sequence information corresponding to the ticket number to be processed.

2. The method according to claim 1, characterized in that: Before obtaining the ticket number to be processed, the method further includes: The sequence information corresponding to the ticket numbers to be processed within each preset time is cleared.

3. The method according to claim 1, characterized in that After obtaining the ticket number to be processed, the method further includes: Information is extracted from the ticket number to be processed based on the ticket number format to obtain time information and flow information corresponding to the ticket number to be processed.

4. The method according to claim 1, characterized in that The number of bits of the running information is the same as that of the sequence information.

5. The method according to claim 1, characterized in that The to-be-processed ticket number also includes a ticket type identifier, payment system information, and a verification code. After replacing the transaction information based on the sequence information, the method further includes: The verification code is updated based on the bill type identification, the payment system information, the time information and the sequence information corresponding to the bill number to be processed.

6. A data conversion device, characterized in that: include: The ticket number processing module is used to obtain the ticket number to be processed, wherein the ticket number to be processed includes time information and transaction information; A sequence information acquisition module, used to acquire the sequence information corresponding to the to-be-processed ticket number based on the time information; A desensitized ticket number generation module, used to replace the flow information based on the sequence information to obtain a desensitized ticket number corresponding to the ticket number to be processed; The sequence information acquisition module comprises: A historical sequence information acquisition unit, used to match the time information in a database to obtain historical sequence information; A sequence information updating unit, used to update the historical sequence information to obtain sequence information corresponding to the ticket number to be processed; The sequence information updating unit is also used for: The historical sequence information is accumulated to obtain the sequence information corresponding to the ticket number to be processed.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the data conversion method as described in any one of claims 1 to 5.

8. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the data conversion method as described in any one of claims 1 to 5 when executed by a computer processor.