Financial data encryption and decryption method and system

By blocking financial data and using random number generators to generate encryption keys, the encryption complexity and inefficiency caused by the large amount of financial data is solved, and efficient and secure encryption and decryption of financial data is achieved.

CN119513899AInactive Publication Date: 2025-02-25SHENZHEN SED LOGIC BUSINESS EQUIP CO LTD

Patent Information

Application Number
CN202510066042.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-02-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The large amount of financial data leads to excessive encryption complexity, low efficiency and incomplete data security.

Method used

By processing financial data in blocks and generating encryption keys using a random number generator, each data block is encrypted and decrypted in combination with an encryption algorithm.

Benefits of technology

It improves encryption efficiency and success rate, ensures the security and data quality of financial data, and overcomes the inefficiency problem in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention discloses a financial data encryption and decryption method and system, and the method comprises the steps: determining the type and range of financial data according to a business demand, obtaining related financial data based on a financial institution according to the data type and range, and carrying out the data preprocessing; partitioning the preprocessed data, and encrypting the partitioned data based on an encryption algorithm; obtaining a random number generator, setting parameters for the generator, and obtaining an encryption key based on a function of the random number generator according to the set random number generator; and decrypting the financial data based on a decryption algorithm according to the encryption key and the to-be-decrypted data block. According to the method, large-volume data can be quickly decomposed into small-volume data, and the small-volume data can be quickly encrypted, so that the encryption efficiency and the encryption success rate are improved, and the security and the data quality of financial data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data encryption technology, and in particular to a financial data encryption and decryption method and system. Background Art

[0002] At present, with the development of financial business, financial institutions are facing increasing data security risks. The security management of financial data is of vital importance to financial institutions and various organizations and individuals involved in financial transactions. The laws and regulatory policies of various countries have strict regulations on the protection of financial data. Financial institutions must take effective measures to protect customer privacy and the security of financial data. The encryption technology for financial data in the existing technology can ensure the integrity and confidentiality of financial data throughout the life cycle through multi-level and comprehensive data encryption and protection measures. Its disadvantage is that the large volume of financial data leads to excessive encryption complexity, resulting in low efficiency of the encryption and decryption process and inability to fully guarantee data security. Summary of the invention

[0003] In response to the above-mentioned problems, the present invention provides a financial data encryption and decryption method and system to solve the problem mentioned in the background technology that the large volume of financial data leads to excessive encryption complexity, resulting in low efficiency of the encryption and decryption process and inability to fully guarantee data security.

[0004] A financial data encryption and decryption method comprises the following steps: Determine the type and scope of financial data according to business needs, obtain relevant financial data from financial institutions based on the type and scope of financial data, and perform data preprocessing; The preprocessed data is divided into blocks, and the divided data is encrypted based on an encryption algorithm; Obtain a random number generator and set parameters for the generator, and obtain an encryption key based on a function of the random number generator according to the set random number generator; The financial data is decrypted based on the decryption algorithm according to the encryption key and the data block to be decrypted.

[0005] Preferably, determining the type and range of financial data according to business requirements, acquiring relevant financial data based on financial institutions according to the type and range of financial data, and performing data preprocessing include: Obtaining the business needs of financial institutions, and determining the time span and data accuracy related information corresponding to the financial data according to the business needs; Determine the type and scope of financial data based on relevant information, determine the data elements that need to be obtained based on the type and scope of financial data, and obtain the data format of the data elements; Obtain relevant financial data based on API calls and extraction strategies according to the data format of the elements and the business needs of the financial institution; Pre-process the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

[0006] Preferably, the preprocessed data is divided into blocks, and the divided data is encrypted based on an encryption algorithm, including: Determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; Determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; Select an encryption algorithm according to the encryption type, encrypt each data block using the encryption algorithm, and obtain a ciphertext block; The data bytes in each ciphertext block are encrypted using a key to obtain an encrypted ciphertext block.

[0007] Preferably, the step of obtaining a random number generator and setting parameters for the generator, and obtaining an encryption key based on a function of the random number generator according to the set random number generator, includes: Select a random number generator model based on the data format and data privacy of encrypted financial data and set the accuracy parameters of random numbers generated by the model; Generate a random byte array of target bytes using the set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified based on the evaluation result. If not, regenerate a new random byte array; Obtaining business object attributes of encrypted financial data, and determining a key byte range based on the business object attributes; Generates an encryption key from a random byte array using a function that uses a random number generator model based on a key byte range.

[0008] Preferably, decrypting the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted includes: Initialize the decryption variables of the data block to be decrypted to zero; The encryption key and the data block to be decrypted are passed into the decryption algorithm as input, and the decryption algorithm is used to output the decryption result; Obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The decrypted financial data is tested for data anomalies using the original data skeleton of the financial data, and the content integrity and content layout consistency of the decrypted financial data are confirmed based on the test results.

[0009] A financial data encryption and decryption system, the system comprising: An acquisition module, used to determine the type and range of financial data according to business requirements, acquire relevant financial data based on financial institutions according to the type and range, and perform data preprocessing; An encryption module is used to divide the preprocessed data into blocks and encrypt the divided data based on an encryption algorithm; A generation module, used to obtain a random number generator and set parameters for the generator, and obtain an encryption key based on the function of the random number generator according to the set random number generator; The decryption module is used to decrypt the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted.

[0010] Preferably, the acquisition module includes: The first determination submodule is used to obtain the business needs of the financial institution and determine the time span and data accuracy related information corresponding to the financial data according to the business needs; The second determination submodule is used to determine the type and range of financial data according to the relevant information, determine the data elements to be acquired according to the type and range of financial data, and acquire the data format of the data elements; The acquisition submodule is used to obtain relevant financial data based on API calls and extraction strategies according to the data format of the elements and the business needs of the financial institutions; The preprocessing submodule is used to preprocess the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

[0011] Preferably, the encryption module comprises: The first processing submodule is used to determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; A third determination submodule is used to determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; A first encryption submodule, configured to select an encryption algorithm according to an encryption type, encrypt each data block by using the encryption algorithm, and obtain a ciphertext block; The second encryption submodule is used to encrypt the data bytes in each ciphertext block by using a key to obtain an encrypted ciphertext block.

[0012] Preferably, the generating module comprises: The first generation submodule is used to select a random number generator model according to the data format and data privacy of the encrypted financial data and set the accuracy parameters of the random numbers generated by the model; An evaluation submodule is used to generate a random byte array of target bytes using a set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified according to the evaluation result. If not, regenerate a new random byte array; A fourth determination submodule, used to obtain the business object attributes of the encrypted financial data, and determine the key byte range based on the business object attributes; The second generating submodule is used to generate an encryption key according to a random byte array using a function of a random number generator model based on a key byte range.

[0013] Preferably, the decryption module comprises: The second processing submodule is used to initialize the decryption variable of the data block to be decrypted to zero; The output submodule is used to pass the encryption key and the data block to be decrypted as input into the decryption algorithm, and output the decryption result using the decryption algorithm; A replacement submodule is used to obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The detection submodule is used to perform data anomaly detection on the decrypted financial data through the original data skeleton of the financial data, and confirm the content integrity and content layout consistency of the decrypted financial data based on the detection results.

[0014] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0015] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0017] Figure 1 A flowchart of a financial data encryption and decryption method provided by the present invention; Figure 2 Another working flow chart of a financial data encryption and decryption method provided by the present invention; Figure 3 A schematic diagram of the structure of a financial data encryption and decryption system provided by the present invention; Figure 4This is a schematic diagram of the structure of an acquisition module in a financial data encryption and decryption system provided by the present invention. DETAILED DESCRIPTION

[0018] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0019] At present, with the development of financial business, financial institutions are facing increasing data security risks. The security management of financial data is of vital importance to financial institutions and various organizations and individuals involved in financial transactions. The laws and regulatory policies of various countries have strict regulations on the protection of financial data. Financial institutions must take effective measures to protect customer privacy and the security of financial data. The encryption technology for financial data in the prior art can ensure the integrity and confidentiality of financial data throughout the entire life cycle through multi-level and comprehensive data encryption and protection measures. Its disadvantage is that the large volume of financial data leads to excessive encryption complexity, resulting in low efficiency of the encryption and decryption process and inability to fully guarantee data security. In order to solve the above problems, this embodiment discloses a method for encrypting and decrypting financial data based on data segmentation and random keys combined with encryption and decryption algorithms.

[0020] A financial data encryption and decryption method, such as Figure 1 As shown, the following steps are included: Step S101: determine the type and range of financial data according to business requirements, obtain relevant financial data based on financial institutions according to the type and range, and perform data preprocessing; Step S102, dividing the preprocessed data into blocks, and encrypting the divided data based on an encryption algorithm; Step S103, obtaining a random number generator and setting parameters for the generator, and obtaining an encryption key based on the function of the random number generator according to the set random number generator; Step S104: decrypt the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted.

[0021] In this embodiment, the business demand is represented by the data demand related to the financial business.

[0022] The working principle of the above technical solution is: determine the type and range of financial data according to business needs, obtain relevant financial data based on financial institutions according to the data type and range, and perform data preprocessing; divide the preprocessed data into blocks, and encrypt the blocked data based on an encryption algorithm; obtain a random number generator and set parameters for the generator, and obtain an encryption key based on the function of the random number generator according to the set random number generator; decrypt the financial data based on the decryption algorithm according to the encryption key and the data block to be decrypted.

[0023] The beneficial effects of the above technical solution are as follows: by dividing the financial data into blocks and encrypting them one by one with random arrays, large-volume data can be quickly decomposed into small-volume data and the small-volume data can be quickly encrypted, thereby improving the encryption efficiency and encryption success rate, ensuring the security and data quality of the financial data, and overcoming the problem mentioned in the prior art that the large volume of financial data leads to excessive encryption complexity, resulting in low efficiency of the encryption and decryption process and inability to fully guarantee data security.

[0024] In one embodiment, Figure 2 As shown, the financial data type and range are determined according to business needs, relevant financial data are obtained based on financial institutions according to the data type and range, and data preprocessing is performed, including: Step S201: Obtain the business requirements of the financial institution, and determine the time span and data accuracy related information corresponding to the financial data according to the business requirements; Step S202: determine the type and range of financial data according to relevant information, determine the data elements to be acquired according to the type and range of financial data, and acquire the data format of the data elements; Step S203: Acquire relevant financial data based on API calls and extraction strategies according to the data format of the element and the business needs of the financial institution; Step S204: pre-process the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

[0025] The beneficial effects of the above technical solution are: determining the type and scope of financial data according to business needs, determining the data elements that need to be obtained, obtaining the data format of the data elements, obtaining relevant financial data based on API calls and extraction strategies, ensuring the accuracy of the obtained data, and at the same time, pre-processing the data to ensure the quality of the data.

[0026] In one embodiment, the preprocessed data is divided into blocks, and the divided data is encrypted based on an encryption algorithm, including: Determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; Determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; Select an encryption algorithm according to the encryption type, encrypt each data block using the encryption algorithm, and obtain a ciphertext block; The data bytes in each ciphertext block are encrypted using a key to obtain an encrypted ciphertext block.

[0027] The beneficial effects of the above technical solution are: data is processed in blocks according to the data structure, which can improve data processing efficiency and facilitate parallelization. Furthermore, a unique identifier is assigned to each data block according to the data attribute, and the encryption method and encryption type for each data block can be intuitively determined, further improving encryption efficiency. At the same time, an encryption algorithm is selected to encrypt the data block to improve data security and privacy.

[0028] In one embodiment, obtaining a random number generator and setting parameters for the generator, and obtaining an encryption key based on a function of the random number generator according to the set random number generator, includes: Select a random number generator model based on the data format and data privacy of encrypted financial data and set the accuracy parameters of random numbers generated by the model; Generate a random byte array of target bytes using the set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified based on the evaluation result. If not, regenerate a new random byte array; Obtaining business object attributes of encrypted financial data, and determining a key byte range based on the business object attributes; Generates an encryption key from a random byte array using a function that uses a random number generator model based on a key byte range.

[0029] The beneficial effects of the above technical solution are: a random byte array of a target byte is generated according to a random number generator model, and a repetition rate evaluation is performed, and whether the random byte array is qualified is confirmed based on the evaluation result, which can ensure the complexity of the encryption key, reduce the risk of financial data being maliciously decrypted, and directly ensure the security of financial data. Furthermore, the key byte range is determined according to the business object attributes of the encrypted financial data, and an encryption key is generated, which has good randomness and unpredictability, so that the ciphertext has strong security.

[0030] In one embodiment, decrypting the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted includes: Initialize the decryption variables of the data block to be decrypted to zero; The encryption key and the data block to be decrypted are passed into the decryption algorithm as input, and the decryption algorithm is used to output the decryption result; Obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The decrypted financial data is tested for data anomalies using the original data skeleton of the financial data, and the content integrity and content layout consistency of the decrypted financial data are confirmed based on the test results.

[0031] The beneficial effects of the above technical solution are: the encryption key and the data block to be decrypted are passed as input into the decryption algorithm to obtain real-time decryption variable values, which can timely discover and resolve security vulnerabilities and improve decryption security. Furthermore, the decrypted financial data is obtained and anomaly detection is performed, which can timely discover anomalies in the financial data during the decryption process and then evaluate the data integrity and eligibility, thereby improving practicality.

[0032] In one embodiment, this embodiment also discloses a financial data encryption and decryption system, such as Figure 3 As shown, the system includes: An acquisition module 301 is used to determine the type and range of financial data according to business requirements, acquire relevant financial data based on financial institutions according to the type and range, and perform data preprocessing; The encryption module 302 is used to divide the preprocessed data into blocks and encrypt the divided data based on an encryption algorithm; A generating module 303, used to obtain a random number generator and set parameters for the generator, and obtain an encryption key based on the function of the random number generator according to the set random number generator; The decryption module 304 is used to decrypt the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted.

[0033] The working principle and beneficial effects of the above technical solution have been explained in the method embodiment and will not be repeated here.

[0034] In one embodiment, Figure 4 As shown, the acquisition module 301 includes: The first determination submodule 3011 is used to obtain the business requirements of the financial institution and determine the time span and data accuracy related information corresponding to the financial data according to the business requirements; The second determination submodule 3012 is used to determine the type and range of financial data according to the relevant information, determine the data elements to be acquired according to the type and range of financial data, and acquire the data format of the data elements; The acquisition submodule 3013 is used to acquire relevant financial data based on API calls and extraction strategies according to the data format of the element and the business needs of the financial institution; The preprocessing submodule 3014 is used to preprocess the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

[0035] In one embodiment, the encryption module includes: The first processing submodule is used to determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; A third determination submodule is used to determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; A first encryption submodule, configured to select an encryption algorithm according to an encryption type, encrypt each data block by using the encryption algorithm, and obtain a ciphertext block; The second encryption submodule is used to encrypt the data bytes in each ciphertext block by using a key to obtain an encrypted ciphertext block.

[0036] In one embodiment, the generating module comprises: The first generation submodule is used to select a random number generator model according to the data format and data privacy of the encrypted financial data and set the accuracy parameters of the random numbers generated by the model; An evaluation submodule is used to generate a random byte array of target bytes using a set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified according to the evaluation result. If not, regenerate a new random byte array; A fourth determination submodule, used to obtain the business object attributes of the encrypted financial data, and determine the key byte range based on the business object attributes; The second generating submodule is used to generate an encryption key according to a random byte array using a function of a random number generator model based on a key byte range.

[0037] In one embodiment, the decryption module includes: The second processing submodule is used to initialize the decryption variable of the data block to be decrypted to zero; The output submodule is used to pass the encryption key and the data block to be decrypted as input into the decryption algorithm, and output the decryption result using the decryption algorithm; A replacement submodule is used to obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The detection submodule is used to perform data anomaly detection on the decrypted financial data through the original data skeleton of the financial data, and confirm the content integrity and content layout consistency of the decrypted financial data based on the detection results.

[0038] Those skilled in the art should understand that the first and second in the present invention merely refer to different application stages.

[0039] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0040] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A financial data encryption and decryption method, characterized in that: The following steps are involved: Determine the type and scope of financial data according to business needs, obtain relevant financial data from financial institutions based on the type and scope of financial data, and perform data preprocessing; The preprocessed data is divided into blocks, and the divided data is encrypted based on an encryption algorithm; Obtain a random number generator and set parameters for the generator, and obtain an encryption key based on a function of the random number generator according to the set random number generator; The financial data is decrypted based on the decryption algorithm according to the encryption key and the data block to be decrypted.

2. The financial data encryption and decryption method according to claim 1, characterized in that: Determining the type and scope of financial data according to business needs, acquiring relevant financial data based on financial institutions according to the type and scope of financial data, and performing data preprocessing include: Obtaining the business needs of financial institutions, and determining the time span and data accuracy related information corresponding to the financial data according to the business needs; Determine the type and scope of financial data based on relevant information, determine the data elements that need to be obtained based on the type and scope of financial data, and obtain the data format of the data elements; Obtain relevant financial data based on API calls and extraction strategies according to the data format of the elements and the business needs of the financial institution; Pre-process the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

3. The financial data encryption and decryption method according to claim 1, characterized in that: The pre-processed data is divided into blocks, and the divided data is encrypted based on an encryption algorithm, including: Determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; Determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; Select an encryption algorithm according to the encryption type, encrypt each data block using the encryption algorithm, and obtain a ciphertext block; The data bytes in each ciphertext block are encrypted using a key to obtain an encrypted ciphertext block.

4. The financial data encryption and decryption method according to claim 1, characterized in that: The step of obtaining a random number generator and setting parameters for the generator, and obtaining an encryption key based on a function of the random number generator according to the set random number generator, includes: Select a random number generator model based on the data format and data privacy of encrypted financial data and set the accuracy parameters of random numbers generated by the model; Generate a random byte array of target bytes using the set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified based on the evaluation result. If not, regenerate a new random byte array; Obtaining business object attributes of encrypted financial data, and determining a key byte range based on the business object attributes; Generates an encryption key from a random byte array using a function that uses a random number generator model based on a key byte range.

5. The financial data encryption and decryption method according to claim 1, characterized in that: Decrypting the financial data based on the encryption key and the data block to be decrypted based on the decryption algorithm includes: Initialize the decryption variables of the data block to be decrypted to zero; The encryption key and the data block to be decrypted are passed into the decryption algorithm as input, and the decryption algorithm is used to output the decryption result; Obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The decrypted financial data is tested for data anomalies using the original data skeleton of the financial data, and the content integrity and content layout consistency of the decrypted financial data are confirmed based on the test results.

6. A financial data encryption and decryption system, characterized in that: The system includes: An acquisition module, used to determine the type and range of financial data according to business requirements, acquire relevant financial data based on financial institutions according to the type and range, and perform data preprocessing; An encryption module is used to divide the preprocessed data into blocks and encrypt the divided data based on an encryption algorithm; A generation module, used to obtain a random number generator and set parameters for the generator, and obtain an encryption key based on the function of the random number generator according to the set random number generator; The decryption module is used to decrypt the financial data based on a decryption algorithm according to the encryption key and the data block to be decrypted.

7. The financial data encryption and decryption system according to claim 6, characterized in that: The acquisition module comprises: The first determination submodule is used to obtain the business needs of the financial institution and determine the time span and data accuracy related information corresponding to the financial data according to the business needs; The second determination submodule is used to determine the type and range of financial data according to the relevant information, determine the data elements to be acquired according to the type and range of financial data, and acquire the data format of the data elements; The acquisition submodule is used to obtain relevant financial data based on API calls and extraction strategies according to the data format of the elements and the business needs of the financial institutions; The preprocessing submodule is used to preprocess the relevant financial data by removing duplication, cleaning, correcting outliers and deleting missing values.

8. The financial data encryption and decryption system according to claim 6, characterized in that: The encryption module comprises: The first processing submodule is used to determine the data structure of the relevant financial data, determine the block memory according to the data structure, and perform block processing on the pre-processed data according to the block memory; A third determination submodule is used to determine the data attributes in each data block, assign a unique identifier to each data block according to the data attributes, and determine the encryption type of each data block according to the identifier, wherein the encryption type includes: symmetric encryption and asymmetric encryption; A first encryption submodule, configured to select an encryption algorithm according to an encryption type, encrypt each data block by using the encryption algorithm, and obtain a ciphertext block; The second encryption submodule is used to encrypt the data bytes in each ciphertext block by using a key to obtain an encrypted ciphertext block.

9. The financial data encryption and decryption system according to claim 6, characterized in that: The generating module comprises: The first generation submodule is used to select a random number generator model according to the data format and data privacy of the encrypted financial data and set the accuracy parameters of the random numbers generated by the model; An evaluation submodule is used to generate a random byte array of target bytes using a set random number generator model, evaluate the repetition rate of the numbers in the random byte array, and determine whether the random byte array is qualified according to the evaluation result. If not, regenerate a new random byte array; A fourth determination submodule, used to obtain the business object attributes of the encrypted financial data, and determine the key byte range based on the business object attributes; The second generating submodule is used to generate an encryption key according to a random byte array using a function of a random number generator model based on a key byte range.

10. The financial data encryption and decryption system according to claim 6, characterized in that: The decryption module comprises: The second processing submodule is used to initialize the decryption variable of the data block to be decrypted to zero; The output submodule is used to pass the encryption key and the data block to be decrypted as input into the decryption algorithm, and output the decryption result using the decryption algorithm; A replacement submodule is used to obtain a real-time decryption variable value according to the decryption result, obtain a decrypted data block according to the decryption variable value, and replace the data block to be decrypted with the decrypted data block to obtain decrypted financial data; The detection submodule is used to perform data anomaly detection on the decrypted financial data through the original data skeleton of the financial data, and confirm the content integrity and content layout consistency of the decrypted financial data based on the detection results.

Citation Information

Patent Citations

  • Data encryption and decryption method and apparatus thereof, and communication system

    CN105763315A

  • Financial information statistical management system based on big data

    CN117372180A

  • Financial data management method, system and device based on big data and storage medium

    CN118820678A

Cited By

  • Financial communication method and financial communication system between distributed devices

    CN119788419A

  • Financial service data encryption processing method

    CN120524494A