[go: up one dir, main page]

HK40024740A - Method and device for processing taxation information and computer readable storage medium - Google Patents

Method and device for processing taxation information and computer readable storage medium Download PDF

Info

Publication number
HK40024740A
HK40024740A HK42020014405.3A HK42020014405A HK40024740A HK 40024740 A HK40024740 A HK 40024740A HK 42020014405 A HK42020014405 A HK 42020014405A HK 40024740 A HK40024740 A HK 40024740A
Authority
HK
Hong Kong
Prior art keywords
node
information
enterprise
tax payment
payment information
Prior art date
Application number
HK42020014405.3A
Other languages
Chinese (zh)
Other versions
HK40024740B (en
Inventor
郑罗海
Original Assignee
腾讯科技(深圳)有限公司
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of HK40024740A publication Critical patent/HK40024740A/en
Publication of HK40024740B publication Critical patent/HK40024740B/en

Links

Description

Tax payment information processing method and device and computer readable storage medium
Technical Field
The present application relates to the field of computer networks, and in particular, to a tax payment information processing method and apparatus, and a computer-readable storage medium.
Background
The problem of whether the tax payment information provided by the enterprise is credible is often involved in many application scenarios, such as: the company A applies for fund subsidization to the financial institution, and the financial institution needs to evaluate the company A through data such as tax payment information of the company A. Since tax payment information of company a relates to privacy of company a, the financial institution can only obtain tax payment information of company a through company a. But tax payment information provided by company A can be fake, and the credibility cannot be proved. Therefore, how to acquire the real tax payment information of the enterprise by the financial institution becomes a hot issue of current research.
Disclosure of Invention
The application discloses a tax payment information processing method, a tax payment information processing device and a computer readable storage medium, which can enable an organization to obtain reliable tax payment information of an enterprise.
In a first aspect, the present application provides a tax payment information processing method, including:
receiving an acquisition request sent by a first node in a block chain network, wherein the acquisition request is used for an organization to request to view tax payment information of an enterprise;
sending confirmation information to a second node in the blockchain network, wherein the confirmation information is used for confirming whether the enterprise is allowed to view tax payment information of the enterprise or not to the enterprise;
receiving response information sent by the second node;
and if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, authorizing the institution to view the tax payment information of the enterprise in the block chain.
In a second aspect, the present application provides a tax payment information processing apparatus comprising:
the receiving unit is used for receiving an acquisition request sent by a first node in a block chain network, wherein the acquisition request is used for an organization to request to view tax payment information of an enterprise;
the processing unit is used for sending confirmation information to a second node in the block chain network, and the confirmation information is used for confirming whether the enterprise is allowed to check the tax payment information of the enterprise or not to the enterprise;
the receiving unit is further configured to receive response information sent by the second node;
the processing unit is further configured to authorize the institution to view the tax payment information of the enterprise in the block chain if the response information indicates that the institution is allowed to view the tax payment information of the enterprise.
In a third aspect, the present application provides a tax payment information processing apparatus, comprising a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are connected to each other, the memory is used for storing a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the tax payment information processing method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing one or more instructions adapted to be loaded by a processor and execute the tax payment information processing method according to the first aspect.
In the application, a third node corresponding to a tax department in a block chain network receives an acquisition request sent by a first node corresponding to a mechanism in the block chain network, sends confirmation information to a second node corresponding to an enterprise in the block chain network, and receives response information sent by the second node; and if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, the authorized institution views the tax payment information of the enterprise in the block chain. Therefore, after the mechanism obtains the enterprise authorization, the tax payment information of the enterprise can be checked through the third node corresponding to the tax department, and therefore the mechanism can obtain the reliable tax payment information of the enterprise.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene architecture diagram of a blockchain network according to an embodiment of the present invention;
fig. 2 is a flowchart of a tax payment information processing method according to an embodiment of the present application;
fig. 3 is a flowchart of another tax payment information processing method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a tax payment information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another tax payment information processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the application relates to a Block Chain and a Block Chain network, wherein the Block Chain (Block Chain) is a Chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence, and a distributed account book which can ensure data to be untrustable and unforgeable in a cryptographic mode is provided. The blockchain is essentially a decentralized database, which is a string of data blocks associated by using cryptography, each data block contains information of a batch of network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The blockchain underlying platform may include processing modules for user management, basic services, and intelligent contracts. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, contract triggering and contract execution, developers can define contract logic through a certain programming language, issue the contract logic onto a block chain (contract registration), and call keys or other event triggering execution according to the logic of contract terms to complete the contract logic.
The blockchain network is a distributed application architecture for distributing tasks and workloads among peers, and is a networking or network form formed by peer-to-peer computing models in an application layer. Generally, a blockchain network includes a plurality of computers connected to each other, and these computers are also called node devices of the blockchain network. In a blockchain network environment, a plurality of computers connected with each other are in an equivalent position, each computer has the same function and is not divided into a master computer and a slave computer, and one computer can be used as a server to set shared resources for other computers in the network to use; the network as a whole generally does not rely on a dedicated centralized server, and there are no dedicated workstations. Each computer in the network can both act as a requester of network services and provide resources, services and content in response to requests from other computers.
Fig. 1 is a scene architecture diagram of a blockchain network according to an embodiment of the present disclosure. As shown in fig. 1, the blockchain network includes a first node 101 corresponding to an organization, a second node 102 corresponding to an enterprise, and a third node 103 corresponding to a tax department. The number of each node in the block chain network shown in fig. 1 is only an example, for example: the number of the first node 101, the second node 102, and the third node 103 may be multiple, and a fourth node, a fifth node, and the like may also exist in the blockchain network, and the number of each node is not limited in the present application.
The first node 101 is a node corresponding to an organization including a financial institution such as a bank, a loan company, etc., which may provide a service such as funding for a business. The second node 102 is a node corresponding to an enterprise. The third node 103 is a node corresponding to a tax department, which may be a tax bureau or the like. The first node, the second node, and the third node may specifically be a client or a server, which is not limited in this embodiment of the application. Wherein, the client can be any one of the following: a terminal, a separate Application, an API (Application Programming Interface), or an SDK (Software Development Kit). Among others, the terminal may include but is not limited to: smart phones (such as Android phones, iOS phones, etc.), tablet computers, portable personal computers, mobile internet devices (MID for short), and the like, which are not limited in the embodiments of the present invention. The type of node device may include, but is not limited to, a full node, a Simple Payment Verification (SPV) node, or other node types in a blockchain network.
It should be noted that a core chain for storing complete tax information exists in the block chain network. It will be appreciated that only the third node 103 has the right to view all the data of the core chain.
In the block chain network shown in fig. 1, the process of tax payment information processing mainly includes that ① a first node 101 corresponding to an organization (e.g., a bank) sends an acquisition request to a third node 103 corresponding to a tax authority (e.g., a tax bureau), the acquisition request is used for requesting to acquire permission to view tax payment information of an enterprise corresponding to a second node 102, ② the third node 103 receives the acquisition request sent by the first node 101, and sends confirmation information to the second node 102, the confirmation information is used for confirming whether the organization is authorized to view tax payment information of the enterprise, ③ the second node 102 receives the confirmation information sent by the third node 103, and judges whether the organization is allowed to view tax payment information of the enterprise according to the confirmation information (e.g., judges whether a service such as fund subsidization is requested to the organization), the second node 102 sends response information to the third node 103, the response information is used for indicating whether the organization is allowed to view tax payment information of the enterprise, ④ the third node 103 receives response information sent by the second node 102, and the tax payment information of the enterprise can be provided by the first node 101 after the tax payment information is provided by the tax payment authority payment information of the enterprise.
According to the tax payment information processing method, the institution acquires the authority for checking the tax payment information of the enterprise by sending an acquisition request to the tax department, the tax department confirms to the enterprise, and the tax department authorizes the institution after the enterprise confirms that the institution is allowed to check the tax payment information of the enterprise. After the organization obtains the authorization, the organization can view tax payment information of the enterprise provided by the tax department. Therefore, the reliable tax payment information of the enterprise can be obtained through the mechanism of the embodiment of the application.
The following describes a tax payment information processing method provided by the present application in detail.
Referring to fig. 2, fig. 2 is a flowchart of a tax payment information processing method according to an embodiment of the present application. The tax payment information processing method can be realized by the interaction of a first node 101, a second node 102 and a third node 103 shown in fig. 1; as shown in fig. 2, the tax payment information processing method includes, but is not limited to, the following steps 201 to 204:
201. the third node receives an acquisition request sent by the first node in the block chain network.
The first node is a node corresponding to the organization, the second node is a node corresponding to the enterprise, and the third node is a node corresponding to the tax department. The acquisition request includes an identification that uniquely identifies and determines the identity of the first node (e.g., a license number of an organization or a network address of the first node, etc.) and an identification that uniquely identifies and determines the identity of the second node (e.g., a license number of an enterprise or a network address of the second node, etc.). The obtaining request is used for requesting to view tax payment information of the enterprise corresponding to the second node.
For example, assuming that financial institution a needs to view tax payment information of enterprise B at the tax bureau, financial institution a sends an acquisition request 1 to the tax bureau, where acquisition request 1 is used to instruct financial institution a to request to view tax payment information of enterprise B.
In one embodiment, the first node fills in the content of the request for tax payment via a tax payment information application page, as shown in 2011, where the enterprise identifier is used to identify the target enterprise that the institution needs to obtain tax payment information, and the institution identifier is used to identify the institution itself. The tax payment information starting time and the tax payment information ending time are selectable items. After the acquisition request is generated, a first message digest is generated from the acquisition request by adopting a Hash function, and then the first message digest is encrypted by adopting a private key of a first node to obtain a first digital signature. The first node sends a first digital signature and an acquisition request to the third node.
202. The third node sends an acknowledgement message to the second node in the blockchain network.
Wherein, the confirmation information includes an identifier (such as a license number of an organization or a network address of the first node) capable of uniquely identifying and determining the identity of the first node, and the confirmation information is used for confirming whether to allow an organization corresponding to the first node to view tax payment information of a business corresponding to the second node.
In one embodiment, after receiving an acquisition request and a first digital signature from a first node, a third node generates a second message digest from the acquisition request by using a hash function, and then decrypts the first digital signature by using a public key of the first node to obtain a first message digest. And determining whether the first message digest is consistent with the second message digest. If the first message abstract is not consistent with the second message, the obtaining request is not sent by the first node, and the third node discards the obtaining request. And if the first message abstract is consistent with the second message, the obtaining request is sent by the first node. The third node generates confirmation information according to the acquisition request (the identification of the mechanism in the acquisition request is added into the confirmation information, and the second node is determined according to the identification of the enterprise in the acquisition request), and signs the confirmation information by using its own private key to obtain the second digital signature, and the specific implementation manner can refer to the implementation manner in which the first node signs the acquisition request by using its own private key to obtain the first digital signature in step 201, which is not described herein again. The third node sends the acknowledgement information and the second digital signature to a second node in the blockchain network.
203. And the third node receives the response information sent by the second node.
And the response information is used for indicating whether the second node allows the first node to view tax payment information of the enterprise corresponding to the second node.
In one embodiment, the second node receives the confirmation information and the second digital signature from the third node. Wherein, the tax payment information starting time and the tax payment information ending time are selectable items. And the second node verifies the second digital signature by adopting the public key of the third node. The specific implementation manner may refer to an implementation manner in which the third node verifies the first digital signature by using the first node public key in step 202, and details are not described herein again. And if the second digital signature verification fails, discarding the confirmation information. If the second digital signature verifies, the validation is performed to the business worker through an interface such as that shown at 2021. And the enterprise staff confirms whether the first node is allowed to view the tax payment information of the enterprise corresponding to the second node according to the confirmation information (namely, the confirmation authorization or the refusal authorization is selected). And generating response information according to the confirmed result of the enterprise staff. And signing the response information by adopting a private key of the second node to obtain a third digital signature. The specific implementation manner may refer to the implementation manner in which the first node signs the acquisition request with its own private key in step 201 to obtain the first digital signature, which is not described herein again. The second node sends the response information and the third digital signature to the third node.
204. And if the response information is used for indicating that the mechanism corresponding to the first node is allowed to view the tax payment information of the enterprise corresponding to the second node, the third node authorizes the first node to view the tax payment information of the second node in the block chain.
In one embodiment, the third node receives the response information and a third digital signature from the second node. And the third node verifies the third digital signature by adopting the public key of the second node. For a specific implementation manner, refer to an implementation manner in which the third node verifies the first digital signature by using the public key of the first node in step 202, which is not described herein again. And if the third digital signature does not pass the verification, discarding the response information. And if the third digital signature passes the verification, the third node authorizes the first node to check the tax payment information of the second node in the block chain, sends the authorization information as a transaction to the block chain network for consensus, and stores the consensus in the block chain after the consensus passes. The specific manner of authorization is not a limitation of the present application.
For example, the tax department may send an authorization code to the first node, by which the first node may view tax payment information of the second node in the core chain; or, the third node adds the first node to the tax payment information authorization set of the second node, and the tax payment information authorization set added to the second node by the first node can view the tax payment information of the second node in the core chain.
The tax payment information processing method provided by the present application is explained below by way of a complete example: assuming that company A applies for funding to the bank, the bank needs to evaluate company A through tax payment information of company A so as to determine whether to provide funding. It is understood that the bank is a first node in the block chain network, the company a is a second node in the block chain network, and the tax payment information of the company a is managed by a third node corresponding to a tax department (such as a tax bureau) in the block chain network. It can be understood that the third node stores the true and reliable tax payment information of company a, and nodes in other blockchain networks except for company a and the tax department cannot acquire the tax payment information of company a from the third node. The bank sends an acquisition request carrying a bank digital signature to the tax department, wherein the acquisition request comprises an identifier of the company A (such as a company number of the company A or network address information of the company A) and an identifier of the bank (such as a bank number or network address information of the bank). And after receiving the acquisition request, the tax department verifies the acquisition request by adopting the public key of the bank to ensure that the acquisition request is sent by the bank. And after the obtaining request passes the verification, the tax department generates confirmation information according to the obtaining request and sends the confirmation information carrying the digital signature of the tax department to the company A. The confirmation information includes the identification of the bank (such as the serial number of the bank or the network address information of the bank). And after the company A receives the confirmation information, verifying the confirmation information by adopting a public key of the tax department to ensure that the confirmation information is sent by the tax department. And after the confirmation information passes the verification, outputting confirmation information to the staff of the company A (in a mode of short messages, mails or APP and the like), wherein the confirmation information is used for prompting the staff of the company A, and the bank requests to check the tax payment information of the company A from the tax department to determine whether the authorization is carried out. And the staff of the company A sends a response message carrying the digital signature of the company A to the tax department after checking the confirmation information. And after receiving the response message, the tax department verifies the response message by adopting the public key of the company A to ensure that the authorization message is sent by the company A. And if the received response information of the company A indicates that the bank is allowed to check the tax payment information of the company A, the tax department authority checks the tax payment information of the company A in the core chain, sends the authorization information as a transaction to the block chain network for consensus, and stores the consensus in the block chain after the consensus passes. Correspondingly, if the received response information of the company A indicates that the bank refuses to view the tax payment information of the company A, the tax department sends prompt information to the bank, and the prompt information is used for indicating that the company A refuses to provide the tax payment information to the bank.
According to the tax payment information processing method, the mechanism corresponding to the first node obtains the permission to view the tax payment information of the enterprise corresponding to the second node by sending the obtaining request to the third node, the third node confirms to the second node, and after the second node confirms that the first node is allowed to view the tax payment information of the second node, the third node authorizes the first node. After the first node obtains the authorization, the first node can view tax payment information of the second node provided by the tax department corresponding to the third node. Therefore, the reliable tax payment information of the enterprise can be obtained through the mechanism of the embodiment of the application.
Referring to fig. 3, fig. 3 is a flowchart of another tax payment information processing method according to an embodiment of the present application. The tax payment information processing method can be realized by the interaction of a first node 101, a second node 102 and a third node 103 shown in fig. 1; as shown in fig. 3, the tax payment information processing method includes, but is not limited to, the following steps 301 to 309:
301. the third node receives an acquisition request sent by the first node in the block chain network.
The obtaining request further comprises first time information, and the first time information is used for indicating a tax payment information time range of an enterprise, corresponding to a second node, which is expected to be checked by a mechanism corresponding to the first node. For example, if the institution a wants to view tax payment information of the enterprise B from 1/2018 to 12/31/2018, the time information 1 included in the acquisition request is 2018.1.1 to 2018.12.31.
302. The third node sends an acknowledgement message to the second node in the blockchain network.
Correspondingly, the confirmation information further includes first time information. After the second node receives the confirmation information, the time range of the tax payment information of the enterprise corresponding to the second node which the mechanism corresponding to the first node wishes to view can be seen.
As an alternative implementation, the first node may send a notification message to the second node in advance, where the notification message is used to notify the second node that the first node requests to obtain tax payment information of the second node from the third node, and after receiving the tax payment information, the second node stores identity information (such as a network address of the first node or a license number of an organization) capable of uniquely identifying the first node in the authority table. And if the second node receives the confirmation information sent by the third node, acquiring the identity information of the first node requesting to acquire the tax payment information of the enterprise in the confirmation information. The second node looks up and confirms whether the first node is in the authority table through the identity information of the first node (e.g., whether the network address of the network node corresponding to the mechanism is in the authority table, or whether the license number of the mechanism is in the authority table, etc.). And if the first node is in the authority list, the first node is shown to have the authority for viewing the tax payment information of the second node, the second node sends response information to the third node, and the response information is used for indicating that a mechanism corresponding to the first node is allowed to view the tax payment information of the enterprise corresponding to the second node. And if the first node is not in the authority list, the first node does not have the authority for acquiring the tax payment information of the enterprise corresponding to the second node, the second node sends rejection information to the third node, and the rejection information is used for indicating that a mechanism corresponding to the first node is not allowed to view the tax payment information of the enterprise corresponding to the second node.
303. And the third node receives the response information sent by the second node.
In one embodiment, the response message sent by the second node to the third node includes second time information, where the second time information is used to indicate a time range within which the institution corresponding to the first node can view the tax payment information of the enterprise corresponding to the second node. For example, suppose that enterprise a applies for funding to institution B in month 1 of 2019, and institution B is expected to complete funding acceptance in month 4 of 2019. The response information sent by the enterprise A to the tax department comprises time information 2, and the time information 2 is 2019.1-2019.4. I.e., time information 2, is used to indicate that agency B can view tax payment information for enterprise a at the tax department during the period from 2019, month 1 to 2019, month 4.
In another embodiment, if the enterprise corresponding to the second node considers that the first time information sent by the mechanism corresponding to the first node is unreasonable (that is, the time range of the tax payment information for paying taxes by the enterprise that the mechanism applies to view is unreasonable, or the enterprise does not want to let the mechanism view all the tax payment information of the enterprise within the time range indicated by the first time information), the response information sent by the second node to the third node includes third time information, and the third time information is used for indicating the time range of the tax payment information for paying taxes by the enterprise corresponding to the second node that the second node allows the first node to view. For example, suppose that the institution a applies for viewing the tax payment information of the enterprise B from 2017 to 2019, and the enterprise B only wants the institution a to view the tax payment information of 2019. The response message sent by the enterprise B to the third node includes time information 3, and the time information 3 is 2019.1.1-2019.12.31.
Optionally, the response information sent by the second node to the third node includes the second time information and the third time information.
304. And if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, the third node adds the institution corresponding to the first node into the permission set.
The specific implementation of step 301 to step 304 can refer to the specific implementation of step 201 to step 204 in fig. 2, and is not described herein again.
The authority set comprises the identification of the mechanism capable of viewing the tax payment information of the enterprise and the corresponding authority. Table 1 provides an exemplary set of permissions according to an embodiment of the present application:
TABLE 1
Mechanism identification Authority
57446 Viewable time period XX
36754 Entitlement validity period XX
…… ……
As shown in table 1, the authority identifier has an index function, and the authority is used for recording the specific authority of each authority. For example, an organization identified as 57446 may only view tax payment information for a business over a certain time period, and an organization identified as 36754 may only have permission to view tax payment information for a business before date XX.
After the third node joins the organization to the set of permissions, execution continues at step 306.
305. And the third node sends the first prompt message to the first node.
In one embodiment, if the response information received by the third node from the second node indicates that the institution corresponding to the first node is rejected from viewing the tax payment information of the enterprise corresponding to the second node, the third node counts the number of times that the first node is rejected from viewing the tax payment information of the enterprise within a first preset time (e.g., 1 hour, one day, one month, etc.). If the number of times that the first node is refused to view the tax payment information of the enterprise within the first preset time is smaller than a number threshold (the number threshold is a positive integer larger than 0), the third node sends first prompt information to the first node, wherein the first prompt information is used for indicating that the second node does not allow the institution to view the tax payment information of the enterprise corresponding to the second node (namely, the institution does not have the authority to view the tax payment information of the enterprise). And if the times that the first node is refused to view the tax payment information of the enterprise within the first preset time are larger than or equal to the time threshold, marking the first node as a malicious node. The third node refuses to receive the acquisition request sent by the first node within a second preset time (the second preset time may be the same as the first preset time, such as 1 hour, one day, one month, etc.). Therefore, the network resource waste caused by continuous sending of the acquisition request by a malicious node in the block chain network is avoided.
It should be noted that, in step 304 and step 305, the response information indicates that the mechanism corresponding to the first node is allowed to view the tax payment information of the enterprise corresponding to the second node, and the response information indicates that the mechanism corresponding to the first node is not allowed to view the tax payment information of the enterprise corresponding to the second node, respectively.
306. The third node determines whether the number of institutions in the permission set is greater than a first threshold.
In an implementation manner, the tax department corresponding to the third node determines whether the number of the mechanisms capable of checking the tax payment information of the enterprise corresponding to the second node is greater than a first threshold (the first threshold is a positive integer greater than 0), and if the number of the mechanisms capable of checking the tax payment information of the second node is less than or equal to the first threshold, the authorization information is sent to the block chain network as a transaction for consensus, and is stored in the block chain after the consensus passes. If the number of entities that can view tax payment information for the second node is greater than the first threshold, then execution continues at step 307.
307. And the third node sends second prompt information to the second node in the block chain network.
And the second prompt information is used for prompting the enterprise corresponding to the second node to allow a plurality of organizations to view the tax payment information of the second node. In one embodiment, the enterprise may apply for funding to multiple institutions in order to increase the success rate of funding, or increase the amount of funding, thereby allowing multiple institutions to view tax information for the enterprise. At this time, the tax department corresponding to the third node considers that the enterprise may have the potential behavior of deceiving fund funding, and therefore the second prompt message is sent to the second node. In practical situations, if the enterprise is a legal enterprise, the act of applying for fund funding to the plurality of institutions may be stopped or slowed down after receiving the second prompt message. If the enterprise is a malicious fund cheating enterprise, the enterprise can continuously apply for fund subsidization to more institutions regardless of the second prompt message.
308. The third node determines whether the number of institutions in the permission set is greater than a second threshold.
Wherein the first threshold is greater than the second threshold. In an embodiment, the third node determines whether the number of institutions that can check the tax payment information of the second node is greater than a second threshold (the second threshold is a positive integer greater than the first threshold), and if the number of institutions that can check the tax payment information of the second node is less than or equal to the second threshold (that is, the enterprise has stopped or slowed down applying for fund subsidization from multiple institutions), the authorization information is sent to the blockchain network as a transaction for consensus, and is stored in the blockchain after the consensus passes. If the number of institutions that can view tax payment information for the second node is greater than the second threshold (i.e., the enterprise continues to apply for funding to multiple institutions), then step 309 continues.
309. And the third node sends third prompt information to the first node in the block chain network.
The third prompt message is used for prompting the institution corresponding to the first node, and the enterprise corresponding to the second node allows a plurality of institutions to view tax payment information of the second node (namely, the enterprise has potential behavior of cheating fund subsidization). It can be understood that after the second node receives the second prompt message, the second node still allows the plurality of institutions to view the tax payment information of the second node, so that the probability of the enterprises corresponding to the second node cheating fund funding is higher. Therefore, the third node sends the third prompt message to the first node, so that the probability that the mechanism corresponding to the first node is subsidized by malicious cheating funds is reduced.
For example, assume that the first threshold is 5 and the second threshold is 10. The tax department adds the 6 th organization, company a, that allows viewing company a's tax payment information to the set of permissions. Since the number of institutions 6 in the permission set is greater than the first threshold, the tax department sends a prompt message 1 to company a, and the company a is warned that 6 institutions are allowed to view tax payment information, so that a security risk exists. Because the number of institutions 6 in the permission set is smaller than the second threshold, the tax department sends authorization information of the 6 th institution authorized by the company A as a transaction to the block chain network for consensus, and the consensus is stored in the block chain after passing. After receiving the prompt message 1, the company A authorizes the other 5 institutions (the other 5 institutions are allowed to view tax payment information of the company A). At this time, the number of institutions 11 in the authority set is greater than the second threshold value, the tax department sends prompt information 2 to the institutions, the institutions are warned, the company A authorizes the 11 institutions, and the company A has a large risk of cheating fund subsidization.
Therefore, according to the embodiment of the application, the second node can limit the time range of the mechanism corresponding to the first node to view the tax payment information of the enterprise corresponding to the second node through the time information. The institution can also reduce the risk of being subsidized by cheating funds by a malicious enterprise through the second prompting message.
While the method of the embodiments of the present application has been described in detail above, to facilitate better implementation of the above-described aspects of the embodiments of the present application, the apparatus of the embodiments of the present application is provided below accordingly.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a tax payment information processing apparatus according to an embodiment of the present application, where the tax payment information processing apparatus may be mounted on a third node in the above method embodiment. The tax payment information processing apparatus shown in fig. 4 may be used to perform some or all of the functions in the method embodiments described above with respect to fig. 2 and 3. Wherein, the detailed description of each unit is as follows:
a receiving unit 401, configured to receive an acquisition request sent by a first node in a block chain network, where the acquisition request is used by an organization to request to view tax payment information of an enterprise;
a processing unit 402, configured to send confirmation information to a second node in the blockchain network, where the confirmation information is used to confirm to the enterprise whether to allow the institution to view tax payment information of the enterprise;
the receiving unit 401 is further configured to receive response information sent by the second node;
the processing unit 402 is further configured to authorize the institution to view the tax payment information of the enterprise in the blockchain if the response information indicates that the institution is allowed to view the tax payment information of the enterprise.
In an embodiment, the processing unit 402 is further configured to:
if the response information is used for indicating that the institution is refused to view the tax payment information of the enterprise, counting refused times of the first node in a first preset time period;
if the rejection times are smaller than a time threshold value, first prompt information is sent to the first node, and the first prompt information is used for indicating that the first node does not have the permission of looking up the tax payment information of the enterprise;
if the rejection times are larger than or equal to the time threshold, marking the first node as a malicious node, and rejecting to receive the acquisition request sent by the first node within a second preset time period.
In one embodiment, the obtaining request further includes first time information;
the processing unit 402 is further configured to authorize the institution to view tax payment information of the enterprise in the block chain, and specifically configured to:
and authorizing the mechanism to view tax payment information of the enterprise for tax payment within the time range indicated by the first time information in the block chain.
In one embodiment, if the response information is used for indicating that the institution is allowed to view tax payment information of the enterprise, the response information includes second time information;
the processing unit 402 is further configured to authorize the institution to view tax payment information of the enterprise in the block chain, and specifically configured to:
and authorizing the institution to view tax payment information of the enterprise within a time range indicated by the second time information.
In an embodiment, if the response information indicates that the institution is allowed to view the tax payment information of the enterprise, the processing unit 402 is further configured to:
adding the organizations into a permission set, and counting the number of the organizations in the permission set, wherein the permission set comprises the organizations which are allowed to view tax payment information of the enterprise;
judging whether the number of mechanisms in the permission set is larger than a first number threshold value or not;
and if the number of the mechanisms in the permission set is larger than the first number threshold, sending second prompt information to the second node, wherein the second prompt information is used for prompting the enterprise that a plurality of authorized mechanisms view tax payment information of the enterprise.
In an embodiment, after sending the second prompt to the second node, the processing unit 402 is further configured to:
determining whether the number of institutions in the permission set is greater than a second number threshold, the second number threshold being greater than or equal to the first number threshold;
and if the number of the nodes is larger than the second number threshold, sending third prompt information to the first node, wherein the third prompt information is used for prompting the enterprise that a plurality of mechanisms authorized by the enterprise view tax payment information of the enterprise.
In an embodiment, the processing unit 402 is further configured to:
receiving first signature information, wherein the first signature information is obtained by signing the acquisition request by adopting a private key of the organization;
verifying the first signature information by adopting a public key of the organization;
and if the first signature information passes the verification, executing the step of sending confirmation information to the second node.
According to an embodiment of the present application, some steps involved in the tax payment information processing method shown in fig. 2 and 3 may be performed by each unit in the tax payment information processing apparatus shown in fig. 4. For example, step 201 and step 204 shown in fig. 2 may be performed by the receiving unit 401 shown in fig. 4, and step 202 and step 203 may be performed by the processing unit 402 shown in fig. 4. Step 301 and step 303 shown in fig. 3 may be performed by the receiving unit 401 shown in fig. 4, and step 302 and steps 304 to 309 may be performed by the processing unit 402 shown in fig. 4. The units in the tax payment information processing apparatus shown in fig. 4 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the tax payment information processing apparatus may also include other units, and in practical applications, these functions may also be implemented by assistance of other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present application, the tax payment information processing apparatus as shown in fig. 4 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2 and 3 on a general-purpose computing apparatus such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and a storage element, and the tax payment information processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the same inventive concept, the principle and the beneficial effect of the tax payment information processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the beneficial effect of the tax payment information processing apparatus in the embodiment of the present application for solving the problem, and for brevity, the principle and the beneficial effect of the implementation of the method can be referred to, and are not described herein again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a tax payment information processing apparatus according to an exemplary embodiment of the present application, where the tax payment information processing apparatus includes at least a processor 501, a communication interface 502 and a memory 503. The processor 501, the communication interface 502, and the memory 503 may be connected by a bus or other means, and the embodiment of the present application is exemplified by being connected by a bus. The processor 501 (or Central Processing Unit (CPU)) is a computing core and a control core of the terminal, and can analyze various instructions in the terminal and process various data of the terminal, for example: the CPU can be used for analyzing a power-on and power-off instruction sent to the terminal by a user and controlling the terminal to carry out power-on and power-off operation; the following steps are repeated: the CPU may transmit various types of interactive data between the internal structures of the terminal, and so on. The communication interface 502 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.), and may be controlled by the processor 501 for transceiving data; the communication interface 502 can also be used for transmission and interaction of data inside the terminal. A Memory 503(Memory) is a Memory device in the terminal for storing programs and data. It is understood that the memory 503 herein may include both the built-in memory of the terminal and, of course, the expansion memory supported by the terminal. The memory 503 provides storage space that stores the operating system of the terminal, which may include, but is not limited to: android system, iOS system, Windows Phone system, etc., which are not limited in this application.
In the embodiment of the present application, the processor 501 executes the executable program code in the memory 503 to perform the following operations:
receiving an acquisition request sent by a first node in a block chain network through a communication interface 502, wherein the acquisition request is used for an organization to request to view tax payment information of an enterprise;
sending confirmation information to a second node in the blockchain network, wherein the confirmation information is used for confirming whether the enterprise is allowed to view tax payment information of the enterprise or not to the enterprise;
receiving response information sent by the second node through a communication interface 502;
and if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, authorizing the institution to view the tax payment information of the enterprise in the block chain.
As an alternative embodiment, the processor 501, by executing the executable program code in the memory 503, further performs the following operations:
if the response information is used for indicating that the institution is refused to view the tax payment information of the enterprise, counting refused times of the first node in a first preset time period;
if the rejection times are smaller than a time threshold value, first prompt information is sent to the first node, and the first prompt information is used for indicating that the first node does not have the permission of looking up the tax payment information of the enterprise;
if the rejection times are larger than or equal to the time threshold, marking the first node as a malicious node, and rejecting to receive the acquisition request sent by the first node within a second preset time period.
As an optional implementation manner, the obtaining request further includes first time information;
the specific implementation manner of authorizing, by the processor 501, the institution to view the tax payment information of the enterprise in the block chain is as follows:
and authorizing the mechanism to view tax payment information of the enterprise for tax payment within the time range indicated by the first time information in the block chain.
As an optional implementation manner, if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, the response information includes second time information;
the specific implementation manner of authorizing, by the processor 501, the institution to view the tax payment information of the enterprise in the block chain is as follows:
and authorizing the institution to view tax payment information of the enterprise within a time range indicated by the second time information.
As an alternative, if the response message indicates that the institution is allowed to view the tax payment information of the enterprise, the processor 501, by executing the executable program code in the memory 503, further performs the following operations:
adding the organizations into a permission set, and counting the number of the organizations in the permission set, wherein the permission set comprises the organizations which are allowed to view tax payment information of the enterprise;
judging whether the number of mechanisms in the permission set is larger than a first number threshold value or not;
and if the number of the mechanisms in the permission set is larger than the first number threshold, sending second prompt information to the second node, wherein the second prompt information is used for prompting the enterprise that a plurality of authorized mechanisms view tax payment information of the enterprise.
As an optional implementation manner, after sending the second hint information to the second node, the processor 501 further performs the following operations:
determining whether the number of institutions in the permission set is greater than a second number threshold, the second number threshold being greater than or equal to the first number threshold;
and if the number of the nodes is larger than the second number threshold, sending third prompt information to the first node, wherein the third prompt information is used for prompting the enterprise that a plurality of mechanisms authorized by the enterprise view tax payment information of the enterprise.
As an alternative implementation, the processor 501 further performs the following operations:
receiving first signature information through a communication interface 502, wherein the first signature information is obtained by signing the acquisition request by using a private key of the organization;
verifying the first signature information by adopting a public key of the organization;
and if the first signature information passes the verification, executing the step of sending confirmation information to the second node.
Based on the same inventive concept, the principle and the beneficial effect of the tax payment information processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the beneficial effect of the tax payment information processing apparatus in the embodiment of the present application for solving the problem, and for brevity, the principle and the beneficial effect of the implementation of the method can be referred to, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where one or more instructions are stored in the computer-readable storage medium, and the one or more instructions are adapted to be loaded by a processor and to execute the tax payment information processing method according to the foregoing method embodiments.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the tax payment information processing method according to the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A tax payment information processing method, characterized in that the method comprises:
receiving an acquisition request sent by a first node in a block chain network, wherein the acquisition request is used for an organization to request to view tax payment information of an enterprise;
sending confirmation information to a second node in the blockchain network, wherein the confirmation information is used for confirming whether the enterprise is allowed to view tax payment information of the enterprise or not to the enterprise;
receiving response information sent by the second node;
and if the response information is used for indicating that the institution is allowed to view the tax payment information of the enterprise, authorizing the institution to view the tax payment information of the enterprise in the block chain.
2. The method of claim 1, further comprising:
if the response information is used for indicating that the institution is refused to view the tax payment information of the enterprise, counting refused times of the first node in a first preset time period;
if the rejection times are smaller than a time threshold value, first prompt information is sent to the first node, and the first prompt information is used for indicating that the first node does not have the permission of looking up the tax payment information of the enterprise;
if the rejection times are larger than or equal to the time threshold, marking the first node as a malicious node, and rejecting to receive the acquisition request sent by the first node within a second preset time period.
3. The method of claim 1, wherein the acquisition request further comprises first time information;
the authorizing the institution to view tax payment information for the enterprise in the blockchain includes:
and authorizing the mechanism to view tax payment information of the enterprise for tax payment within the time range indicated by the first time information in the block chain.
4. The method of claim 1, wherein the response information includes second time information if the response information is indicative of allowing the institution to view tax payment information for the business;
the authorizing the institution to view tax payment information for the enterprise in the blockchain includes:
and authorizing the institution to view tax payment information of the enterprise within a time range indicated by the second time information.
5. The method of claim 1, wherein if the response information indicates that the institution is allowed to view tax payment information for the business, the method further comprises:
adding the organizations into a permission set, and counting the number of the organizations in the permission set, wherein the permission set comprises the organizations which are allowed to view tax payment information of the enterprise;
judging whether the number of mechanisms in the permission set is larger than a first number threshold value or not;
and if the number of the mechanisms in the permission set is larger than the first number threshold, sending second prompt information to the second node, wherein the second prompt information is used for prompting the enterprise that a plurality of authorized mechanisms view tax payment information of the enterprise.
6. The method of claim 5, wherein after sending the second hint information to the second node, the method further comprises:
determining whether the number of institutions in the permission set is greater than a second number threshold, the second number threshold being greater than or equal to the first number threshold;
and if the number of the nodes is larger than the second number threshold, sending third prompt information to the first node, wherein the third prompt information is used for prompting the enterprise that a plurality of mechanisms authorized by the enterprise view tax payment information of the enterprise.
7. The method according to any one of claims 1 to 6, further comprising:
receiving first signature information, wherein the first signature information is obtained by signing the acquisition request by adopting a private key of the organization;
verifying the first signature information by adopting a public key of the organization;
and if the first signature information passes the verification, executing the step of sending confirmation information to the second node.
8. A tax payment information processing apparatus, comprising:
the receiving unit is used for receiving an acquisition request sent by a first node in a block chain network, wherein the acquisition request is used for an organization to request to view tax payment information of an enterprise;
the processing unit is used for sending confirmation information to a second node in the block chain network, and the confirmation information is used for confirming whether the enterprise is allowed to check the tax payment information of the enterprise or not to the enterprise;
the receiving unit is further configured to receive response information sent by the second node;
the processing unit is further configured to authorize the institution to view the tax payment information of the enterprise in the block chain if the response information indicates that the institution is allowed to view the tax payment information of the enterprise.
9. A tax payment information processing apparatus comprising a processor, a memory and a communication interface, the processor, the memory and the communication interface being interconnected, wherein the memory is used for storing a computer program, the computer program comprising program instructions, and the processor is configured to invoke the program instructions to execute the tax payment information processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing one or more instructions adapted to be loaded by a processor and to perform the tax payment information processing method according to any one of claims 1 to 7.
HK42020014405.3A 2020-08-19 Method and device for processing taxation information and computer readable storage medium HK40024740B (en)

Publications (2)

Publication Number Publication Date
HK40024740A true HK40024740A (en) 2020-12-18
HK40024740B HK40024740B (en) 2025-10-10

Family

ID=

Similar Documents

Publication Publication Date Title
US20240144280A1 (en) Blockchain architecture with record security
JP6873270B2 (en) Handling of transaction activities based on smart contracts in the blockchain Caution Methods and devices for protecting data
AU2022200068B2 (en) Telecommunication system and method for settling session transactions
CN111292174B (en) Tax information processing method, device and computer-readable storage medium
CN110599213B (en) Article management method and device based on blockchain network and electronic equipment
US10142347B2 (en) System for centralized control of secure access to process data network
CN117150581A (en) Secure identity and profile management system
CN109614813B (en) Privacy transaction method and device based on block chain and application method and device thereof
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
KR102450412B1 (en) Service level agreement-based sharing economy service provision system and method in the Internet of Things
CN110674531B (en) Residential information management method, device, server and medium based on block chain
CN111881483A (en) Resource account binding method, device, equipment and medium based on block chain
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
Kwame et al. V-chain: A blockchain-based car lease platform
US12407513B2 (en) Sharing and requesting private data using cryptography
CN110276693B (en) Insurance claim settlement method and system
CN116982332A (en) Method, processor device, motor vehicle and infrastructure device for authorizing a first participant in a communication network
CN113379577B (en) A transaction audit method, device and equipment
WO2024244318A9 (en) Blockchain-based data processing method and apparatus, device, and storage medium
HK40024740A (en) Method and device for processing taxation information and computer readable storage medium
TWI790985B (en) Data read authority control system based on block chain and zero-knowledge proof mechanism, and related data service system
CN114697114B (en) Data processing method, device, electronic equipment and medium
US20250168149A1 (en) Method for data sharing between virtual asset service providers across a secure communication channel
HK40024740B (en) Method and device for processing taxation information and computer readable storage medium
WO2024230346A1 (en) Data processing method and apparatus, and device and computer-readable storage medium