Enterprise data desensitization management and control method, device, equipment and readable storage medium

By configuring the HANA database and encryption desensitization rules on the target middleware, the problem of enterprise data leakage risk in the SAP ERP system is solved, efficient encryption and desensitization of enterprise data is achieved, data leakage risk is reduced, and domestic security is supported. Protection.

CN118504036BActive Publication Date: 2024-11-19FOSHAN ELECTRICAL & LIGHTING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410949030.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-19
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

The SAP ERP system does not support data encryption and desensitization operations under the national secret standard, resulting in a high risk of enterprise data leakage and a lack of domestic alternatives.

Method used

By configuring the HANA database on the target middleware, switching the connection between the SAP system and the HANA database to the connection between the SAP system and the target middleware, and configuring sensitive data discovery rules and data desensitization rules to achieve encryption and desensitization of enterprise data deal with.

Benefits of technology

Effectively prevent enterprise data leakage, reduce the risk of data leakage, realize data confidentiality protection of SAP systems, and do not need to change the application of SAP systems, and support domestic encryption and desensitization rules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504036B_ABST
    Figure CN118504036B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and readable storage medium for enterprise data desensitization management and control, which belongs to the field of electronic digital data processing technology. The method includes: configuring a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database; switching the connection between the SAP system and the HANA database to the connection between the SAP system and the target middleware; configuring a preset sensitive data discovery rule on the target middleware to determine the target sensitive data; configuring a preset data desensitization rule on the target middleware to desensitize the target sensitive data; responding to the user data access instruction, using the middleware to desensitize the target query data, and sending the desensitized target query data to the SAP system. The enterprise data desensitization management and control method of the present application effectively achieves a higher degree of data security and reduces or avoids the risk of enterprise data leakage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic digital data processing, and in particular to an enterprise data desensitization management and control method, device, equipment and computer-readable storage medium. Background Art

[0002] SAP (System Applications and Products, Enterprise Resource Management) is the software name of SAP's product - enterprise management solution. SAP belongs to enterprise application software, enterprise resource management application, supply chain management application, procurement application software, travel and expense management software.

[0003] The ERP (Enterprise Resource Planning) system based on the SAP system has been deeply integrated with the business of major enterprises, and there is no mature domestic alternative solution. It will continue to be used for a long time. SAP is a product of foreign manufacturers. At present, many enterprise users have deployed SAP ERP systems (i.e. ERP systems based on SAP systems) that do not support national security access control operations such as data encryption and desensitization. It is difficult to deploy autonomous encryption and desensitization rules on the SAP system, resulting in a high risk of data leakage and great uncertainty.

[0004] In view of this, a new technical solution is urgently needed to solve the above technical problems. Summary of the invention

[0005] The main purpose of this application is to provide a method, device, equipment and computer-readable storage medium for enterprise data desensitization management and control, aiming to solve the technical problem of how to more effectively prevent enterprise data in SAP ERP system from being easily leaked.

[0006] To achieve the above objectives, the present application provides an enterprise data desensitization management and control method, which is applied to a SAP system; the method comprises the following steps:

[0007] Configuring a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database;

[0008] Switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware;

[0009] Configuring a preset sensitive data discovery rule on the target middleware, wherein the sensitive data discovery rule is used to determine target sensitive data in the enterprise data;

[0010] Configuring a preset data desensitization rule on the target middleware, wherein the data desensitization rule is used to desensitize the target sensitive data;

[0011] In response to the user data access instruction, the target query data is desensitized by using the target middleware, and the desensitized target query data is sent to the SAP system.

[0012] Optionally, the step of configuring a HANA database for storing enterprise data on the target middleware includes:

[0013] Determine the database information set including IP address, name, port, mapped port, and database type of the HANA database storing the enterprise data;

[0014] The database information set is input into the database management page of the target middleware.

[0015] Optionally, the step of switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware includes:

[0016] Determine the database IP address of the HANA database in the SAP system;

[0017] The database IP address is replaced with the middleware IP address of the target middleware.

[0018] Optionally, after the step of responding to the user data access instruction, the method further comprises:

[0019] Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and side encryption application side encryption;

[0020] In the case where the encryption type is direct encryption, the target middleware is used to desensitize the enterprise data, and the desensitized enterprise data is sent to the SAP system.

[0021] Optionally, after the step of determining the encryption type corresponding to the user data access instruction, the method further includes:

[0022] In the case where the encryption type is side encryption and application side encryption, using an ABAP program to obtain target query data corresponding to the user data access instruction;

[0023] Based on the user data access instruction, the target query data is calculated in the ABAP program;

[0024] The target result data obtained through calculation and desensitization processing is sent to the SAP system to display the target result data obtained through calculation and desensitization processing.

[0025] Optionally, the step of configuring a preset sensitive data discovery rule on the target middleware includes:

[0026] Associate the rule name with the corresponding discovery method to create sensitive data discovery rules;

[0027] A plurality of sensitive data discovery rules are configured to the database discovery rule page of the target middleware.

[0028] Optionally, the step of configuring a preset data desensitization rule on the target middleware includes:

[0029] Determine the target field corresponding to the rule name;

[0030] Associating the target field with a corresponding data desensitization algorithm to create a data desensitization rule;

[0031] Configure multiple data desensitization rules to the desensitization rule management page of the target middleware.

[0032] In addition, to achieve the above purpose, the present application also provides an enterprise data desensitization management and control device, the enterprise data desensitization management and control device comprising:

[0033] A database management module, used for configuring a HANA database storing enterprise data on the target middleware, so as to connect the target middleware with the HANA database;

[0034] An address configuration module, used to switch the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware;

[0035] A data discovery module, used to configure preset sensitive data discovery rules on the target middleware, wherein the sensitive data discovery rules are used to determine target sensitive data in the enterprise data;

[0036] A desensitization management module, used for configuring preset data desensitization rules on the target middleware, wherein the data desensitization rules are used for desensitizing the target sensitive data;

[0037] The data access module is used to respond to the user data access instruction, use the target middleware to desensitize the enterprise data, and send the desensitized enterprise data to the SAP system.

[0038] The present application also provides an enterprise data desensitization control device, comprising a processor, a memory, and an enterprise data desensitization control program stored in the memory and executable by the processor, wherein when the enterprise data desensitization control program is executed by the processor, the steps of the enterprise data desensitization control method as described above are implemented.

[0039] The present application also provides a computer-readable storage medium, on which an enterprise data desensitization control program is stored, wherein when the enterprise data desensitization control program is executed by a processor, the steps of the enterprise data desensitization control method as described above are implemented.

[0040] The beneficial effects brought by this application are as follows:

[0041] The enterprise data desensitization management and control method in the technical solution of the present application configures a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database; switches the connection between the SAP system and the HANA database to the connection between the SAP system and the target middleware; configures preset sensitive data discovery rules on the target middleware, and the sensitive data discovery rules are used to determine the target sensitive data in the enterprise data; configures preset data desensitization rules on the target middleware, and the data desensitization rules are used to desensitize the target sensitive data; in response to a user data access instruction, the target query data is desensitized by using the target middleware, and the desensitized target query data is sent to the SAP system.

[0042] When relevant personnel are preparing to query and access enterprise data in the HANA database through the SAP system, based on the target middleware set between the SAP system (SAP application server) and the HANA database, they can use the middleware to retrieve enterprise data from the HANA database more accurately and comprehensively, and encrypt and desensitize the obtained enterprise data before forwarding it to the SAP system for confidential display. In this way, the confidentiality protection operation of enterprise data managed by the SAP system is realized through the middleware, and the middleware can be configured with domestic and autonomous encryption, desensitization and other security protection rules. There is no need to change the application of the SAP system, so a higher degree of data security is achieved better and more effectively, reducing or avoiding the risk of enterprise data leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a schematic diagram of the structure of the hardware operating environment of the enterprise data desensitization management and control device involved in the embodiment of the present application;

[0044] Figure 2 This is a flow chart of the first embodiment of the enterprise data desensitization control method of this application;

[0045] Figure 3 This is a detailed flow chart of step S40 of an embodiment of the enterprise data desensitization control method of this application;

[0046] Figure 4 This is a detailed flow chart of step S50 of an embodiment of the enterprise data desensitization control method of this application;

[0047] Figure 5 This is a schematic diagram of the framework structure of the enterprise data desensitization management and control device for this application.

[0048] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with specific embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0050] like Figure 1 As shown, Figure 1 It is a structural diagram of the hardware operating environment of the enterprise data desensitization management and control equipment involved in the embodiment of the present application.

[0051] The enterprise data desensitization management and control equipment can be servers, workstations, computers and other data processing equipment.

[0052] like Figure 1 As shown, the enterprise data desensitization management and control device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display (Display), an input unit such as a control panel, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WIFI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001. The memory 1005 as a computer storage medium may include an enterprise data desensitization management and control program.

[0053] Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0054] Continue to refer to Figure 1, Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a user interface module, a network communication module, and an enterprise data desensitization management and control program.

[0055] exist Figure 1 In the example, the network communication module is mainly used for data communication between the above-mentioned devices; and the processor 1001 can call the enterprise data desensitization management and control program stored in the memory 1005, and perform the following operations:

[0056] Configuring a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database;

[0057] Switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware;

[0058] Configuring a preset sensitive data discovery rule on the target middleware, wherein the sensitive data discovery rule is used to determine target sensitive data in the enterprise data;

[0059] Configuring a preset data desensitization rule on the target middleware, wherein the data desensitization rule is used to desensitize the target sensitive data;

[0060] In response to the user data access instruction, the target query data is desensitized by using the target middleware, and the desensitized target query data is sent to the SAP system.

[0061] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0062] Determine the database information set including IP address, name, port, mapped port, and database type of the HANA database storing the enterprise data;

[0063] The database information set is input into the database management page of the target middleware.

[0064] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0065] Determine the database IP address of the HANA database in the SAP system;

[0066] The database IP address is replaced with the middleware IP address of the target middleware.

[0067] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0068] Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and side encryption application side encryption;

[0069] In the case where the encryption type is direct encryption, the target middleware is used to desensitize the enterprise data, and the desensitized enterprise data is sent to the SAP system.

[0070] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0071] In the case where the encryption type is side encryption and application side encryption, using an ABAP program to obtain target query data corresponding to the user data access instruction;

[0072] Based on the user data access instruction, the target query data is calculated in the ABAP program;

[0073] The target result data obtained through calculation and desensitization processing is sent to the SAP system to display the target result data obtained through calculation and desensitization processing.

[0074] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0075] Associate the rule name with the corresponding discovery method to create sensitive data discovery rules;

[0076] A plurality of sensitive data discovery rules are configured to the database discovery rule page of the target middleware.

[0077] Further, the processor 1001 may call the enterprise data desensitization management and control program stored in the memory 1005, and further perform the following operations:

[0078] Determine the target field corresponding to the rule name;

[0079] Associating the target field with a corresponding data desensitization algorithm to create a data desensitization rule;

[0080] Configure multiple data desensitization rules to the desensitization rule management page of the target middleware.

[0081] Based on the hardware structure of the above-mentioned enterprise data desensitization management and control device, various embodiments of the enterprise data desensitization management and control method of the present application are proposed.

[0082] The present application provides a method for enterprise data desensitization management and control.

[0083] Please refer to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the enterprise data desensitization control method of the present application; in the first embodiment of the present application, the method is applied to the SAP system; the method includes the following steps:

[0084] Step S10, configuring a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database;

[0085] The target middleware is also the data desensitization system, which has a corresponding visual user interface. Specific configuration operations can be performed in its user interface. A database management module can be set in the target middleware, which can configure and manage the HANA (High-Performance Analytic Appliance) database. The HANA database is a multi-model database that stores data in memory instead of on a hard disk. It is mainly used in SAP systems, also known as SAP HANA, and can store and manage enterprise data.

[0086] Configuring HANA database on the target middleware mainly involves configuring the relevant information of the database on the target middleware by manual input or information import and automatic filling. Specifically, it can be configured in the database management module of the target middleware (this module can connect and manage different databases separately). The relevant information of the database must at least include the IP address and connection port of the database, so as to realize the communication connection between the target middleware and the HANA database, and then the enterprise data of the HANA database can be obtained according to the corresponding data access instructions.

[0087] It should also be noted that the SAP system here can be an ERP system or other branch systems based on the SAP system.

[0088] Optionally, in one embodiment, the step of configuring a HANA database storing enterprise data on the target middleware includes:

[0089] Determine the database information set including IP address, name, port, mapped port, and database type of the HANA database storing the enterprise data;

[0090] The database information set is input into the database management page of the target middleware.

[0091] To achieve a stable connection between the target middleware and the HANA database and facilitate classification and management of each database, the database information set of the HANA database, including the IP address, name, port, mapping port, database type, and proxy mode (which can be a reverse proxy), can be configured on the target middleware.

[0092] These database information can be entered into the corresponding column position of the database management page (module) by manual input or information import.

[0093] Step S20, switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware;

[0094] As the database of the SAP system, SAP HANA is generally and currently connected to the SAP system for data management. This means that if you want to directly encrypt and desensitize the data in the HANA database through the SAP system, you need to make some customized modifications to the SAP system. However, this behavior is generally not allowed or the implementation cost is very high. Therefore, this embodiment does not change the SAP system application itself, but only needs to develop the target middleware, and change the connection between the SAP system and the HANA database to the connection between the SAP system and the target middleware, and the target middleware is connected to the HANA database. In this way, the connection between the SAP system and the HANA database is changed from the original direct connection to an indirect connection through the middleware. Then, the target middleware can realize the function of data transfer when transmitting data between the SAP system and the HANA database, and encrypt and desensitize the transferred data, so as to return the encrypted and desensitized enterprise data to the SAP system.

[0095] Optionally, in a specific embodiment, the step of switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware includes:

[0096] Determine the database IP address of the HANA database in the SAP system;

[0097] The database IP address is replaced with the middleware IP address of the target middleware.

[0098] As for how to implement the switching of the above connection, you can change the database IP address of the HANA database saved in the SAP system to the middleware IP address by modifying the configuration file or configuration options of the SAP system. If the data corresponding to multiple HANA databases needs to be managed, you can change the multiple database IP addresses saved in the SAP system to the middleware IP address respectively.

[0099] By simply changing the IP address in this embodiment, the target middleware can be easily involved in the data management of the SAP system, which is low-cost and ensures the normal and non-influential use of the SAP system.

[0100] Step S30, configuring a preset sensitive data discovery rule on the target middleware, wherein the sensitive data discovery rule is used to determine target sensitive data in the enterprise data;

[0101] According to the different data, needs and compliance requirements of different enterprise users, you can configure personalized or general sensitive data discovery rules in the data discovery module (page) of the target middleware. The sensitive data discovery rules are used to discover enterprise data that meets the rules, that is, the target sensitive data in the enterprise data.

[0102] For example, some sensitive data discovery rules are built into the target middleware, and the rule names are as follows:

[0103] Personally Identifiable Information: This includes name, address, telephone number, email address, Social Security number, ID number, etc.

[0104] Financial information: such as credit card numbers, bank account numbers, payment card numbers, financial statements, tax information, etc.

[0105] Medical and health information: covers data related to personal health, such as medical records, diagnosis reports, prescription information, health insurance information, etc.

[0106] Intellectual property: including patent information, trade secrets, trademarks, copyrights, etc.

[0107] Confidential business data: such as customer lists, sales reports, supply chain information, research and development plans, etc.

[0108] Sensitive customer information: data involving high-value customers, such as customer lists, contract terms, business relationships, etc.

[0109] Sensitive electronic communications: electronic communications involving sensitive content, such as private emails, chat records, etc.

[0110] Human resources data: including employee salaries, employee evaluations, recruitment information, resignation data, etc.

[0111] Optionally, in one embodiment, the step of configuring a preset sensitive data discovery rule on the target middleware includes:

[0112] Associate the rule name with the corresponding discovery method to create sensitive data discovery rules;

[0113] A plurality of sensitive data discovery rules are configured to the database discovery rule page of the target middleware.

[0114] The rule text information (rule names) such as the above-mentioned names, addresses, telephone numbers, customer lists, sales reports, etc. can be applied to identify and discover target sensitive data through discovery methods such as keyword matching, regular expressions, pattern recognition, and context analysis. Different rule names can be combined and associated with different matching and discovery methods to form executable sensitive data discovery rules, and multiple sensitive data discovery rules can be configured to the database discovery rule page (module) of the target middleware according to actual needs, so that relevant target sensitive data can be identified from the HANA database faster and more comprehensively.

[0115] In a more specific embodiment, the association between the rule name and the discovery method includes:

[0116] Keyword matching: Search for specific keywords or phrases within the text, such as passwords, social security numbers, credit card numbers, etc.

[0117] Regular expressions: Use regular expressions to match specific patterns, such as credit card numbers, mobile phone numbers, ID card numbers, etc.

[0118] Data pattern recognition: Analyzing the structure and format of data to identify potentially sensitive information, such as detecting standard credit card number formats.

[0119] Machine Learning: Use machine learning algorithms to train models to identify changing patterns in sensitive data and new types of threats.

[0120] Metadata analysis: Analyze the metadata information of the data, such as file name, creation date, modification date, etc., to identify files or data sets that may contain sensitive information.

[0121] Custom rules: Based on your organization's internal policies and regulations, you can create custom rules to identify specific types of sensitive information, such as personal identity information, financial information, etc.

[0122] Such a specific design is more consistent with the matching degree between the rule name and the discovery method, thereby further improving the efficiency and accuracy of identifying target sensitive data.

[0123] Step S40, configuring a preset data desensitization rule on the target middleware, wherein the data desensitization rule is used to desensitize the target sensitive data;

[0124] One or more different data desensitization rules can be configured in the desensitization rule management page (module) of the target middleware according to the actual needs of enterprise users. The purpose is to process the data accordingly so that the data does not expose personal identity and sensitive information while still maintaining the validity and availability of the data. The data desensitization rules here may include:

[0125] Replacement: Replace the original data with dummy data that does not contain sensitive information. This replacement can be randomly generated, rule-based, or predefined. For example, replace a name with a randomly generated string and a phone number with a placeholder in a specific format.

[0126] Masking: Partially hiding a portion of sensitive data, usually used to process authentication information or credit card numbers. For example, replace part of the sensitive data with asterisks (*) or other characters, such as masking the middle few digits of a credit card number and only showing the first and last few digits.

[0127] Encryption: Use encryption algorithms to encrypt sensitive data to ensure that only authorized users can decrypt and access the original data. Common encryption algorithms include symmetric encryption (such as AES or SM1 of the national encryption standard) and asymmetric encryption (such as RSA or SM2 of the national encryption standard).

[0128] Perturbation: Randomize or perturb the data slightly to reduce the risk of personally identifiable information. For example, add some random noise or small perturbations to numerical data.

[0129] Generalization: Converting data into a more general or abstract form to reduce the identifiability of individuals. For example, converting age from a specific age value to an age range, or converting geographic location from a specific address to a region.

[0130] Take the email account as an example, and use the shielding solution to shield the email account with an asterisk. The effect example is as follows:

[0131] The field REPLYTOADDRESS "Email" account is masked from test@company.com to ****@company.com.

[0132] Optionally, in one embodiment, please refer to Figure 3 The step of configuring a preset data desensitization rule on the target middleware includes:

[0133] Step S410, determining the target field corresponding to the rule name;

[0134] Step S420, associating the target field with a corresponding data desensitization algorithm to create a data desensitization rule;

[0135] Step S430, configuring multiple data desensitization rules to the desensitization rule management page of the target middleware.

[0136] The target field corresponding to the rule name is the field presented or included in the enterprise data of the rule name. For example, the fields included in the email account include REPLYTOADDRESS, EMAILADDRESS, ERRORSTOADDRESS, etc.

[0137] The target field is mainly set according to the representation and format of the field content corresponding to the relevant rule name in the data and data table.

[0138] Different target fields or different rule names can be associated with data desensitization algorithms respectively, and multiple data desensitization rules can be configured to the desensitization rule management page (module) of the target middleware. The above technical means can meet the confidentiality requirements of different data to a greater extent, which is conducive to effectively ensuring data security and meeting the data access requirements of different users.

[0139] Step S50, in response to the user data access instruction, the target query data is desensitized by using the target middleware, and the desensitized target query data is sent to the SAP system.

[0140] User data access instructions refer to requests for data access from relevant users, which can be initiated through the SAP system and then sent to the target middleware. After receiving the instruction, the target middleware responds to the instruction and first finds and discovers the target query data requested by the instruction from the HANA database based on the sensitive data discovery rules configured by the target middleware. The target query data is then desensitized based on the configured data desensitization rules. The desensitized target query data is returned to the SAP system for display.

[0141] Optionally, in one embodiment, after the step of responding to the user data access instruction, the method further includes:

[0142] Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and side encryption application side encryption;

[0143] In the case where the encryption type is direct encryption, the target middleware is used to desensitize the enterprise data, and the desensitized enterprise data is sent to the SAP system.

[0144] After the step of responding to the user data access instruction, it is also necessary to confirm whether the instruction can be directly returned by the middleware after desensitization, or whether the data needs to be calculated (such as aggregation, subtraction, function calculation, etc.) before the calculation result data is returned to the SAP system, which corresponds to direct encryption and side encryption application side encryption. Two different solutions need to be adopted here: For direct encryption, the middleware can be used to desensitize the data and return it directly to the SAP system. This process is imperceptible to the user and can be completed quickly. The average difference between the tested data return time and the direct use of the SAP system to return the plaintext data is within 0.9s. For side encryption application side encryption, please see the following embodiments for details.

[0145] Optionally, in one embodiment, please refer to Figure 4 After the step of determining the encryption type corresponding to the user data access instruction, the method further includes:

[0146] Step S510, when the encryption type is side encryption application side encryption, using the ABAP program to obtain the target query data corresponding to the user data access instruction;

[0147] Step S520, calculating the target query data in the ABAP program based on the user data access instruction;

[0148] Step S530: The target result data obtained through calculation and desensitization processing is sent to the SAP system to display the target result data obtained through calculation and desensitization processing.

[0149] This embodiment corresponds to the side encryption application side encryption type mentioned in the above embodiment, that is, the user data access instruction needs to calculate the data before it is displayed in the SAP system. For this, the ABAP (Advanced Business Application Programming) program can be used to obtain the target query data corresponding to the user data access instruction. The target query data is plain text data at this time, and the relevant data can be involved in the calculation to obtain the required calculation result data. Then, according to the confidentiality requirements, the ABAP program can perform desensitization processing on the result data to obtain the target result data and display it in the interface provided by the SAP system.

[0150] This embodiment further solves the situation where data needs to be involved in calculations, and can also be displayed in an anonymous manner after data calculation, thereby ensuring data security in this specific situation.

[0151] The enterprise data desensitization management and control method in the technical solution of the present application configures a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database; switches the connection between the SAP system and the HANA database to the connection between the SAP system and the target middleware; configures preset sensitive data discovery rules on the target middleware, and the sensitive data discovery rules are used to determine the target sensitive data in the enterprise data; configures preset data desensitization rules on the target middleware, and the data desensitization rules are used to desensitize the target sensitive data; in response to a user data access instruction, the target query data is desensitized by using the target middleware, and the desensitized target query data is sent to the SAP system.

[0152] When relevant personnel are preparing to query and access enterprise data in the HANA database through the SAP system, based on the target middleware set between the SAP system (SAP application server) and the HANA database, they can use the middleware to retrieve enterprise data from the HANA database more accurately and comprehensively, and encrypt and desensitize the obtained enterprise data before forwarding it to the SAP system for confidential display. In this way, the confidentiality protection operation of enterprise data managed by the SAP system is realized through the middleware, and the middleware can be configured with domestic and autonomous encryption, desensitization and other security protection rules. There is no need to change the application of the SAP system, so a higher degree of data security is achieved better and more effectively, reducing or avoiding the risk of enterprise data leakage.

[0153] In addition, refer to Figure 5 , Figure 5 This is a schematic diagram of the framework structure of the enterprise data desensitization control device of the present application. The present application also proposes an enterprise data desensitization control device, the enterprise data desensitization control device comprising:

[0154] A database management module A10, configured to configure a HANA database storing enterprise data on the target middleware, so as to connect the target middleware with the HANA database;

[0155] An address configuration module A20, used to switch the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware;

[0156] A data discovery module A30, configured to configure preset sensitive data discovery rules on the target middleware, wherein the sensitive data discovery rules are used to determine target sensitive data in the enterprise data;

[0157] A desensitization management module A40, configured to configure preset data desensitization rules on the target middleware, wherein the data desensitization rules are used to desensitize the target sensitive data;

[0158] The data access module A50 is used to respond to the user data access instruction, use the target middleware to desensitize the enterprise data, and send the desensitized enterprise data to the SAP system.

[0159] Optionally, the database management module A10 further includes:

[0160] Determine the database information set including IP address, name, port, mapped port, and database type of the HANA database storing the enterprise data;

[0161] The database information set is input into the database management page of the target middleware.

[0162] Optionally, the address configuration module A20 is further used to:

[0163] Determine the database IP address of the HANA database in the SAP system;

[0164] The database IP address is replaced with the middleware IP address of the target middleware.

[0165] Optionally, the data access module A50 is further used to:

[0166] Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and side encryption application side encryption;

[0167] In the case where the encryption type is direct encryption, the target middleware is used to desensitize the enterprise data, and the desensitized enterprise data is sent to the SAP system.

[0168] Optionally, the data access module A50 is further used to:

[0169] In the case where the encryption type is side encryption and application side encryption, using an ABAP program to obtain target query data corresponding to the user data access instruction;

[0170] Based on the user data access instruction, the target query data is calculated in the ABAP program;

[0171] The target result data obtained through calculation and desensitization processing is sent to the SAP system to display the target result data obtained through calculation and desensitization processing.

[0172] Optionally, the data discovery module A30 is further used to:

[0173] Associate the rule name with the corresponding discovery method to create sensitive data discovery rules;

[0174] A plurality of sensitive data discovery rules are configured to the database discovery rule page of the target middleware.

[0175] Optionally, the desensitization management module A40 is further used to:

[0176] Determine the target field corresponding to the rule name;

[0177] Associating the target field with a corresponding data desensitization algorithm to create a data desensitization rule;

[0178] Configure multiple data desensitization rules to the desensitization rule management page of the target middleware.

[0179] The specific implementation methods of the enterprise data desensitization control device of the present application are basically the same as the various embodiments of the above-mentioned enterprise data desensitization control method, and will not be repeated here.

[0180] In addition, the present application also provides a computer-readable storage medium. The computer-readable storage medium of the present application stores an enterprise data desensitization control program, wherein when the enterprise data desensitization control program is executed by a processor, the steps of the enterprise data desensitization control method as described above are implemented.

[0181] Among them, the method implemented when the enterprise data desensitization control program is executed can refer to the various embodiments of the enterprise data desensitization control method of the present application, and will not be repeated here.

[0182] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0183] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0184] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0185] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0186] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0187] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0188] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. All equivalent structural changes made by using the contents of the present application specification and drawings under the inventive concept of the present application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present application.

Claims

1. Enterprise data desensitization control method, It is characterized in that The method is applied to a SAP system; The method comprises the following steps: Configuring a HANA database storing enterprise data on the target middleware to connect the target middleware with the HANA database; Switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware; Configuring a preset sensitive data discovery rule on the target middleware, wherein the sensitive data discovery rule is used to determine target sensitive data in the enterprise data; Configuring a preset data desensitization rule on the target middleware, wherein the data desensitization rule is used to desensitize the target sensitive data; In response to a user data access instruction, desensitizing the target query data using the target middleware, and sending the desensitized target query data to the SAP system; After the step of responding to the user data access instruction, the method further includes: Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and application side encryption; In the case where the encryption type is direct encryption, desensitizing the enterprise data using the target middleware, and sending the desensitized enterprise data to the SAP system; After the step of determining the encryption type corresponding to the user data access instruction, the method further includes: In the case where the encryption type is application-side encryption, using an ABAP program to obtain target query data corresponding to the user data access instruction; Based on the user data access instruction, the target query data is calculated in the ABAP program; Display the target result data obtained after calculation and desensitization processing; The step of switching the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware includes: Determine the database IP address of the HANA database in the SAP system; The database IP address is replaced with the middleware IP address of the target middleware.

2. The enterprise data desensitization management and control method according to claim 1, It is characterized in that The step of configuring a HANA database storing enterprise data on the target middleware includes: Determine the database information set including IP address, name, port, mapped port, and database type of the HANA database storing the enterprise data; The database information set is input into the database management page of the target middleware.

3. The enterprise data desensitization management and control method according to claim 1, It is characterized in that The step of configuring a preset sensitive data discovery rule on the target middleware comprises: Associate the rule name with the corresponding discovery method to create sensitive data discovery rules; A plurality of sensitive data discovery rules are configured to the database discovery rule page of the target middleware.

4. The enterprise data desensitization management and control method according to claim 3, It is characterized in that The step of configuring a preset data desensitization rule on the target middleware includes: Determine the target field corresponding to the rule name; Associating the target field with a corresponding data desensitization algorithm to create a data desensitization rule; Configure multiple data desensitization rules to the desensitization rule management page of the target middleware.

5. An enterprise data desensitization control device, It is characterized in that The enterprise data desensitization control device includes: A database management module, used for configuring a HANA database storing enterprise data on the target middleware, so as to connect the target middleware with the HANA database; An address configuration module, used to switch the connection between the SAP system and the HANA database to a connection between the SAP system and the target middleware; The address configuration module is further used for: Determine the database IP address of the HANA database in the SAP system; Replacing the database IP address with the middleware IP address of the target middleware; A data discovery module, used to configure preset sensitive data discovery rules on the target middleware, wherein the sensitive data discovery rules are used to determine target sensitive data in the enterprise data; A desensitization management module, used for configuring preset data desensitization rules on the target middleware, wherein the data desensitization rules are used for desensitizing the target sensitive data; A data access module, for responding to a user data access instruction, desensitizing the enterprise data using the target middleware, and sending the desensitized enterprise data to the SAP system; The data access module is further used for: Determine the encryption type corresponding to the user data access instruction; the encryption type includes direct encryption and application side encryption; In the case where the encryption type is direct encryption, desensitizing the enterprise data using the target middleware, and sending the desensitized enterprise data to the SAP system; In the case where the encryption type is application-side encryption, using an ABAP program to obtain target query data corresponding to the user data access instruction; Based on the user data access instruction, the target query data is calculated in the ABAP program; The target result data obtained after calculation and desensitization processing is displayed.

6. An enterprise data desensitization management and control device, It is characterized in that The enterprise data desensitization control device includes a processor, a memory, and an enterprise data desensitization control program stored in the memory and executable by the processor, wherein when the enterprise data desensitization control program is executed by the processor, the steps of the enterprise data desensitization control method as described in any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium, It is characterized in that An enterprise data desensitization control program is stored on the computer-readable storage medium, wherein, when the enterprise data desensitization control program is executed by the processor, the steps of the enterprise data desensitization control method according to any one of claims 1 to 4 are implemented.