A method and device for calculating tax electricity index

By using privacy computing and homomorphic encryption technology in the tax and electricity joint analysis scenario, secret key pairs are generated for data encryption and decryption, which solves the problem of inaccurate calculation of tax and electricity indicators and safe data sharing, and achieves safe sharing and data sharing. Obtaining real indicators improves resource utilization.

CN114331658BActive Publication Date: 2024-09-10AISINO CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the joint analysis scenario of tax and electricity, the traditional calculation of tax and electricity indicators has problems of outdated data and low data quality, resulting in inaccurate calculation of tax and electricity indicators. At the same time, data privacy and security need to be ensured during the data sharing process. It is difficult to achieve data realization with existing technology. efficient interaction and secure sharing.

Method used

Homomorphic encryption technology based on privacy computing is used to encrypt and decrypt data by generating key pairs to ensure the security of data during transmission, and to achieve safe sharing of data between power management and tax management platforms, using data The sandbox mechanism ensures the security and controllability of data circulation.

Benefits of technology

It achieves the availability and security of data, ensures the safe sharing of multi-party data, obtains real tax and electricity indicators, solves the problem of data fragmentation, improves resource utilization, and realizes data security while ensuring privacy and security. Exchange and sharing across departments, industries, and regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114331658B
    Figure CN114331658B
Patent Text Reader

Abstract

The present application relates to the field of data processing technology, and in particular to a method and device for calculating a tax and electricity index. Applied to a tax management platform, the method includes: determining the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, and calculating the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypting the intermediate result; sending the tax and electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax and electricity index to the power party, so that the power party determines the target power party data required for calculating the target tax and electricity index based on the power party data directory, and calculates the target tax and electricity index based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax and electricity index; receiving the encrypted target tax and electricity index sent by the power party, and performing decryption processing to obtain the target tax and electricity index.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for calculating tax and electricity indicators. Background Art

[0002] With the rapid development of artificial intelligence technology, tax services have entered the intelligent era of "Internet + taxation". After the continuous advancement of the merger reform of national and local taxes and the construction of tax big data platforms, the internal tax-related data aggregation and interconnection have been basically realized, but the current external tax-related data still have problems such as insufficient interaction, incomplete data, blocked data transmission channels, and low data value. At present, there are many problems and difficulties in data sharing and exchange, and some tax-related data joint analysis processes have not been opened. Based on the sharing and exchange of traditional detailed data, including result sharing and interval sharing methods, it can no longer meet the requirements of daily work under the situation of increasingly strict data security and confidentiality. The "Data Security Law" clarifies the definition of data and also defines the scope of data governance: data collection, storage, use, processing and transmission, etc., limit the scope of the entire life cycle of data. At the same time, there are clear provisions and regulatory requirements for the responsibilities of all parties for data security. In view of the above, in the process of cooperation, when both parties involve corporate and personal privacy data, they cannot be fully shared.

[0003] In the tax-electricity joint analysis scenario, the electricity data required by industries, regions, and enterprises are supplied by the power sector. Traditional tax-electricity index calculations have problems with outdated data and low data quality, which leads to inaccurate tax-electricity index calculations. The extensive use of data will raise the question of how to ensure data privacy and security. Summary of the invention

[0004] The present application provides a tax and electricity index calculation method and device to solve the problem of inaccurate tax and electricity index calculation in the prior art.

[0005] In a first aspect, the present application provides a tax and electricity index calculation method, which is applied to a tax management platform, and the method includes:

[0006] Based on the tax and electricity index calculation formula, determine the target tax party data required for calculating the target tax and electricity index, calculate the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypt the intermediate result;

[0007] Send the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax-electricity index based on the power party data directory, calculates the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax-electricity index;

[0008] The encrypted target tax and electricity index sent by the power management platform is received, and the encrypted target tax and electricity index is decrypted to obtain the target tax and electricity index.

[0009] Optionally, the method further comprises:

[0010] Based on preset rules, a key pair is generated, and the public key included in the key pair is sent to the power management platform, and the private key included in the key pair is maintained locally.

[0011] Optionally, the step of encrypting the intermediate result includes:

[0012] The intermediate result is encrypted based on the public key included in the key pair.

[0013] Optionally, the power management platform encrypts the target tax electricity index based on the public key included in the key pair;

[0014] The step of decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index includes:

[0015] The encrypted target tax and electricity index is decrypted based on the private key included in the key pair to obtain the target tax and electricity index.

[0016] In a second aspect, the present application provides a method for calculating tax electricity indicators, which is applied to a power management platform, and the method includes:

[0017] Receive the tax-electricity index calculation formula, the encrypted intermediate results and the power party data directory required for calculating the target tax-electricity index sent by the tax management platform, wherein the tax management platform determines the target tax party data required for calculating the target tax-electricity index based on the tax-electricity index calculation formula, and calculates the intermediate results required for calculating the target tax-electricity index based on the target tax party data;

[0018] Based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data are used to calculate the target tax and electricity index, and the target tax and electricity index is encrypted;

[0019] The encrypted target tax and electricity index is sent to the tax management platform, so that after receiving the encrypted target tax and electricity index, the tax management platform decrypts the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0020] In a third aspect, the present application provides a tax and electricity index calculation device, which is applied to a tax management platform, and the device includes:

[0021] An encryption unit, used to determine the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, calculate the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypt the intermediate result;

[0022] A sending unit, used for sending the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax-electricity index based on the power party data directory, calculates the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax-electricity index;

[0023] The decryption unit is used to receive the encrypted target tax and electricity index sent by the power management platform, and decrypt the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0024] Optionally, the device further comprises:

[0025] The generating unit is used to generate a key pair based on a preset rule, send the public key included in the key pair to the power management platform, and maintain the private key included in the key pair locally.

[0026] Optionally, when encrypting the intermediate result, the encryption unit is specifically used to:

[0027] The intermediate result is encrypted based on the public key included in the key pair.

[0028] Optionally, the power management platform encrypts the target tax electricity index based on the public key included in the key pair;

[0029] When decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index, the decryption unit is specifically used to:

[0030] The encrypted target tax and electricity index is decrypted based on the private key included in the key pair to obtain the target tax and electricity index.

[0031] In a fourth aspect, the present application provides a tax electricity index calculation device, which is applied to a power management platform, and the device includes:

[0032] A receiving unit, used to receive the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index sent by the tax management platform, wherein the tax management platform determines the target tax party data required for calculating the target tax-electricity index based on the tax-electricity index calculation formula, and calculates the intermediate result required for calculating the target tax-electricity index based on the target tax party data;

[0033] An encryption unit, configured to calculate the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypt the target tax-electricity index;

[0034] The sending unit is used to send the encrypted target tax and electricity index to the tax management platform, so that the tax management platform decrypts the encrypted target tax and electricity index after receiving the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0035] In a fifth aspect, an embodiment of the present application provides a tax and electricity index calculation device, which is applied to a tax management platform, and includes:

[0036] A memory for storing program instructions;

[0037] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0038] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the above-mentioned first aspects.

[0039] In a seventh aspect, an embodiment of the present application provides a tax electricity index calculation device, which is applied to a power management platform, and includes:

[0040] A memory for storing program instructions;

[0041] The processor is used to call the program instructions stored in the memory and execute the steps of the method as described in any one of the second aspects according to the obtained program instructions.

[0042] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the second aspects above.

[0043] In summary, the tax and electricity index calculation method provided in the embodiment of the present application is applied to a tax management platform, and the method includes: determining the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, and calculating the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypting the intermediate result; sending the tax and electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax and electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax and electricity index based on the power party data directory, and calculates the target tax and electricity index based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax and electricity index; receiving the encrypted target tax and electricity index sent by the power management platform, and decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0044] The tax and electricity index calculation method provided in the embodiment of this application is adopted to achieve data availability but invisibility, secure data sharing among multiple parties, and encrypted data can be connected to various data analyses to obtain real tax and electricity indexes, and obtain suspicious enterprises based on the characteristics of tax and electricity indexes. The homomorphic encryption technology based on privacy computing is applied in the tax and electricity joint analysis scenario, solving the problem of data splitting between the two parties, thereby more effectively planning resources and improving resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 A detailed flow chart of a tax and electricity index calculation method provided in an embodiment of the present application;

[0047] Figure 2 A detailed flow chart of another tax and electricity index calculation method provided in an embodiment of the present application;

[0048] Figure 3 A system structure diagram of a tax-electricity joint analysis system provided in an embodiment of the present application;

[0049] Figure 4 A schematic diagram of the structure of the first tax and electricity index calculation device provided in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of the structure of a second tax and electricity index calculation device provided in an embodiment of the present application;

[0051] Figure 6 A schematic diagram of the structure of a third tax and electricity index calculation device provided in an embodiment of the present application;

[0052] Figure 7 A schematic diagram of the structure of the fourth tax and electricity index calculation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0054] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0055] For example, see Figure 1 As shown, it is a detailed flow chart of a tax electricity index calculation method provided in an embodiment of the present application. The method is applied to a tax management platform, and the method includes the following steps:

[0056] Step 100: Based on the tax and electricity index calculation formula, determine the target tax party data required to calculate the target tax and electricity index, calculate the intermediate result required to calculate the target tax and electricity index based on the target tax party data, and encrypt the intermediate result.

[0057] In an embodiment of the present application, before executing step 100, the above-mentioned tax and electricity index calculation method may also include the following steps: generating a key pair based on preset rules, sending the public key included in the key pair to the power management platform, and maintaining the private key included in the key pair locally.

[0058] Then, in the embodiment of the present application, when the tax management platform encrypts the intermediate result, a preferred implementation method is to encrypt the intermediate result based on the public key included in the key pair.

[0059] In actual applications, the tax party (tax management platform) and the electricity party (electricity management platform) are the data interaction participants. Before calculating the tax and electricity indicators, a better implementation method is to first deploy a data sandbox (a mature data sandbox product is applied here to separate data ownership and data usage rights to ensure the security and controllability of the data flow process. The data sandbox includes: data flow platform, computing platform, and security mechanism. The data sandbox can break the data monopoly, make data flow convenient and safe, and realize data democratization.), and the tax management platform initializes the public key and private key, and distributes the public key to the power management platform.

[0060] When the tax management platform receives the target tax and electricity index calculation instruction, it can use its own data to calculate the intermediate results required for the index according to the actual calculation formula of the tax and electricity index.

[0061] Step 110: Send the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required to calculate the target tax-electricity index to the power management platform.

[0062] In an embodiment of the present application, a preferred implementation method is that the tax management platform uses a public key to encrypt the intermediate results obtained by calculation, and transmits the calculation formula of the required tax and electricity indicators, the encrypted intermediate results, and the data directory of the power party that needs to participate in the calculation to the power management platform.

[0063] Then, after receiving the tax and electricity index calculation formula, the encrypted intermediate result and the power party data directory required to calculate the target tax and electricity index, the power management platform determines the target power party data required to calculate the target tax and electricity index based on the power party data directory, calculates the target tax and electricity index based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax and electricity index.

[0064] Specifically, the power management platform can determine the authorized data through the authorization review mechanism. The power management platform can review and authorize the data in the data directory for use in the calculation of the tax and electricity indicators based on the data directory of the power party that needs to be calculated as transmitted by the tax party.

[0065] Furthermore, the electricity management platform performs the calculation of tax and electricity indicators and transmits them to the tax management platform.

[0066] Specifically, after completing the authorization, the power management platform uses the authorized data to perform the tax and electricity index calculation locally according to the tax and electricity index calculation formula and the encrypted intermediate results transmitted by the tax management platform, obtains the encrypted tax and electricity index calculation results, and transmits them back to the tax party.

[0067] Step 120: Receive the encrypted target tax and electricity index sent by the power management platform, and decrypt the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0068] That is, after obtaining the encrypted tax and electricity index calculation results, the tax management platform uses the secret key to decrypt the included private key to obtain the tax and electricity index value.

[0069] In an embodiment of the present application, when the power management platform encrypts the target tax and electricity indicator, it encrypts the target tax and electricity indicator based on the public key included in the key pair.

[0070] Then, when the tax management platform decrypts the encrypted target tax and electricity indicator to obtain the target tax and electricity indicator, a better implementation method is to decrypt the encrypted target tax and electricity indicator based on the private key included in the key pair to obtain the target tax and electricity indicator.

[0071] For example, see Figure 2 As shown, it is a detailed flow chart of another tax electricity index calculation method provided by this application, which is applied to the power management platform and includes the following steps:

[0072] Step 200: Receive the tax and electricity index calculation formula sent by the tax management platform, the encrypted intermediate results and the power party data directory required to calculate the target tax and electricity index.

[0073] Among them, after the tax management platform determines the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, it calculates the intermediate result required for calculating the target tax and electricity index based on the target tax party data.

[0074] Step 210: Based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data calculate the target tax and electricity index, and encrypt the target tax and electricity index.

[0075] Step 220: Send the encrypted target tax and electricity index to the tax management platform, so that after receiving the encrypted target tax and electricity index, the tax management platform decrypts the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0076] The following is a detailed description of the tax and electricity index calculation method provided in the embodiment of the present application in conjunction with a specific application scenario of tax and electricity joint analysis. Figure 3 The figure shows a system structure diagram of a tax-electricity joint analysis system provided in an embodiment of the present application. The tax-electricity joint analysis system includes an infrastructure layer, a data layer, a service layer and an application layer.

[0077] Among them, the infrastructure layer is located at the bottom layer and provides the physical environment. The infrastructure layer is the various hardware and software resources of the tax and electricity analysis system, including various servers, storage, network equipment, databases, etc. Optionally, the system is developed and implemented based on the tax big data platform, so the infrastructure will continue to use the physical environment of the tax big data platform, and upgrade, expand and transform resources on this basis.

[0078] The data layer is responsible for data collection. It undertakes the most important data collection function of the system and is also the key to system performance. This layer is equipped with a multi-mode scalable adapter to collect data from all parties and store it in the database. It includes information on the data of the tax party and the third party. The tax party data includes basic tax collection and management data, value-added tax invoice data, enterprise data, and enterprise tax data. The third-party data includes power data, industry standard data, and enterprise pollution data. These data come from different sources, have different indicator types, inconsistent data standards, and uneven data quality, so they will be governed at the service layer to improve the value of the data.

[0079] The service layer is responsible for data storage, encryption, decryption and data governance, and connects to the application layer to provide application services. The service layer mainly counts, analyzes and mines the collected data, supports data encryption, data delivery and push services for both parties, can decrypt the supplier's data, and manage the data to obtain the data required by both the tax and electricity parties, and provide data support for the application layer.

[0080] The service layer consists of two sub-functional modules: the business middle platform and the data middle platform. The business middle platform sub-module includes functions such as indicator model management, key management and distribution, memory calculation, rule review, and task management. Indicator model management is to manage the screening of data involved in the indicator model, the creation of indicators, the construction of indicator calculation formulas, etc., and provide algorithm preparation for homomorphic encryption calculations. The management and distribution of keys, and the private keys owned by all parties should ensure that they are not sent to any other party manually, otherwise there may be a risk of leakage of sensitive data.

[0081] The data platform submodule includes data encryption between both parties, data delivery / push, data API access, homomorphic encryption, supplier decryption, and data governance. Homomorphic encryption is an encryption technology for privacy computing, a computing theory and method for protecting privacy data throughout its life cycle, covering all computing operations in data collection, storage, processing, publishing, and destruction.

[0082] The application layer provides external services to meet the needs of computing and analysis. The application layer provides application services to the management personnel of the tax and power parties. In combination with the standards of taxation, power and other industries and the actual needs of both parties, it conducts multi-index analysis of taxation and power by industry and region, tax risk analysis of the steel industry, tax risk analysis of the coal coking industry, data query analysis, etc., so as to dig out suspicious enterprises.

[0083] In summary, compared with the current data segmentation between the two parties in the tax-electricity joint analysis scenario, there are problems such as insufficient data interaction, incomplete data, blocked data transmission channels, and low data value. A tax-electricity joint analysis system based on privacy computing is proposed, which is aimed at solving the problem of data segmentation between the tax-electricity parties, inability to interconnect and interoperate, and inability to jointly calculate. A tax-electricity joint analysis method and system are studied using homomorphic encryption technology and distributed computing technology to achieve data availability and invisibility, multi-party data security sharing, and encrypted data access to various data analysis algorithms. Its biggest advantage is multi-party information sharing and sharing. By continuously expanding the scope of collaborative governance departments, accelerating data collection efforts, and unblocking data transmission channels, information data can be exchanged and shared across departments, industries, and regions, and a data "gold mine and silver treasury" can be established to provide data support and result guidance for regional tax development. At the same time, the information of the data can be mined to the maximum extent while ensuring the privacy and security of the data. Calculations are performed directly on the data ciphertext, and there is no need to decrypt and restore the data plaintext during the entire calculation process. From a technical perspective, privacy computing achieves the goal of keeping the original data from leaving the local location and sharing value but not data. It effectively realizes cross-domain cooperation of multi-source data, completes the upgrade of data flow to data value flow, effectively breaks down data barriers, achieves a balance between data privacy protection and value mining, and constructs a new cooperation model of "data available but invisible".

[0084] Based on the same inventive concept as the above method embodiment applied to the tax management platform, for example, refer to Figure 4 FIG. 1 is a schematic diagram of a structure of a tax and electricity index calculation device provided in an embodiment of the present application. The device applies a tax management platform and includes:

[0085] The encryption unit 40 is used to determine the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, calculate the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypt the intermediate result;

[0086] The sending unit 41 is used to send the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax-electricity index based on the power party data directory, calculates the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax-electricity index;

[0087] The decryption unit 42 is used to receive the encrypted target tax and electricity index sent by the power management platform, and decrypt the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0088] Optionally, the device further comprises:

[0089] The generating unit is used to generate a key pair based on a preset rule, send the public key included in the key pair to the power management platform, and maintain the private key included in the key pair locally.

[0090] Optionally, when the intermediate result is encrypted, the encryption unit 40 is specifically used to:

[0091] The intermediate result is encrypted based on the public key included in the key pair.

[0092] Optionally, the power management platform encrypts the target tax electricity index based on the public key included in the key pair;

[0093] When decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index, the decryption unit 42 is specifically used to:

[0094] The encrypted target tax and electricity index is decrypted based on the private key included in the key pair to obtain the target tax and electricity index.

[0095] Based on the same inventive concept as the above-mentioned method embodiment applied to the power management platform, for example, refer to Figure 5 FIG. 1 is a schematic diagram of a structure of a tax electricity index calculation device provided in an embodiment of the present application. The device applies an electric power management platform and includes:

[0096] The receiving unit 50 is used to receive the tax and electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax and electricity index sent by the tax management platform, wherein the tax management platform determines the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, and calculates the intermediate result required for calculating the target tax and electricity index based on the target tax party data;

[0097] An encryption unit 51 is used to calculate the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypt the target tax-electricity index;

[0098] The sending unit 52 is used to send the encrypted target tax and electricity index to the tax management platform, so that the tax management platform decrypts the encrypted target tax and electricity index after receiving the encrypted target tax and electricity index to obtain the target tax and electricity index.

[0099] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0100] Furthermore, the tax and electricity index calculation device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the tax and electricity index calculation device can be seen in Figure 6 As shown, the tax and electricity index calculation device may include: a memory 60 and a processor 61,

[0101] The memory 60 is used to store program instructions; the processor 61 calls the program instructions stored in the memory 60, and executes the above method embodiment applied to the tax management platform according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0102] Optionally, the present application also provides a business host, comprising at least one processing element (or chip) for executing the above-mentioned method embodiment applied to the tax management platform.

[0103] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above-mentioned method embodiment applied to the tax management platform.

[0104] Furthermore, the tax and electricity index calculation device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the tax and electricity index calculation device can be seen in Figure 7 As shown, the tax electricity index calculation device may include: a memory 70 and a processor 71,

[0105] The memory 70 is used to store program instructions; the processor 71 calls the program instructions stored in the memory 70 and executes the above method embodiment applied to the power management platform according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0106] Optionally, the present application also provides a management host, comprising at least one processing element (or chip) for executing the above-mentioned method embodiment applied to the power management platform.

[0107] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above-mentioned method embodiment applied to the power management platform.

[0108] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0109] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0110] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0111] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0112] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0113] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0114] 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 executing on the computer or other programmable device to implement 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.

[0115] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for calculating tax and electricity index, characterized in that: Applied to a tax management platform, the method includes: Based on the tax and electricity index calculation formula, determine the target tax party data required for calculating the target tax and electricity index, calculate the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypt the intermediate result; Send the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax-electricity index based on the power party data directory, calculates the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax-electricity index; The encrypted target tax and electricity index sent by the power management platform is received, and the encrypted target tax and electricity index is decrypted to obtain the target tax and electricity index.

2. The method according to claim 1, characterized in that The method further comprises: Based on preset rules, a key pair is generated, and the public key included in the key pair is sent to the power management platform, and the private key included in the key pair is maintained locally.

3. The method according to claim 2, characterized in that The step of encrypting the intermediate result includes: The intermediate result is encrypted based on the public key included in the key pair.

4. The method according to claim 2 or 3, characterized in that The power management platform encrypts the target tax electricity index based on the public key included in the key pair; The step of decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index includes: The encrypted target tax and electricity index is decrypted based on the private key included in the key pair to obtain the target tax and electricity index.

5. A method for calculating tax and electricity index, characterized in that: Applied to a power management platform, the method comprises: Receive the tax-electricity index calculation formula, the encrypted intermediate results and the power party data directory required for calculating the target tax-electricity index sent by the tax management platform, wherein the tax management platform determines the target tax party data required for calculating the target tax-electricity index based on the tax-electricity index calculation formula, and calculates the intermediate results required for calculating the target tax-electricity index based on the target tax party data; Based on the tax and electricity index calculation formula, the encrypted intermediate result and the target power party data are used to calculate the target tax and electricity index, and the target tax and electricity index is encrypted; The encrypted target tax and electricity index is sent to the tax management platform, so that after receiving the encrypted target tax and electricity index, the tax management platform decrypts the encrypted target tax and electricity index to obtain the target tax and electricity index.

6. A tax and electricity index calculation device, characterized in that: Applied to a tax management platform, the device comprises: An encryption unit, used to determine the target tax party data required for calculating the target tax and electricity index based on the tax and electricity index calculation formula, calculate the intermediate result required for calculating the target tax and electricity index based on the target tax party data, and encrypt the intermediate result; A sending unit, used for sending the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index to the power management platform, so that the power management platform determines the target power party data required for calculating the target tax-electricity index based on the power party data directory, calculates the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypts the target tax-electricity index; The decryption unit is used to receive the encrypted target tax and electricity index sent by the power management platform, and decrypt the encrypted target tax and electricity index to obtain the target tax and electricity index.

7. The device according to claim 6, characterized in that The device also includes: The generating unit is used to generate a key pair based on a preset rule, send the public key included in the key pair to the power management platform, and maintain the private key included in the key pair locally.

8. The device according to claim 7, characterized in that When the intermediate result is encrypted, the encryption unit is specifically used to: The intermediate result is encrypted based on the public key included in the key pair.

9. The device according to claim 7 or 8, characterized in that The power management platform encrypts the target tax electricity index based on the public key included in the key pair; When decrypting the encrypted target tax and electricity index to obtain the target tax and electricity index, the decryption unit is specifically used to: The encrypted target tax and electricity index is decrypted based on the private key included in the key pair to obtain the target tax and electricity index.

10. A tax and electricity index calculation device, characterized in that: Applied to a power management platform, the device comprises: A receiving unit, used to receive the tax-electricity index calculation formula, the encrypted intermediate result and the power party data directory required for calculating the target tax-electricity index sent by the tax management platform, wherein the tax management platform determines the target tax party data required for calculating the target tax-electricity index based on the tax-electricity index calculation formula, and calculates the intermediate result required for calculating the target tax-electricity index based on the target tax party data; An encryption unit, configured to calculate the target tax-electricity index based on the tax-electricity index calculation formula, the encrypted intermediate result and the target power party data, and encrypt the target tax-electricity index; The sending unit is used to send the encrypted target tax and electricity index to the tax management platform, so that the tax management platform decrypts the encrypted target tax and electricity index after receiving the encrypted target tax and electricity index to obtain the target tax and electricity index.