Blockchain-based data processing method and apparatus
By automating the reimbursement and accounting process for electronic invoices through blockchain technology, the problem of cumbersome electronic invoice reimbursement processes has been solved, achieving efficient and reliable reimbursement and tax declaration.
Patent Information
- Application Number
- CN202210884826.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-25
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-05-25
AI Technical Summary
In the current technology, the reimbursement process for electronic invoices is cumbersome and prone to errors in filling in the invoice item type, causing applicants and reviewers to spend a lot of time and energy.
By employing a blockchain-based data processing method, payment records and electronic invoices are queried through blockchain nodes, expense reports are generated, and the data is uploaded to the blockchain for processing, thereby achieving automated bookkeeping and tax declaration.
It improved the efficiency of the reimbursement process, reduced manual intervention, enhanced trust between the organization and its employees, and ensured the credibility and tamper-proof nature of the accounts.
Smart Images

Figure CN115239446B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application No. CN202110573725.X, filed on May 25, 2021, entitled "Data processing method and device based on blockchain". TECHNICAL FIELD
[0002] The present document relates to the field of blockchain technology, and in particular to a data processing method and device based on blockchain. BACKGROUND
[0003] With the development of Internet technology, electronic tickets have been widely used. Electronic tickets have the same code as ordinary paper tickets, which is uniformly issued by tax authorities, so they have the same voucher effectiveness as ordinary paper tickets. However, electronic tickets are more convenient than ordinary paper tickets in various aspects such as ticketing and reimbursement. In the process of using tickets for expense reimbursement, the applicant first needs to fill out the electronic report form such as the reimbursement application form, and then submit the filled reimbursement application form to the auditor for review. After the review is passed, the ticket is reimbursed. The entire reimbursement process is relatively cumbersome, and there are often errors in the type of ticket project during the reimbursement process. Both the applicant and the auditor need to spend a lot of time and effort. SUMMARY
[0004] One or more embodiments of the present specification provide a data processing method based on blockchain. The data processing method based on blockchain is applied to a blockchain node in a blockchain, and the blockchain is used to store payment records and electronic tickets obtained by an institution member based on an institution reimbursement code after payment; the method comprises: after the institution member's verification condition is triggered, querying the payment records and electronic tickets of the institution member's reimbursement payment event in the blockchain. Based on the queried payment records and electronic tickets, the association processing of the reimbursement payment event is performed to obtain the to-be-verified data. The to-be-verified data is verified to generate a reimbursement form of the institution member and perform a chain processing. According to the reimbursement form, the accounting processing is performed, and the obtained accounting voucher is uploaded to the blockchain for tax declaration processing.
[0005] One or more embodiments of the present specification provide a blockchain-based data processing apparatus running on a blockchain node in a blockchain, the blockchain being used to store payment records and electronic receipts obtained by an agency member after payment based on an agency-based reimbursement code; the apparatus comprises: an event data query module configured to query payment records and electronic receipts of a reimbursement payment event of the agency member in the blockchain after a verification condition of the agency member is triggered. An event association module is configured to perform association processing of the reimbursement payment event based on the queried payment records and electronic receipts to obtain to-be-verified data. A verification processing module is configured to perform verification processing on the to-be-verified data, generate a reimbursement single of the agency member and perform on-chain processing. An accounting processing module is configured to perform accounting processing according to the reimbursement single and upload obtained accounting credentials to the blockchain for tax declaration processing.
[0006] One or more embodiments of the present specification provide a blockchain-based data processing apparatus, comprising: a processor; and a memory configured to store computer executable instructions which, when executed, cause the processor to: query payment records and electronic receipts of a reimbursement payment event of an agency member in a blockchain after a verification condition of the agency member is triggered. The blockchain is used to store payment records and electronic receipts obtained by an agency member after payment based on an agency-based reimbursement code. Perform association processing of the reimbursement payment event based on the queried payment records and electronic receipts to obtain to-be-verified data. Perform verification processing on the to-be-verified data, generate a reimbursement single of the agency member and perform on-chain processing. Perform accounting processing according to the reimbursement single and upload obtained accounting credentials to the blockchain for tax declaration processing.
[0007] One or more embodiments of the present specification provide a storage medium for storing computer executable instructions which, when executed, implement the following processes: query payment records and electronic receipts of a reimbursement payment event of an agency member in a blockchain after a verification condition of the agency member is triggered. The blockchain is used to store payment records and electronic receipts obtained by an agency member after payment based on an agency-based reimbursement code. Perform association processing of the reimbursement payment event based on the queried payment records and electronic receipts to obtain to-be-verified data. Perform verification processing on the to-be-verified data, generate a reimbursement single of the agency member and perform on-chain processing. Perform accounting processing according to the reimbursement single and upload obtained accounting credentials to the blockchain for tax declaration processing. BRIEF DESCRIPTION OF DRAWINGS
[0008] In order to make one or more embodiments of the present specification or the prior art clearer, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative labor.
[0009] Figure 1 A blockchain-based data processing method processing flowchart is provided for one or more embodiments of the present specification;
[0010] Figure 2 A blockchain-based data processing method processing flowchart applied to an institutional reimbursement scenario is provided for one or more embodiments of the present specification;
[0011] Figure 3 A blockchain-based data processing device schematic diagram is provided for one or more embodiments of the present specification;
[0012] Figure 4 A structure schematic diagram of a blockchain-based data processing device is provided for one or more embodiments of the present specification. DETAILED DESCRIPTION
[0013] In order to make one or more embodiments of the present specification or the prior art clearer, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative labor.
[0014] An embodiment of a blockchain-based data processing method provided by the present specification:
[0015] Referring to Figure 1 , a blockchain-based data processing method processing flowchart provided by the present embodiment is shown, referring to Figure 2 , a blockchain-based data processing method processing flowchart applied to an institutional reimbursement scenario provided by the present embodiment is shown.
[0016] Referring to Figure 1 , the blockchain-based data processing method provided by the present embodiment is applied to a blockchain node in a blockchain, and the blockchain is used to store payment records and electronic tickets obtained by an institutional member based on an institutional reimbursement code after payment; the method specifically includes steps S102 to S108.
[0017] Step S102, after the reimbursement condition of the organization member is triggered, querying the payment record and electronic bill of the reimbursement payment event of the organization member in the blockchain.
[0018] The data processing method based on the blockchain provided in the embodiment takes the blockchain as the core, obtains the payment record and the electronic bill obtained after the reimbursement code is used for payment by the blockchain data storage, combines the reimbursement payment event of the organization member, and performs the reimbursement of the obtained combined to-be-reimbursed data, generates the reimbursement single of the organization member, and finally performs the accounting processing of the organization from the reimbursement single, thereby obtaining the accounting voucher for the tax reimbursement processing, avoiding the trust problem between the organization and the organization staff due to the account reconciliation, improving the trust degree between the organization and the organization staff, and avoiding the tampering of the organization account, and improving the credibility of the organization accounting.
[0019] The organization in the embodiment includes enterprises, institutions, social groups, enterprises and various forms of organizations, in addition, the organization not only includes the current organization, but also includes the internal organization of the organization, such as the department or branch of the enterprise. The organization member includes the organization staff and related personnel.
[0020] The reimbursement code is an organization code set by the organization for the payment, billing and reimbursement of the organization member. The organization code can uniquely identify the organization. The existence form of the organization code can be a two-dimensional code, a bar code, a sound code and the like. The reimbursement code can realize the integrated processing of payment, billing and reimbursement. In addition, the reimbursement code can also be used to identify the membership of the organization member in the organization, such as using the reimbursement code as a digital badge of the enterprise employee. The enterprise employee can receive the welfare and subsidies issued by the enterprise with the reimbursement code as the voucher.
[0021] The reimbursement condition is a trigger condition for triggering the reimbursement of the reimbursement payment record or behavior of the organization member. The reimbursement condition of the organization member includes at least one of the following: the reimbursement quota allocated by the organization to the organization member for the reimbursement code is used up, and the bill application control of the reimbursement payment event of the organization member is triggered; wherein the bill application control is configured on the payment completion page generated after the payment of the reimbursement payment event is completed.
[0022] In this embodiment, the blockchain is also used to store the organization's identifier and the association between the organization and its members. Specifically, before storing the payment records and electronic invoices of the organization's members on the blockchain, the organization's identifier and the association between the organization and its members are stored on the blockchain. Specifically, during the on-chain storage process, when the reimbursement code activation application of the organization is detected and the reimbursement code is successfully generated, the organization's identifier and the member identifiers of the organization's members are obtained; the association between the organization identifier and the member identifier is established, and the organization identifier and the association are uploaded to the blockchain.
[0023] In one optional implementation of this embodiment, during the process of activating the reimbursement code for the organization, the system checks whether the organization is a certified organization or whether the member submitting the reimbursement code activation request is the owner of the organization (e.g., a business owner). If yes, the system generates the reimbursement code and issues it to the organization or the member submitting the reimbursement code activation request, and establishes a binding relationship between the organization and the submitting organization account so that the organization member can deduct the reimbursement from the organization account during the reimbursement process. If no, it indicates that the organization does not meet the conditions for reimbursement code activation, and no action is taken, or a reminder message indicating that the reimbursement code activation failed is sent to the organization.
[0024] Based on the reimbursement code issued by the organization, the organization can proactively invite its members to grant them access to the reimbursement code. This allows members to use the reimbursement code for payments, invoicing, and reimbursement in scenarios such as business travel, official trips, hospitality, team building activities, office procurement, and welfare / subsidy distribution. The process of the organization proactively inviting members to grant access to the reimbursement code specifically includes: sending an activation invitation to the member to be authorized based on their activation request; verifying the member's identity upon detecting a confirmation instruction submitted by the member in response to the activation invitation; and establishing a mapping relationship between the member's and the organization's keyword information if the verification is successful, and uploading this mapping relationship to the blockchain. The organization's keyword information includes the organization's header information.
[0025] After granting access to the reimbursement code to its members, the organization can access the code through a third-party application's reimbursement code service. For example, employees who have been granted reimbursement code access can access the organization's reimbursement code through the reimbursement code service of a payment application installed on their own devices. The reimbursement payment event refers to an event triggered during the process of an organization member using the organization's reimbursement code for payment.
[0026] In a specific implementation, the premise of querying the payment record and the electronic bill from the blockchain is that the payment record and the electronic bill are stored in the blockchain in advance. Therefore, the payment record and the electronic bill need to be generated and stored in the blockchain before querying the payment record and the electronic bill. Specifically, the generation and storage of the payment record of the reimbursement payment event specifically include: performing fee control verification on the reimbursement payment event of the organization member according to the fee control rule configured by the reimbursement code; if the fee control verification passes, performing payment processing based on the organization account bound by the organization, obtaining the payment record of the reimbursement payment event, and uploading the payment record to the blockchain.
[0027] In addition, in the case where the fee control verification does not pass, in order to ensure that the processing of the reimbursement payment event of the organization member is not interrupted, the organization member is issued with reminder information of a reimbursement failure, the funds are transferred out from the member account of the organization member, and the transferred funds are transferred into the account of the merchant.
[0028] Optionally, the fee control verification is implemented in the following manner: determining a target reimbursement category to which the reimbursement payment event matches in at least one reimbursement category of the fee control rule; verifying whether the element information carried by the reimbursement payment event is within a value interval of a fee control element associated with the target reimbursement category;
[0029] If yes, it is determined that the reimbursement payment event passes the verification of the target reimbursement category, that is, the verification result of the fee control verification on the reimbursement payment event is that the verification passes;
[0030] If no, it is determined that the reimbursement payment event does not pass the verification of the target reimbursement category, that is, the verification result of the fee control verification on the reimbursement payment event is that the verification does not pass.
[0031] The fee control rule is used to verify whether an order submitted by an organization member meets the reimbursement conditions set by the organization. For example, the enterprise code of an enterprise can be used for payment by enterprise employees in scenarios such as business travel, business travel, entertainment, team building, office procurement, and welfare / subsidy distribution. The fee generated by the payment that meets the reimbursement conditions set by the enterprise is borne by the enterprise, thereby realizing automatic reimbursement or employee discount. Optionally, the fee control rule is configured with at least one reimbursement category of the reimbursement code, and the reimbursement category is associated with at least one fee control element. The fee control element includes at least one of the following: a time element, a subject compliance element, an amount element, and a location element. The reimbursement category includes but is not limited to business travel, business travel, entertainment, team building, office procurement, and welfare / subsidy distribution.
[0032] The time element is used to verify whether the consumption time of the member of the institution applying for reimbursement meets the institution's provisions; the subject compliance element is used to verify whether the consumption object of the member of the institution applying for reimbursement meets the institution's provisions, such as the enterprise stipulating that the expenses generated by riding a company bus or a specific public transportation vehicle can be reimbursed, and if the vehicle ridden by the enterprise employee does not meet the provisions, it cannot be reimbursed; the quota element is used to verify whether the amount of the member of the institution applying for reimbursement meets the institution's provisions; and the location element is used to verify whether the geographic location information of the place where the consumption of the member of the institution applying for reimbursement meets the institution's provisions.
[0033] It should be noted that the present embodiment is to improve the enthusiasm of the institution for using the reimbursement code service from the institution side, and the present embodiment introduces a financial institution in the reimbursement code service, and the institution opens a financial account in the financial institution as the actual fund payout party for paying the target order of the member of the institution, and then the institution makes a repayment to the financial institution according to the corresponding account period. In an optional implementation manner provided by the present embodiment, the institution account includes a financial account opened by the institution in the financial institution, such as a fund account, a credit account, or an account period account settled in an account period settlement manner; accordingly, the payment processing based on the institution account bound by the institution includes: transferring funds out of the financial account according to the order amount carried by the reimbursement payment event, and transferring the transferred funds into the account of the merchant; wherein the funds transferred out of the financial account are paid by the financial institution, and the institution repays the paid funds to the financial institution according to the agreed account period.
[0034] Specifically, in the process of issuing the electronic ticket, the ticket issuing institution can issue the electronic ticket in the ticket node of the blockchain, or the reimbursement processing system can issue the electronic ticket. In an optional implementation manner provided by the present embodiment, the electronic ticket is generated and uploaded by the ticket node of the ticket issuing institution in the blockchain, and the ticket node issues the electronic ticket in the following manner: querying the institution keyword information having a mapping relationship with the member of the institution in the blockchain; according to the institution keyword information and the payment record of the reimbursement payment event read from the blockchain, the electronic ticket of the reimbursement payment event is issued and chained.
[0035] In another optional implementation provided by the embodiment, the electronic receipt is uploaded by a reimbursement processing system accessing the blockchain node, and the reimbursement processing system obtains the electronic receipt in the following manner: performing fee control verification on the reimbursement payment event of the institutional member according to the fee control rule configured based on the reimbursement code; if the fee control verification is passed, performing payment processing based on the institutional account bound by the institution to obtain a payment record of the reimbursement payment event; obtaining the electronic receipt submitted by the institutional member, or transmitting the payment record to a receipt application link opened by the merchant to generate the electronic receipt of the reimbursement payment event.
[0036] In step S104, the association processing of the reimbursement payment event is performed based on the queried payment record and electronic receipt to obtain to-be-canceled data.
[0037] In actual application, in many scenarios, there are cases of combined reimbursement of multiple reimbursement payment events. For example, in the scenario of business travel of an institutional member, all reimbursement payment events of the institutional member in a business travel trip can be combined for reimbursement, or multiple consumption reimbursement payment events of the institutional member in a business travel trip can be combined for reimbursement, or multiple dining reimbursement payment events can be combined for reimbursement. To improve the efficiency of reimbursement processing, in an optional implementation provided by the embodiment, the association processing is performed on the reimbursement payment event, and the following manner is used to implement the association processing:
[0038] According to the element information contained in the payment records of the multiple reimbursement payment events, the business payment relationship between the multiple reimbursement payment events is analyzed.
[0039] The multiple reimbursement payment events are combined into a business payment event based on the business payment relationship, and a payment record set and an electronic receipt set of the business payment event are determined as the to-be-canceled data.
[0040] In step S106, the to-be-canceled data is canceled, and a reimbursement single of the institutional member is generated and processed in a chain.
[0041] After the payment record and the electronic receipt of the institutional member queried in the blockchain are associated according to the reimbursement payment event to obtain the combined to-be-canceled data, in this step, the to-be-canceled data is canceled to generate the reimbursement single of the institutional member, which prepares data for subsequent accounting processing according to the reimbursement single, that is, data is prepared for subsequent steps of listing the corresponding items of the reimbursement single in the institutional expenses according to the reimbursement single of the institutional member.
[0042] In step S108, the accounting processing is performed according to the reimbursement single, and the obtained accounting voucher is uploaded to the blockchain for tax declaration processing.
[0043] In actual implementation, the tax declaration processing can be performed by a tax node of the tax authority in the blockchain, or by an agency system or a third-party system (such as a third-party tax platform or a financial management platform) accessing the node of the blockchain.
[0044] If the tax declaration processing is performed by a tax node of the tax authority in the blockchain, the tax declaration processing performed by the tax node specifically includes: reading the accounting voucher of the agency from the blockchain, and creating a declaration form of the agency based on the accounting voucher; performing the tax declaration processing of the agency based on the declaration form, and uploading the tax declaration processing result to the blockchain; and the agency accessing the tax declaration processing result through the node of the blockchain or an agency node of the agency in the blockchain.
[0045] If the tax declaration processing is performed by an agency system or a third-party system accessing the node of the blockchain, the agency system or the third-party system performs the tax declaration processing in the following manner: reading the accounting voucher of the agency from the blockchain, and creating a declaration form of the agency based on the accounting voucher; uploading the declaration form to the blockchain, so as to transmit the declaration form to the tax authority through the blockchain; or inputting the declaration form through a data interface provided by the tax authority, and uploading the tax declaration processing result returned by the data interface to the blockchain.
[0046] The following further describes the blockchain-based data processing method provided in this embodiment by taking an application of the blockchain-based data processing method provided in this embodiment in an agency reimbursement scenario, referring to Figure 2 The blockchain-based data processing method applied in the agency reimbursement scenario specifically includes steps S202 to S218.
[0047] In step S202, in a case where an agency reimbursement code opening application of an agency is detected and a reimbursement code is successfully generated, an association relationship between an agency identifier of the agency and a member identifier of an agency member is established, and the agency identifier and the association relationship are stored on a chain.
[0048] In step S204, a fee control verification is performed on a reimbursement payment event of the agency member according to a fee control rule configured by the reimbursement code.
[0049] In step S206, if the fee control verification is passed, a payment processing is performed based on an agency account bound by the agency, a payment record of the reimbursement payment event is obtained, and the payment record is stored on a chain.
[0050] In step S208, an electronic invoice of the reimbursement payment event is issued and processed on a chain according to the agency keyword information and the payment record of the reimbursement payment event read from the blockchain.
[0051] The organization keyword information has a mapping relationship with the organization member, and the organization keyword information is also stored on the chain based on the blockchain.
[0052] Step S210, after the reimbursement condition of the organization member is triggered, querying the payment record and electronic bill of the reimbursement payment event of the organization member in the blockchain.
[0053] Step S212, based on the queried payment record and electronic bill, the association processing of the reimbursement payment event is performed to obtain the to-be-reimbursed data.
[0054] Step S214, the to-be-reimbursed data is processed for reimbursement, and the reimbursement single of the organization member is generated and processed for on-chain.
[0055] Step S216, according to the reimbursement single, the accounting processing is performed, and the obtained accounting voucher is uploaded to the blockchain.
[0056] Step S218, the tax node in the blockchain creates the declaration table of the organization according to the on-chain stored accounting voucher, and performs the tax declaration processing according to the declaration table, and uploads the tax declaration processing result to the blockchain.
[0057] The data processing device based on the blockchain provided in the specification implements, for example:
[0058] In the above embodiment, a data processing method based on the blockchain is provided, and a data processing device based on the blockchain is also provided, which will be described below with reference to the accompanying drawings.
[0059] Reference Figure 3 It shows a data processing device based on the blockchain provided in the embodiment.
[0060] Since the device embodiment corresponds to the method embodiment, it is described more simply, and the related part can be referred to the above-mentioned corresponding description of the method embodiment. The device embodiment described below is only schematic.
[0061] The embodiment provides a data processing device based on the blockchain, which runs in a blockchain node in the blockchain, and the blockchain is used to store the payment record and electronic bill obtained after the organization member makes payment based on the reimbursement code of the organization; the device comprises:
[0062] The event data query module 302 is configured to query the payment record and electronic bill of the reimbursement payment event of the organization member in the blockchain after the reimbursement condition of the organization member is triggered;
[0063] The event association module 304 is configured to perform association processing of the reimbursement payment event based on the queried payment record and electronic receipt, and obtain to-be-reimbursed data;
[0064] The reimbursement processing module 306 is configured to perform reimbursement processing on the to-be-reimbursed data, generate a reimbursement single of the organization member, and perform chain processing;
[0065] The accounting processing module 308 is configured to perform accounting processing according to the reimbursement single, and upload the obtained accounting voucher to the blockchain to perform tax declaration processing.
[0066] The specification provides a data processing device based on a blockchain, which implements, for example:
[0067] According to the same technical concept, one or more embodiments of the specification also provide a data processing device based on a blockchain, which is used to execute the data processing method based on a blockchain provided above, Figure 4 A structural schematic diagram of a data processing device based on a blockchain provided by one or more embodiments of the specification.
[0068] The data processing device based on a blockchain provided in this embodiment includes:
[0069] As shown in Figure 4 The data processing device based on a blockchain can have great differences due to different configurations or performances, and can include one or more processors 401 and memories 402. The memory 402 can store one or more storage applications or data. The memory 402 can be temporary storage or persistent storage. The application stored in the memory 402 can include one or more modules (not shown in the figure), and each module can include a series of computer executable instructions in the data processing device based on a blockchain. Further, the processor 401 can be configured to communicate with the memory 402 and execute a series of computer executable instructions in the memory 402 on the data processing device based on a blockchain. The data processing device based on a blockchain can also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input / output interfaces 405, one or more keyboards 406, and the like.
[0070] In one specific embodiment, the blockchain-based data processing device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs can include one or more modules, and each module can include a series of computer-executable instructions in the blockchain-based data processing device, and the one or more programs configured to be executed by one or more processors include computer-executable instructions for:
[0071] After the verification condition of the institution member is triggered, the payment record and electronic receipt of the reimbursement payment event of the institution member are queried in the blockchain; the blockchain is used to record the payment record and electronic receipt obtained after the institution member makes payment based on the reimbursement code of the institution;
[0072] Based on the queried payment record and electronic receipt, the association processing of the reimbursement payment event is performed to obtain the data to be verified;
[0073] The data to be verified is verified, and the reimbursement single of the institution member is generated and processed to be chained;
[0074] According to the reimbursement single, the accounting processing is performed, and the obtained accounting voucher is uploaded to the blockchain for tax declaration processing.
[0075] The storage medium provided in the specification is implemented as follows:
[0076] According to the above description, a blockchain-based data processing method is provided, and based on the same technical concept, one or more embodiments of the specification also provide a storage medium.
[0077] The storage medium provided in the embodiment is used to store computer-executable instructions, and the computer-executable instructions are executed to implement the following processes:
[0078] After the verification condition of the institution member is triggered, the payment record and electronic receipt of the reimbursement payment event of the institution member are queried in the blockchain; the blockchain is used to record the payment record and electronic receipt obtained after the institution member makes payment based on the reimbursement code of the institution;
[0079] Based on the queried payment record and electronic receipt, the association processing of the reimbursement payment event is performed to obtain the data to be verified;
[0080] The data to be verified is verified, and the reimbursement single of the institution member is generated and processed to be chained;
[0081] According to the reimbursement single, the accounting processing is performed, and the obtained accounting voucher is uploaded to the blockchain for tax declaration processing.
[0082] It should be noted that the embodiment of the storage medium in the present specification is based on the same inventive concept as the embodiment of the data processing method based on the blockchain in the present specification, and therefore the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be described herein again.
[0083] The above describes particular embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims can be performed in a different order than the order in which they are recited and still achieve desirable results. In addition, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous or necessary.
[0084] In the 1930s, it was clear to distinguish whether an improvement in a technology was in hardware (e.g., improvement in circuit structure of diodes, transistors, switches, etc.) or in software (e.g., improvement in method flow). However, as technology has evolved, many improvements in method flow today can be considered as direct improvements in hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented by a hardware entity module. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. A digital system is "integrated" on a PLD by the designer programming it, rather than by asking a chip manufacturer to design and fabricate a custom integrated circuit chip. Moreover, instead of manually fabricating an integrated circuit chip, this programming is now mostly implemented by "logic compiler" software, which is similar to software compilers used in program development, and the original code to be compiled is written in a specific programming language, called a hardware description language (HDL), of which there are many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., the most commonly used being VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should be clear to those skilled in the art that, by simply logically programming a method flow in one of the above hardware description languages and programming it into an integrated circuit, a hardware circuit implementing the logical method flow can be easily obtained.
[0085] The controller can be implemented in any suitable way, e.g. the controller can take the form of a microprocessor or processor and a computer readable medium storing computer readable program code, e.g. software or firmware, executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller and an embedded microcontroller, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91 SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to being implemented in pure computer readable program code form, the controller can perfectly well be implemented by means of logic programmed into logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded microcontrollers, etc. to perform the same functions. The controller can thus be considered a hardware component, and the means comprised therein for performing various functions can be considered structures within the hardware component. Alternatively, or even additionally, the means for performing various functions can be considered both software modules implementing the method and structures within the hardware component.
[0086] The systems, apparatuses, modules or units illustrated by the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0087] For the sake of description, the above apparatuses are described in functional division and are described respectively. Of course, the functions of the units can be implemented in the same or multiple software and / or hardware when implementing the embodiments of the present specification.
[0088] Those skilled in the art will understand that one or more embodiments of the present specification can be provided as a method, a system or a computer program product. Therefore, one or more embodiments of the present specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0089] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0090] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0091] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0092] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0093] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0094] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0095] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0096] One or more embodiments of the specification can be described in the general context of computer-executable instructions being executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the specification can also be practiced in a distributed computing environment, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
[0097] Each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.
[0098] The above merely provides the example of the present document and is not intended to limit the present document. For those skilled in the art, the present document can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present document shall be included in the scope of claims of the present document.
Claims
1. A blockchain-based data processing method, applied to blockchain nodes in a blockchain, the method comprising: After the invoice application control for an expense reimbursement payment event of an institutional member is triggered, the payment records and electronic invoices of the institutional member based on the institutional QR code for the expense reimbursement payment event are queried in the blockchain. The queried payment records and electronic invoices are associated with reimbursement payment events to obtain data to be verified; The data to be reimbursed is processed for reimbursement, and expense reports for the organization's members are generated and uploaded to the blockchain. The expense report is used for accounting processing, and the resulting accounting vouchers are uploaded to the blockchain.
2. The data processing method based on blockchain according to claim 1, wherein the blockchain is used to store payment records and electronic invoices obtained by members of an institution after making payments based on the institution's reimbursement code; the blockchain is also used to store the institution's identifier and the association between the institution and its members; the method further includes: If the reimbursement code activation application of the organization is detected and the reimbursement code is successfully generated, the organization identifier of the organization and the member identifier of the organization's members are obtained. Establish the association between the organization identifier and the member identifier, and upload the organization identifier and the association to the blockchain.
3. According to the blockchain-based data processing method described in claim 2, the reimbursement code of the institution is activated in the following manner: The system detects whether the organization is a certified authority based on the reimbursement code activation request, or whether the member of the organization that submitted the reimbursement code activation request is the owner of the organization. If so, generate the reimbursement code and issue it to the organization or an organization member who submitted the reimbursement code activation request, and establish a binding relationship between the organization and the submitting organization account.
4. The data processing method based on blockchain according to claim 3, further comprising, before executing the step of querying the payment records and electronic invoices of the reimbursement payment event of the organizational member stored in the blockchain after the reimbursement condition of the organizational member is triggered, the method further comprising: Based on the expense control rules configured in the expense control code, expense control verification is performed on the expense payment events of the organization's members; If the expense control verification is successful, payment is processed based on the institution's linked account, the payment records of the institution's members' reimbursement payment events are obtained, and the payment records are uploaded to the blockchain.
5. The blockchain-based data processing method according to claim 2 further includes: Based on the activation request submitted by the organization's members, the organization sends an activation invitation for the reimbursement code to the members to be authorized. If a confirmation instruction submitted by a member of the organization in response to the activation invitation is detected, the member of the organization will be verified. If the identity verification process is successful, a mapping relationship is established between the organization's members and the organization's keyword information, and the mapping relationship is uploaded to the blockchain.
6. The data processing method based on blockchain according to claim 5, wherein the electronic invoice is generated and uploaded by the invoice node of the invoice issuing institution in the blockchain, and the invoice node performs the issuance processing of the electronic invoice in the following manner: Query the blockchain for organizational keyword information that has a mapping relationship with the members of the organization; Based on the institution's keyword information and the payment records of the reimbursement payment event read from the blockchain, an electronic invoice for the reimbursement payment event is issued and processed on the blockchain.
7. The blockchain-based data processing method according to claim 2, wherein the reimbursement conditions for the organization's members include at least one of the following: When the reimbursement quota allocated by the organization to its members for the reimbursement code is exhausted, the invoice application control for the reimbursement payment event of the organization member is triggered. in, The invoice application control is configured on the payment completion page generated after the reimbursement payment event is completed.
8. The data processing method based on blockchain according to claim 2, wherein the electronic invoice is uploaded by a reimbursement processing system connected to the blockchain node, and the reimbursement processing system obtains the electronic invoice in the following manner: Based on the expense control rules configured in the expense control code, expense control verification is performed on the expense payment events of the organization's members; If the expense control verification is successful, payment processing is performed based on the institutional account bound to the institution, and the payment record of the reimbursement payment event is obtained; Obtain the electronic invoices submitted by the organization's members, or transmit the payment records to the invoice application link opened by the merchant, in order to generate electronic invoices for the reimbursement payment event.
9. The data processing method based on blockchain according to claim 1, wherein associating the queried payment records and electronic invoices according to reimbursement payment events to obtain data to be reimbursed includes: Based on the information elements contained in the payment records of multiple reimbursement payment events, analyze the relationship between official payments among the multiple reimbursement payment events; Based on the aforementioned official payment relationships, the multiple reimbursement payment events are combined into an official payment event, and the payment record set and electronic invoice set of the official payment event are determined as the data to be reimbursed.
10. The data processing method based on blockchain according to claim 1, wherein the accounting voucher is uploaded to the blockchain for tax declaration processing; The tax declaration processing is executed by the tax nodes of the tax authorities in the blockchain, and the tax declaration processing executed by the tax nodes includes: The institution's accounting vouchers are read from the blockchain, and a declaration form for the institution is created based on the accounting vouchers; The organization performs tax declaration processing based on the declaration form and uploads the tax declaration processing results to the blockchain; the organization accesses the tax declaration processing results through the blockchain node or the organization node in the blockchain.
11. The data processing method based on blockchain according to claim 1, wherein the accounting voucher is uploaded to the blockchain for tax declaration processing; the tax declaration processing is performed by an institutional system or a third-party system connected to the blockchain node, and the institutional system or third-party system performs tax declaration processing in the following manner: The institution's accounting vouchers are read from the blockchain, and a declaration form for the institution is created based on the accounting vouchers; The tax return form is uploaded to the blockchain to transmit it to the tax authority; alternatively, the tax return form is transmitted through a data interface provided by the tax authority, and the tax return processing result returned by the data interface is uploaded to the blockchain.
12. The blockchain-based data processing method according to claim 4 or 8, wherein the expense control verification is implemented in the following manner: Determine the target reimbursement category that the reimbursement payment event matches in at least one reimbursement category of the expense control rules; Verify whether the information carried by the reimbursement payment event is within the value range of the expense control element associated with the target reimbursement category; If so, confirm that the reimbursement payment event has passed the verification of the target reimbursement category.
13. The blockchain-based data processing method according to claim 4 or 8, wherein the institutional account includes the financial account opened by the institution in a financial institution; Accordingly, the payment processing based on the institutional account linked to the institution includes: Funds are transferred from the financial account according to the order amount carried by the reimbursement payment event, and the transferred funds are then transferred to the merchant's account; The funds transferred from the financial account are advanced by the financial institution, and the institution repays the advanced funds to the financial institution according to the agreed payment period.
14. A blockchain-based data processing device, operating on a blockchain node within a blockchain, the device comprising: The event data query module is configured to query the blockchain for the payment records and electronic invoices of the organization member based on the organization's QR code for the reimbursement payment event after the invoice application control for the reimbursement payment event of the organization member is triggered. The event association module is configured to associate the queried payment records and electronic invoices according to the reimbursement payment event to obtain the data to be reimbursed; The reimbursement processing module is configured to perform reimbursement processing on the data to be reimbursed, generate expense reports for the organization's members, and perform on-chain processing. The accounting processing module is configured to perform accounting processing based on the expense report and upload the obtained accounting vouchers to the blockchain.
15. A blockchain-based data processing device, comprising: processor; And, a memory configured to store computer-executable instructions, which, when executed, cause the processor to: After the invoice application control for an expense reimbursement payment event of an institutional member is triggered, the payment records and electronic invoices of the institutional member based on the institutional QR code for the expense reimbursement payment event are queried in the blockchain. The queried payment records and electronic invoices are associated with reimbursement payment events to obtain data to be verified; The data to be reimbursed is processed for reimbursement, and expense reports for the organization's members are generated and uploaded to the blockchain. The expense report is used for accounting processing, and the resulting accounting vouchers are uploaded to the blockchain.
16. A storage medium for storing computer-executable instructions, which, when executed, perform the following process: After the invoice application control for an expense reimbursement payment event of an institutional member is triggered, the payment records and electronic invoices of the institutional member based on the institutional QR code for the expense reimbursement payment event are queried in the blockchain. The queried payment records and electronic invoices are associated with reimbursement payment events to obtain data to be verified; The data to be reimbursed is processed for reimbursement, and expense reports for the organization's members are generated and uploaded to the blockchain. The expense report is used for accounting processing, and the resulting accounting vouchers are uploaded to the blockchain.
Citation Information
Patent Citations
Blockchain-based bill cancel-after-verification method and device, electronic equipment and storage medium
CN110458677A
Electronic ticket settlement method based on block chain
CN110910217A