CN113709098B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN113709098B
CN113709098B CN202110779983.3A CN202110779983A CN113709098B CN 113709098 B CN113709098 B CN 113709098B CN 202110779983 A CN202110779983 A CN 202110779983A CN 113709098 B CN113709098 B CN 113709098B
Authority
CN
China
Prior art keywords
node
annuity data
annuity
data
branch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110779983.3A
Other languages
Chinese (zh)
Other versions
CN113709098A (en
Inventor
郭瑞
张战胜
张志辉
侯贺新
黄美玲
高媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202110779983.3A priority Critical patent/CN113709098B/en
Publication of CN113709098A publication Critical patent/CN113709098A/en
Application granted granted Critical
Publication of CN113709098B publication Critical patent/CN113709098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a data transmission method, a device, computer equipment and a computer readable storage medium, wherein when a large enterprise with a tree structure handles enterprise annuity business, a corresponding node which is in communication connection with a block chain can be arranged for each branch enterprise and each head enterprise, so that the block chain can directly acquire corresponding first annuity data from each branch enterprise node, check the first annuity data in real time, and collect the checked data in real time to acquire second annuity data serving as a father node of the branch enterprise until the father node is the head enterprise node, namely the annuity data of the enterprise annuity business can be checked and collected in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the check data can be quickly and conveniently traced back after errors occur, thereby being beneficial to monitoring and managing the annuity data transmission process in the enterprise.

Description

Data transmission method and device
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a data transmission method, a data transmission device, a computer device, and a computer readable storage medium.
Background
With the advent of the aging of the population in China, the establishment of a perfect pension insurance system has become a concern. The enterprise annuity is the funds raised by the enterprise annuity plan formulated by law and the enterprise supplementary pension insurance formed by the investment operation income of the enterprise annuity plan.
At present, when a large enterprise with a multi-hierarchy structure handles an enterprise annuity business, data related to the enterprise annuity business needs to be checked and circulated layer by layer in the enterprise, for example, in the large enterprise comprising a main company, a plurality of secondary companies and a plurality of tertiary companies, the tertiary companies upload the data of the enterprise to the secondary companies, then the secondary companies upload the data to the main company, and finally the main company checks, approves and gathers all the data to obtain final business data of the enterprise, and sends the business data to a trusted organization for acceptance of the annuity business. In the process, when data is transmitted among the third-level branch company, the second-level branch company and the head office, some branch companies transmit the data by using an information processing system on an enterprise line, and some transmit the data by adopting an off-line mail or paper document mode.
However, in the existing scheme, the data related to the enterprise annuity business are circulated in the enterprise layer by layer, after the data corresponding to a plurality of branch companies finally reach the main company through multiple modes and multi-layer transmission, the checking and summarizing of the data can be performed, so that the transmission flow of the data is longer, the timeliness of the business processing flow is poor, meanwhile, the tracing is not performed after the checking of the data is wrong, and the whole flow supervision of the enterprise annuity business is not facilitated.
Disclosure of Invention
In view of this, the present invention provides a data transmission method, apparatus, computer device and computer readable storage medium, which solve the problem of poor timeliness of business process flow when the data related to the business of the enterprise annuity in the current scheme is circulated in the enterprise layer by layer.
According to a first aspect of the present invention, there is provided a data transmission method applied to a blockchain, where the blockchain is communicatively connected to a plurality of branch nodes, a head office node and a trusted node, and the plurality of branch nodes and the head office node form an enterprise architecture having a multi-level tree structure, and the head office node is a root node in the enterprise architecture, including:
Acquiring first annuity data from the branch node, and checking whether the first annuity data meets a preset first check criterion;
under the condition that the first annuity data meets the first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node;
under the condition that the father node is not the head office node, checking the second annuity data according to a preset second checking criterion, and summarizing the second annuity data corresponding to a plurality of branch office nodes with the same father node until the father node is the head office node, so as to obtain the annuity data of the head office node;
and sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion.
According to a second aspect of the present invention, there is provided a data transmission apparatus for use in a blockchain, the blockchain being communicatively coupled to a plurality of branch nodes, a head office node and a trusted node, the plurality of branch nodes and the head office node forming an enterprise architecture having a multi-level tree structure, the head office node being a root node in the enterprise architecture, the apparatus comprising:
The acquisition module is used for acquiring first annuity data from the branch node and checking whether the first annuity data accords with a preset first check criterion;
the summarizing module is used for summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node under the condition that the first annuity data accords with the first check criterion to obtain second annuity data corresponding to the father node;
the verification module is used for verifying the second annuity data according to a preset second verification criterion under the condition that the father node is not the head office node, and summarizing the second annuity data corresponding to a plurality of branch office nodes with the same father node until the father node is the head office node, so as to obtain the annuity data of the head office node;
and the first sending module is used for sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion.
In a third aspect, an embodiment of the present invention provides a computer apparatus, including:
a memory for storing program instructions;
And a processor for calling the program instructions stored in the memory and executing the steps included in the data transmission method according to the first aspect according to the obtained program instructions.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, the computer program implementing the steps of the data transmission method according to the first aspect when being executed by a processor.
Aiming at the prior art, the invention has the following advantages:
the invention provides a data transmission method, which comprises the following steps: acquiring first annuity data from a branch node, and checking whether the first annuity data meets a preset first check criterion; under the condition that the first annuity data accords with a first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node; under the condition that the father node is not the main company node, checking second annuity data according to a preset second check criterion, and summarizing the second annuity data corresponding to a plurality of branch company nodes with the same father node until the father node is the main company node to obtain annuity data of the main company node; and sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion. In the invention, when a large enterprise with a tree structure handles enterprise annuity business, a corresponding node which is in communication connection with a block chain can be arranged for each branch enterprise and the head enterprise, so that the block chain can directly acquire corresponding first annuity data from each branch enterprise node, check the first annuity data in real time, and collect the checked data in real time to acquire second annuity data serving as father nodes of the branch enterprise until the father nodes are the head enterprise nodes, the annuity data corresponding to the head enterprise nodes are acquired, and the annuity data are transmitted to the trusted nodes under the condition that the annuity data meet a third check criterion, namely the annuity data of the enterprise annuity business can be checked and collected in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the check data can be traced back quickly and conveniently after errors occur, thereby being beneficial to monitoring and managing the annuity data transmission process in the enterprise.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a schematic diagram of a data transmission system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an enterprise architecture according to an embodiment of the present invention;
fig. 3 is a flowchart of steps of a data transmission method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating steps of another data transmission method according to an embodiment of the present invention;
FIG. 5 is a data interaction diagram of a large enterprise intelligent annuity service based on blockchain according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a system for a blockchain-based large enterprise smart annuity service in accordance with embodiments of the present invention;
fig. 7 is a block diagram of a data transmission device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In the annuity hosting and investment management model, there are mainly four classes of roles: agent, trusted mechanism, escrow mechanism and throwing pipe mechanism. The agent may be an initiator of the professional annuity plan and is responsible for supervising the implementation and flow of the professional annuity plan. A trusted authority refers to an authority responsible for managing professional annuities by a trusted agent's delegate. The escrow organization refers to a bank or professional organization that receives the entrusted custody of the trusted organization. The pipe throwing mechanism refers to a professional mechanism of entrusted investment management of a receiving mechanism.
The agent may be a large enterprise handling the annuity business, the large enterprise has a multi-level enterprise architecture, for example, a main company manages a plurality of first-level companies, each first-level company can manage a plurality of second-level companies, each second-level company can manage a plurality of third-level companies … …, when the enterprise handling the annuity business with the multi-level architecture, the data related to the annuity business of the enterprise need to be checked and circulated in layers in the enterprise, the third-level company uploads the data of the enterprise to the second-level company, and then the second-level company uploads the data to the main company, and finally the main company checks, approves and summarizes all the data to obtain the final business data of the enterprise, and sends the business data to a trusted organization for annuity business acceptance.
Fig. 1 is a schematic diagram of a data transmission system according to an embodiment of the present invention, where as shown in fig. 1, each organization and trusted organization within an enterprise involved in an annuity service may be communicatively connected to a blockchain 10 in the form of nodes, where the nodes may be any type of computing device, such as a server, a user terminal, of the trusted organization in an access network, each branch office, and a head office in the enterprise. Namely, a blockchain 10 and a plurality of branch nodes 20: a third-tier corporate node 21, a second-tier corporate node 22, a first-tier corporate node 23, and a head office node 30 in communication with a trusted node 40.
The block chain comprises a series of blocks which are mutually connected according to the generated sequence, each block comprises a hash value of a storage transaction record of the block (the hash value of the block) and a hash value of a previous block, and all the blocks are connected through the hash values to form the block chain. In addition, the block may include information such as a time stamp at the time of block generation. It is essentially a decentralised database, a series of data blocks that are generated by cryptographic means, each of which contains relevant information for verifying the validity of its information (anti-counterfeiting) and generating the next block.
Fig. 2 is a schematic structural diagram of an enterprise architecture provided by an embodiment of the present invention, as shown in fig. 2, a plurality of branch nodes and a main node form an enterprise architecture with a multi-level tree structure, where the main node is a root node of the enterprise architecture, the main node is in communication connection with a trusted node, and sub nodes corresponding to the main node have a first-level branch node A1 and a first-level branch node A2; further, the sub-nodes corresponding to the first-level branch company node A1 are provided with a second-level branch company node B1 and a second-level branch company node B2, and the sub-nodes corresponding to the first-level branch company node A2 are provided with a second-level branch company node B3 and a second-level branch company node B4; the sub-nodes corresponding to the secondary division company node B1 are provided with a tertiary division company node C1 and a tertiary division company node C2, and the sub-nodes corresponding to the secondary division company node B2 are provided with a tertiary division company node C3, a tertiary division company node C4 and a tertiary division company node C5.
Fig. 3 is a flowchart of a data transmission method according to an embodiment of the present invention, where the data transmission method is applied to a blockchain in the data transmission system, as shown in fig. 3, and the method may include:
and step 101, acquiring first annuity data from the branch node, and checking whether the first annuity data meets a preset first check criterion.
In this step, the blockchain may obtain, from a branch node in the enterprise architecture, first annuity data generated and uplink by a branch corresponding to the branch node, and after the first annuity data of the branch node is obtained, the first annuity data may be verified according to a first verification criterion set in advance.
Referring to fig. 2, for example, the blockchain may acquire the annuity data of the third-level branch company C1 from the third-level branch company node C1, and after acquiring the annuity data of the third-level branch company C1, check the annuity data of the third-level branch company C1 in real time according to a preset first check criterion, so as to avoid that the annuity data of the third-level branch company C1 is checked after being transmitted to the main company through multiple layers of data in the enterprise, and advance the data checking process, so that the data uplink is the checking result of the known data, and avoid that the annuity data with errors cannot be traced accurately under the condition that the check annuity data has errors.
The first check criterion may be a preset rule for checking accuracy, rationality, and the like of annuity data of the branch company node, for example, if the enterprise annuity service is a payment service, the first annuity data of each branch company that is uploaded through the branch company node may include average payroll of the branch company, and correspondingly, the preset first check criterion may include social average payroll of a region to which the branch company belongs, and the process for checking whether the first annuity data meets the preset first check criterion is as follows: it is determined whether the average payroll in the first annuity data exceeds the average payroll of the society in the area to which the branch company belongs.
And 102, under the condition that the first annuity data meets the first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node.
In this step, when the blockchain checks that the first annuity data acquired from the branch nodes meets the first check criterion, since the enterprise architecture is a multi-level tree structure, the first annuity data corresponding to a plurality of branch nodes having the same parent node may be summarized to obtain the second annuity data corresponding to the parent node to which the plurality of branch nodes belong.
Referring to fig. 2, first annuity data corresponding to the third-stage company node C1 and the third-stage company node C2 are first acquired, and in the case where the first annuity data corresponding to the third-stage company node C1 and the third-stage company node C2 both meet the first check criterion, since the third-stage company node C1 and the third-stage company node C2 have the same parent node: the second-level branch node B1 needs to aggregate the first annuity data corresponding to the third-level branch node C1 and the third-level branch node C2, thereby obtaining the parent node: second annual gold data of the second-level company node B1.
The process of summarizing the first annuity data corresponding to a plurality of branch nodes having the same parent node may be performed by a blockchain, or the first annuity data corresponding to a plurality of branch nodes may be transmitted to the parent node, and the parent node may perform the summarizing process.
And step 103, checking the second annuity data according to a preset second checking criterion under the condition that the father node is not the head office node, and summarizing the second annuity data corresponding to a plurality of branch office nodes with the same father node until the father node is the head office node, so as to obtain the annuity data of the head office node.
In this step, after the second annuity data of the parent node of the plurality of branch nodes is summarized, it may be first determined whether the parent node is a head office node in the enterprise architecture.
If the father node is a main company node in the enterprise architecture, that is, the father node is a root node of a multi-level tree structure, it is indicated that the second annuity data corresponding to the father node is annuity data finally collected by the enterprise, and then the second annuity data can be directly sent to the trusted node after being audited without errors, so that the trusted mechanism corresponding to the trusted node handles the enterprise annuity service according to the second annuity data.
If the father node is not a head office node in the enterprise architecture, the second annuity data corresponding to the father node is not the annuity data finally collected by the enterprise, and further collection can be performed after the second annuity data is checked without errors.
Specifically, when the father node is not the head office node, the second annuity data can be further checked according to a second check criterion set in advance, and under the condition that the check is passed, the second annuity data corresponding to a plurality of branch office nodes with the same father node are summarized until the father node is the head office node, so as to obtain the annuity data of the head office node.
The second checking criteria may be preset rules for checking accuracy, rationality, and the like of the annuity data of the father node obtained after the node of the branch company is summarized, for example, if the business annuity business of the enterprise is a payment business, the first annuity data of each branch company through the node of the branch company may include average payroll of the branch company, the first annuity data corresponding to each branch company is summarized, average payroll of the branch company corresponding to the father node of each branch company may be obtained, and accordingly, the preset second checking criteria may include social average payroll of the area of the branch company corresponding to the father node, and the process of checking whether the second annuity data meets the preset second checking criteria is as follows: and judging whether the average wages of the branch companies corresponding to the father nodes in the second annuity data exceed the social average wages of the areas of the branch companies corresponding to the father nodes.
Referring to fig. 2, first annuity data corresponding to the tertiary branch node C1 and the tertiary branch node C2 are summarized, thereby obtaining a parent node: second annuity data of the second-order company node B1, since the second-order company node B1 is not a head office node, the second annuity data corresponding to the second-order company node B1 may be further checked according to a second check criterion set in advance. Accordingly, since the second-order company node B2 and the second-order company node B1 have the same parent node, the second annuity data corresponding to the second-order company node B2 can be further obtained, the second annuity data corresponding to the second-order company node B2 can be checked according to the preset second check criterion, and the second annuity data corresponding to the second-order company node B1 and the second-order company node B2 can be summarized to obtain the parent node when the second annuity data corresponding to the second-order company node B1 and the second-order company node B2 passes the check: and (5) dividing annual gold data corresponding to the company node A1. Since the first-level company node A1 is still not a head office node, it is necessary to continue acquiring annuity data of the first-level company node A2 having the same parent node as the first-level company node A1, and after the annuity data of the first-level company node A1 and the first-level company node A2 pass the corresponding verification criteria, summarizing the annuity data of the first-level company node A1 and the first-level company node A2 to obtain the parent node: and the annuity data corresponding to the head office node is determined to be the annuity data of the head office node at the moment because the father node is the head office node in the enterprise architecture.
Therefore, in the method, after the annuity data of each level of branch company nodes are acquired, the annuity data of a plurality of branch company nodes belonging to the same upper level of branch company nodes or the same main company node can be summarized in real time, and the summarized annuity data is verified in real time, so that the annuity data of enterprise annuity business can be verified and summarized in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the annuity data can be traced back quickly and conveniently after errors occur in the verification data, and the supervision and management of the enterprise internal annuity data transmission process are facilitated.
Meanwhile, each branch company in a large enterprise with a multi-level architecture can interact with the block chain only through the corresponding branch company node, and the links are unified, so that the interface standard is unified, and the repeated construction cost is reduced.
The process of summarizing the second annuity data corresponding to a plurality of branch nodes having the same parent node may be performed by a blockchain, or the second annuity data corresponding to a plurality of branch nodes may be transmitted to the parent node, and the parent node may perform the summarizing process.
And 104, sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion.
In the step, after the annuity data of the company node is obtained, the annuity data of the company node is further verified, whether the annuity data of the company node meets a preset third verification criterion is determined, if yes, the annuity data of the verified company node is sent to the trusted node, and the trusted mechanism corresponding to the trusted node handles enterprise annuity business according to the annuity data of the company node.
The third checking criterion may be a preset rule for checking accuracy, rationality, and the like of the annuity data of the head office node, for example, if the enterprise annuity service is a payment service, the annuity data of the head office node may include average payroll of the head office, and correspondingly, the preset third checking criterion may include social average payroll of a region to which the head office node belongs, and the process for checking whether the annuity data of the head office node meets the preset third checking criterion is as follows: and judging whether the average wages of the head office in the annuity data of the head office node exceeds the social average wages of the area to which the head office belongs.
In summary, the data transmission method provided by the embodiment of the present invention includes: acquiring first annuity data from a branch node, and checking whether the first annuity data meets a preset first check criterion; under the condition that the first annuity data accords with a first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node; under the condition that the father node is not the main company node, checking second annuity data according to a preset second check criterion, and summarizing the second annuity data corresponding to a plurality of branch company nodes with the same father node until the father node is the main company node to obtain annuity data of the main company node; and sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion. In the invention, when a large enterprise with a tree structure handles enterprise annuity business, a corresponding node which is in communication connection with a block chain can be arranged for each branch enterprise and the head enterprise, so that the block chain can directly acquire corresponding first annuity data from each branch enterprise node, check the first annuity data in real time, and collect the checked data in real time to acquire second annuity data serving as father nodes of the branch enterprise until the father nodes are the head enterprise nodes, the annuity data corresponding to the head enterprise nodes are acquired, and the annuity data are transmitted to the trusted nodes under the condition that the annuity data meet a third check criterion, namely the annuity data of the enterprise annuity business can be checked and collected in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the check data can be traced back quickly and conveniently after errors occur, thereby being beneficial to monitoring and managing the annuity data transmission process in the enterprise.
Fig. 4 is a flowchart of steps of another data transmission method according to an embodiment of the present invention, as shown in fig. 4, the method may include:
step 201, acquiring first annuity data from the branch office node.
In this step, the blockchain may obtain, from a branch node in the enterprise architecture, first annuity data generated and uplink by a branch corresponding to the branch node.
Fig. 5 is a data interaction diagram of a large enterprise intelligent annuity service based on a blockchain, and as shown in fig. 5, a third-level branch company node may acquire and uplink first annuity data of the third-level branch company through service handling, so that the blockchain may acquire the first annuity data from the third-level branch company node.
The first annuity data generated and linked to the branch office obtained from the branch office node may be as shown in the following table 1 and table 2, wherein table 1 is header information of the first annuity data, and table 2 is detail information of the first annuity data. Namely, the first annuity data corresponding to the branch node may include the enterprise name of the branch corresponding to the branch node, the service type, the service date and the like of the transacted annuity service, the plan name of the transacted annuity service, and in the case that the annuity service is a payment service, the first annuity data may further include the payment total amount of the branch, the non-tax individual payment total amount and the tax payment total amount.
Further, referring to table 2, the first annuity data may further include personal name, certificate type and certificate number of each employee in the branch company, enterprise payment amount and personal payment amount in the annuity payment service, and the enterprise payment amount does not exceed the tax-free portion and exceeds the tax-free portion, and the personal payment amount does not exceed the tax-free portion.
Enterprise name
Service type
Service date
Plan name
Payment sum (payment business existence)
Personal payment sum-non-tax
Personal payment sum-tax paid
TABLE 1
Personal name
Certificate type:
certificate number:
enterprise payment amount
Tax-free part of enterprise payment not exceeding
Enterprise payment exceeds tax-free part
Personal payment amount
Personal payment does not exceed tax-free part
TABLE 2
Optionally, step 201 may specifically include:
sub-step 2011, obtaining a hash value of the first annuity data from the branch node, wherein the hash value is a numerical value obtained by encrypting the first annuity data by the branch node through a digest algorithm.
Alternatively, the first annuity data obtained by the blockchain from each branch node may be a hash (hash) value of the first annuity data, that is, the branch node may encrypt the first annuity data of the branch by the digest encryption algorithm to obtain the hash value of the first annuity data, so as to uplink the hash value of the first annuity data to the blockchain.
Referring to fig. 5, the blockchain may acquire annuity data of the third-level branch node from the third-level branch node, so as to verify the annuity data of the third-level branch node according to the first verification criterion, where the annuity data of the third-level branch node may include public data and private data, the private data may be unencrypted annuity data, the corresponding receiving node is only a father node of the third-level branch node (a node corresponding to a directly upper-level company of the third-level branch node), or a specific branch node set in advance, and other branch nodes cannot receive the private data, that is, the other branch nodes cannot acquire the annuity data of the third-level branch, so that the annuity data is only transmitted in the relevant branch, and the security of the annuity data is ensured. The public data can be annuity data encrypted by a summary algorithm, and the public data can be displayed in a blockchain since the public data can not directly display the annuity data of a third-level company, and each node in communication connection with the blockchain can acquire the public data.
Step 202, checking whether the first annuity data meets a preset first check criterion.
In this step, the blockchain may check whether the first annuity data meets a preset first check criterion after acquiring the first annuity data from the branch node.
The first verification criterion may be a preset rule for verifying accuracy, rationality, and the like of annuity data of the branch node, and optionally the first verification criterion may include: the identification information of the branch nodes, the social average wages, the total wage standard value of enterprises and the payment proportion standard value of the annual gold data can be uploaded.
In the embodiment of the invention, the identification information of the branch company node capable of uploading the annuity data in the first check criterion can be set through the authority rule configuration process, namely, the identification information can be obtained through codes: mapping (string= > string) receiver; setting identification information of a branch node capable of uploading annuity data, wherein a partial code on the left side of "= >" represents a planned code of an annuity service corresponding to the annuity data and an address of the branch node handling the annuity service, and determining the address of the branch node handling the annuity service as the identification information of the branch node capable of uploading annuity data, and a partial code on the right side of "= >" represents the address of the branch node receiving the annuity data.
In addition, the social average wages, the total wage standard value of enterprises, the payment proportion standard value and the like in the first verification criterion can be set through the business rule configuration process.
Accordingly, the first annuity data may include identification information of a branch node, average payroll of the branch node, total payroll of an enterprise, individual payment amount, total payroll of an enterprise, and total payroll of an individual, and the step 202 may specifically include:
sub-step 2021 checks whether the identification information of the branch node is the identification information of the branch node that can upload annuity data.
In this step, it is possible to check whether or not the identification information of the branch node in the first annuity data is the identification information of the branch node that can upload annuity data specified in the first check criterion. If yes, checking to pass, and indicating that the branch company uploading the first annuity data has the authority to upload the first annuity data, so that annuity business corresponding to the first annuity data can be handled; if not, the verification fails.
Sub-step 2022 checks whether the average payroll of the branch node is greater than the social average payroll.
In this step, it may be checked whether the average payroll of the branch nodes in the first annuity data is greater than the social average payroll specified in the first check criterion. If yes, the verification fails, and if not, the verification passes.
Sub-step 2023 checks whether the total corporate payroll of the branch node is greater than the total corporate payroll standard value.
In this step, it may be checked whether the total amount of the enterprise payroll of the branch node in the first annuity data is greater than the total amount of the enterprise payroll standard value specified in the first check criterion. If yes, the verification fails, and if not, the verification passes.
Sub-step 2024, determining a payment proportion of the branch node according to the personal payment amount, the enterprise payment amount and the personal payroll amount, and checking whether the payment proportion of the branch node is smaller than the payment proportion standard value.
In the step, the payment proportion of the branch node may be determined according to the personal payment amount, the enterprise payment amount and the personal payroll amount in the first annuity data, so as to check whether the payment proportion of the branch node is smaller than a payment proportion standard value specified in the first check criterion.
For example, the payment sum may be calculated according to the personal payment amount and the enterprise payment amount in the first annuity data, and the ratio of the payment sum to the personal payroll sum is determined as the payment proportion of the branch company, if the payment proportion standard value specified in the first verification criterion is 12%, that is, the payment sum of the specified person and unit cannot exceed 12% of the personal payroll, the calculated payment proportion of the branch company may be compared with the payment proportion standard value 12%, and it is determined whether the payment proportion of the branch company is less than 12%, if it is less than 12%, the verification is passed, and if it is greater than or equal to 12%, the verification is failed.
In addition, in the embodiment of the invention, the verification process of the first annuity data can also comprise attribution proportion verification, enterprise form type verification, in-transit service verification, validity verification, historical data verification, internal verification and the like.
Specifically, the attribution proportion check is that the office is scheduled to be exported (such as from company a to company B), for example, the first check criterion may specify that only employee individuals can be exported, and that 5 years 100% of the attribution employee individuals; the enterprise form type check is used for judging the business type which can be processed by the branch company, namely the business type which can be processed by the branch company node can be specified in a first check criterion, so that when the first annuity data is received, whether the business type corresponding to the first annuity data accords with the business type which can be processed by the branch company node is judged; the on-road service check is to judge whether the branch node has the annuity service (such as payment service) of the same type in the service flow (which is equivalent to on-road), namely, the same branch node is specified to be incapable of handling two annuity services of the same type at the same time; the validity check is to check the validity of the enterprise information and the personal information in the first annuity data; the historical data checking is to check whether the first annuity data and the historical data are repeated or not, for example, for a payment service, checking whether the payment start time and the payment end time are crossed with the payment start time and the payment end time in the historical data or not, and if the crossing is not passed, checking; the internal check is to check whether the header information and the detail information in the first annuity data are in conformity, for example, the header information contains the payment sum, and the detail information contains the personal payment amount, so that whether the sum of the personal payment amounts of all staff is in conformity with the payment sum in the header information can be judged.
In addition, in the embodiment of the invention, the process of auditing the first annuity data can further comprise manual auditing, if the first annuity data does not accord with the specific rule, the first annuity data can be subjected to manual auditing so as to improve the accuracy of annuity auditing, and if the first annuity data accords with the specific rule, the first annuity data can be further audited by utilizing the first check criterion.
The specific rules may include company level, annuity business type, transaction amount, number of participants, portfolio scale change threshold, etc. And if the level of the branch company corresponding to the branch company node exceeds a preset level, the service type corresponding to the first annuity data does not belong to a preset service range, the transaction amount exceeds a preset amount, the number of participants exceeds a preset number or the investment portfolio proportion change threshold exceeds a preset threshold, performing manual verification. For example, if the preset amount is 100 ten thousand, when the transaction amount in the first annuity data is less than 100 ten thousand, the first annuity data is automatically checked directly according to the first check criterion, and if the transaction amount in the first annuity data is less than or equal to 100 ten thousand, the first annuity data needs to be manually checked.
And 203, generating verification failure information and sending the verification failure information to the branch node under the condition that the first annuity data does not meet the first verification criterion.
After step 202, if the first annuity data does not meet the first verification criterion, step 203 is executed, and if the first annuity data meets the first verification criterion, step 204 is executed.
In this step, referring to fig. 5, if the first annuity data does not meet the first verification criterion, that is, the verification fails, verification failure information may be generated and transmitted to the branch node, that is, the first annuity data is returned to the up-link branch node.
And 204, screening the first annuity data which belong to the same father node and have the same service identifier from the plurality of first annuity data according to the service identifier and the tree structure under the condition that the first annuity data meets the first check criterion.
Optionally, the first annuity data may include a service identifier of a service to which the annuity data belongs. In this step, in the case where the blockchain checks that the first annuity data acquired from the branch node meets the first check criterion, the first annuity data belonging to the same parent node and having the same service identifier may be selected from the plurality of first annuity data according to the service identifier and the tree structure.
Specifically, since the enterprise architecture is a multi-level tree structure, a plurality of branch company nodes with the same father node can be determined according to the tree structure, so that first annuity data corresponding to the plurality of branch company nodes belonging to the same father node are screened out from the first annuity data, and further, the first annuity data with the same service identifier are screened out, so that the branch company corresponding to the first annuity data finally screened out belongs to the same upper-level company and is annuity data aiming at the same service.
In the embodiment of the present invention, the process of screening the first annuity data may further include: judging whether the payment interval or the payment period number is the same, whether the super payment exists, whether the personal information is repeated, whether the application state is effective, whether the short overflow payment exists or not, and the like.
And step 205, summarizing the screened first annuity data to obtain second annuity data corresponding to the father node.
In this step, the blockchain may collect the screened first annuity data to obtain second annuity data corresponding to the father node to which the plurality of branch nodes belong.
In the embodiment of the invention, the process of summarizing the first annuity data corresponding to a plurality of branch nodes with the same father node can be executed by a blockchain, or the first annuity data corresponding to the plurality of branch nodes can be transmitted to the father node, and the father node executes the summarizing process. Referring to fig. 5, the first annuity data may be transmitted to a second-level company node, where the second-level company node performs service audit and determines whether to perform aggregation, if so, performs service merging to obtain second annuity data, and if not, directly obtains second annuity data, and further links the second annuity data.
And step 206, checking the second annuity data according to a preset second checking criterion when the father node is not the head office node.
In this step, after the second annuity data of the parent node of the plurality of branch nodes is summarized, it may be first determined whether the parent node is a head office node in the enterprise architecture.
If the father node is a main company node in the enterprise architecture, that is, the father node is a root node of a multi-level tree structure, it is indicated that the second annuity data corresponding to the father node is annuity data finally collected by the enterprise, and then the second annuity data can be directly sent to the trusted node after being audited without errors, so that the trusted mechanism corresponding to the trusted node handles the enterprise annuity service according to the second annuity data.
If the father node is not a head office node in the enterprise architecture, the second annuity data corresponding to the father node is not the annuity data finally collected by the enterprise, and then the second annuity data can be further checked.
Specifically, the process of checking the second annuity data according to the second checking criteria is similar to the process of checking the first annuity data according to the first checking criteria, namely, the second checking criteria for checking are pre-configured, after the second annuity data are obtained by the blockchain, the second annuity data can be checked according to the second checking criteria in real time, the condition that the second annuity data are checked after being transmitted to the head office through multiple layers of data in the enterprise is avoided, the checking process of the data is advanced, the check result of the data is known after the data is uplink, and the condition that the error annuity data cannot be accurately traced under the condition that the error annuity data exist in the check is avoided.
Optionally, the second annuity data may be audited by a second check criterion, and the criterion for determining whether the second annuity data needs to be audited manually is similar to the criterion for determining whether the first annuity data needs to be audited manually. Accordingly, if it is determined that the second annuity data needs to be manually checked, step 206 may specifically include:
and step 2061, transmitting the second annuity data to the father node for the father node to audit the second annuity data, and generating the confirmation information of the second annuity data under the condition that the audit is passed.
In this step, since the second annuity data needs to be manually audited, the second annuity data may be sent to the corresponding parent node, and the relevant auditor may acquire the second annuity data through the parent node and manually audit the second annuity data, and generate acknowledgement information for the second annuity data using the parent node if the audit passes.
Sub-step 2062, in the event that the acknowledgement information is received from the parent node, verifying the second annuity data in accordance with the second verification criteria.
In this step, if the blockchain receives the acknowledgement information for the second annuity data from the parent node, it indicates that the second annuity data passes the manual audit, so that the second annuity data can be further checked according to the second check criterion, and the accuracy of the annuity data checking process can be improved.
Step 207, summarizing second annuity data corresponding to a plurality of branch company nodes with the same father node until the father node is the head company node, and obtaining annuity data of the head company node.
In this step, under the condition that the second annuity data passes the verification according to the second verification criterion, the second annuity data corresponding to the plurality of branch company nodes with the same father node can be further summarized until the corresponding father node is the main company node in the enterprise architecture, and the annuity data of the main company node is obtained.
Step 208, sending the annuity data of the head office node to the trusted node if the annuity data of the head office node meets a third preset check criterion.
In the step, after the annuity data of the company node is obtained, the annuity data of the company node is further verified, whether the annuity data of the company node meets a preset third verification criterion is determined, if yes, the annuity data of the verified company node is sent to the trusted node, and the trusted mechanism corresponding to the trusted node handles enterprise annuity business according to the annuity data of the company node.
The process of checking the annuity data of the head office node according to the third checking criterion is similar to the process of checking the second annuity data according to the second checking criterion, namely, the third checking criterion for checking is pre-configured, and after the annuity data of the head office node is obtained by the blockchain, the annuity data of the head office node can be checked according to the third checking criterion in real time.
Specifically, the identification information of the branch office node capable of uploading the annuity data in the third check criterion can be set through the authority rule configuration process, namely the code can be used for: mapping (string= > string) receiver; the identification information of the branch company node capable of uploading the annuity data is set, wherein the part code on the left side of "= >" represents the planning code of the annuity service corresponding to the annuity data, and the part code on the right side of "= >" represents the address of the trusted node receiving the annuity data of the main company.
Referring to fig. 5, the trusted node may further conduct business auditing after receiving the annuity data of the head office node, and if the auditing is passed, utilize the annuity data of the head office node to conduct subsequent flows, and if the auditing is not passed, return the annuity data of the head office node to the blockchain.
Step 209, sending the first annuity data to the receiving node.
Optionally, the first annuity data may further include a receiving node of the first annuity data, so that the first annuity data may be sent to the receiving node of the first annuity data if the first annuity data meets the first check criterion, so that the annuity data of each branch company may be transmitted based on the blockchain.
FIG. 6 is a schematic diagram of a system for a large enterprise intelligent annuity service based on a blockchain, where the system for the large enterprise intelligent annuity service based on the blockchain may include three-level company nodes, two-level company nodes, a head office node and a trusted node, and a local interface layer of each node and a blockchain service layer of the blockchain can transmit data through a pre-service, where the pre-service specifically refers to a system in between the local annuity system and the blockchain, and is used for decoupling the local annuity system from the blockchain platform, and mainly encapsulates various interface operations of the blockchain platform so as to be convenient for interfacing with the local annuity system; the blockchain is provided with a blockchain intelligent contract for checking annuity data in advance, annuity data comprising public data and private data in the blockchain can be transmitted in a mode of node-to-node (P2P) under the chain, and annuity data can be transmitted between all nodes through a broadcast message communication mechanism. Meanwhile, the annuity data of each branch company node or head office node and trusted node in the blockchain can be stored in a block accounting mode.
In the embodiment of the invention, when judging that the annuity data needs to be summarized, a plurality of annuity data needing to be summarized can be firstly placed in a summarizing pool, then the summarizing mode is judged, and if judging that the annuity data needs to be automatically summarized, the annuity data belonging to the same father node and the same business can be summarized according to a preset summarizing intelligent contract to obtain summarized annuity data; if the manual summary is judged to be needed, the manual summary or the multi-level manual summary can be carried out, and the collected annuity data are obtained.
In summary, the data transmission method provided by the embodiment of the present invention includes: acquiring first annuity data from a branch node, and checking whether the first annuity data meets a preset first check criterion; under the condition that the first annuity data accords with a first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node; under the condition that the father node is not the main company node, checking second annuity data according to a preset second check criterion, and summarizing the second annuity data corresponding to a plurality of branch company nodes with the same father node until the father node is the main company node to obtain annuity data of the main company node; and sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion. In the invention, when a large enterprise with a tree structure handles enterprise annuity business, a corresponding node which is in communication connection with a block chain can be arranged for each branch enterprise and the head enterprise, so that the block chain can directly acquire corresponding first annuity data from each branch enterprise node, check the first annuity data in real time, and collect the checked data in real time to acquire second annuity data serving as father nodes of the branch enterprise until the father nodes are the head enterprise nodes, the annuity data corresponding to the head enterprise nodes are acquired, and the annuity data are transmitted to the trusted nodes under the condition that the annuity data meet a third check criterion, namely the annuity data of the enterprise annuity business can be checked and collected in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the check data can be traced back quickly and conveniently after errors occur, thereby being beneficial to monitoring and managing the annuity data transmission process in the enterprise.
Fig. 7 is a block diagram of a data transmission device according to an embodiment of the present invention, where the device is applied in a blockchain, where the blockchain is communicatively connected to a plurality of branch nodes, a main node, and trusted nodes, and the plurality of branch nodes and the main node form an enterprise architecture with a multi-level tree structure, and the main node is a root node in the enterprise architecture, as shown in fig. 7, where the device may include:
an obtaining module 301, configured to obtain first annuity data from the branch node, and check whether the first annuity data meets a preset first check criterion;
a summarizing module 302, configured to summarize first annuity data corresponding to a plurality of branch nodes having the same father node, to obtain second annuity data corresponding to the father node, where the first annuity data meets the first check criterion;
the verification module 303 is configured to verify the second annuity data according to a second preset verification criterion when the parent node is not the head office node, and aggregate the second annuity data corresponding to a plurality of branch office nodes having the same parent node until the parent node is the head office node, so as to obtain annuity data of the head office node;
And the first sending module 304 is configured to send the annuity data of the head office node to the trusted node if the annuity data of the head office node meets a third preset check criterion.
Optionally, the first annuity data includes a service identifier of a service to which the annuity data belongs, and the summarization module includes:
the screening sub-module is used for screening first annuity data which belong to the same father node and have the same service identifier from a plurality of first annuity data according to the service identifier and the tree structure;
and the summarizing sub-module is used for summarizing the screened first annuity data.
Optionally, the first verification criterion includes: the identification information of the branch nodes, the social average wages, the total wage standard value of enterprises and the payment proportion standard value of the branch nodes can be uploaded with annuity data; the first annuity data comprises identification information of the branch nodes, average wages of the branch nodes, total enterprise wages, individual payment amounts, enterprise payment amounts and individual wages; the acquisition module comprises:
the first verification sub-module is used for verifying whether the identification information of the branch company node is the identification information of the branch company node capable of uploading annuity data;
A second check sub-module for checking whether the average wages of the branch nodes are greater than the social average wages;
a third checking sub-module, configured to check whether the total payroll of the branch node is greater than the total payroll standard value;
and the fourth verification sub-module is used for determining the payment proportion of the branch company node according to the personal payment amount, the enterprise payment amount and the personal payroll amount and verifying whether the payment proportion of the branch company node is smaller than the payment proportion standard value.
Optionally, the verification module includes:
the audit sub-module is used for sending the second annuity data to the father node so that the father node can audit the second annuity data, and generating the confirmation information of the second annuity data under the condition that the audit is passed;
and a fifth verification sub-module, configured to verify the second annuity data according to the second verification criterion, in a case that the confirmation information is received from the parent node.
Optionally, the apparatus further includes:
and the generation module is used for generating verification failure information and sending the verification failure information to the branch company node under the condition that the first annuity data does not accord with the first verification criterion.
Optionally, the first annuity data further includes: the receiving node of the first annuity data, in the case that the first annuity data meets the first check criterion, the apparatus further includes:
and the second sending module is used for sending the first annuity data to the receiving node.
Optionally, the acquiring module includes:
and the acquisition sub-module is used for acquiring the hash value of the first annuity data from the branch node, wherein the hash value is a numerical value obtained by encrypting the first annuity data by the branch node through a digest algorithm.
In summary, the data transmission device provided in the embodiment of the present invention includes: acquiring first annuity data from a branch node, and checking whether the first annuity data meets a preset first check criterion; under the condition that the first annuity data accords with a first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node; under the condition that the father node is not the main company node, checking second annuity data according to a preset second check criterion, and summarizing the second annuity data corresponding to a plurality of branch company nodes with the same father node until the father node is the main company node to obtain annuity data of the main company node; and sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion. In the invention, when a large enterprise with a tree structure handles enterprise annuity business, a corresponding node which is in communication connection with a block chain can be arranged for each branch enterprise and the head enterprise, so that the block chain can directly acquire corresponding first annuity data from each branch enterprise node, check the first annuity data in real time, and collect the checked data in real time to acquire second annuity data serving as father nodes of the branch enterprise until the father nodes are the head enterprise nodes, the annuity data corresponding to the head enterprise nodes are acquired, and the annuity data are transmitted to the trusted nodes under the condition that the annuity data meet a third check criterion, namely the annuity data of the enterprise annuity business can be checked and collected in real time in the transmission process, the timeliness of the annuity data transmission is improved, and meanwhile, the check data can be traced back quickly and conveniently after errors occur, thereby being beneficial to monitoring and managing the annuity data transmission process in the enterprise.
For the above-described device embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the description of the method embodiments in part.
Preferably, the embodiment of the present invention further provides a computer device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements each process of the above embodiment of the data transmission method, and the same technical effects can be achieved, and for avoiding repetition, details are not repeated herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
As will be readily appreciated by those skilled in the art: any combination of the above embodiments is possible, and thus is an embodiment of the present invention, but the present specification is not limited by the text.
The data transmission methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a system constructed with aspects of the present invention will be apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in a data transmission method according to an embodiment of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (9)

1. A data transmission method, applied in a blockchain, the blockchain being communicatively connected to a plurality of branch nodes, a head office node and a trusted node, the plurality of branch nodes and the head office node forming an enterprise architecture having a multi-level tree structure, the head office node being a root node in the enterprise architecture, the method comprising:
Acquiring first annuity data from the branch node, and checking whether the first annuity data meets a preset first check criterion;
under the condition that the first annuity data meets the first check criterion, summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node to obtain second annuity data corresponding to the father node;
under the condition that the father node is not the head office node, checking the second annuity data according to a preset second checking criterion, and summarizing the second annuity data corresponding to a plurality of branch office nodes with the same father node until the father node is the head office node, so as to obtain the annuity data of the head office node;
under the condition that the annuity data of the head office node meets a preset third check criterion, sending the annuity data of the head office node to the trusted node;
the first verification criteria include: the identification information of the branch nodes uploading the annuity data, the social average wages, the total wage standard value of enterprises and the payment proportion standard value; the first annuity data comprises identification information of the branch nodes, average wages of the branch nodes, total enterprise wages, individual payment amounts, enterprise payment amounts and individual wages;
The step of verifying whether the first annuity data meets a preset first verification criterion comprises the following steps:
checking whether the identification information of the branch nodes is the identification information of the branch nodes capable of uploading annuity data;
checking whether the average wages of the branch nodes are greater than the average wages of the society;
checking whether the total enterprise payroll of the branch nodes is larger than the total enterprise payroll standard value;
and determining the payment proportion of the branch nodes according to the personal payment amount, the enterprise payment amount and the personal payroll amount, and checking whether the payment proportion of the branch nodes is smaller than the payment proportion standard value.
2. The method according to claim 1, wherein the first annuity data includes a service identifier of a service to which the annuity data belongs, and the step of summarizing the first annuity data corresponding to a plurality of branch office nodes having the same parent node includes:
according to the service identification and the tree structure, first annuity data which belong to the same father node and have the same service identification are screened out from a plurality of first annuity data;
the first annuity data screened is summarized.
3. The method of claim 1, wherein the step of verifying the second annuity data according to a second preset verification criterion comprises:
transmitting the second annuity data to the father node so that the father node can audit the second annuity data, and generating the confirmation information of the second annuity data under the condition that the audit is passed;
upon receiving the acknowledgement information from the parent node, the second annuity data is verified according to the second verification criteria.
4. The method according to claim 1, wherein the method further comprises:
and generating verification failure information and sending the verification failure information to the branch company node under the condition that the first annuity data does not accord with the first verification criterion.
5. The method of claim 1, wherein the first annuity data further comprises: the receiving node of the first annuity data, in the case that the first annuity data meets the first check criterion, the method further includes:
and sending the first annuity data to the receiving node.
6. The method of claim 1, wherein the step of obtaining first annuity data from the branch office node comprises:
And obtaining a hash value of the first annuity data from the branch node, wherein the hash value is a numerical value obtained by encrypting the first annuity data by the branch node through a digest algorithm.
7. A data transmission device, for use in a blockchain, the blockchain communicatively coupled to a plurality of branch nodes, a head office node, and a trusted node, the plurality of branch nodes and the head office node forming an enterprise architecture having a multi-level tree structure, the head office node being a root node in the enterprise architecture, the device comprising:
the acquisition module is used for acquiring first annuity data from the branch node and checking whether the first annuity data accords with a preset first check criterion;
the summarizing module is used for summarizing the first annuity data corresponding to a plurality of branch company nodes with the same father node under the condition that the first annuity data accords with the first check criterion to obtain second annuity data corresponding to the father node;
the verification module is used for verifying the second annuity data according to a preset second verification criterion under the condition that the father node is not the head office node, and summarizing the second annuity data corresponding to a plurality of branch office nodes with the same father node until the father node is the head office node, so as to obtain the annuity data of the head office node;
The first sending module is used for sending the annuity data of the head office node to the trusted node under the condition that the annuity data of the head office node meets a preset third check criterion;
wherein the first verification criteria include: the identification information of the branch nodes uploading the annuity data, the social average wages, the total wage standard value of enterprises and the payment proportion standard value; the first annuity data comprises identification information of the branch nodes, average wages of the branch nodes, total enterprise wages, individual payment amounts, enterprise payment amounts and individual wages;
the step of verifying whether the first annuity data meets a preset first verification criterion comprises the following steps:
checking whether the identification information of the branch nodes is the identification information of the branch nodes capable of uploading annuity data;
checking whether the average wages of the branch nodes are greater than the average wages of the society;
checking whether the total enterprise payroll of the branch nodes is larger than the total enterprise payroll standard value;
and determining the payment proportion of the branch nodes according to the personal payment amount, the enterprise payment amount and the personal payroll amount, and checking whether the payment proportion of the branch nodes is smaller than the payment proportion standard value.
8. A computer device, the computer device comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and executing the steps of the data transmission method according to any of the claims 1 to 6 according to the obtained program instructions.
9. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the data transmission method according to any one of claims 1 to 6.
CN202110779983.3A 2021-07-09 2021-07-09 Data transmission method and device Active CN113709098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110779983.3A CN113709098B (en) 2021-07-09 2021-07-09 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110779983.3A CN113709098B (en) 2021-07-09 2021-07-09 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN113709098A CN113709098A (en) 2021-11-26
CN113709098B true CN113709098B (en) 2023-06-16

Family

ID=78648656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110779983.3A Active CN113709098B (en) 2021-07-09 2021-07-09 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN113709098B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312292B (en) * 2023-11-28 2024-02-02 深圳市移卡科技有限公司 Method, device, equipment and medium for checking organization operation report form based on tree diagram

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025020A (en) * 2015-07-07 2015-11-04 成都英力拓信息技术有限公司 Internet of Things implementation method
CN109767336A (en) * 2018-12-27 2019-05-17 福建省农村信用社联合社 It is a kind of based on block chain P2P financing platform fund bank deposit pipe management method
CN111260485A (en) * 2020-01-16 2020-06-09 济南浪潮高新科技投资发展有限公司 Mutual-aid insurance method, equipment and medium based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10438209B2 (en) * 2016-02-10 2019-10-08 Bank Of America Corporation System for secure routing of data to various networks from a process data network
CN107392608B (en) * 2017-07-11 2020-07-07 北京博晨技术有限公司 Block chain system-based digital asset transaction method and block chain system
CN111047314A (en) * 2018-10-12 2020-04-21 上海诺亚投资管理有限公司 Financial data processing method and system based on block chain
CN109600433B (en) * 2018-12-06 2022-03-29 北京磁云数字科技有限公司 Method and device for summarizing data in system
CN109635165A (en) * 2018-12-06 2019-04-16 北京磁云数字科技有限公司 Data summarization method, device, equipment and medium based on tree-like block chain network
CN112150299B (en) * 2020-09-30 2023-12-29 泰康保险集团股份有限公司 Annuity data processing method, annuity data processing device, medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025020A (en) * 2015-07-07 2015-11-04 成都英力拓信息技术有限公司 Internet of Things implementation method
CN109767336A (en) * 2018-12-27 2019-05-17 福建省农村信用社联合社 It is a kind of based on block chain P2P financing platform fund bank deposit pipe management method
CN111260485A (en) * 2020-01-16 2020-06-09 济南浪潮高新科技投资发展有限公司 Mutual-aid insurance method, equipment and medium based on block chain

Also Published As

Publication number Publication date
CN113709098A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
US20200183654A1 (en) Data processing systems for identity validation of data subject access requests and related methods
CN102355461B (en) XBRL (Extensible Business Reporting Language) credible data storage method and credible data storage system
US7593892B2 (en) Financial institution portal system and method
US10783116B2 (en) Systems and methods for managing data
US20160350872A1 (en) System and Method for Coordinating the Collection, Analysis and Storage of Payroll Information Provided to Government Agencies by Government Contractors
US8140346B2 (en) Computer-implemented method and system for handling business transactions within an inhomogeneous legal environment
US20020065695A1 (en) Digital chain of trust method for electronic commerce
US20020059107A1 (en) Method and system for automated transaction compliance processing
CN113177730B (en) Water resource traceability management system
CN101751643A (en) System and method for protecting security of e-commerce transactions based on e-contracts
CN112837195B (en) Block chain-based environment monitoring system and method
CN117314424B (en) Block chain transaction system and method for big financial data
CN113709098B (en) Data transmission method and device
CN113205415A (en) Financial process automation method and system based on RPA and block chain technology
CN112597240A (en) Federal learning data processing method and system based on alliance chain
CN111091486B (en) Block chain-based unified method for distributed government architecture
US11842390B1 (en) On-line loan process and system
TWI698768B (en) Csr data verification system with tamper-proof capability, related verification party subsystem, computer program product, and data verification method
CN114511317A (en) Block chain public account processing system and method for accounting records
CN113034159A (en) Enterprise credible credit assessment system and method based on block chain prediction machine technology
Tesfamicael et al. An architecture to facilitate security assurance and legal compliance for call auditing in the wholesale electricity market
CN113538156B (en) Method and device for processing estimated business of professional annuity
TWI737522B (en) A system for processing accounting records in accounting public ledger using blockchain
CN114708112A (en) Service evaluation method, device, equipment and medium based on block chain
US11985139B2 (en) Systems, methods, apparatuses and computer program products for executing data verification operations between independent computing resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant