Enterprise tax management method and system based on secure multi-party computing
By generating sample data and establishing a data sandbox environment, the security threats and performance issues of secure multi-party computing technology in corporate tax management systems are solved, data security protection and interoperability are realized, and management security and efficiency are improved.
Patent Information
- Application Number
- CN202410657309.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-25
- Publication Date
- 2024-09-06
AI Technical Summary
In existing enterprise tax management systems, secure multi-party computing technology faces security threats such as key leaks, side-channel attacks, and collusion attacks, and complex encryption and decryption processes increase system implementation and maintenance costs, affecting performance and response speed.
By obtaining sample data of corporate tax data and auxiliary data, a conditional generation model is generated, a data sandbox environment is established for debugging and model training, ensuring the security and privacy of data processing, and CTGAN is used to generate sample data to simulate real data characteristics. Achieve data security protection and interoperability.
It improves the security and reliability of corporate tax management, avoids the leakage of sensitive information, reduces the risk of data leakage, improves the transparency and compliance of the data processing process, and ensures the effective protection of original data during processing.
Smart Images

Figure CN118608302A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of tax management technology, and in particular to a method and system for enterprise tax management based on secure multi-party computing. Background Art
[0002] Enterprise tax management refers to the process of effectively managing and optimizing tax planning, tax declaration and tax compliance under the premise of complying with national tax laws and regulations. These tasks have an important impact on the financial status and operating efficiency of enterprises. With the continuous improvement and development of my country's market economy system, enterprise tax management has also attracted more and more attention, and more and more enterprises have begun to pay attention to tax management. Through effective data analysis and monitoring systems, enterprises can identify abnormal situations and issue early warnings in time, which helps to prevent tax risks and ensure tax compliance, while improving the financial management efficiency and business stability of enterprises. However, at present, many corporate tax data are stored within the enterprise, which is relatively independent of external systems and cannot be interoperable or integrated. This situation may lead to problems in tax data management and utilization, forming tax data islands, affecting the financial management efficiency, tax compliance and decision-making ability of enterprises. The value of enterprise tax data management may be limited if it relies solely on tax data itself for mining. Therefore, it is necessary to establish a unified data integration platform to jointly mine data from other fields and tax data to achieve data sharing and interoperability.
[0003] In existing research, the Chinese patent application number CN202310755789.0 proposes a data exchange method, device, system and electronic device based on secure multi-party computing. The system first receives a business request from the data user terminal and sends a request to the cloud server to create a secure sandbox. Once the secure sandbox is successfully created, the public key of the secure sandbox is obtained from the cloud server. Then, the demand data is encrypted using the public key of the secure sandbox. The encrypted demand data, the data user terminal label and the demand data usage information are combined into a data calculation request and sent to the secure sandbox in the cloud server. When the message that the calculation result sent by the cloud server security sandbox has been delivered is received, a request to destroy the secure sandbox and related data is immediately sent to the cloud server's security sandbox to ensure that the secure sandbox and related data are destroyed in a timely manner to meet the needs of data security and privacy protection. However, the implementation of secure multi-party computing involves complex encryption and decryption processes, as well as the deployment and management of secure sandboxes, which will increase the implementation and maintenance costs of the system and require professional technical support and resource investment. At the same time, frequent encryption and decryption will increase the computing and communication overhead, affect the performance and response speed of the system, and significantly affect the performance when processing large amounts of data. The patent with application number CN202211486850.8 proposes a joint analysis method of police and tax based on privacy computing. First, the secure multi-party computing protocol and operation rule protocol jointly agreed upon by the police and the tax authorities are obtained; according to the secure multi-party computing protocol, the corresponding key pairs are generated, and the respective key pairs are assigned to the police, the tax authorities and the intermediate privacy nodes; according to the operation rule protocol, the interactive calculation of encrypted police data and encrypted tax authorities data is completed on the intermediate privacy node; the encrypted interactive results of both parties are returned to the police and the tax authorities respectively; the two parties decrypt the encrypted interactive results according to the corresponding private keys to obtain the joint analysis results. However, this method based on privacy computing involves complex technologies such as multi-party protocols, key management, data encryption and decryption, and has high requirements for technical implementation and management. The patent with application number CN202311197942.9 proposes a tax and electricity data security fusion method, tax and electricity node, equipment and medium. Through encryption and decryption based on the order-preserving key of the threshold secret sharing algorithm, the tax data and electricity data are combined to calculate the tax and electricity data fusion index. However, this method relies on complex threshold secret sharing algorithms and homomorphic encryption technology, and its security and efficiency are limited by key sharding and data encryption calculations.
[0004] In summary, current secure multi-party computing relies heavily on privacy computing technology, which may face a variety of security threats and attacks, including key leakage, side channel attacks, malicious participants, and collusion attacks. Therefore, a more secure and reliable corporate tax management method is needed.
[0005] To this end, a corporate tax management method and system based on secure multi-party computing is proposed. Summary of the invention
[0006] The object of the present invention is to provide a method and system for enterprise tax management based on secure multi-party computing. First, first enterprise tax data and second auxiliary data are obtained from the enterprise tax data owner and the second auxiliary data owner, respectively, and the two parties generate sample data including the first enterprise tax sample data and the second auxiliary sample data. A request to create a data sandbox is obtained to obtain a debugging environment. The first enterprise tax joint model is established in the debugging environment using the first enterprise tax sample data and the second auxiliary sample data to obtain a first data processing script and a first operating environment. After receiving a request to run real data, a debugging pass test is performed. If the debugging is passed, the first data processing script and the first operating environment in the debugging environment are packaged into a first joint model image container, and the container is migrated to the real environment for operation to generate a second enterprise tax joint model. If the debugging is not passed, the error information in the first data processing script and / or the first operating environment is output. In the model training and prediction process of real data, the security of data processing is ensured through log monitoring and model auditing. This method combines multi-party data collaboration with privacy protection to provide an effective and secure solution for enterprise tax management.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A method for enterprise tax management based on secure multi-party computing, comprising the following steps:
[0009] Acquire first corporate tax data from a corporate tax data owner; after desensitizing the first corporate tax data, generate a model based on a first condition to generate first corporate tax sample data;
[0010] Acquire second auxiliary data of a second auxiliary data owner; after desensitizing the second auxiliary data, generate a model based on a second condition to generate second auxiliary sample data;
[0011] A request for creating a data sandbox is obtained to obtain a debugging environment; a first enterprise-tax joint model is established in the debugging environment according to the first enterprise-tax sample data and the second auxiliary sample data, thereby obtaining a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script;
[0012] Receive a request to run real data and automatically perform the following steps without external intervention, including:
[0013] Detecting whether the first data processing script and the first operating environment have passed debugging;
[0014] If debugging is successful, a real environment is created; the first data processing script of the debugging environment and the first operating environment are packaged into a first joint model image container, the first joint model image container is migrated to the real environment for operation, and a second enterprise-tax joint model is obtained after model training and prediction;
[0015] If debugging fails, error information in the first data processing script and / or the first operating environment is output.
[0016] Furthermore, obtaining the first enterprise tax data of the enterprise tax data owner and obtaining the second auxiliary data of the second auxiliary data owner are specifically:
[0017] According to the designated enterprise directory, the enterprise tax data within the designated period is obtained to obtain the first enterprise tax data; the first enterprise tax data includes the enterprise industrial and commercial data and tax data;
[0018] According to the designated enterprise directory, obtain the industry data within the designated time to obtain the second auxiliary data;
[0019] The owner of the enterprise tax data completes the following operations, including: desensitizing the first enterprise tax data, and generating the first enterprise tax sample data based on the first condition generation model;
[0020] The second auxiliary data owner completes the following operations, including: performing data desensitization on the second auxiliary data, and generating the second auxiliary sample data based on the second condition generation model.
[0021] Further, performing data desensitization on the first corporate tax data, generating the first corporate tax sample data based on the first condition generation model, and performing data desensitization on the second auxiliary data, generating the second auxiliary sample data based on the second condition generation model includes:
[0022] The enterprise tax data owner performs data desensitization on the first enterprise tax data to obtain first enterprise tax desensitized data, and constructs a first CTGAN initial model based on CTGAN; inputs the first enterprise tax desensitized data into the first CTGAN initial model for training, and obtains the first conditional generation model after hyperparameter tuning; uses the first conditional generation model to generate the same amount of generated data as the first enterprise tax desensitized data, and obtains the first enterprise tax sample data;
[0023] The second auxiliary data owner desensitizes the second auxiliary data to obtain second auxiliary desensitized data; builds a second CTGAN initial model based on CTGAN; inputs the second auxiliary desensitized data into the second CTGAN initial model for training, and after hyperparameter tuning, obtains the second conditional generation model; uses the second conditional generation model to generate the same amount of generated data as the second auxiliary desensitized data to obtain the second auxiliary sample data.
[0024] Further, the second auxiliary data includes one of the following data sources: enterprise power data, enterprise police data, and enterprise environmental data;
[0025] The enterprise power data includes: enterprise ID, power consumption category, operating capacity, industry classification, power time series value, actual amount collected and expense category;
[0026] The enterprise policing data includes: enterprise ID, daily case reporting data involving taxation, and case data involving taxation;
[0027] The enterprise environmental data includes: enterprise ID, enterprise daily carbon emissions and enterprise daily water consumption.
[0028] Further, the data sandbox includes the debugging environment and the real environment;
[0029] The debugging environment is specifically: the debugging environment is a JupterLab environment, which is used for code development and code debugging of the first data processing script; the debugging environment mounts a sample data set including the first corporate tax sample data and the second auxiliary sample data, and the first corporate tax sample data and the second auxiliary sample data both contain a first timestamp; the sample data set is divided into a first training set and a first test set according to the first timestamp;
[0030] The real environment mount includes a real data set of the first enterprise tax data and the second auxiliary data, wherein the first enterprise tax data and the second auxiliary data both include a second timestamp; the real data set is divided into a second training set and a second test set according to the second timestamp;
[0031] The debugging environment is isolated from the real environment;
[0032] The mounting directory of the sample data set is the same as the mounting directory of the real data set.
[0033] Furthermore, the data preprocessing and model training part of the first data processing script includes:
[0034] The first corporate tax sample data and the second auxiliary sample data are read, and samples are aligned according to the corporate ID to obtain the first corporate tax joint data; the first corporate tax joint data is preprocessed, including data cleaning, missing value processing and data conversion, to obtain the first preprocessed joint data; features are extracted from the first preprocessed joint data to obtain the first joint feature data; the first joint data is input into the XGBoost model for training, and after adjusting to obtain the optimal hyperparameters, the first corporate tax joint model is obtained.
[0035] Further, detecting whether the first data processing script and the first operating environment have passed debugging is specifically as follows: in the debugging environment, running the first data processing script, obtaining the first corporate tax sample data and the second auxiliary sample data, obtaining the first script running result, and the first script running result has no errors and meets expectations.
[0036] Furthermore, migrating the first joint model image container to the real environment also includes: after training and testing, outputting the second corporate tax joint model and model training log; performing log content detection on the model training log; if the first corporate tax data contained in the model training log does not exceed the first preset threshold and the second auxiliary data contained does not exceed the second preset threshold, the model training log passes the log content detection; if the first corporate tax data contained in the model training log exceeds the first preset threshold or the second auxiliary data contained exceeds the second preset threshold, the model training log does not pass the log content detection; performing noise processing on the numerical data in the model training log to obtain first log output parameter data, and if the first log output parameter data is within the specified range, the first log output parameter data is recorded in the log output text;
[0037] After obtaining the second enterprise-tax joint model, the real data set mounted in the real environment is deleted.
[0038] Furthermore, after training and testing, outputting the second enterprise-tax joint model further includes: conducting a model audit on the second enterprise-tax joint model to verify the security of the second enterprise-tax joint model, and recording the audit results;
[0039] The model audit includes: using the Booster class of the XGBoost library to load the model file of the second corporate tax joint model; saving the model file in JSON format to generate a first JSON model file; reading and parsing the content of the first JSON model file to extract the tree structure; traversing each tree in the tree structure to find the root node and its child nodes of each tree; extracting the splitting condition, feature index, splitting point and weight of the leaf node from each node to generate the first model parameter; detecting whether the first model parameter is within the specified range; using regular expressions to write a script to scan the content of the first JSON file to detect whether it contains the specified content.
[0040] An enterprise tax management system based on secure multi-party computing, comprising: a data preprocessing module, a data sandbox management module, a debugging environment creation module, a debugging environment modeling module, a debugging verification and deployment module and a real environment operation module;
[0041] The data preprocessing module includes an enterprise tax data acquisition processing unit and a second auxiliary data acquisition processing unit; the enterprise tax data acquisition processing unit is used to acquire first enterprise tax data of the enterprise tax data owner; after desensitizing the first enterprise tax data, a model is generated based on a first condition to generate first enterprise tax sample data; the second auxiliary data acquisition processing unit is used to acquire second auxiliary data of the second auxiliary data owner; after desensitizing the second auxiliary data, a model is generated based on a second condition to generate second auxiliary sample data;
[0042] The data sandbox management module is used to receive a command from the system requesting to create a data sandbox; send a request to the cloud server to create the data sandbox and obtain a creation result; and manage the life cycle of the data sandbox;
[0043] The debugging environment creation module is used to create a debugging environment in the data sandbox;
[0044] The debugging environment modeling module is used to establish a first enterprise-tax joint model using the first enterprise-tax sample data and the second auxiliary sample data; generate a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script;
[0045] The debugging verification and deployment module is automatically executed without external intervention to detect whether the first data processing script and the first operating environment have passed the debugging;
[0046] When the first data processing script and the first operating environment pass debugging, the first data processing script and the first operating environment are packaged into a first joint model image container; when the first data processing script and the first operating environment fail debugging, error information of the first data processing script and / or the first operating environment is output;
[0047] The real environment operation module is used to migrate the first joint model image container to the real environment for operation, and obtain the second enterprise-tax joint model through model training and prediction.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. The present invention proposes a data aggregation method, in which the enterprise tax data owner and the second auxiliary data owner respectively desensitize their respective data and generate sample data. The security protection of the original data is achieved, and the enterprise tax data and the second auxiliary data are effectively protected during the exchange and sharing process, avoiding the leakage and improper use of sensitive information. At the same time, the sample data generated based on the conditional generation model generates synthetic tabular data with similar statistical properties to the actual data, retains the underlying structure of the real data, can effectively simulate the statistical characteristics of the real data, and provides convenience for model development and testing. Generating similar sample data helps to explore the distribution and characteristics of the data. By generating sample data, the characteristics, scope and distribution of the data can be better understood, and the efficiency of subsequent joint modeling can be improved. This data aggregation method improves the security and reliability of the enterprise tax management method based on secure multi-party computing.
[0050] 2. The data sandbox in the present invention provides a secure environment that isolates the debugging environment and the real environment from each other, which helps to ensure the security and privacy of data and models. In the debugging environment, using the JupyterLab environment for code development and debugging can effectively improve the efficiency of data processing script writing and model debugging process. The sample data set mounted in the debugging environment includes the first corporate tax sample data and the second auxiliary sample data, which are desensitized and can be used in the model development process without exposing sensitive information of the real data. The sample data set and the real data set have the same mounting directory, which ensures the consistency and correspondence of the data between the debugging environment and the real environment. This data sandbox design not only provides the functions of security isolation and data protection, but also provides an efficient and safe working environment for the development and deployment of enterprise tax management models. It effectively breaks the tax data island and improves the security of enterprise tax data management.
[0051] 3. In the present invention, once a request to run real data is received, and the first data processing script and the first operating environment are detected, the model training and prediction process of the real data is directly triggered in the operating environment, and the real data is input into the joint model image container for training and testing to generate the second enterprise tax joint model. At the same time, the content of the model training log is detected to ensure that the log does not contain sensitive data exceeding the preset threshold, which can prevent users from directly recording the original data in the log and taking it out, effectively reducing the risk of data leakage. Noising numerical data can prevent users from circumventing audits by simple encryption and data transformation while maintaining the availability of data, and mix the original data into the log for output. Even if it is taken out of the data sandbox after noise addition, the original data cannot be restored. This method can effectively deal with the risk of data leakage and abuse, and improve the transparency and compliance of the data processing process. After obtaining the second enterprise tax joint model, the mounted data set in the real environment is immediately deleted to further improve data security and compliance. These measures jointly guarantee the privacy protection and security controllability in the process of enterprise tax management, ensure that the original data is effectively protected during processing and model training, thereby improving the overall security level. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A flow chart of a method for enterprise tax management based on secure multi-party computing provided by an embodiment of the present invention;
[0053] Figure 2 A flow chart of electricity tax joint modeling based on three participants provided in an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of the production process of the second enterprise-tax joint model provided in an embodiment of the present invention;
[0055] Figure 4 A structural diagram of an enterprise tax management system based on secure multi-party computing provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] 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.
[0057] The production of general data products involves three main parties: data owners, data users, and data product demanders. These three parties form an important cooperative ecosystem in the process of data product production. Among them, data owners provide data resources, data users process data through analysis and modeling, and data product demanders drive the development and application of data products to solve real-world problems or achieve business goals.
[0058] Embodiment 1:
[0059] This embodiment takes a city government department A as an example. This department has a large amount of corporate tax data and is the owner of the data. Government department A hopes not only to mine and explore tax data, but also to cooperate with other related industries to conduct joint modeling, so as to obtain more new features and jointly develop data products. Such data products will be applied to the corporate tax data management of government department A itself. Therefore, government department A is also the demander of data products. The data owner also includes power supplier B, which is responsible for supplying electricity and recording the electricity consumption of the enterprise, and can therefore provide corporate electricity data; the data user in this embodiment is the data analyst responsible for modeling using the sample data of both parties.
[0060] A method for enterprise tax management based on secure multi-party computing, comprising the following steps:
[0061] See also Figure 1 In S10, first enterprise tax data of the enterprise tax data owner is obtained; after desensitizing the first enterprise tax data, a model is generated based on the first condition to generate first enterprise tax sample data;
[0062] See also Figure 1 In S20, second auxiliary data of a second auxiliary data owner is obtained; after desensitizing the second auxiliary data, a model is generated based on a second condition to generate second auxiliary sample data;
[0063] Furthermore, obtaining the first enterprise tax data of the enterprise tax data owner and obtaining the second auxiliary data of the second auxiliary data owner are specifically:
[0064] According to the designated enterprise directory, the enterprise tax data within the designated period is obtained to obtain the first enterprise tax data; the first enterprise tax data includes the enterprise industrial and commercial data and tax data;
[0065] According to the designated enterprise directory, obtain the industry data within the designated time to obtain the second auxiliary data;
[0066] The owner of the enterprise tax data completes the following operations, including: desensitizing the first enterprise tax data, and generating the first enterprise tax sample data based on the first condition generation model;
[0067] The second auxiliary data owner completes the following operations, including: performing data desensitization on the second auxiliary data, and generating the second auxiliary sample data based on the second condition generation model.
[0068] This method enables enterprises to obtain the required data under the premise of compliance, providing enterprises with a comprehensive information foundation. Data desensitization and sample data generation involve the data of the enterprise tax data owner and the auxiliary data owner. These operations are completed by each party on its own, which can ensure the clarity of data ownership and the clear sharing of responsibilities. Both parties desensitize their own data and generate sample data, which ensures the control and credibility of the data processing process and ensures data privacy and security. After the first corporate tax data and the second auxiliary data are desensitized, the corresponding sample data is generated for subsequent model training and analysis, while complying with data protection and privacy regulations to ensure data security and compliance.
[0069] Further, performing data desensitization on the first corporate tax data, generating the first corporate tax sample data based on the first condition generation model, and performing data desensitization on the second auxiliary data, generating the second auxiliary sample data based on the second condition generation model includes:
[0070] The enterprise tax data owner performs data desensitization on the first enterprise tax data to obtain first enterprise tax desensitized data, and constructs a first CTGAN initial model based on CTGAN; inputs the first enterprise tax desensitized data into the first CTGAN initial model for training, and obtains the first conditional generation model after hyperparameter tuning; uses the first conditional generation model to generate the same amount of generated data as the first enterprise tax desensitized data, and obtains the first enterprise tax sample data;
[0071] The owner of the second auxiliary data desensitizes the second auxiliary data (enterprise power data) to obtain second auxiliary desensitized data; builds a second CTGAN initial model based on CTGAN; inputs the second auxiliary desensitized data into the second CTGAN initial model for training, and after hyperparameter tuning, obtains the second conditional generation model; uses the second conditional generation model to generate the same amount of generated data as the second auxiliary desensitized data to obtain the second auxiliary sample data.
[0072] Through data desensitization and operations based on conditional generative models, the privacy and security of corporate tax data and auxiliary data are effectively protected. The data owner desensitizes the data so that sensitive information in the original data is removed or transformed, thereby avoiding direct exposure of the original data. This operation ensures the privacy of the data during processing and analysis, and complies with the legal requirements and standards for data security and privacy protection. Secondly, generating sample data based on CTGAN helps to improve the generation efficiency and quality of the model. CTGAN is a conditional generation model based on generative adversarial networks (GANs) that can simulate the statistical characteristics of original data and generate sample data with similar characteristics. By training the CTGAN model and performing hyperparameter tuning, the generated sample data not only retains the important features of the original data, but also reflects the data distribution and correlation, improving the model generation efficiency and data quality. The sample data generated in this way can be used for model training and testing without directly using the original data, protecting the data ownership and privacy of the data owner, while improving the efficiency of subsequent joint modeling. In addition, this method ensures the controllability and transparency of data utilization. The data owner and auxiliary data owner are each responsible for the data desensitization and model generation process, ensuring the transparency and credibility of data processing. The data owner can perform data desensitization and model training according to its own needs and compliance requirements, maintaining control and management over the data processing process.
[0073] Further, the second auxiliary data includes one of the following data sources: enterprise power data, enterprise police data, and enterprise environmental data;
[0074] The enterprise power data includes: enterprise ID, power consumption category, operating capacity, industry classification, power time series value, actual amount collected and expense category;
[0075] The enterprise policing data includes: enterprise ID, daily case reporting data involving taxation, and case data involving taxation;
[0076] The enterprise environmental data includes: enterprise ID, enterprise daily carbon emissions and enterprise daily water consumption.
[0077] In this embodiment, the second auxiliary data is specifically enterprise power data.
[0078] The use of enterprise auxiliary data (such as enterprise power data, enterprise police data and enterprise environmental data) can provide comprehensive data support for enterprise tax management. Enterprise power data includes electricity consumption categories, operating capacity and power time series values, which can be used to analyze the production and operation status and energy consumption of enterprises, and provide a basis for tax assessment; enterprise police data includes tax-related reporting data and case data, which helps to discover tax risks and cases involved; enterprise environmental data reflects environmental indicators such as carbon emissions and water consumption of enterprises, which can evaluate the environmental protection and social responsibility performance of enterprises. Integrating and analyzing these data with enterprise tax data can deeply understand the business status of enterprises, predict tax risks, and optimize tax strategies. The comprehensive use of auxiliary data can provide more comprehensive data support for enterprise tax management and promote the scientific and refined tax management.
[0079] See also Figure 1 S30 in which a request for creating a data sandbox is obtained to obtain a debugging environment; a first enterprise-tax joint model is established in the debugging environment according to the first enterprise-tax sample data and the second auxiliary sample data, thereby obtaining a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script;
[0080] Further, the data sandbox includes the debugging environment and the real environment;
[0081] The debugging environment is specifically: the debugging environment is a JupterLab environment, which is used for code development and code debugging of the first data processing script; the debugging environment mounts a sample data set including the first corporate tax sample data and the second auxiliary sample data, and the first corporate tax sample data and the second auxiliary sample data both contain a first timestamp; the sample data set is divided into a first training set and a first test set according to the first timestamp;
[0082] The real environment mount includes a real data set of the first enterprise tax data and the second auxiliary data, wherein the first enterprise tax data and the second auxiliary data both include a second timestamp; the real data set is divided into a second training set and a second test set according to the second timestamp;
[0083] The debugging environment is isolated from the real environment;
[0084] The mounting directory of the sample data set is the same as the mounting directory of the real data set.
[0085] The debugging environment uses the JupyterLab environment for code development and debugging of data processing scripts, allowing data users to quickly iterate and optimize the processing flow. The first corporate tax sample data and the second auxiliary sample data mounted in the debugging environment provide the data sets required for model development and training, which are divided into training sets and test sets by timestamps, facilitating the effective construction and verification of the model. The real environment is used to run the real first corporate tax data and the second auxiliary data. The real data set is also divided into training sets and test sets by timestamps, which is the same as the mounting directory of the sample data set, ensuring consistency and stability during model migration and deployment. By isolating the debugging environment from the real environment, the security of sensitive data can be effectively protected, avoiding the exposure of real data during the development and testing stages. The setting of the data sandbox not only improves the efficiency of data processing and model development, but also enhances the level of data security and privacy protection.
[0086] During the implementation of this application, the first data processing script is developed in Python programming language.
[0087] Furthermore, the data preprocessing and model training part of the first data processing script includes:
[0088] The first corporate tax sample data and the second auxiliary sample data are read, and samples are aligned according to the corporate ID to obtain the first corporate tax joint data; the first corporate tax joint data is preprocessed, including data cleaning, missing value processing and data conversion, to obtain the first preprocessed joint data; features are extracted from the first preprocessed joint data to obtain the first joint feature data; the first joint data is input into the XGBoost model for training, and after adjusting to obtain the optimal hyperparameters, the first corporate tax joint model is obtained.
[0089] The steps and implementation details of the joint modeling using the first corporate tax sample data and the second auxiliary sample data are introduced in detail. Specifying XGBoost as the first corporate tax joint model lays a unified standard for subsequent model audits, because XGBoost has good performance and wide application, can effectively process large-scale data sets, and has achieved excellent performance in many practical problems. Therefore, this model selection provides a reliable benchmark for subsequent model audits and log audits, which can improve the efficiency of audits.
[0090] In this embodiment, a group of comparative experiments is provided, in which the above method is used in Group 1 to develop the first corporate tax joint model based on the XGBoost model, the first corporate tax joint model is developed based on the support vector machine model in Group 2, the first corporate tax joint model is developed based on the random forest model in Group 3, and the first corporate tax joint model is developed based on the multilayer perceptron in Group 4. The model audit time and the average log audit time of Group 1, Group 2, Group 3 and Group 4 are statistically analyzed.
[0091] Table 1. Comparison of model audit time and log audit average time experimental data table
[0092]
[0093] As can be seen from Table 1, Group 1 shows higher efficiency in both model audit time and average log audit time compared to Group 2, Group 3, and Group 4. The sample data volume of the four groups is the same, and the method used in Group 1 has the shortest overall audit time.
[0094] See also Figure 1 In S40, a request for running real data is received. The subsequent request for running real data is issued by the data user (data analyst). After the request is issued, since the mount directory of the sample data set is the same as the mount directory of the real data set, there is no need to modify the first data processing script.
[0095] After receiving the request to run real data, the third-party platform automatically performs the following steps (including Figure 1 S50, S60 and S70 in the above), without external intervention, until the second corporate tax joint model is generated, the steps include:
[0096] See also Figure 1 S50, detecting whether the first data processing script and the first operating environment pass debugging;
[0097] Further, detecting whether the first data processing script and the first operating environment have passed debugging is specifically as follows: in the debugging environment, running the first data processing script, obtaining the first corporate tax sample data and the second auxiliary sample data, obtaining the first script running result, and the first script running result has no errors and meets expectations.
[0098] Ensuring that the first data processing script can be executed smoothly in the debugging environment and that the output results meet expectations helps verify the correctness of the data processing process. Through detection and debugging, errors and abnormalities in the first data processing script in the debugging environment can be discovered and resolved in a timely manner, which helps reduce the introduction of errors and reduces the risk of errors in the subsequent data processing and model training stages in the real environment. Doing so ensures that there are no problems with the code in the debugging environment, thereby avoiding the waste of resources and potential errors that may result from running directly in the real environment without detection. This process effectively optimizes the development process and improves the stability and reliability of the system.
[0099] In this embodiment, a group of comparative experiments is provided, in which the above method is used in Group 1 to detect whether the first data processing script and the first operating environment have passed debugging, and Group 2 does not detect whether the first data processing script and the first operating environment have passed debugging. Other processes are the same, and the average time for Group 1 and Group 2 from receiving a request to run real data to obtaining the second enterprise tax joint model is counted.
[0100] Table 2. Comparative experimental results of debugging through detection steps
[0101]
[0102] As shown in Table 2, with the same amount of sample data, Group 1 took an average of 85 minutes to train the second corporate tax joint model, while Group 2 took an average of 150 minutes. This shows that after debugging and passing the detection step, the training time of Group 1 was significantly reduced.
[0103] See also Figure 1 In S60, if debugging is performed, a real environment is created; the first data processing script of the debugging environment and the first operating environment are packaged into a first joint model image container, the first joint model image container is migrated to the real environment for operation, and a second enterprise-tax joint model is obtained after model training and prediction;
[0104] Furthermore, migrating the first joint model image container to the real environment also includes: after training and testing, outputting the second corporate tax joint model and model training log; performing log content detection on the model training log; if the first corporate tax data contained in the model training log does not exceed the first preset threshold and the second auxiliary data contained does not exceed the second preset threshold, the model training log passes the log content detection; if the first corporate tax data contained in the model training log exceeds the first preset threshold or the second auxiliary data contained exceeds the second preset threshold, the model training log does not pass the log content detection; performing noise processing on the numerical data in the model training log to obtain first log output parameter data, and if the first log output parameter data is within the specified range, the first log output parameter data is recorded in the log output text;
[0105] The first preset threshold is the maximum number of first corporate tax data allowed to be included in the log, which can be set by the owner of corporate tax data according to the strength of data confidentiality. If the first corporate tax data is completely confidential, it is set to 0. The second preset threshold is the maximum number of second auxiliary data allowed to be included in the log, which can be set by the owner of power data according to the strength of data confidentiality. If the second auxiliary data is completely confidential, it is set to 0.
[0106] By performing content detection on the model training log to ensure that the log does not contain sensitive data exceeding the preset threshold, it can effectively prevent users from directly recording the original data in the log and reducing the risk of data leakage. By adding noise to numerical data, it can prevent users from circumventing audits through simple encryption and data transformation and mixing the original data into the log for output while maintaining data availability. Even if the data is taken out of the data sandbox after adding noise, the original data cannot be restored. This method effectively addresses the risks of data leakage and abuse and improves the transparency and compliance of the data processing process. After obtaining the second corporate tax joint model, the mounted data set in the real environment is immediately deleted to further improve data security and compliance. These measures jointly ensure privacy protection and security controllability in the corporate tax management process, ensure that the original data is effectively protected during processing and model training, and thus improve the overall security level.
[0107] After obtaining the second enterprise-tax joint model, the real data set mounted in the real environment is deleted.
[0108] Furthermore, after training and testing, outputting the second enterprise-tax joint model further includes: conducting a model audit on the second enterprise-tax joint model to verify the security of the second enterprise-tax joint model, and recording the audit results;
[0109] The model audit includes: using the Booster class of the XGBoost library to load the model file of the second corporate tax joint model; saving the model file in JSON format to generate a first JSON model file; reading and parsing the content of the first JSON model file to extract the tree structure; traversing each tree in the tree structure to find the root node and its child nodes of each tree; extracting the splitting condition, feature index, splitting point and weight of the leaf node from each node to generate the first model parameter; detecting whether the first model parameter is within the specified range; using regular expressions to write a script to scan the content of the first JSON file to detect whether it contains the specified content.
[0110] In the present embodiment, the specified content of the model audit is the sensitive data to be protected, such as the tax amount and corporate income of the enterprise. When performing a model audit, the XGBoost library is first used to load and parse the model file and convert it into JSON format. Then, the audit process traverses the tree structure in the JSON file to extract the various parameters of the model, such as splitting conditions, feature indexes, splitting points, and weights of leaf nodes. Then, detect whether these model parameters are within the specified safety range, and ensure that the JSON file content does not contain sensitive data. If the test results show that the model parameters are within the safety range and the JSON file does not contain sensitive data (such as the tax amount and income of the enterprise), the model passes the audit to confirm its security and compliance.
[0111] This approach can ensure the compliance of model structure and parameters, effectively prevent potential security risks, and ensure the safety and reliability of the model during use.
[0112] See also Figure 1 In S70, if debugging fails, output error information in the first data processing script and / or the first operating environment.
[0113] In this invention, in order to realize high-value analysis and further management of corporate tax data, a corporate tax management method based on secure multi-party computing is proposed. The flow chart of the joint modeling of electricity and tax based on three participants is as follows: Figure 3 As shown in the figure, the method is deployed on a third-party platform, which creates a data sandbox for users to explore and mine data. The computing resources of the data sandbox are provided by the cloud service provider. These computing resources can be regarded as the hardware infrastructure of the data sandbox environment, which is used to provide the required computing power. The computing resources are mainly divided into two categories: CPU computing resources and GPU computing resources, which provide computing power of various specifications.
[0114] Data sandbox technology implements an important data privacy protection method, which is used for joint modeling between data owners and finally obtains the second enterprise tax joint model. The production process of the second enterprise tax joint model is as follows: Figure 3 As shown in the figure, it effectively prevents data users from accessing or leaking the original full data by separating the data processing and analysis process from the data itself. In the data sandbox, data users (such as data analysts) use tax data and auxiliary data to extract information, discover trends, and make predictions to support tax management decisions. Data analysts can only use sample data for code development and debugging in a secure debugging environment, and cannot directly access actual sensitive data. Once the code has been debugged and verified to be correct, it will be deployed to the operating environment to process the full data and generate analysis results. This method ensures the confidentiality and privacy of the data and enables the data analysis process to be carried out under the premise of compliance. The core concept of data sandbox technology is "data does not move, programs move, data is available but not visible", aiming to fully utilize the value of data while ensuring data security, thereby promoting legal and compliant data opening and utilization. Finally, the model that has passed the security audit is released to form a data product, which will be applied to the enterprise tax data management of government department A itself.
[0115] Embodiment 2:
[0116] In this embodiment, one of the data owners is still a municipal government department A, and the other data owner is a public security agency C, which is responsible for supplying corporate police data. The corporate police data includes: corporate ID, daily tax-related case reporting data, and tax-related case data;
[0117] Government Department A applies a corporate tax management method based on secure multi-party computing, including:
[0118] According to the designated enterprise directory, the enterprise tax data owner obtains the enterprise tax data within the designated time to obtain the first enterprise tax data; the first enterprise tax data includes the enterprise industrial and commercial data and tax data;
[0119] According to the designated enterprise directory, the police industry data within the designated time is obtained to obtain the second auxiliary data; the second auxiliary data is the enterprise police data.
[0120] The owner of the enterprise tax data completes the following operations, including: desensitizing the first enterprise tax data, and generating the first enterprise tax sample data based on the first condition generation model;
[0121] The second auxiliary data owner completes the following operations, including: performing data desensitization on the second auxiliary data, and generating the second auxiliary sample data based on the second condition generation model.
[0122] Further, performing data desensitization on the first corporate tax data, generating the first corporate tax sample data based on the first condition generation model, and performing data desensitization on the second auxiliary data, generating the second auxiliary sample data based on the second condition generation model includes:
[0123] The enterprise tax data owner performs data desensitization on the first enterprise tax data to obtain first enterprise tax desensitized data, and constructs a first CTGAN initial model based on CTGAN; inputs the first enterprise tax desensitized data into the first CTGAN initial model for training, and obtains the first conditional generation model after hyperparameter tuning; uses the first conditional generation model to generate the same amount of generated data as the first enterprise tax desensitized data, and obtains the first enterprise tax sample data;
[0124] The second auxiliary data owner desensitizes the second auxiliary data to obtain second auxiliary desensitized data; builds a second CTGAN initial model based on CTGAN; inputs the second auxiliary desensitized data into the second CTGAN initial model for training, and after hyperparameter tuning, obtains the second conditional generation model; uses the second conditional generation model to generate the same amount of generated data as the second auxiliary desensitized data to obtain the second auxiliary sample data.
[0125] The processed data is mounted separately in different environments to ensure the security and controllability of the data in debugging and real environments.
[0126] The remaining specific steps are the same as those in the first embodiment.
[0127] Embodiment three:
[0128] In this embodiment, one of the data owners is still a certain city government department A, and the other is government department B, which is responsible for supplying enterprise environmental data.
[0129] The enterprise environmental data includes: enterprise ID, enterprise daily carbon emissions and enterprise daily water consumption.
[0130] Government department A applied a corporate tax management method based on secure multi-party computing.
[0131] According to the designated enterprise directory, the enterprise tax data owner obtains the enterprise tax data within the designated time to obtain the first enterprise tax data; the first enterprise tax data includes the enterprise industrial and commercial data and tax data;
[0132] According to the designated enterprise directory, the environmental industry data within the designated time is obtained to obtain the second auxiliary data; the second auxiliary data is the enterprise environmental data.
[0133] The owner of the enterprise tax data completes the following operations, including: desensitizing the first enterprise tax data, and generating the first enterprise tax sample data based on the first condition generation model;
[0134] The second auxiliary data owner completes the following operations, including: performing data desensitization on the second auxiliary data, and generating the second auxiliary sample data based on the second condition generation model.
[0135] Further, performing data desensitization on the first corporate tax data, generating the first corporate tax sample data based on the first condition generation model, and performing data desensitization on the second auxiliary data, generating the second auxiliary sample data based on the second condition generation model includes:
[0136] The enterprise tax data owner performs data desensitization on the first enterprise tax data to obtain first enterprise tax desensitized data, and constructs a first CTGAN initial model based on CTGAN; inputs the first enterprise tax desensitized data into the first CTGAN initial model for training, and obtains the first conditional generation model after hyperparameter tuning; uses the first conditional generation model to generate the same amount of generated data as the first enterprise tax desensitized data, and obtains the first enterprise tax sample data;
[0137] The second auxiliary data owner desensitizes the second auxiliary data to obtain second auxiliary desensitized data; builds a second CTGAN initial model based on CTGAN; inputs the second auxiliary desensitized data into the second CTGAN initial model for training, and after hyperparameter tuning, obtains the second conditional generation model; uses the second conditional generation model to generate the same amount of generated data as the second auxiliary desensitized data to obtain the second auxiliary sample data.
[0138] The processed data is mounted separately in different environments to ensure the security and controllability of the data in debugging and real environments.
[0139] The debugging environment mounts a sample data set including the first corporate tax sample data and the second auxiliary sample data, wherein the first corporate tax sample data and the second auxiliary sample data both include a first timestamp; the sample data set is divided into a first training set and a first test set according to the first timestamp;
[0140] The real environment mount includes a real data set of the first enterprise tax data and the second auxiliary data, wherein the first enterprise tax data and the second auxiliary data both include a second timestamp; the real data set is divided into a second training set and a second test set according to the second timestamp;
[0141] The remaining steps are the same as those in the first embodiment.
[0142] Embodiment 4:
[0143] An enterprise tax management system based on secure multi-party computing, such as Figure 4 As shown, it includes: data preprocessing module, data sandbox management module, debugging environment creation module, debugging environment modeling module, debugging verification and deployment module and real environment operation module;
[0144] The data preprocessing module includes an enterprise tax data acquisition processing unit and a second auxiliary data acquisition processing unit; the enterprise tax data acquisition processing unit is used to acquire first enterprise tax data of the enterprise tax data owner; after desensitizing the first enterprise tax data, a model is generated based on a first condition to generate first enterprise tax sample data; the second auxiliary data acquisition processing unit is used to acquire second auxiliary data of the second auxiliary data owner; after desensitizing the second auxiliary data, a model is generated based on a second condition to generate second auxiliary sample data;
[0145] The data sandbox management module is used to receive a command from the system requesting to create a data sandbox; send a request to the cloud server to create the data sandbox and obtain a creation result; and manage the life cycle of the data sandbox;
[0146] The debugging environment creation module is used to create a debugging environment in the data sandbox;
[0147] The debugging environment modeling module is used to establish a first enterprise-tax joint model using the first enterprise-tax sample data and the second auxiliary sample data; generate a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script;
[0148] The debugging verification and deployment module is automatically executed without external intervention to detect whether the first data processing script and the first operating environment have passed the debugging;
[0149] When the first data processing script and the first operating environment pass debugging, the first data processing script and the first operating environment are packaged into a first joint model image container; when the first data processing script and the first operating environment fail debugging, error information of the first data processing script and / or the first operating environment is output;
[0150] The real environment operation module is used to migrate the first joint model image container to the real environment for operation, and obtain the second enterprise-tax joint model through model training and prediction.
[0151] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A corporate tax management method based on secure multi-party computing, characterized in that: The following steps are involved: Obtain the first corporate tax data from the corporate tax data owner; After desensitizing the first corporate tax data, a model is generated based on the first condition to generate first corporate tax sample data; Acquire the second auxiliary data of the second auxiliary data owner; After desensitizing the second auxiliary data, generating a model based on the second condition to generate second auxiliary sample data; Get a request to create a data sandbox and obtain a debugging environment; A first enterprise-tax joint model is established in the debugging environment according to the first enterprise-tax sample data and the second auxiliary sample data, thereby obtaining a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script; Receive a request to run real data and automatically perform the following steps without external intervention, including: Detecting whether the first data processing script and the first operating environment have passed debugging; If debugging is successful, a real environment is created; the first data processing script of the debugging environment and the first operating environment are packaged into a first joint model image container, the first joint model image container is migrated to the real environment for operation, and a second enterprise-tax joint model is obtained after model training and prediction; If debugging fails, error information in the first data processing script and / or the first operating environment is output.
2. According to claim 1, a method for enterprise tax management based on secure multi-party computing is characterized in that: The steps of obtaining the first enterprise tax data of the enterprise tax data owner and obtaining the second auxiliary data of the second auxiliary data owner are as follows: According to the designated enterprise directory, the enterprise tax data within the designated period is obtained to obtain the first enterprise tax data; the first enterprise tax data includes the enterprise industrial and commercial data and tax data; According to the designated enterprise directory, obtain the industry data within the designated time to obtain the second auxiliary data; The owner of the enterprise tax data completes the following operations, including: desensitizing the first enterprise tax data, and generating the first enterprise tax sample data based on the first condition generation model; The second auxiliary data owner completes the following operations, including: performing data desensitization on the second auxiliary data, and generating the second auxiliary sample data based on the second condition generation model.
3. According to claim 2, a method for enterprise tax management based on secure multi-party computing is characterized in that: Performing data desensitization on the first corporate tax data, generating the first corporate tax sample data based on the first condition generation model, and performing data desensitization on the second auxiliary data, generating the second auxiliary sample data based on the second condition generation model, includes: The enterprise tax data owner performs data desensitization on the first enterprise tax data to obtain first enterprise tax desensitized data, and constructs a first CTGAN initial model based on CTGAN; inputs the first enterprise tax desensitized data into the first CTGAN initial model for training, and obtains the first conditional generation model after hyperparameter tuning; uses the first conditional generation model to generate the same amount of generated data as the first enterprise tax desensitized data, and obtains the first enterprise tax sample data; The second auxiliary data owner desensitizes the second auxiliary data to obtain second auxiliary desensitized data; builds a second CTGAN initial model based on CTGAN; inputs the second auxiliary desensitized data into the second CTGAN initial model for training, and after hyperparameter tuning, obtains the second conditional generation model; uses the second conditional generation model to generate the same amount of generated data as the second auxiliary desensitized data to obtain the second auxiliary sample data.
4. According to claim 1, a method for enterprise tax management based on secure multi-party computing is characterized in that: The second auxiliary data includes one of the following data sources: enterprise power data, enterprise police data, and enterprise environmental data; The enterprise power data includes: enterprise ID, power consumption category, operating capacity, industry classification, power time series value, actual amount collected and expense category; The enterprise policing data includes: enterprise ID, daily case reporting data involving taxation, and case data involving taxation; The enterprise environmental data includes: enterprise ID, enterprise daily carbon emissions and enterprise daily water consumption.
5. According to claim 1, a method for enterprise tax management based on secure multi-party computing is characterized in that: The data sandbox includes the debugging environment and the real environment; The debugging environment is specifically: the debugging environment is a JupterLab environment, which is used for code development and code debugging of the first data processing script; the debugging environment mounts a sample data set including the first corporate tax sample data and the second auxiliary sample data, and the first corporate tax sample data and the second auxiliary sample data both contain a first timestamp; the sample data set is divided into a first training set and a first test set according to the first timestamp; The real environment mount includes a real data set of the first enterprise tax data and the second auxiliary data, wherein the first enterprise tax data and the second auxiliary data both include a second timestamp; the real data set is divided into a second training set and a second test set according to the second timestamp; The debugging environment is isolated from the real environment; The mounting directory of the sample data set is the same as the mounting directory of the real data set.
6. According to claim 1, a method for enterprise tax management based on secure multi-party computing is characterized in that: The data preprocessing and model training parts of the first data processing script include: The first corporate tax sample data and the second auxiliary sample data are read, and samples are aligned according to the corporate ID to obtain the first corporate tax joint data; the first corporate tax joint data is preprocessed, including data cleaning, missing value processing and data conversion, to obtain the first preprocessed joint data; features are extracted from the first preprocessed joint data to obtain the first joint feature data; the first joint data is input into the XGBoost model for training, and after adjusting to obtain the optimal hyperparameters, the first corporate tax joint model is obtained.
7. According to claim 1, a method for enterprise tax management based on secure multi-party computing is characterized in that: Checking whether the first data processing script and the first operating environment have passed debugging is specifically as follows: in the debugging environment, running the first data processing script, obtaining the first corporate tax sample data and the second auxiliary sample data, obtaining the first script running result, and the first script running result has no errors and meets expectations.
8. The enterprise tax management method based on secure multi-party computing according to claim 1 is characterized in that: Migrating the first joint model image container to the real environment also includes: after training and testing, outputting the second enterprise-tax joint model and model training log; performing log content detection on the model training log; if the first enterprise-tax data contained in the model training log does not exceed the first preset threshold and the second auxiliary data contained does not exceed the second preset threshold, the model training log passes the log content detection; if the first enterprise-tax data contained in the model training log exceeds the first preset threshold or the second auxiliary data contained exceeds the second preset threshold, the model training log does not pass the log content detection; performing noise processing on the numerical data in the model training log to obtain first log output parameter data, and if the first log output parameter data is within the specified range, the first log output parameter data is recorded in the log output text; After obtaining the second enterprise-tax joint model, the real data set mounted in the real environment is deleted.
9. The enterprise tax management method based on secure multi-party computing according to claim 8 is characterized in that: After training and testing, outputting the second enterprise-tax joint model further includes: conducting a model audit on the second enterprise-tax joint model to verify the security of the second enterprise-tax joint model, and recording the audit results; The model audit includes: using the Booster class of the XGBoost library to load the model file of the second corporate tax joint model; saving the model file in JSON format to generate a first JSON model file; reading and parsing the content of the first JSON model file to extract the tree structure; traversing each tree in the tree structure to find the root node and its child nodes of each tree; extracting the splitting condition, feature index, splitting point and weight of the leaf node from each node to generate the first model parameter; detecting whether the first model parameter is within the specified range; using regular expressions to write a script to scan the content of the first JSON file to detect whether it contains the specified content.
10. An enterprise tax management system based on secure multi-party computing, characterized in that: include: Data preprocessing module, data sandbox management module, debugging environment creation module, debugging environment modeling module, debugging verification and deployment module and real environment operation module; The data preprocessing module includes an enterprise tax data acquisition processing unit and a second auxiliary data acquisition processing unit; The enterprise tax data acquisition processing unit is used to acquire first enterprise tax data of the enterprise tax data owner; after desensitizing the first enterprise tax data, a model is generated based on the first condition to generate first enterprise tax sample data; The second auxiliary data acquisition processing unit is used to acquire second auxiliary data of a second auxiliary data owner; After desensitizing the second auxiliary data, generating a model based on the second condition to generate second auxiliary sample data; The data sandbox management module is used to receive a command from the system requesting to create a data sandbox; Send a request to the cloud server to create the data sandbox and obtain the creation result; manage the life cycle of the data sandbox; The debugging environment creation module is used to create a debugging environment in the data sandbox; The debugging environment modeling module is used to establish a first enterprise-tax joint model using the first enterprise-tax sample data and the second auxiliary sample data; generate a first data processing script and a first operating environment; the first data processing script includes a code set that implements the entire data processing and model development process; the first operating environment includes all software packages and dependencies required to run the first data processing script; The debugging verification and deployment module is automatically executed without external intervention to detect whether the first data processing script and the first operating environment have passed the debugging; When the first data processing script and the first operating environment pass debugging, packaging the first data processing script and the first operating environment into a first joint model image container; When the first data processing script and the first operating environment fail to pass debugging, outputting error information of the first data processing script and / or the first operating environment; The real environment operation module is used to migrate the first joint model image container to the real environment for operation, and obtain the second enterprise-tax joint model through model training and prediction.
Citation Information
Cited By
Method and device for docking data security sandbox with API (Application Program Interface) data source, medium and equipment
CN119293779A
