A data processing method, system and storage medium

By generating a general index value library and judging intermediate results to perform RSA encryption and decryption tasks, the problem of offline data download security and inefficiency in traditional data service solutions is solved, efficient and reliable data encryption and decryption processing is achieved, and ensuring that The data is displayed safely in online tools.

CN118761081BActive Publication Date: 2024-11-22INFORMATION & TELECOMM COMPANY SICHUAN ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411251845.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-11-22
Estimated Expiration
2044-09-09

AI Technical Summary

Technical Problem

Traditional data service solutions pose security risks when data is downloaded offline. The complexity of asymmetric encryption and high computing time-consuming lead to low data encryption processing efficiency and reliability.

Method used

Based on the generation requirements information of the RSA key pair, a general index value library is generated, multiplexed index values ​​are provided, and whether the general index value library contains intermediate results to perform RSA encryption and decryption tasks is improved, and the processing efficiency of data encryption and decryption is improved, and through Online tools ensure reliable and secure display of data.

Benefits of technology

It effectively reduces the amount of repeated computing, improves the processing efficiency of data encryption and decryption, and ensures reliable and secure display of data in online tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761081B_ABST
    Figure CN118761081B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of data processing, and provides a data processing method, system and storage medium. Based on generation requirement information of an RSA key pair, a universal exponent value library is generated, and multiplexed exponent values ​​are provided for RSA encryption and decryption of different data, so that the amount of repeated operations can be effectively reduced while ensuring the correct execution of RSA encryption and decryption operations; RSA encryption processing tasks and RSA decryption processing tasks matching the data required to be downloaded by a user are generated, and it is judged whether the universal exponent value library contains intermediate results required for executing the RSA encryption processing tasks and the RSA decryption processing tasks, so as to realize RSA encryption and decryption operations on data and improve the processing efficiency of data encryption and decryption; based on data feature information of the data decryption result, the data decryption result is loaded into an online tool for display, and the existence state of the data decryption result in the online tool is adjusted to ensure that the data can be reliably and securely displayed through the online tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a data processing method, system and storage medium. Background Art

[0002] Traditional data service solutions usually download data to the user's terminal for processing, and the user terminal may download data offline from the data platform. When data is transmitted to the user terminal through offline download, the data platform will not be able to effectively control and manage the data, which is prone to security risks such as data leakage or malicious access and tampering of data. In order to improve the security of data download transmission, encryption methods such as asymmetric encryption RSA are usually used to encrypt data, which can ensure the security of data transmission and download to the user terminal. However, the execution process of asymmetric encryption is complicated and the encryption and decryption operations are heavy, which makes the asymmetric encryption operation time-consuming. For each data download from the user terminal, a series of asymmetric encryption operations need to be performed again, which makes the data reuse rate of asymmetric encryption operations low, and cannot effectively reduce the number of repeated calculations in the asymmetric encryption operation process, reducing the efficiency and reliability of data encryption processing. Summary of the invention

[0003] In view of the defects in the prior art, the present invention provides a data processing method and system, which generates a universal exponent value library based on the generation requirement information of an RSA key pair, and provides reused exponent values ​​for RSA encryption and decryption of different data, so that the amount of repeated operations can be effectively reduced while ensuring the correct execution of RSA encryption and decryption operations; it also generates RSA encryption processing tasks and RSA decryption processing tasks that match the data required to be downloaded by the user, and determines whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing tasks and the RSA decryption processing tasks, thereby realizing RSA encryption and decryption operations on the data and improving the processing efficiency of data encryption and decryption; it also loads the data decryption results into an online tool for display based on the data feature information of the data decryption results, and adjusts the existence status of the data decryption results in the online tool to ensure that the data can be displayed reliably and securely through the online tool.

[0004] The present invention provides a data processing method, comprising the following steps:

[0005] Step S1, based on the generation requirement information of the RSA key pair, determine the universal exponent value of the RSA key pair in the generation process, and generate a corresponding universal exponent value library; analyze the data use request from the user, screen the matching data from the data supermarket, and calibrate the matching data;

[0006] Step S2, based on the data transmission request from the user, generating an RSA encryption processing task for the matched data; judging whether the universal exponent value library contains the intermediate result required for executing the RSA encryption processing task, thereby executing the RSA encryption processing task, thereby obtaining a corresponding data encryption result;

[0007] Step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated; it is determined whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, and the RSA decryption processing task is executed to obtain the corresponding data decryption result;

[0008] Step S4: based on the data feature information of the data decryption result, the data decryption result is loaded into the online tool for display operation; based on the operation status of the data decryption result by the user on the online tool, the existence status of the data decryption result in the online tool is adjusted.

[0009] In one embodiment disclosed in the present application, in the step S1, based on the generation requirement information of the RSA key pair, the universal exponent value of the RSA key pair in the generation process is determined, and a corresponding universal exponent value library is generated; the data use request from the user is analyzed, matching data is screened from the data supermarket, and the matching data is calibrated, including:

[0010] Based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required in the generation process of the RSA key pair are determined; based on the usage frequency of all the required exponent values ​​in the generation process of the RSA key pair, whether each required exponent value belongs to a universal exponent value is determined, and all the universal exponent values ​​are integrated into a universal exponent value library;

[0011] Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data matching the data usage request, and calibrate the storage location of the matching data inside the data supermarket.

[0012] In one embodiment disclosed in the present application, in the step S2, based on the data transmission request from the user, an RSA encryption processing task for the matched data is generated; and it is determined whether the universal exponent value library contains an intermediate result required for executing the RSA encryption processing task, so as to execute the RSA encryption processing task, thereby obtaining a corresponding data encryption result, including:

[0013] Parse the data transmission request from the user to obtain the identity information of the user; compare the identity information with the identity information list corresponding to the data center; if the identity information exists in the identity information list, judge the data transmission request as legal, and allocate the corresponding API interface to the user; if the identity information does not exist in the identity information list, judge the data transmission request as illegal, and do not allocate the corresponding API interface to the user; based on the API interface allocated to the user, generate an RSA encryption processing task for the matching data;

[0014] Perform encryption operation parsing on the RSA encryption processing task to determine all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operations, determine whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining the corresponding data encryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining the corresponding data encryption result.

[0015] In one embodiment disclosed in the present application, in the step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated; judging whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task, and obtaining the corresponding data decryption result, includes:

[0016] When the data encryption result is transmitted to the online tool, based on the data display compatibility attribute information of the online tool, an RSA decryption processing task for the data decryption result is generated;

[0017] Perform decryption operation analysis on the RSA decryption processing task to determine all intermediate operation operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation operations, determine whether the universal exponent library contains the intermediate results required to execute the RSA decryption processing task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA decryption processing task, thereby obtaining the corresponding data decryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA decryption processing task, thereby completing the RSA decryption processing task and obtaining the corresponding data decryption result.

[0018] In one embodiment disclosed in the present application, in the step S4, based on the data feature information of the data decryption result, the data decryption result is loaded into the online tool for display operation; based on the operation status of the user on the data decryption result on the online tool, the existence status of the data decryption result in the online tool is adjusted, including:

[0019] Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation;

[0020] The operation behavior of the user on the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool; based on the browsing status information, it is determined whether the user has completely browsed all the data decryption results; based on the editing status information, it is determined whether the user has made an illegal editing operation on the data decryption result; if the user has completely browsed all the data decryption results or has made an illegal editing operation on the data decryption result, the data decryption result is deleted from the online tool; otherwise, the data decryption result is retained in the online tool.

[0021] The present invention also provides a data processing system, comprising:

[0022] A universal exponent value library generation module, used to determine the universal exponent value of the RSA key pair during the generation process based on the generation requirement information of the RSA key pair, and generate a corresponding universal exponent value library;

[0023] The data screening and calibration module is used to analyze the data usage request from the user, screen the matching data from the data supermarket, and calibrate the matching data;

[0024] An RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user; determine whether the universal exponent value library contains an intermediate result required to execute the RSA encryption processing task, thereby executing the RSA encryption processing task to obtain a corresponding data encryption result;

[0025] An RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool; determine whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task to obtain the corresponding data decryption result;

[0026] A data display module, used for loading the data decryption result into the online tool for display operation based on the data feature information of the data decryption result;

[0027] The data retention state adjustment module is used to adjust the existence state of the data decryption result in the online tool based on the operation state of the user on the data decryption result on the online tool.

[0028] In one embodiment disclosed in the present application, the universal exponent value library generation module is used to determine the universal exponent value of the RSA key pair during the generation process based on the generation requirement information of the RSA key pair, and generate a corresponding universal exponent value library, including:

[0029] Based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required in the generation process of the RSA key pair are determined; based on the usage frequency of all the required exponent values ​​in the generation process of the RSA key pair, whether each required exponent value belongs to a universal exponent value is determined, and all the universal exponent values ​​are integrated into a universal exponent value library;

[0030] The data screening and calibration module is used to analyze the data use request from the user, screen the matching data from the data supermarket, and calibrate the matching data, including:

[0031] Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data matching the data usage request, and calibrate the storage location of the matching data inside the data supermarket.

[0032] In one embodiment disclosed in the present application, the RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user; determine whether the universal exponent value library contains an intermediate result required to execute the RSA encryption processing task, thereby executing the RSA encryption processing task to obtain a corresponding data encryption result, including:

[0033] Parse the data transmission request from the user to obtain the identity information of the user; compare the identity information with the identity information list corresponding to the data center; if the identity information exists in the identity information list, judge the data transmission request as legal, and allocate the corresponding API interface to the user; if the identity information does not exist in the identity information list, judge the data transmission request as illegal, and do not allocate the corresponding API interface to the user; based on the API interface allocated to the user, generate an RSA encryption processing task for the matching data;

[0034] Perform encryption operation parsing on the RSA encryption processing task to determine all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operations, determine whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining the corresponding data encryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining the corresponding data encryption result.

[0035] In one embodiment disclosed in the present application, the RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool; determine whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task to obtain the corresponding data decryption result, including:

[0036] When the data encryption result is transmitted to the online tool, based on the data display compatibility attribute information of the online tool, an RSA decryption processing task for the data decryption result is generated;

[0037] Perform decryption operation analysis on the RSA decryption processing task to determine all intermediate operation operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation operations, determine whether the universal exponent library contains the intermediate results required to execute the RSA decryption processing task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA decryption processing task, thereby obtaining the corresponding data decryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA decryption processing task, thereby completing the RSA decryption processing task and obtaining the corresponding data decryption result.

[0038] In one embodiment disclosed in the present application, the data display module is used to load the data decryption result into the online tool for display operation based on the data feature information of the data decryption result, including:

[0039] Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation;

[0040] The data retention state adjustment module is used to adjust the existence state of the data decryption result in the online tool based on the operation state of the user on the data decryption result on the online tool, including:

[0041] The operation behavior of the user on the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool; based on the browsing status information, it is determined whether the user has completely browsed all the data decryption results; based on the editing status information, it is determined whether the user has made an illegal editing operation on the data decryption result; if the user has completely browsed all the data decryption results or has made an illegal editing operation on the data decryption result, the data decryption result is deleted from the online tool; otherwise, the data decryption result is retained in the online tool.

[0042] The present invention also discloses a computer-readable storage medium, which is characterized in that: the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, the above-mentioned data processing method is implemented.

[0043] Compared with the prior art, the data processing method and system generate a universal exponent value library based on the generation requirement information of the RSA key pair, and provide reused exponent values ​​for RSA encryption and decryption of different data, so that the amount of repeated operations can be effectively reduced while ensuring the correct execution of RSA encryption and decryption operations; it also generates RSA encryption processing tasks and RSA decryption processing tasks that match the data required to be downloaded by the user, and determines whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing tasks and the RSA decryption processing tasks, thereby realizing RSA encryption and decryption operations on the data and improving the processing efficiency of data encryption and decryption; it also loads the data decryption results into the online tool for display based on the data feature information of the data decryption results, and adjusts the existence status of the data decryption results in the online tool to ensure that the data can be displayed reliably and securely through the online tool.

[0044] 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, claims, and drawings.

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

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A flow chart of a data processing method provided by the present invention;

[0048] Figure 2 A schematic diagram of the framework of a data processing system provided by the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] See also Figure 1 , is a flow chart of a data processing method provided by an embodiment of the present invention. The data processing method includes:

[0051] Step S1, based on the generation requirement information of the RSA key pair, determine the universal exponent value of the RSA key pair during the generation process, and generate a corresponding universal exponent value library; analyze the data use request from the user, screen the matching data from the data supermarket, and calibrate the matching data;

[0052] Step S2, based on the data transmission request from the user, generating an RSA encryption processing task for the matched data; judging whether the universal exponent value library contains the intermediate result required for executing the RSA encryption processing task, thereby executing the RSA encryption processing task, thereby obtaining a corresponding data encryption result;

[0053] Step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated; it is determined whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, and the RSA decryption processing task is executed to obtain the corresponding data decryption result;

[0054] Step S4: based on the data feature information of the data decryption result, the data decryption result is loaded into the online tool for display operation; based on the operation status of the user on the data decryption result on the online tool, the existence status of the data decryption result in the online tool is adjusted.

[0055] The data processing method generates a universal exponent value library based on the generation requirement information of the RSA key pair, and provides reused exponent values ​​for RSA encryption and decryption of different data, so that the amount of repeated operations can be effectively reduced while ensuring the correct execution of RSA encryption and decryption operations; it also generates RSA encryption processing tasks and RSA decryption processing tasks that match the data required to be downloaded by the user, and determines whether the universal exponent value library contains the intermediate results required for executing the RSA encryption processing tasks and the RSA decryption processing tasks, thereby realizing RSA encryption and decryption operations on the data and improving the processing efficiency of data encryption and decryption; it also loads the data decryption results into an online tool for display based on the data feature information of the data decryption results, and adjusts the existence status of the data decryption results in the online tool, so as to ensure that the data can be reliably and securely displayed through the online tool.

[0056] Preferably, in step S1, based on the generation requirement information of the RSA key pair, the universal exponent value of the RSA key pair in the generation process is determined, and a corresponding universal exponent value library is generated; the data use request from the user is analyzed, matching data is screened from the data supermarket, and the matching data is calibrated, including:

[0057] Based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required in the generation process of the RSA key pair are determined; based on the usage frequency of all the required exponent values ​​in the generation process of the RSA key pair, whether each required exponent value belongs to a universal exponent value is determined, and all the universal exponent values ​​are integrated into a universal exponent value library;

[0058] Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data that matches the data usage request, and calibrate the storage location of the matching data within the data supermarket.

[0059] In the above technical solution, asymmetric encryption RSA uses public key and private key to cooperate with each other to complete data encryption and decryption, wherein the public key and private key together constitute the RSA key pair which plays a vital role in data encryption and decryption. Before performing asymmetric encryption processing, it is necessary to generate an RSA key pair, and the data length of the public key and private key contained in the RSA key pair directly determines the computational workload of the subsequent asymmetric encryption processing. Generally speaking, the larger the data length of the public key and the private key, the larger the corresponding computational workload required. In addition, the asymmetric encryption process involves more modular exponentiation operations. The modular exponentiation operations corresponding to the asymmetric encryption processing of different data may be the same. If the asymmetric encryption processing of different data is performed from the beginning, there will be a lot of repeated operations. In order to face the same modular exponentiation operations in the asymmetric encryption processing of different data. When the same modular exponentiation result can be directly obtained, based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required by the RSA key pair in the generation process are determined, and then the frequency of use of each exponent value in the RSA key pair generation process is compared with the preset frequency threshold. If the frequency of use of the exponent value is greater than or equal to the preset frequency threshold, it indicates that the exponent value belongs to the common exponent value in the asymmetric encryption process. At this time, all the common exponent values ​​are integrated into a common exponent value library, so that the common exponent value library contains the repeated modular exponentiation results existing in the asymmetric encryption process, thereby providing a reliable data basis for reducing repeated modular exponentiation. There is also a data usage request from the user to parse and process, determine the keyword information corresponding to the data that the user needs to use, and query and filter the data supermarket to obtain data matching the data usage request (such as data with the highest semantic similarity to the keyword information), and mark the storage location of the matching data in the data supermarket, so that when the subsequent user needs to request the transmission of the same data, the corresponding data can be quickly and accurately located in the data supermarket; wherein, the data supermarket can be but not limited to a database that can freely read data.

[0060] Preferably, in step S2, based on the data transmission request from the user, an RSA encryption processing task for the matched data is generated; judging whether the universal exponent value library contains the intermediate result required for executing the RSA encryption processing task, thereby executing the RSA encryption processing task, thereby obtaining the corresponding data encryption result, including:

[0061] Parse the data transmission request from the user to obtain the identity information of the user; compare the identity information with the identity information list corresponding to the data center; if the identity information exists in the identity information list, the data transmission request is judged to be legal, and the corresponding API interface is allocated to the user; if the identity information does not exist in the identity information list, the data transmission request is judged to be illegal, and the corresponding API interface is not allocated to the user; based on the API interface allocated to the user, generate an RSA encryption processing task for the matching data;

[0062] Perform encryption operation parsing on the RSA encryption processing task to determine all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, determine whether the universal exponent value library contains the intermediate result required to execute the RSA encryption processing task; if so, directly use the corresponding intermediate result of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining the corresponding data encryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining the corresponding data encryption result.

[0063] In the above technical solution, when a user initiates a data transmission request, the user's identity information is first extracted from the data transmission request, and then the identity information is compared with the list of identity information that has been authenticated by the data center to determine whether the data transmission request is legal. When the data transmission request is legal, the corresponding API interface is assigned to the user, so that the user can perform asymmetric encryption of data through the API interface. Based on the API interface assigned by the user, an RSA encryption processing task for the matching data is generated, which can ensure the reliability of the execution of asymmetric encryption of data. There is also an encryption operation analysis process for the RSA encryption processing task to determine all the intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, it is determined whether the general exponent value library contains the intermediate results required to execute the RSA encryption processing task, which can avoid wasting computing power for repeated operations during the execution of the RSA encryption processing task, improve the execution efficiency of the RSA encryption processing task and reduce the time spent on task execution.

[0064] Preferably, in step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated; and it is determined whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, so as to execute the RSA decryption processing task, thereby obtaining the corresponding data decryption result, including:

[0065] When the data encryption result is transmitted to the online tool, an RSA decryption processing task is generated regarding the data decryption result based on the data display compatibility attribute information of the online tool;

[0066] Perform decryption operation analysis on the RSA decryption task to determine all intermediate operations under the RSA decryption task; based on the operation attribute information of the intermediate operations, determine whether the universal exponent library contains the intermediate results required to execute the RSA decryption task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA decryption task, thereby obtaining the corresponding data decryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA decryption task, thereby completing the RSA decryption task and obtaining the corresponding data decryption result.

[0067] In the above technical solution, the online tool serves as a carrier for users to browse the corresponding data online, and it can provide a stable platform for users to browse data. When the data encryption result is transmitted to the online tool, based on the data display compatibility attribute information of the online tool, an RSA decryption processing task about the data decryption result is generated, such as generating an RSA decryption processing task about the data decryption result according to the data format compatible with the display of the online tool, and when the RSA decryption processing task is completed, the decrypted data is consistent with the data format compatible with the display of the online tool. There is also a decryption operation analysis process for the RSA decryption processing task to determine all the intermediate operation operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation, it is determined whether the universal index library contains the intermediate results required to execute the RSA decryption processing task, so as to avoid wasting computing power for repeated operations during the execution of the RSA decryption processing task, improve the execution efficiency of the RSA decryption processing task and reduce the time consumption of task execution.

[0068] Preferably, in step S4, based on the data feature information of the data decryption result, the data decryption result is loaded into the online tool for display operation; based on the operation status of the user on the data decryption result on the online tool, the existence status of the data decryption result in the online tool is adjusted, including:

[0069] Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation;

[0070] The operation behavior of the user in the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool; based on the browsing status information, it is determined whether the user has completely browsed all the data decryption results; based on the editing status information, it is determined whether the user has made an illegal editing operation on the data decryption result; if the user has completely browsed all the data decryption results or has made an illegal editing operation on the data decryption result, the data decryption result is deleted from the online tool; otherwise, the data decryption result is retained in the online tool.

[0071] In the above technical solution, based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation, so as to ensure that the online tool can display the data decryption result in a timely and accurate manner, and improve the visibility of the data decryption result. In addition, the user's operation behavior in the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool, so as to judge whether the user has completely browsed all the data decryption results and whether the user has made illegal editing operations on the data decryption result, so as to adaptively delete the data decryption result from the online tool or retain the data decryption result in the online tool, so as to avoid the data decryption result from being leaked and maliciously tampered with during the display process of the online tool.

[0072] See also Figure 2 , is a schematic diagram of a data processing system provided by an embodiment of the present invention. The data processing system includes:

[0073] A universal exponent value library generation module, used to determine the universal exponent value of the RSA key pair during the generation process based on the generation requirement information of the RSA key pair, and generate a corresponding universal exponent value library;

[0074] The data screening and calibration module is used to analyze the data usage requests from users, screen the matching data from the data supermarket, and calibrate the matching data;

[0075] An RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user; determine whether the universal exponent value library contains an intermediate result required to execute the RSA encryption processing task, thereby executing the RSA encryption processing task to obtain a corresponding data encryption result;

[0076] An RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool; determine whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task to obtain the corresponding data decryption result;

[0077] A data display module, used for loading the data decryption result into the online tool for display operation based on the data feature information of the data decryption result;

[0078] The data retention state adjustment module is used to adjust the existence state of the data decryption result in the online tool based on the operation state of the user on the data decryption result on the online tool.

[0079] The data processing system generates a universal exponent value library based on the generation requirement information of the RSA key pair, and provides reused exponent values ​​for RSA encryption and decryption of different data, so as to effectively reduce the amount of repeated operations while ensuring the correct execution of RSA encryption and decryption operations; it also generates RSA encryption processing tasks and RSA decryption processing tasks that match the data required to be downloaded by the user, and determines whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing tasks and the RSA decryption processing tasks, thereby realizing RSA encryption and decryption operations on the data and improving the processing efficiency of data encryption and decryption; it also loads the data decryption results into the online tool for display based on the data feature information of the data decryption results, and adjusts the existence status of the data decryption results in the online tool to ensure that the data can be displayed reliably and securely through the online tool.

[0080] Preferably, the universal exponent value library generation module is used to determine the universal exponent value of the RSA key pair during the generation process based on the generation requirement information of the RSA key pair, and generate a corresponding universal exponent value library, including:

[0081] Based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required in the generation process of the RSA key pair are determined; based on the usage frequency of all the required exponent values ​​in the generation process of the RSA key pair, whether each required exponent value belongs to a universal exponent value is determined, and all the universal exponent values ​​are integrated into a universal exponent value library;

[0082] The data screening and calibration module is used to analyze the data usage request from the user, screen the matching data from the data supermarket, and calibrate the matching data, including:

[0083] Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data that matches the data usage request, and calibrate the storage location of the matching data within the data supermarket.

[0084] In the above technical solution, asymmetric encryption RSA uses public key and private key to cooperate with each other to complete data encryption and decryption, wherein the public key and private key together constitute the RSA key pair which plays a vital role in data encryption and decryption. Before performing asymmetric encryption processing, it is necessary to generate an RSA key pair, and the data length of the public key and private key contained in the RSA key pair directly determines the computational workload of the subsequent asymmetric encryption processing. Generally speaking, the larger the data length of the public key and the private key, the larger the corresponding computational workload required. In addition, the asymmetric encryption process involves more modular exponentiation operations. The modular exponentiation operations corresponding to the asymmetric encryption processing of different data may be the same. If the asymmetric encryption processing of different data is performed from the beginning, there will be a lot of repeated operations. In order to face the same modular exponentiation operations in the asymmetric encryption processing of different data. When the same modular exponentiation result can be directly obtained, based on the length information of the public key and the private key to be generated by the RSA key pair, all the exponent values ​​required by the RSA key pair in the generation process are determined, and then the frequency of use of each exponent value in the RSA key pair generation process is compared with the preset frequency threshold. If the frequency of use of the exponent value is greater than or equal to the preset frequency threshold, it indicates that the exponent value belongs to the common exponent value in the asymmetric encryption process. At this time, all the common exponent values ​​are integrated into a common exponent value library, so that the common exponent value library contains the repeated modular exponentiation results existing in the asymmetric encryption process, thereby providing a reliable data basis for reducing repeated modular exponentiation. There is also a data usage request from the user to parse and process, determine the keyword information corresponding to the data that the user needs to use, and query and filter the data supermarket to obtain data matching the data usage request (such as data with the highest semantic similarity to the keyword information), and mark the storage location of the matching data in the data supermarket, so that when the subsequent user needs to request the transmission of the same data, the corresponding data can be quickly and accurately located in the data supermarket; wherein, the data supermarket can be but not limited to a database that can freely read data.

[0085] Preferably, the RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user; determine whether the universal exponent value library contains an intermediate result required to execute the RSA encryption processing task, thereby executing the RSA encryption processing task to obtain a corresponding data encryption result, including:

[0086] Parse the data transmission request from the user to obtain the identity information of the user; compare the identity information with the identity information list corresponding to the data center; if the identity information exists in the identity information list, the data transmission request is judged to be legal, and the corresponding API interface is allocated to the user; if the identity information does not exist in the identity information list, the data transmission request is judged to be illegal, and the corresponding API interface is not allocated to the user; based on the API interface allocated to the user, generate an RSA encryption processing task for the matching data;

[0087] Perform encryption operation parsing on the RSA encryption processing task to determine all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, determine whether the universal exponent value library contains the intermediate result required to execute the RSA encryption processing task; if so, directly use the corresponding intermediate result of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining the corresponding data encryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining the corresponding data encryption result.

[0088] In the above technical solution, when a user initiates a data transmission request, the user's identity information is first extracted from the data transmission request, and then the identity information is compared with the list of identity information that has been authenticated by the data center to determine whether the data transmission request is legal. When the data transmission request is legal, the corresponding API interface is assigned to the user, so that the user can perform asymmetric encryption of data through the API interface. Based on the API interface assigned by the user, an RSA encryption processing task for the matching data is generated, which can ensure the reliability of the execution of asymmetric encryption of data. There is also an encryption operation analysis process for the RSA encryption processing task to determine all the intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, it is determined whether the general exponent value library contains the intermediate results required to execute the RSA encryption processing task, which can avoid wasting computing power for repeated operations during the execution of the RSA encryption processing task, improve the execution efficiency of the RSA encryption processing task and reduce the time spent on task execution.

[0089] Preferably, the RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool; determine whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task, thereby obtaining the corresponding data decryption result, including:

[0090] When the data encryption result is transmitted to the online tool, an RSA decryption processing task is generated regarding the data decryption result based on the data display compatibility attribute information of the online tool;

[0091] Perform decryption operation analysis on the RSA decryption task to determine all intermediate operations under the RSA decryption task; based on the operation attribute information of the intermediate operations, determine whether the universal exponent library contains the intermediate results required to execute the RSA decryption task; if so, directly use the corresponding intermediate results of the universal exponent value library to execute the RSA decryption task, thereby obtaining the corresponding data decryption result; if not, pre-calculate the corresponding exponent value to execute the modular exponentiation operation corresponding to the RSA decryption task, thereby completing the RSA decryption task and obtaining the corresponding data decryption result.

[0092] In the above technical solution, the online tool serves as a carrier for users to browse the corresponding data online, and it can provide a stable platform for users to browse data. When the data encryption result is transmitted to the online tool, based on the data display compatibility attribute information of the online tool, an RSA decryption processing task about the data decryption result is generated, such as generating an RSA decryption processing task about the data decryption result according to the data format compatible with the display of the online tool, and when the RSA decryption processing task is completed, the decrypted data is consistent with the data format compatible with the display of the online tool. There is also a decryption operation analysis process for the RSA decryption processing task to determine all the intermediate operation operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation, it is determined whether the universal index library contains the intermediate results required to execute the RSA decryption processing task, so as to avoid wasting computing power for repeated operations during the execution of the RSA decryption processing task, improve the execution efficiency of the RSA decryption processing task and reduce the time consumption of task execution.

[0093] Preferably, the data display module is used to load the data decryption result into the online tool for display operation based on the data feature information of the data decryption result, including:

[0094] Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation;

[0095] The data retention state adjustment module is used to adjust the existence state of the data decryption result in the online tool based on the operation state of the user on the data decryption result on the online tool, including:

[0096] The operation behavior of the user in the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool; based on the browsing status information, it is determined whether the user has completely browsed all the data decryption results; based on the editing status information, it is determined whether the user has made an illegal editing operation on the data decryption result; if the user has completely browsed all the data decryption results or has made an illegal editing operation on the data decryption result, the data decryption result is deleted from the online tool; otherwise, the data decryption result is retained in the online tool.

[0097] In the above technical solution, based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation, so as to ensure that the online tool can display the data decryption result in a timely and accurate manner, and improve the visibility of the data decryption result. In addition, the user's operation behavior in the online tool is monitored to obtain the browsing status information and editing status information of the data decryption result of the user in the online tool, so as to judge whether the user has completely browsed all the data decryption results and whether the user has made illegal editing operations on the data decryption result, so as to adaptively delete the data decryption result from the online tool or retain the data decryption result in the online tool, so as to avoid the data decryption result from being leaked and maliciously tampered with during the display process of the online tool.

[0098] It can be seen from the contents of the above embodiments that the data processing method and system generate a universal exponent value library based on the generation requirement information of the RSA key pair, and provide reused exponent values ​​for RSA encryption and decryption of different data, so that the amount of repeated operations can be effectively reduced while ensuring the correct execution of RSA encryption and decryption operations; it also generates RSA encryption processing tasks and RSA decryption processing tasks that match the data required to be downloaded by the user, and determines whether the universal exponent value library contains the intermediate results required to execute the RSA encryption processing tasks and RSA decryption processing tasks, thereby realizing RSA encryption and decryption operations on the data and improving the processing efficiency of data encryption and decryption; it also loads the data decryption results into the online tool for display based on the data feature information of the data decryption results, and adjusts the existence status of the data decryption results in the online tool to ensure that the data can be displayed reliably and securely through the online tool.

[0099] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A data processing method, characterized in that: The steps include: Step S1, based on the generation requirement information of the RSA key pair, determining the universal exponent value of the RSA key pair in the generation process, and generating a corresponding universal exponent value library, including determining all the exponent values ​​required in the generation process of the RSA key pair based on the length information of the public key and the private key required to be generated by the RSA key pair; judging whether each required exponent value belongs to a universal exponent value based on the usage frequency of each of all the required exponent values ​​in the generation process of the RSA key pair, and integrating all the universal exponent values ​​into a universal exponent value library; analyzing the data use request from the user, screening the matching data from the data supermarket, and calibrating the matching data; Step S2, based on the data transmission request from the user, generate an RSA encryption processing task for the matched data; determine whether the universal exponent value library contains the intermediate result required to execute the RSA encryption processing task, thereby executing the RSA encryption processing task, thereby obtaining a corresponding data encryption result, including performing encryption operation analysis processing on the RSA encryption processing task, and determining all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, determine whether the universal exponent value library contains the intermediate result required to execute the RSA encryption processing task; if so, directly use the corresponding intermediate result of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining a corresponding data encryption result; if not, pre-calculate the corresponding exponent value, thereby executing the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining a corresponding data encryption result; Step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated; it is determined whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, so as to execute the RSA decryption processing task, thereby obtaining the corresponding data decryption result, including performing decryption operation analysis on the RSA decryption processing task, and determining all intermediate operation operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation operation, it is determined whether the universal exponent library contains the intermediate result required to execute the RSA decryption processing task; if so, the corresponding intermediate result of the universal exponent value library is directly used to execute the RSA decryption processing task, thereby obtaining the corresponding data decryption result; if not, the corresponding exponent value is pre-calculated, so as to execute the modular exponentiation operation corresponding to the RSA decryption processing task, thereby completing the RSA decryption processing task and obtaining the corresponding data decryption result; Step S4, based on the data feature information of the data decryption result, loading the data decryption result into the online tool for display operation; Based on the operation status of the user on the data decryption result on the online tool, adjusting the existence status of the data decryption result in the online tool, including monitoring the operation behavior of the user on the online tool to obtain browsing status information and editing status information of the data decryption result by the user on the online tool; based on the browsing status information, determining whether the user has completely browsed all the data decryption results; Based on the editing status information, determining whether the user performs an illegal editing operation on the data decryption result; If the user browses all the data decryption results completely or makes illegal editing operations on the data decryption results, the data decryption results will be deleted from the online tool; Otherwise, the data decryption result is retained in the online tool.

2. The data processing method according to claim 1, characterized in that: In step S1, the data use request from the user is analyzed, matching data is screened from the data supermarket, and the matching data is calibrated, including: Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data matching the data usage request, and calibrate the storage location of the matching data inside the data supermarket.

3. The data processing method according to claim 1, wherein: In the step S2, based on the data transmission request from the user, an RSA encryption processing task for the matched data is generated, including: The data transmission request from the user is parsed and processed to obtain the identity information of the user; the identity information is compared with the identity information list corresponding to the data center; if the identity information exists in the identity information list, the data transmission request is judged to be legal, and the corresponding API interface is allocated to the user; if the identity information does not exist in the identity information list, the data transmission request is judged to be illegal, and the corresponding API interface is not allocated to the user; based on the API interface allocated to the user, an RSA encryption processing task for the matching data is generated.

4. The data processing method according to claim 1, wherein: In the step S3, when the data encryption result is transmitted to the online tool, an RSA decryption processing task for the data encryption result is generated, including: When the data encryption result is transmitted to the online tool, an RSA decryption processing task regarding the data decryption result is generated based on the data display compatible attribute information of the online tool.

5. The data processing method according to claim 1, wherein: In the step S4, based on the data feature information of the data decryption result, the data decryption result is loaded into the online tool for display operation, including: Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation.

6. A data processing system, characterized in that: include: A universal exponent value library generation module is used to determine the universal exponent value of the RSA key pair during the generation process based on the generation requirement information of the RSA key pair, and generate a corresponding universal exponent value library, including determining all exponent values ​​required for the RSA key pair during the generation process based on the length information of the public key and the private key required to be generated by the RSA key pair; judging whether each required exponent value belongs to a universal exponent value based on the usage frequency of each of all required exponent values ​​during the generation process of the RSA key pair, and integrating all universal exponent values ​​into a universal exponent value library; The data screening and calibration module is used to analyze the data usage request from the user, screen the matching data from the data supermarket, and calibrate the matching data; An RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user; determine whether the universal exponent value library contains an intermediate result required for executing the RSA encryption processing task, thereby executing the RSA encryption processing task, thereby obtaining a corresponding data encryption result, including performing encryption operation analysis processing on the RSA encryption processing task to determine all intermediate operation operations under the RSA encryption processing task; based on the operation attribute information of the intermediate operation operation, determine whether the universal exponent value library contains an intermediate result required for executing the RSA encryption processing task; if so, directly use the corresponding intermediate result of the universal exponent value library to execute the RSA encryption processing task, thereby obtaining a corresponding data encryption result; if not, pre-calculate the corresponding exponent value, thereby executing the modular exponentiation operation corresponding to the RSA encryption processing task, thereby completing the RSA encryption processing task and obtaining a corresponding data encryption result; An RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool; determine whether the universal exponent value library contains the intermediate result required to execute the RSA decryption processing task, thereby executing the RSA decryption processing task, thereby obtaining a corresponding data decryption result, including performing a decryption operation analysis on the RSA decryption processing task to determine all intermediate operations under the RSA decryption processing task; based on the operation attribute information of the intermediate operation, determine whether the universal exponent library contains the intermediate result required to execute the RSA decryption processing task; if so, directly use the corresponding intermediate result of the universal exponent value library to execute the RSA decryption processing task, thereby obtaining a corresponding data decryption result; if not, pre-calculate the corresponding exponent value, thereby executing the modular exponentiation operation corresponding to the RSA decryption processing task, thereby completing the RSA decryption processing task and obtaining a corresponding data decryption result; A data display module, used for loading the data decryption result into the online tool for display operation based on the data feature information of the data decryption result; a data retention state adjustment module, configured to adjust the existence state of the data decryption result in the online tool based on the operation state of the user on the data decryption result on the online tool, including monitoring the operation behavior of the user on the online tool to obtain browsing state information and editing state information of the data decryption result by the user on the online tool; and judging whether the user has completely browsed all the data decryption results based on the browsing state information; Based on the editing status information, determining whether the user performs an illegal editing operation on the data decryption result; If the user browses all the data decryption results completely or makes illegal editing operations on the data decryption results, the data decryption results will be deleted from the online tool; Otherwise, the data decryption result is retained in the online tool.

7. The data processing system according to claim 6, wherein: The data screening and calibration module is used to analyze the data use request from the user, screen the matching data from the data supermarket, and calibrate the matching data, including: Parse and process the data usage request from the user to determine the keyword information corresponding to the data that the user needs to use; based on the keyword information, query and filter the data supermarket to obtain the data matching the data usage request, and calibrate the storage location of the matching data inside the data supermarket.

8. The data processing system according to claim 6, wherein: The RSA encryption execution module is used to generate an RSA encryption processing task for the matched data based on a data transmission request from the user, including: The data transmission request from the user is parsed and processed to obtain the identity information of the user; the identity information is compared with the identity information list corresponding to the data center; if the identity information exists in the identity information list, the data transmission request is judged to be legal, and the corresponding API interface is allocated to the user; if the identity information does not exist in the identity information list, the data transmission request is judged to be illegal, and the corresponding API interface is not allocated to the user; based on the API interface allocated to the user, an RSA encryption processing task for the matching data is generated.

9. The data processing system according to claim 6, wherein: The RSA decryption execution module is used to generate an RSA decryption processing task for the data encryption result when the data encryption result is transmitted to the online tool, including: When the data encryption result is transmitted to the online tool, an RSA decryption processing task regarding the data decryption result is generated based on the data display compatible attribute information of the online tool.

10. The data processing system according to claim 6, wherein: The data display module is used to load the data decryption result into the online tool for display operation based on the data feature information of the data decryption result, including: Based on the data format information of the data decryption result, the data decryption result is loaded into the display process corresponding to the online tool for display operation.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by the processor, the data processing method according to any one of claims 1 to 5 is implemented.