TW202008267A - Bookkeeping method and device, and integrated transaction and finance system - Google Patents

Bookkeeping method and device, and integrated transaction and finance system Download PDF

Info

Publication number
TW202008267A
TW202008267A TW108116390A TW108116390A TW202008267A TW 202008267 A TW202008267 A TW 202008267A TW 108116390 A TW108116390 A TW 108116390A TW 108116390 A TW108116390 A TW 108116390A TW 202008267 A TW202008267 A TW 202008267A
Authority
TW
Taiwan
Prior art keywords
accounting
business
billing
node
information
Prior art date
Application number
TW108116390A
Other languages
Chinese (zh)
Inventor
謝聰
Original Assignee
香港商阿里巴巴集團服務有限公司
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 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW202008267A publication Critical patent/TW202008267A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Abstract

Provided in an embodiment of the present invention are a bookkeeping method and device, and an integrated transaction and finance system. The method comprises: receiving a bookkeeping request transmitted by a transaction processing system, wherein the request carries financial information of a transaction to be recorded; detecting, according to the financial information, whether the transaction satisfies a set bookkeeping condition; and if so, triggering a bookkeeping node in a bookkeeping system to record the transaction according to the financial information, wherein the bookkeeping node is a node in a blockchain.

Description

記帳方法、裝置及業務財務一體化系統Accounting method, device and business financial integration system

本發明關於帳務處理領域,尤其關於一種記帳方法、裝置及業務財務一體化系統。The invention relates to the field of account processing, in particular to an accounting method, device and business and financial integration system.

記帳通常是將帳務資訊序時的、分類的登記到帳戶。在業務處理系統處理業務的過程中,除了需要記錄該業務的業務資料外,還需要對該業務所涉及到的帳務資料進行記帳。 現階段,一般的通常使用業務處理系統對某項業務進行處理,並在業務處理系統進行對該業務的業務資料進行儲存,接著,將業務處理過程中涉及到的帳務資料發送給財務系統,由財務系統對帳務資料進行儲存。但是,若是發現業務資料和帳務資料不一致時,則無法追溯是業務資料被篡改還是帳務資料被篡改。 因此,極需提出一種記帳方法,以實現在業務資料和帳務資料不一致時,可對業務資料和帳務資料進行追溯。Bookkeeping is usually to register the account information in order and order. In the process of processing a business by a business processing system, in addition to recording business data of the business, it is also necessary to record the accounting data related to the business. At this stage, generally, a business processing system is usually used to process a certain business, and the business data of the business is stored in the business processing system. Then, the accounting data involved in the business processing process is sent to the financial system. The financial system stores the accounting data. However, if it is found that the business data and accounting data are inconsistent, it is impossible to trace whether the business data has been tampered with or the accounting data has been tampered with. Therefore, there is a great need to propose an accounting method to achieve traceability of business data and accounting data when the business data and accounting data are inconsistent.

本說明書實施例的目的是提供一種記帳方法、裝置及業務財務一體化系統,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 為解決上述技術問題,本說明書實施例是這樣實現的: 本說明書實施例提供了一種記帳方法,包括: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。 本說明書實施例還提供了一種記帳裝置,包括: 接收模組,接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 檢測模組,根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 觸發模組,若檢測所述待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。 本說明書實施例還提供了一種業務財務一體化系統,包括記帳系統和至少一個業務處理系統;所述記帳系統上設置有記帳裝置; 所述業務處理系統,用於在完成待記帳業務的處理後,向所述記帳系統發送記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 所述記帳系統,用於接收所述記帳請求;根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件;若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。 本說明書實施例還提供了一種記帳設備,包括: 處理器;以及 被安排成儲存電腦可執行指令的儲存器,所述可執行指令在被執行時使所述處理器: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。 本說明書實施例還提供了一種儲存媒體,用於儲存電腦可執行指令,所述可執行指令在被執行時實現以下流程: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。 透過本實施例中的技術方案,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。The purpose of the embodiments of this specification is to provide a billing method, device and business and financial integration system, applying blockchain technology to the billing system. When the billing request sent by the business processing system is received, if the billing request is detected The carried accounting service meets the set accounting conditions, then triggers the accounting node in the accounting system to perform accounting on the accounting service according to the accounting information of the accounting service; wherein, the accounting node is a blockchain node; in the embodiment of this specification Because the blockchain technology is not tamper-proof, it can ensure that the accounting data stored in the accounting node cannot be tampered. Therefore, if there is business data stored in the business processing system and accounting data stored in the accounting system In case of inconsistency, it can be determined that the business data has been tampered with, and the business data and accounting data can be traced back. To solve the above technical problems, the embodiments of this specification are implemented as follows: The embodiment of this specification provides a billing method, including: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain. An embodiment of this specification also provides an accounting device, including: The receiving module receives the billing request sent by the business processing system; wherein, the billing request carries the billing information of the business to be billed; The detection module detects whether the business to be billed meets the set billing conditions according to the billing information; A trigger module, if it is detected that the to-be-accounted business meets the set accounting conditions, then triggers an accounting node in the accounting system to perform accounting to the to-be-accounted business according to the accounting information; wherein, the accounting node is a blockchain In the node. The embodiment of this specification also provides a business and financial integration system, including an accounting system and at least one business processing system; an accounting device is provided on the accounting system; The business processing system is configured to send a billing request to the billing system after completing the processing of the billing business; wherein, the billing request carries the billing information of the billing business; The accounting system is used to receive the accounting request; detect whether the to-be-accounted service meets the set accounting conditions based on the accounting information; if it is, trigger the accounting node in the accounting system to check the location based on the accounting information Describe the business to be billed for billing; wherein, the billing node is a node in the blockchain. An embodiment of this specification also provides an accounting device, including: Processor; and A memory arranged to store computer executable instructions which, when executed, causes the processor to: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain. The embodiments of the present specification also provide a storage medium for storing computer executable instructions, and the executable instructions, when executed, implement the following process: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain. Through the technical solution in this embodiment, the blockchain technology is applied to the billing system. After receiving the billing request sent by the business processing system, if it is detected that the business to be billed carried in the billing request meets the set billing conditions, Then the billing node in the billing system is triggered to bill the billing service according to the billing information of the billing service; wherein, the billing node is a blockchain node; in the embodiment of this specification, since the blockchain technology has no tampering, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with. Therefore, if the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, it can be determined that the business data is Tampering has enabled the traceability of business data and accounting data.

為了使本技術領域的人員更好地理解本說明書中的技術方案,下面將結合本說明書實施例中的圖式,對本說明書實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本說明書一部分實施例,而不是全部的實施例。基於本說明書中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬本說明書保護的範圍。 本說明書實施例的思想在於,將區塊鏈技術應用於記帳系統中,由於區塊鏈具有不可篡改性,這樣,可以保證儲存在記帳系統中的記帳節點(記帳節點為區塊鏈節點)上的資料不會被篡改。當出現儲存在業務處理系統中的業務資料和儲存在記帳系統中的帳務資料不一致的情況時,可以追溯出是儲存在業務處理系統中的業務資料被篡改,實現了對業務資料和帳務資料的追溯。基於此,本說明書實施例提供了一種記帳方法、裝置及業務財務一體化系統。 圖1為本說明書實施例提供的記帳方法的第一種方法流程圖,圖1所示的方法,至少包括如下步驟: 步驟102,接收業務處理系統發送的記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊。 其中,本說明書實施例提供的方法的執行主體為記帳裝置,可以應用於記帳系統。具體的,在本說明書實施例中,將業務處理系統處理完畢的、需要記帳系統進行記帳的業務稱為待記帳業務。 在本說明書實施例中,當接入一項新的業務時,首先由業務處理系統對該項業務進行處理,並在處理完成後,由業務處理系統對該項業務中涉及到的帳務資料進行記帳。具體的,在業務處理系統對該項業務處理完畢後,向記帳系統發送記帳請求,以使記帳系統對該業務進行記帳操作。 具體的,上述待記帳業務的帳務資訊可以是與待記帳業務中與記帳相關的資訊,例如,可以包括待記帳業務記帳的會計科目、每個會計科目所對應的金額、日期、摘要等資訊。 當然,在上述記帳請求中除了攜帶有待記帳業務的帳務資訊外,還可以攜帶有待記帳業務的業務標識。 步驟104,根據上述帳務資訊檢測待記帳業務是否滿足設定的記帳條件;若是,則執行步驟106。 當記帳系統接收到業務處理系統發送的記帳請求後,首先會檢測待記帳業務是否滿足設定的記帳條件,若是滿足,則執行對待記帳業務進行記帳的操作;若是檢測到待記帳業務不滿足設定的記帳條件,這時不會觸發記帳節點對待記帳業務進行記帳。具體的,若是待記帳業務不滿足設定的記帳條件時,可以向業務處理系統發送通知資訊,以通知業務處理系統無法對待記帳業務進行記帳。另外,在發送給業務處理系統中通知資訊中,還可以攜帶有待記帳業務在哪些地方不滿足設定的記帳條件的相關描述,以便於對其進行修改。 具體的,在上述步驟104中,檢測待記帳業務是否滿足設定的記帳條件,實際上就是對待記帳業務的如下兩方面內容進行檢測: (1)、檢測是否可以對待記帳業務進行記帳; (2)、檢測待記帳業務所對應的帳務資訊是否合理。 一般的,會計在對帳務資訊進行記帳時,都需要對需要記帳的帳務資訊進行核查,因此,在本說明書實施例中,檢測待記帳業務所對應的帳務資訊是否合理實際上主要是對帳務資訊中的一些帳務相關資料進行校驗,相當於記帳前的帳務核查。 另外,上述檢測是否可以對待記帳業務進行記帳,可以理解為,檢測是否已經在記帳系統中對待記帳業務進行記帳。 在本說明書實施例中,透過檢測待記帳業務是否滿足設定的記帳條件,可以避免出現在記帳系統中對某項業務重複記帳的情況的發生,並且,透過對帳務資訊進行前置核查,減少了記錄的帳務出錯的情況,提高了記帳的準確性。 在本說明書實施例中,上述設定的記帳條件可以包括以下條件中的至少一項: 是否已經在記帳系統對待記帳業務進行記帳、帳務資訊中的會計科目是否與記帳系統中待記帳業務所對應的會計科目相匹配、帳務資訊中的金額資訊是否有誤。 當然,上述設定的記帳條件可以包括以上列舉的條件中的任意一種、兩種或者三種。當然,在具體實施時,上述步驟104中,檢測待記帳業務是否滿足設定的記帳條件還可以對待記帳業務的其他資訊進行核查,即上述設定的記帳條件還可以為除上述列舉的三種條件之外的其他條件,此處不再一一列舉。 在一種實施方式中,接收到的記帳請求中攜帶有待記帳業務的業務標識,可以在記帳系統的記帳節點中查找是否存在該業務標識所對應的帳務資料,若是存在,則說明已經對待記帳業務進行記帳,即認為待記帳業務不滿足設定的記帳條件。 在一種具體實施方式中,在記帳系統中儲存有各種業務所對應的會計科目,因此,在接收到記帳請求後,從帳務資訊中獲取到待記帳業務的所對應會計科目,檢測該會計科目是否與記帳系統中的會計科目相匹配。具體的,若是帳務資訊中待記帳業務對應三個會計科目,但是,針對待記帳業務,在記帳系統中只儲存有兩個會計科目,則認為帳務資訊中的會計科目與記帳系統中待記帳業務所對應的會計科目不匹配;或者,雖然帳務資訊中待記帳業務所對應的會計科目與記帳系統中儲存的待記帳業務所對應的會計科目的數目相同,但是具體的會計科目存在差異,這種情況下,也認為帳務資訊中的會計科目與記帳系統中待記帳業務所對應的會計科目不匹配。 在一種具體實施方式中,上述檢測帳務資訊中的金額資訊是否有誤,一般可以是對帳務資訊中的金額進行核對,以檢測金額是否有誤。例如,金額應該為正值,但是若是寫成負值,可能就認為金額有誤。 在具體實施時,若是上述設定的記帳條件同時包括上述三者,則當接收到業務處理系統發送的記帳請求後,在檢測待記帳業務是否滿足設定的記帳條件時,則需要一一檢測待記帳業務是否滿足上述三個記帳條件,只有待記帳業務同時滿足上述三個記帳條件時,才可以認為待記帳業務滿足設定的記帳條件。 步驟106,觸發記帳系統中的記帳節點根據上述帳務資訊對待記帳業務進行記帳;其中,上述記帳節點為區塊鏈節點。 在本說明書實施例中,若是檢測到待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據上述帳務資訊對待記帳業務進行記帳。 需要說明的是,上述步驟106中,對待記帳業務進行記帳,實際上是對待記帳業務的帳務資訊進行記錄。 具體的,由於在記帳系統中應用了區塊鏈技術,因此,記帳系統中的記帳節點實際上就是區塊鏈中的節點。 在本說明書實施例中,使用區塊鏈中的節點對待記帳業務進行記帳,保證了記錄在記帳節點中的帳務資料不會被篡改,保證了財務資料的正確性,另外當出現業務資料和帳務資料不一致的情況時,可以確定出是業務資料被篡改,從而實現了業務資料和帳務資料的可追溯性。 具體的,在上述步驟106中,觸發記帳系統中的記帳節點根據帳務資訊對待記帳業務進行記帳,具體包括如下步驟一和步驟二; 步驟一、觸發記帳系統中的共識節點根據上述帳務資訊對記帳節點進行共識校驗;其中,共識節點為區塊鏈中的節點; 步驟二、若校驗結果指示上述記帳節點具有對待記帳業務進行記帳的權限,則觸發記帳節點儲存上述帳務資訊中的帳務資料,以及儲存待記帳業務的業務標識。 其中,上述共識節點為區塊鏈中除記帳節點之外的節點。 在一種具體實施方式中,若是檢測到待記帳業務滿足設定的記帳條件,則記帳模組呼叫記帳節點處理待記帳業務的記帳事務,即可以將攜帶有帳務資訊的記帳請求發送給記帳節點,當記帳節點接收到記帳模組發送的記帳請求後,將該記帳請求中的帳務資訊廣播給共識節點,以使共識節點對記帳節點是否有對待記帳業務進行記帳的權限進行共識。 在具體實施時,上述步驟一種,可以觸發記帳系統中的共識節點利用拜占庭容錯(Practical Byzantine Fault Tolerance,PBFT)演算法根據帳務資訊對記帳節點進行共識校驗。 在本說明書實施例中,記帳節點在對待記帳業務進行記帳時,除了記錄待記帳業務的帳務資訊外,還需要記錄待記帳業務的業務標識。即在記帳節點中,儲存有待記帳業務的業務標識與帳務資料的映射關係,這樣,可以便於後續查找待記帳業務的帳務資訊,從而實現了業務帳務一體化。 在記帳節點儲存了待記帳業務的帳務資訊,以及對應的業務標識後,即記帳節點對待記帳業務進行記帳後,為了便於業務處理系統得知待記帳業務當前是否已經被記帳,在觸發記帳系統中的記帳節點根據帳務資訊對待記帳業務進行記帳之後,該方法還包括: 向業務處理系統發送提示資訊;該提示資訊用於提示已對待記帳業務進行記帳,以使業務處理系統對待記帳業務進行標記。 在本說明書實施例中,在記帳節點對待記帳業務進行記帳後,則向業務處理系統發送提示資訊,當業務處理系統接收到記帳系統發送的提示資訊後,則對待記帳業務進行標記,以表明已經對待記帳業務進行記帳。 在本說明書實施例中,一個記帳系統可以接收一個或多個業務處理系統發送的記帳請求,即一個記帳系統可以與一個或者多個業務處理系統建立連接,若是一個記帳系統與多個業務處理系統建立連接時,記帳系統接收到哪個業務處理系統發送的記帳請求,則在記帳完成後,向該業務處理系統發送提示資訊。例如,同一個記帳系統可以接收業務處理系統A、業務處理系統B、業務處理系統C三個業務處理系統發送的記帳請求,若是記帳系統接收到了業務處理系統A發送的記帳請求,則在記帳節點根據帳務資訊對待記帳業務進行記帳之後,向業務處理系統A發送提示資訊。 在一種具體實施方式中,上述業務處理系統可以是產生費用的系統,例如,可以為產品交易系統、借貸系統、停車場收費系統等。具體的,在業務處理系統中每進行一項業務的交易就會產生費用帳單。在業務處理系統中會儲存所交易業務的業務資料,如,儲存交易的金額、交易的產品、交易的政策等相關資訊;並且在業務處理系統產生費用帳單之後,會向記帳系統發送記帳請求,以使記帳系統按照會計科目、金額的形式對該項業務進行會計記帳。 為便於理解本說明書實施例提供的記帳方法,下述將透過具體實施例介紹該記帳方法。 圖2為本說明書實施例提供的記帳方法的第二種方法流程圖,圖2所示的方法,至少包括如下步驟: 步驟202,業務處理系統在處理完成業務後,記錄該項業務所涉及到的業務資料。 步驟204,業務處理系統,向記帳系統發送記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊。 步驟206,帳務系統根據上述帳務資訊檢測上述業務是否滿足設定的記帳條件;若是,則執行步驟208;否則,結束。 在具體實施時,若是不滿足設定的記帳條件,可以結束整個流程,也可以向業務處理系統發出提示資訊,以提示業務處理系統該帳務資訊不滿足設定的記帳條件。該提示資訊該可以攜帶帳務資訊中不滿足設定的記帳條件的資訊,以便於業務處理系統進行修改。 步驟208,將帳務資訊發送給記帳節點。 步驟210,記帳節點將帳務資訊廣播給共識節點,以使共識節點對記帳節點是否具有對上述業務進行記帳的權限進行共識校驗。 步驟212,若是校驗結果指示記帳節點具有對上述業務進行記帳的權限,則記帳節點記錄上述業務的帳務資訊和業務標識。 步驟214,向業務處理系統發送提示資訊。 上述提示資訊用於提示已經對上述業務進行記帳。 步驟216,業務處理系統對上述業務進行標記。 圖2所對應實施例中,各個步驟的具體實現過程與圖1所對應實施例中各個步驟的具體實現過程相同,因此,各個步驟的具體實現過程可參考圖1所對應實施例,此處不再贅述。 本說明書實施例提供的記帳方法,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 對應於上述記帳方法,基於相同的思路,本說明書實施例還提供了一種記帳裝置,用於執行本說明書實施例提供的記帳方法,圖3為本說明書實施例提供的記帳裝置的模組組成示意圖,圖3所示的裝置,包括: 接收模組301,用於接收業務處理系統發送的記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊; 檢測模組302,用於根據上述帳務資訊檢測待記帳業務是否滿足設定的記帳條件; 觸發模組303,用於若檢測待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據帳務資訊對待記帳業務進行記帳;其中,上述記帳節點為區塊鏈節點。 可選的,上述觸發模組303,包括: 第一觸發單元,用於觸發記帳系統中的共識節點根據帳務資訊對記帳節點進行共識校驗;其中,上述共識節點為區塊鏈中的節點; 第二觸發單元,用於若校驗結果指示記帳節點具有對待記帳業務進行記帳的權限,則觸發記帳節點儲存帳務資訊中的帳務資料,以及儲存待記帳業務的業務標識。 可選的,上述裝置還包括: 發送模組,用於向所述業務處理系統發送提示資訊;該提示資訊用於提示已對待記帳業務進行記帳,以使業務處理系統對待記帳業務進行標記。 可選的,上述設定的記帳條件包括以下條件中的至少一項: 是否已經在記帳系統對待記帳業務進行記帳、帳務資訊中的會計科目是否與記帳系統中待記帳業務所對應的會計科目相匹配、帳務資訊中的金額資訊是否有誤。 可選的,上述第一觸發單元,具體用於: 觸發記帳系統中的共識節點利用PBFT演算法根據帳務資訊對待記帳節點進行共識校驗。 本說明實施例中記帳裝置中各個模組、單元所對應功能的具體實現過程與圖1、圖2所對應實施例中各個步驟的具體實現過程相同,各個模組、單元所對應功能的具體實現過程可參考圖1、圖2所對應實施例,此處不再贅述。 本說明書實施例提供的記帳裝置,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 對應於上述記帳方法,本說明書實施例還提供了一種業務財務一體化系統,圖4顯示了本說明書實施例提供的業務財務一體化系統的結構示意圖,圖4所示的系統,包括:記帳系統401和至少一個業務處理系統402; 業務處理系統402,用於在完成待記帳業務的處理後,向記帳系統發送記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊; 記帳系統401,用於接收業務處理系統402發送的記帳請求;根據上述帳務資訊檢測待記帳業務是否滿足設定的記帳條件;若是,則觸發記帳系統中的記帳節點根據上述帳務資訊對待記帳業務進行記帳;其中,上述記帳節點為區塊鏈中的節點。 需要說明的是,在本說明書實施例中,上述業務財務一體化系統中可以包括一個或者多個業務處理系統402。在圖4所示的業務財務一體化系統中,只畫出了包括多個業務處理系統402的情況,在這裡只是範例性的說明業務財務一體化系統。 在本說明書實施例中,業務財務一體化系統中至少包括兩個系統,分別為記帳系統和業務財務處理系統。其中,本說明書實施例中所提及的記帳系統和業務財務系統均為業務財務一體化系統的子系統。 可選的,上述記帳系統401,還用於向業務處理系統發送已對待記帳業務進行記帳的提示資訊; 上述業務處理系統402,還用於在接收到上述提示資訊後,對待記帳業務進行標記。 可選的,上述記帳系統401,還用於: 觸發記帳系統中的共識節點根據上述帳務資訊對記帳節點進行共識校驗;其中,上述共識節點為區塊鏈中的節點;若檢驗結果指示記帳節點具有對待記帳業務進行記帳的權限,則觸發記帳節點儲存帳務資訊中的帳務資料,以及儲存待記帳業務的業務標識。 可選的,上述設定的記帳條件包括以下條件中的至少一項: 是否已經在記帳系統對待記帳業務進行記帳、帳務資訊中的會計科目是否與記帳系統中待記帳業務所對應的會計科目相匹配、帳務資訊中的金額資訊是否有誤。 可選的,上述記帳系統,還具體用於: 觸發記帳系統中的共識節點利用PBFT演算法根據帳務資訊對待記帳節點進行共識校驗。 本說明書實施例中提供的業務財務一體化系統中,各個系統所對應功能的具體實現步驟與圖1、圖2所對應方法實施例中各個步驟的具體實現過程相同,可參考圖1、圖2所對應的方法實施例,此處不再贅述。 為便於理解本說明書實施例提供的業務財務一體化系統,下述將結合本說明書實施例提供的業務財務一體化系統的具體結構示意圖介紹記帳方法的一種具體流程。 圖5為本說明書實施例提供的業務財務一體化系統的具體結構示意圖,在圖5所示的結構中,包括業務處理系統1、業務處理系統2、業務處理系統N,共N個業務處理系統,其中,N為正整數。在每個業務處理系統中均設置有業務記帳模組501,在記帳系統中設置有記帳節點502,記帳節點502上安裝了區塊鏈應用程式,因此,記帳節點502為區塊鏈中的節點。在記帳系統上還設置有檢測待記帳業務是否滿足設定的記帳條件的檢測模組503,以及對待記帳業務進行共識校驗的共識節點504。 在一種具體實施方式中,業務處理系統1、業務處理系統2、業務處理系統N中的任意一個在處理完成業務後,可以向記帳系統發送記帳請求。例如,業務處理系統1向記帳系統發送記帳請求,該記帳請求中攜帶有待記帳業務的帳務資訊,當結帳系統接收到業務處理系統1發送的記帳請求後,先由檢測模組503檢測該待記帳業務是否滿足設定的記帳條件,若是滿足設定的記帳條件,則呼叫記帳節點502對待記帳業務進行記帳處理,具體的,當記帳節點502接收到記帳請求後,將記帳請求中的帳務資訊廣播給共識節點504,由共識節點504對記帳節點是否具有對待記帳業務進行記帳的權限進行共識,若是共識節點達成共識,認為記帳節點502具有對待記帳業務進行記帳的權限,則儲存待記帳業務的帳務資訊,以及對應的儲存待記帳業務的業務標識;在記帳節點502對待記帳業務進行記帳後,記帳系統向業務處理系統1發送提示資訊,以提示業務處理系統1已經對待記帳業務進行記帳;當業務處理系統1接收到記帳系統發送的提示資訊後,則呼叫業務記帳模組501對待記帳業務進行標記。 本說明書實施例提供的業務財務一體化系統,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 進一步地,基於上述圖1至圖2所示的方法,本說明書實施例還提供了一種記帳設備,如圖6所示。 記帳設備可因配置或性能不同而產生比較大的差異,可以包括一或多個的處理器601和儲存器602,儲存器602中可以儲存有一或多個儲存應用程式或資料。其中,儲存器602可以是短暫儲存或持久儲存。儲存在儲存器602的應用程式可以包括一或多個模組(圖示未顯示),每個模組可以包括對記帳設備中的一系列電腦可執行指令。更進一步地,處理器601可以設置為與儲存器602通訊,在記帳設備上執行儲存器602中的一系列電腦可執行指令。記帳設備還可以包括一或多個電源603,一或多個有線或無線網路介面604,一或多個輸入輸出介面605,一或多個鍵盤606等。 在一個具體的實施例中,記帳設備包括有儲存器,以及一或多個的程式,其中一或多個程式儲存於儲存器中,且一或多個程式可以包括一或多個模組,且每個模組可以包括對記帳設備中的一系列電腦可執行指令,且經配置以由一或多個處理器執行該一或多個程式包含用於進行以下電腦可執行指令: 接收業務處理系統發送的記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊; 根據上述帳務資訊檢測待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據上述帳務資訊對待記帳業務進行記帳;其中,上述記帳節點為區塊鏈中的節點。 可選的,電腦可執行指令在被執行時,觸發記帳系統中的記帳根據上述帳務資訊對上述待記帳業務進行記帳,包括: 觸發上述記帳系統中的共識節點根據上述帳務資訊對上述記帳節點進行共識校驗;其中,上述共識節點為區塊鏈中的節點; 若校驗結果指示上述記帳節點具有對上述待記帳業務進行記帳的權限,則觸發上述記帳節點儲存上述帳務資訊中的帳務資料,以及儲存上述待記帳業務的業務標識。 可選的,電腦可執行指令在被執行時,觸發記帳系統中的記帳節點根據上述帳務資訊對上述待記帳業務進行記帳之後,上述方法還包括: 向上述業務處理系統發送提示資訊;上述提示資訊用於提示已對上述待記帳業務進行記帳,以使上述業務處理系統對上述待記帳業務進行標記。 可選的,電腦可執行指令在被執行時,上述設定的記帳條件包括以下條件中的至少一項: 是否已經在記帳系統對待記帳業務進行記帳、帳務資訊中的會計科目是否與記帳系統中待記帳業務所對應的會計科目相匹配、帳務資訊中的金額資訊是否有誤。 可選的,電腦可執行指令在被執行時,上述觸發上述記帳系統中的共識節點根據上述帳務資訊對上述記帳節點進行共識校驗包括: 觸發上述記帳系統中的共識節點利用拜占庭容錯PBFT演算法根據上述帳務資訊對上述記帳節點進行共識校驗。 本說明書實施例提供的記帳設備,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 進一步地,基於上述圖1至圖2所示的方法,本說明書實施例還提供了一種儲存媒體,用於儲存電腦可執行指令,一種具體的實施例中,該儲存媒體可以為USB隨身碟、光碟、硬碟等,該儲存媒體儲存的電腦可執行指令在被處理器執行時,能實現以下流程: 接收業務處理系統發送的記帳請求;其中,該記帳請求中攜帶有待記帳業務的帳務資訊; 根據上述帳務資訊檢測待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據上述帳務資訊對待記帳業務進行記帳;其中,上述記帳節點為區塊鏈中的節點。 可選的,儲存媒體儲存的電腦可執行指令在被處理器執行時,觸發記帳系統中的記帳根據上述帳務資訊對上述待記帳業務進行記帳,包括: 觸發上述記帳系統中的共識節點根據上述帳務資訊對上述記帳節點進行共識校驗;其中,上述共識節點為區塊鏈中的節點; 若校驗結果指示上述記帳節點具有對上述待記帳業務進行記帳的權限,則觸發上述記帳節點儲存上述帳務資訊中的帳務資料,以及儲存上述待記帳業務的業務標識。 可選的,儲存媒體儲存的電腦可執行指令在被處理器執行時,觸發記帳系統中的記帳節點根據上述帳務資訊對上述待記帳業務進行記帳之後,上述方法還包括: 向上述業務處理系統發送提示資訊;上述提示資訊用於提示已對上述待記帳業務進行記帳,以使上述業務處理系統對上述待記帳業務進行標記。 可選的,儲存媒體儲存的電腦可執行指令在被處理器執行時,上述設定的記帳條件包括以下條件中的至少一項: 是否已經在記帳系統對待記帳業務進行記帳、帳務資訊中的會計科目是否與記帳系統中待記帳業務所對應的會計科目相匹配、帳務資訊中的金額資訊是否有誤。 可選的,儲存媒體儲存的電腦可執行指令在被處理器執行時,上述觸發上述記帳系統中的共識節點根據上述帳務資訊對上述記帳節點進行共識校驗包括: 觸發上述記帳系統中的共識節點利用拜占庭容錯PBFT演算法根據上述帳務資訊對上述記帳節點進行共識校驗。 本說明書實施例提供的儲存媒體儲存的電腦可執行指令在被處理器執行時,將區塊鏈技術應用於記帳系統中,當接收到業務處理系統發送的記帳請求後,若檢測到該記帳請求中攜帶的待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據待記帳業務的帳務資訊對待記帳業務進行記帳;其中,該記帳節點為區塊鏈節點;在本說明書實施例中,由於區塊鏈技術具有不可篡改性,因此可以保證儲存在記帳節點中的帳務資料無法被篡改,因此,若是出現儲存在業務處理系統中的業務資料與儲存在記帳系統中的帳務資料不一致的情況時,可確定是業務資料被篡改,實現了對業務資料和帳務資料的追溯。 在20世紀90年代,對於一個技術的改進可以很明顯地區分是硬體上的改進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都透過將改進的方法流程程式化到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模組來實現。例如,可程式化邏輯裝置(Programmable Logic Device,PLD)(例如現場可程式化閘陣列(Field Programmable Gate Array,FPGA))就是這樣一種積體電路,其邏輯功能由用戶對裝置程式化來確定。由設計人員自行程式化來把一個數位系統“整合”在一片PLD上,而不需要請晶片製造廠商來設計和製作專用的積體電路晶片。而且,如今,取代手工地製作積體電路晶片,這種程式化也多半改用“邏輯編譯器(logic compiler)”軟體來實現,它與程式開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始代碼也得用特定的程式化語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL也並非僅有一種,而是有許多種,如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)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)與Verilog。本領域技術人員也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯程式化並程式化到積體電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。 控制器可以按任何適當的方式實現,例如,控制器可以採取例如微處理器或處理器以及儲存可由該(微)處理器執行的電腦可讀程式代碼(例如軟體或韌體)的電腦可讀媒體、邏輯閘、開關、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、可程式化邏輯控制器和嵌入微控制器的形式,控制器的例子包括但不限於以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20 以及Silicone Labs C8051F320,儲存器控制器還可以被實現為儲存器的控制邏輯的一部分。本領域技術人員也知道,除了以純電腦可讀程式代碼方式實現控制器以外,完全可以透過將方法步驟進行邏輯程式化來使得控制器以邏輯閘、開關、特殊應用積體電路、可程式化邏輯控制器和嵌入微控制器等的形式來實現相同功能。因此這種控制器可以被認為是一種硬體部件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模組又可以是硬體部件內的結構。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體的,電腦例如可以為個人電腦、膝上型電腦、蜂巢式電話、相機電話、智慧手機、個人數位助理、媒體播放器、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任何設備的組合。 為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本發明時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。 本領域內的技術人員應明白,本發明的實施例可提供為方法、系統、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體態樣的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式代碼的電腦可用儲存媒體(包括但不限於磁碟儲存器、CD-ROM、光學儲存器等)上實施的電腦程式產品的形式。 本發明是參照根據本說明書實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式化資料處理設備的處理器以產生一個機器,使得透過電腦或其他可程式化資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。 這些電腦程式指令也可儲存在能引導電腦或其他可程式化資料處理設備以特定方式工作的電腦可讀儲存器中,使得儲存在該電腦可讀儲存器中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。 這些電腦程式指令也可裝載到電腦或其他可程式化資料處理設備上,使得在電腦或其他可程式化設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式化設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。 在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的範例。 電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可程式化唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫態電腦可讀媒體(transitory media),如調變的資料訊號和載波。 還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 本領域技術人員應明白,本發明的實施例可提供為方法、系統或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體態樣的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式代碼的電腦可用儲存媒體(包括但不限於磁碟儲存器、CD-ROM、光學儲存器等)上實施的電腦程式產品的形式。 本發明可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的例程、程式、物件、組件、資料結構等等。也可以在分布式計算環境中實踐本發明,在這些分布式計算環境中,由透過通訊網路而被連接的遠端處理設備來執行任務。在分布式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠端電腦儲存媒體中。 本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 以上所述僅為本發明的實施例而已,並不用於限制本發明。對於本領域技術人員來說,本發明可以有各種更改和變化。凡在本發明的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本發明的申請專利範圍的範圍之內。In order to enable those skilled in the art to better understand the technical solutions in this specification, The following will combine the drawings in the embodiments of this specification, Clear the technical solutions in the examples of this specification, Fully describe, Obviously, The described embodiments are only a part of the embodiments of this specification, Not all embodiments. Based on the embodiments in this specification, All other embodiments obtained by those of ordinary skill in the art without creative work, All should fall within the protection scope of this manual. The idea of the embodiments of this specification is that, Apply blockchain technology to the accounting system, Since the blockchain is not tamper-proof, such, It can be guaranteed that the data stored in the accounting node (accounting node is the blockchain node) in the accounting system will not be tampered with. When the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be traced back that the business data stored in the business processing system has been tampered with, Realized the traceability of business data and accounting data. Based on, The embodiment of this specification provides a billing method, Device and business financial integration system. FIG. 1 is a flowchart of a first method of a billing method provided by an embodiment of the present specification, The method shown in Figure 1, At least include the following steps: Step 102, Receive the accounting request sent by the business processing system; among them, The billing request carries the billing information of the business to be billed. among them, The execution subject of the method provided by the embodiment of this specification is a billing device, Can be applied to the accounting system. specific, In the embodiment of this specification, After processing the business processing system, Businesses that require an accounting system for accounting are called to-be-accounted businesses. In the embodiment of this specification, When accessing a new business, First, the business processing system processes the business, And after the processing is completed, The business processing system records the accounting data involved in the business. specific, After the business processing system finishes processing the business, Send billing requests to the billing system, So that the billing system performs billing operations on the business. specific, The accounting information of the business to be billed may be information related to accounting in the business to be billed, E.g, Can include accounting accounts to be booked for business, The amount corresponding to each account, date, Summary and other information. of course, In addition to carrying the accounting information of the business to be billed in the above billing request, It can also carry the service identifier of the service to be billed. Step 104, According to the above accounting information to detect whether the business to be recorded meets the set accounting conditions; if, Then step 106 is performed. When the accounting system receives the accounting request sent by the business processing system, First, it will detect whether the business to be charged meets the set accounting conditions, If satisfied, Then perform the operation of accounting for the accounting business; If it is detected that the business to be billed does not meet the set billing conditions, At this time, the billing node will not be triggered to bill the billing business. specific, If the business to be billed does not meet the set billing conditions, You can send notification information to the business processing system, In order to notify the business processing system that the billing business cannot be billed. In addition, In the notification information sent to the business processing system, You can also carry a description of where the billing service is not meeting the set billing conditions, In order to modify it. specific, In the above step 104, Check whether the business to be billed meets the set billing conditions, In fact, it is to detect the following two aspects of the accounting business: (1), Check whether the billing business can be billed; (2), Check whether the accounting information corresponding to the business to be recorded is reasonable. In general, When the accountant keeps account information, All need to check the accounting information that needs to be booked, therefore, In the embodiment of this specification, To check whether the accounting information corresponding to the business to be recorded is reasonable is actually to verify some accounting related data in the accounting information, It is equivalent to checking the accounts before accounting. In addition, Whether the above-mentioned detection can be used for accounting, Can be understood as, Check whether the billing business has been billed in the billing system. In the embodiment of this specification, By detecting whether the business to be billed meets the set billing conditions, Can avoid the occurrence of repeated accounting for a certain business in the accounting system, and, Through pre-checking the accounting information, Reduced errors in recorded accounts, Improve the accuracy of accounting. In the embodiment of this specification, The accounting conditions set above may include at least one of the following conditions: Whether the billing business has been billed in the billing system, Whether the accounting account in the accounting information matches the accounting account corresponding to the business to be recorded in the accounting system, Whether the amount information in the billing information is incorrect. of course, The accounting conditions set above may include any of the conditions listed above, Two or three. of course, In the specific implementation, In the above step 104, Check whether the business to be billed meets the set accounting conditions and check other information of the business to be billed, That is, the accounting conditions set above may be other than the three conditions listed above. I will not list them one by one here. In one embodiment, The received billing request carries the business identifier of the business to be billed, You can find in the accounting node of the accounting system whether there is accounting data corresponding to the business ID, If it exists, It means that the billing business has been billed, That is, the business to be billed does not meet the set billing conditions. In a specific embodiment, The accounting accounts corresponding to various businesses are stored in the accounting system, therefore, After receiving the billing request, Obtain the corresponding accounting account from the accounting information to be accounted for business, Check whether the account title matches the account title in the accounting system. specific, If there are three accounting subjects in the accounting information to be recorded, but, For the business to be billed, There are only two accounting subjects stored in the accounting system, It is considered that the accounting account in the accounting information does not match the accounting account corresponding to the business to be recorded in the accounting system; or, Although the number of accounting accounts corresponding to the business to be recorded in the accounting information is the same as the number of accounting accounts corresponding to the business to be recorded stored in the accounting system, However, there are differences in specific accounting subjects, In this situation, It is also considered that the accounting account in the accounting information does not match the accounting account corresponding to the business to be recorded in the accounting system. In a specific embodiment, The above check whether the amount information in the accounting information is wrong, Generally, it can be to check the amount in the account information, To detect whether the amount is wrong. E.g, The amount should be positive, But if it is written as a negative value, You may think that the amount is wrong. In the specific implementation, If the accounting conditions set above include both of the above three, Then, after receiving the accounting request sent by the business processing system, When detecting whether the business to be billed meets the set billing conditions, You need to check whether the business to be billed meets the above three billing conditions, Only when the business to be billed meets the above three billing conditions at the same time, Only then can the business to be billed meet the set billing conditions. Step 106, Trigger the accounting node in the accounting system to account for the accounting service according to the above accounting information; among them, The above accounting node is a blockchain node. In the embodiment of this specification, If it is detected that the business to be billed meets the set billing conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the above billing information. It should be noted, In step 106 above, Accounting for accounting transactions, In fact, the accounting information of the accounting business is recorded. specific, Due to the application of blockchain technology in the accounting system, therefore, The accounting node in the accounting system is actually a node in the blockchain. In the embodiment of this specification, Use the nodes in the blockchain to account for the accounting business, It ensures that the accounting information recorded in the accounting node will not be tampered with, Ensure the accuracy of financial information, In addition, when the business information and accounting information are inconsistent, It can be determined that the business information has been tampered with, Thereby achieving traceability of business data and accounting data. specific, In the above step 106, Trigger the billing node in the billing system to bill the billing business according to the billing information, Specifically, it includes the following steps one and two; step one, Trigger the consensus node in the accounting system to perform consensus verification on the accounting node according to the above accounting information; among them, The consensus node is a node in the blockchain; Step two If the verification result indicates that the above accounting node has the authority to account for the accounting service, Then trigger the accounting node to store the accounting data in the above accounting information, And store the business identifier of the business to be billed. among them, The above consensus node is a node other than the accounting node in the blockchain. In a specific embodiment, If it is detected that the business to be billed meets the set billing conditions, Then, the accounting module calls the accounting node to process the accounting transaction of the business to be accounted, That is, an accounting request carrying accounting information can be sent to the accounting node, When the accounting node receives the accounting request sent by the accounting module, Broadcast the accounting information in the accounting request to the consensus node, In order to make the consensus node agree on whether the accounting node has the authority to account for the accounting service. In the specific implementation, One of the above steps, It can trigger the consensus node in the accounting system to use Byzantine Fault Tolerance (Practical Byzantine Fault Tolerance, PBFT) algorithm performs consensus verification on the accounting nodes based on accounting information. In the embodiment of this specification, When the accounting node accounts for the accounting service, In addition to recording the accounting information of the business to be recorded, You also need to record the business ID of the business to be billed. In the accounting node, Store the mapping relationship between the business ID of the to-be-accounted business and the accounting data, such, It can facilitate the subsequent search for the accounting information of the business to be recorded, Thus realizing the integration of business accounting. The account information of the business to be recorded is stored in the accounting node, And the corresponding business logo, That is, after the accounting node accounts for the accounting service, In order for the business processing system to know whether the business to be billed has been billed, After triggering the accounting node in the accounting system to account for the accounting service according to the accounting information, The method also includes: Send reminder information to the business processing system; The reminder information is used to remind the billing business to be billed, To enable the business processing system to mark the billing business. In the embodiment of this specification, After the accounting node accounts for the accounting service, Then send reminder information to the business processing system, When the business processing system receives the prompt information sent by the accounting system, To mark the billing business, In order to indicate that the billing business has been billed. In the embodiment of this specification, An accounting system can receive accounting requests sent by one or more business processing systems, That is, an accounting system can establish a connection with one or more business processing systems, If a billing system is connected to multiple business processing systems, The accounting system received the accounting request sent by which business processing system, After the accounting is completed, Send reminder information to the business processing system. E.g, The same accounting system can receive business processing system A, Business Processing System B, Billing request sent by three business processing systems of business processing system C, If the accounting system receives the accounting request sent by the business processing system A, Then, after the accounting node records the accounting service according to the accounting information, Send reminder information to business processing system A. In a specific embodiment, The above-mentioned business processing system may be a system that generates costs, E.g, Can be a product trading system, Lending system, Parking lot charging system, etc. specific, Every transaction of a business in the business processing system generates an expense bill. In the business processing system, the business data of the transaction business will be stored, Such as, Store the transaction amount, Traded products, Related information such as transaction policies; And after the business processing system generates an expense bill, Will send a billing request to the billing system, In order to make the accounting system according to the account, The form of amount is used to account for this business. To facilitate understanding of the accounting method provided by the embodiments of this specification, The accounting method will be described below through specific embodiments. 2 is a flowchart of a second method of a billing method provided by an embodiment of the present specification, The method shown in Figure 2, At least include the following steps: Step 202, After the business processing system processes the business, Record business information related to the business. Step 204, Business processing system, Send accounting requests to the accounting system; among them, The billing request carries the billing information of the business to be billed. Step 206, The accounting system detects whether the above business meets the set accounting conditions based on the above accounting information; if, Then step 208 is executed; otherwise, End. In the specific implementation, If it does not meet the set accounting conditions, Can end the whole process, You can also send reminder information to the business processing system, To remind the business processing system that the accounting information does not meet the set accounting conditions. The reminder information can carry information in the accounting information that does not meet the set accounting conditions, In order to facilitate the modification of the business processing system. Step 208, Send accounting information to the accounting node. Step 210, The accounting node broadcasts the accounting information to the consensus node, In this way, the consensus node verifies whether the accounting node has the authority to perform accounting on the above-mentioned business. Step 212, If the verification result indicates that the accounting node has the authority to account for the above business, Then the accounting node records the accounting information and business identification of the above-mentioned business. Step 214, Send reminder information to the business processing system. The above reminder information is used to remind that the above business has been billed. Step 216, The business processing system marks the above business. In the embodiment corresponding to FIG. 2, The specific implementation process of each step is the same as the specific implementation process of each step in the embodiment corresponding to FIG. 1, therefore, The specific implementation process of each step can refer to the embodiment corresponding to FIG. 1, I won't repeat them here. The accounting method provided by the embodiment of this specification, Apply blockchain technology to the accounting system, After receiving the billing request sent by the business processing system, If it is detected that the to-be-accounted business carried in the accounting request meets the set accounting conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information of the billing business; among them, The accounting node is a blockchain node; In the embodiment of this specification, Since the blockchain technology is not tamper-proof, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with, therefore, If the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be determined that the business information has been tampered with, Realized the traceability of business data and accounting data. Corresponding to the above accounting method, Based on the same idea, An embodiment of this specification also provides an accounting device, It is used to execute the accounting method provided by the embodiment of this specification, 3 is a schematic diagram of the module composition of the accounting device provided by the embodiment of the present specification, The device shown in Figure 3, include: Receive module 301, Used to receive the accounting request sent by the business processing system; among them, The accounting request carries the accounting information of the business to be accounted for; Detection module 302, Used to detect whether the to-be-accounted business meets the set accounting conditions based on the above accounting information; Trigger module 303, It is used to detect that the business to be billed meets the set billing conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information; among them, The above accounting node is a blockchain node. Optional, The above trigger module 303, include: The first trigger unit, Used to trigger the consensus node in the accounting system to perform consensus verification on the accounting node based on accounting information; among them, The above consensus nodes are nodes in the blockchain; Second trigger unit, It is used if the verification result indicates that the accounting node has the authority to perform accounting for the accounting service, Then the accounting node is triggered to store the accounting data in the accounting information, And store the business identifier of the business to be billed. Optional, The above device also includes: Sending module, Used to send prompt information to the business processing system; The reminder information is used to remind the billing business to be billed, To enable the business processing system to mark the billing business. Optional, The accounting conditions set above include at least one of the following conditions: Whether the billing business has been billed in the billing system, Whether the accounting account in the accounting information matches the accounting account corresponding to the business to be recorded in the accounting system, Whether the amount information in the billing information is incorrect. Optional, The above first trigger unit, Specifically used for: Trigger the consensus node in the accounting system to use the PBFT algorithm to perform consensus verification on the accounting node according to the accounting information. Each module in the accounting device in the embodiment of this description, The specific implementation process of the function corresponding to the unit is shown in Figure 1. The specific implementation process of each step in the embodiment corresponding to FIG. 2 is the same, Various modules, The specific implementation process of the function corresponding to the unit can refer to Figure 1. The embodiment corresponding to Figure 2, I won't repeat them here. The accounting device provided by the embodiment of this specification, Apply blockchain technology to the accounting system, After receiving the billing request sent by the business processing system, If it is detected that the to-be-accounted business carried in the accounting request meets the set accounting conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information of the billing business; among them, The accounting node is a blockchain node; In the embodiment of this specification, Since the blockchain technology is not tamper-proof, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with, therefore, If the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be determined that the business information has been tampered with, Realized the traceability of business data and accounting data. Corresponding to the above accounting method, The embodiment of this specification also provides a business and financial integration system, FIG. 4 shows a schematic structural diagram of a business and financial integration system provided by an embodiment of this specification, The system shown in Figure 4, include: Accounting system 401 and at least one business processing system 402; Business processing system 402, Used to complete the processing of the business to be billed, Send accounting requests to the accounting system; among them, The accounting request carries the accounting information of the business to be accounted for; Accounting system 401, Used to receive the accounting request sent by the business processing system 402; According to the above accounting information to detect whether the business to be recorded meets the set accounting conditions; if, Then, the billing node in the billing system is triggered to bill the billing business according to the above billing information; among them, The above accounting node is a node in the blockchain. It should be noted, In the embodiment of this specification, The above business and financial integration system may include one or more business processing systems 402. In the business and financial integration system shown in Figure 4, Only the situation including multiple business processing systems 402 is drawn, Here is only an example to illustrate the business and financial integration system. In the embodiment of this specification, The business and financial integration system includes at least two systems, Respectively, accounting system and business financial processing system. among them, The accounting system and business financial system mentioned in the embodiments of the present specification are all subsystems of the business and financial integration system. Optional, The above accounting system 401, It is also used to send reminder information to the business processing system that the billing business has been billed; The above business processing system 402, Also used to receive the above prompt information, Mark the billing business. Optional, The above accounting system 401, Also used for: Trigger the consensus node in the accounting system to perform consensus verification on the accounting node according to the above accounting information; among them, The above consensus nodes are nodes in the blockchain; If the inspection result indicates that the accounting node has the authority to perform accounting for the accounting service, Then the accounting node is triggered to store the accounting data in the accounting information, And store the business identifier of the business to be billed. Optional, The accounting conditions set above include at least one of the following conditions: Whether the billing business has been billed in the billing system, Whether the accounting account in the accounting information matches the accounting account corresponding to the business to be recorded in the accounting system, Whether the amount information in the billing information is incorrect. Optional, The above accounting system, Also specifically used for: Trigger the consensus node in the accounting system to use the PBFT algorithm to perform consensus verification on the accounting node according to the accounting information. In the business and financial integration system provided in the embodiments of this specification, The specific implementation steps of the corresponding functions of each system are shown in Figure 1. The specific implementation process of each step in the method embodiment corresponding to FIG. 2 is the same, Refer to Figure 1, The method embodiment corresponding to FIG. 2, I won't repeat them here. To facilitate understanding of the business and financial integration system provided by the embodiments of this specification, The following describes a specific flow of the accounting method in conjunction with the specific structural schematic diagram of the business and financial integration system provided by the embodiments of the present specification. FIG. 5 is a specific structural schematic diagram of a business and financial integration system provided by an embodiment of the specification, In the structure shown in Figure 5, Including business processing system 1. Business processing system 2. Business processing system N, A total of N business processing systems, among them, N is a positive integer. Each business processing system is provided with a business accounting module 501, An accounting node 502 is provided in the accounting system, The blockchain application is installed on the accounting node 502, therefore, The accounting node 502 is a node in the blockchain. A detection module 503 for detecting whether the business to be charged meets the set accounting conditions is also provided on the billing system, And a consensus node 504 that performs consensus verification on the accounting service. In a specific embodiment, Business processing system 1. Business processing system 2. After any one of the business processing systems N processes the business, An accounting request can be sent to the accounting system. E.g, The business processing system 1 sends an accounting request to the accounting system, The billing request carries the billing information of the business to be billed, When the checkout system receives the billing request sent by the business processing system 1, First, the detection module 503 detects whether the business to be billed meets the set billing conditions, If it meets the set accounting conditions, Then call the accounting node 502 to perform accounting processing on the accounting service, specific, When the accounting node 502 receives the accounting request, Broadcast the accounting information in the accounting request to the consensus node 504, Consensus node 504 agrees on whether the accounting node has the authority to account for the accounting service, If consensus nodes reach consensus, Considering that the billing node 502 has the authority to bill the billing business, Then store the accounting information of the business to be recorded, And the corresponding business identifier that stores the business to be billed; After the accounting node 502 performs accounting for the accounting service, The accounting system sends prompt information to the business processing system 1, To remind the business processing system 1 that the accounting business has been billed; When the business processing system 1 receives the prompt information sent by the accounting system, Then, the call service accounting module 501 marks the accounting service. The business and financial integration system provided by the embodiments of this specification, Apply blockchain technology to the accounting system, After receiving the billing request sent by the business processing system, If it is detected that the to-be-accounted business carried in the accounting request meets the set accounting conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information of the billing business; among them, The accounting node is a blockchain node; In the embodiment of this specification, Since the blockchain technology is not tamper-proof, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with, therefore, If the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be determined that the business information has been tampered with, Realized the traceability of business data and accounting data. further, Based on the methods shown in Figures 1 to 2 above, The embodiment of this specification also provides a billing device, As shown in Figure 6. Accounting equipment can have relatively large differences due to different configurations or performance, May include one or more processors 601 and storage 602, The storage 602 may store one or more storage applications or data. among them, The storage 602 may be short-term storage or persistent storage. The application stored in the storage 602 may include one or more modules (not shown), Each module may include a series of computer-executable instructions in the accounting device. go a step further, The processor 601 may be configured to communicate with the storage 602, A series of computer-executable instructions in the storage 602 are executed on the accounting device. The billing device may also include one or more power sources 603, One or more wired or wireless network interfaces 604, One or more input and output interfaces 605, One or more keyboards 606, etc. In a specific embodiment, Accounting equipment includes storage, And one or more programs, One or more programs are stored in the memory, And one or more programs may include one or more modules, And each module can include a series of computer-executable instructions in the accounting equipment, And configured to be executed by one or more processors, the one or more programs include computer executable instructions for: Receive the accounting request sent by the business processing system; among them, The accounting request carries the accounting information of the business to be accounted for; According to the above accounting information to detect whether the business to be recorded meets the set accounting conditions; if, Then, the billing node in the billing system is triggered to bill the billing business according to the above billing information; among them, The above accounting node is a node in the blockchain. Optional, When computer executable instructions are executed, Trigger the accounting in the accounting system to account for the above-mentioned to-be-accounted business according to the above-mentioned accounting information, include: Trigger the consensus node in the accounting system to perform a consensus check on the accounting node based on the accounting information; among them, The above consensus nodes are nodes in the blockchain; If the verification result indicates that the billing node has the authority to bill the business to be billed, Then the above accounting node is triggered to store the accounting data in the above accounting information, And store the business identifier of the business to be billed. Optional, When computer executable instructions are executed, After triggering the accounting node in the accounting system to account for the above-mentioned to-be-accounted business according to the above accounting information, The above method also includes: Send reminder information to the above business processing system; The above prompt information is used to remind that the above-mentioned business to be billed has been billed, In order to enable the business processing system to mark the business to be billed. Optional, When computer executable instructions are executed, The accounting conditions set above include at least one of the following conditions: Whether the billing business has been billed in the billing system, Whether the accounting account in the accounting information matches the accounting account corresponding to the business to be recorded in the accounting system, Whether the amount information in the billing information is incorrect. Optional, When computer executable instructions are executed, The above triggering the consensus node in the accounting system to perform consensus verification on the accounting node according to the accounting information includes: Trigger the consensus node in the accounting system to use the Byzantine fault-tolerant PBFT algorithm to perform consensus verification on the accounting node based on the accounting information. The billing device provided by the embodiment of this specification, Apply blockchain technology to the accounting system, After receiving the billing request sent by the business processing system, If it is detected that the to-be-accounted business carried in the accounting request meets the set accounting conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information of the billing business; among them, The accounting node is a blockchain node; In the embodiment of this specification, Since the blockchain technology is not tamper-proof, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with, therefore, If the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be determined that the business information has been tampered with, Realized the traceability of business data and accounting data. further, Based on the methods shown in Figures 1 to 2 above, An embodiment of this specification also provides a storage medium, Used to store computer executable instructions, In a specific embodiment, The storage medium can be a USB flash drive, CD, Hard drives, etc., When the computer executable instructions stored in the storage medium are executed by the processor, Can achieve the following process: Receive the accounting request sent by the business processing system; among them, The accounting request carries the accounting information of the business to be accounted for; According to the above accounting information to detect whether the business to be recorded meets the set accounting conditions; if, Then, the billing node in the billing system is triggered to bill the billing business according to the above billing information; among them, The above accounting node is a node in the blockchain. Optional, When the computer executable instructions stored in the storage medium are executed by the processor, Trigger the accounting in the accounting system to account for the above-mentioned to-be-accounted business according to the above-mentioned accounting information, include: Trigger the consensus node in the accounting system to perform a consensus check on the accounting node based on the accounting information; among them, The above consensus nodes are nodes in the blockchain; If the verification result indicates that the billing node has the authority to bill the business to be billed, Then the above accounting node is triggered to store the accounting data in the above accounting information, And store the business identifier of the business to be billed. Optional, When the computer executable instructions stored in the storage medium are executed by the processor, After triggering the accounting node in the accounting system to account for the above-mentioned to-be-accounted business according to the above accounting information, The above method also includes: Send reminder information to the above business processing system; The above prompt information is used to remind that the above-mentioned business to be billed has been billed, In order to enable the business processing system to mark the business to be billed. Optional, When the computer executable instructions stored in the storage medium are executed by the processor, The accounting conditions set above include at least one of the following conditions: Whether the billing business has been billed in the billing system, Whether the accounting account in the accounting information matches the accounting account corresponding to the business to be recorded in the accounting system, Whether the amount information in the billing information is incorrect. Optional, When the computer executable instructions stored in the storage medium are executed by the processor, The above triggering the consensus node in the accounting system to perform consensus verification on the accounting node according to the accounting information includes: Trigger the consensus node in the accounting system to use the Byzantine fault-tolerant PBFT algorithm to perform consensus verification on the accounting node based on the accounting information. When the computer-executable instructions stored in the storage medium provided by the embodiments of the present specification are executed by the processor, Apply blockchain technology to the accounting system, After receiving the billing request sent by the business processing system, If it is detected that the to-be-accounted business carried in the accounting request meets the set accounting conditions, Then, the billing node in the billing system is triggered to bill the billing business according to the billing information of the billing business; among them, The accounting node is a blockchain node; In the embodiment of this specification, Since the blockchain technology is not tamper-proof, Therefore, it can be guaranteed that the accounting data stored in the accounting node cannot be tampered with, therefore, If the business data stored in the business processing system and the accounting data stored in the accounting system are inconsistent, It can be determined that the business information has been tampered with, Realized the traceability of business data and accounting data. In the 1990s, Improvements in a technology can be clearly distinguished as improvements in hardware (for example, For diodes, Transistor, The improvement of circuit structures such as switches) is also an improvement in software (improvement of method flow). however, with the development of technology, Many of today's method and process improvements can already be regarded as direct improvements in the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. therefore, It cannot be said that the improvement of a method and process cannot be achieved with hardware physical modules. E.g, Programmable Logic Device (Programmable Logic Device, PLD) (such as Field Programmable Gate Array, FPGA)) is such an integrated circuit, Its logical function is determined by the user programming the device. It is up to the designer to “integrate” a digital system on a PLD, There is no need to ask chip manufacturers to design and manufacture dedicated integrated circuit chips. and, now, Instead of manually making integrated circuit chips, Most of this programming is also implemented with "logic compiler" software, It is similar to the software compiler used in program development, And the original code to be compiled must also be written in a specific programming language, This is called the hardware description language (Hardware Description Language, HDL), And HDL is not the only one, But there are many kinds, 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., Currently the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be clear, It is only necessary to logically program the method flow using the above hardware description languages and program it into the integrated circuit, It is easy to get the hardware circuit that implements this logic method flow. The controller can be implemented in any suitable way, E.g, The controller may be, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro) processor, Logic gate, switch, Special Application Integrated Circuit (Application Specific Integrated Circuit, ASIC), Programmable logic controller and embedded microcontroller, Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, The memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art also know that In addition to implementing the controller in pure computer-readable program code, It is completely possible to make the controller use logic gates by logically programming the method steps. switch, Integrated circuits for special applications, Programmable logic controllers and embedded microcontrollers can be used to achieve the same function. So this controller can be considered as a hardware component, The devices included therein for realizing various functions can also be regarded as structures within the hardware components. Or even, The device for realizing various functions can be regarded as both a software module of an implementation method and a structure in a hardware component. The system described in the above embodiment, Device, Module or unit, It can be realized by computer chip or entity, Or it can be realized by a product with a certain function. A typical implementation device is a computer. specific, The computer may be, for example, a personal computer, Laptop, Cellular phone, Camera phone, Smartphone, Personal digital assistant, media Player, Navigation equipment, Email device, Game console, tablet, Wearable devices or any combination of these devices. For the convenience of description, When describing the above devices, the functions are divided into various units and described separately. of course, When implementing the present invention, the functions of each unit may be implemented in one or more software and/or hardware. Those skilled in the art should understand that Embodiments of the present invention can be provided as methods, system, Or computer program products. therefore, The present invention can use a complete hardware embodiment, Complete software embodiment, Or a combination of software and hardware. and, The present invention may use one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, The form of computer program products implemented on optical storage, etc.). The present invention refers to the method according to the embodiment of this specification, Equipment (system), And computer program product flow charts and/or block diagrams. It should be understood that each flow and/or block in the flowchart and/or block diagram can be implemented by computer program instructions, And a combination of processes and/or blocks in flowcharts and/or block diagrams. These computer program instructions can be provided to general-purpose computers, Dedicated computer, Embedded processor or other programmable data processing equipment processor to produce a machine, A device that causes instructions executed by a processor of a computer or other programmable data processing device to produce functions specified in a block or blocks of a flowchart or a flow and/or a block diagram. These computer program instructions can also be stored in a computer-readable storage that can guide the computer or other programmable data processing equipment to work in a specific way. Causing the instructions stored in the computer-readable storage to produce a manufactured product including an instruction device, The instruction device implements the functions specified in one block or multiple blocks in one flow or multiple flows in the flowchart and/or one block in the block diagram. These computer program instructions can also be loaded onto a computer or other programmable data processing equipment, Allows a series of operating steps to be performed on a computer or other programmable device to produce computer-implemented processing, The instructions executed on the computer or other programmable equipment thus provide steps for implementing the functions specified in one block or multiple blocks of the flow chart one flow or multiple flows and/or block diagrams. In a typical configuration, The computing device includes one or more processors (CPU), Input/output interface, Network interface and memory. Memory may include non-permanent memory in computer-readable media, Random access memory (RAM) and/or non-volatile memory, etc., Such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media. Computer-readable media includes permanent and non-permanent, Removable and non-removable media can be stored by any method or technology. Information can be computer readable instructions, Data structure, Program modules or other data. Examples of computer storage media include, But 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 and programmable read-only memory (EEPROM), Flash memory or other memory technology, CD-ROM, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, Magnetic cassette tape, Magnetic tape storage or other magnetic storage devices or any other non-transmission media, It can be used to store information that can be accessed by computing devices. According to the definition in this article, Computer-readable media does not include transient computer-readable media (transitory media), Such as modulated data signals and carrier waves. It should also be noted that The term "including", "Contains" or any other variation thereof is intended to cover non-exclusive inclusions, So that the process including a series of elements, method, Goods or equipment includes not only those elements, And also includes other elements that are not explicitly listed, Or is it also included for this process, method, Elements inherent in goods or equipment. Without more restrictions, Elements defined by the sentence "include a..." Does not exclude the process of including the elements, method, There are other identical elements in goods or equipment. Those skilled in the art should understand that Embodiments of the present invention can be provided as methods, System or computer program products. therefore, The present invention can use a complete hardware embodiment, A complete software embodiment or a form of embodiment combining software and hardware. and, The present invention may use one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, The form of computer program products implemented on optical storage, etc.). The invention can be described in the general context of computer executable instructions executed by a computer, For example, program modules. normally, Program modules include routines that perform specific tasks or implement specific abstract data types, Program, object, Components, Data structure, etc. The invention can also be practiced in a distributed computing environment, In these distributed computing environments, The tasks are performed by remote processing equipment connected through the communication network. In a distributed computing environment, Program modules can be located in local and remote computer storage media including storage devices. Each embodiment in this specification is described in a progressive manner, The same or similar parts between the various embodiments may refer to each other, Each embodiment focuses on the differences from other embodiments. especially, For the system embodiment, Since it is basically similar to the method embodiment, So the description is relatively simple, For the relevant parts, please refer to the description of the method embodiments. The above is only an embodiment of the present invention, It is not intended to limit the invention. For those skilled in the art, The present invention can have various modifications and changes. Any modification made within the spirit and principle of the present invention, Equivalent replacement, Improvement etc., All should be included in the scope of the patent application of the present invention.

102-106‧‧‧步驟 202-216‧‧‧步驟 301‧‧‧接收模組 302‧‧‧檢測模組 303‧‧‧觸發模組 401‧‧‧記帳系統 402‧‧‧業務處理系統 501‧‧‧業務記帳模組 502‧‧‧記帳節點 503‧‧‧檢測模組 504‧‧‧共識節點 601‧‧‧處理器 602‧‧‧儲存器 603‧‧‧電源 604‧‧‧有線或無線網路介面 605‧‧‧輸入輸出介面 606‧‧‧鍵盤102-106‧‧‧Step 202-216‧‧‧Step 301‧‧‧Receiving module 302‧‧‧Detection module 303‧‧‧trigger module 401‧‧‧ Accounting system 402‧‧‧Business processing system 501‧‧‧ Business Accounting Module 502‧‧‧accounting node 503‧‧‧Detection module 504‧‧‧ consensus node 601‧‧‧ processor 602‧‧‧Storage 603‧‧‧Power supply 604‧‧‧Wired or wireless network interface 605‧‧‧I/O interface 606‧‧‧ keyboard

為了更清楚地說明本說明書實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本說明書中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。 圖1為本說明書實施例提供的記帳方法的第一種方法流程圖; 圖2為本說明書實施例提供的記帳方法的第二種方法流程圖; 圖3為本說明書實施例提供的記帳裝置的模組組成示意圖; 圖4為本說明書實施例提供的業務財務一體化系統的結構示意圖; 圖5為本說明書實施例提供的業務財務一體化系統的具體結構示意圖; 圖6為本說明書實施例提供的記帳設備的結構示意圖。In order to more clearly explain the embodiments of the present specification or the technical solutions in the prior art, the drawings required in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only For some embodiments described in the specification, for those of ordinary skill in the art, without paying any creative labor, other drawings can also be obtained according to these drawings. 1 is a flowchart of a first method of a billing method provided by an embodiment of this specification; 2 is a flowchart of a second method of a billing method provided by an embodiment of this specification; 3 is a schematic diagram of the module composition of a billing device provided by an embodiment of the present specification; 4 is a schematic structural diagram of a business and financial integration system provided by an embodiment of this specification; 5 is a schematic diagram of a specific structure of a business and financial integration system provided by an embodiment of this specification; 6 is a schematic structural diagram of an accounting device provided by an embodiment of the present specification.

Claims (13)

一種記帳方法,包括: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。An accounting method, including: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain. 如申請專利範圍第1項所述的方法,所述觸發記帳系統中的記帳根據所述帳務資訊對所述待記帳業務進行記帳,包括: 觸發所述記帳系統中的共識節點根據所述帳務資訊對所述記帳節點進行共識校驗;其中,所述共識節點為區塊鏈中的節點; 若校驗結果指示所述記帳節點具有對所述待記帳業務進行記帳的權限,則觸發所述記帳節點儲存所述帳務資訊,以及儲存所述待記帳業務的業務標識。According to the method described in item 1 of the patent application scope, the accounting in the triggered accounting system accounts for the business to be accounted according to the accounting information, including: Trigger a consensus node in the accounting system to perform a consensus check on the accounting node based on the accounting information; wherein, the consensus node is a node in the blockchain; If the verification result indicates that the billing node has the authority to charge the billing service, the billing node is triggered to store the billing information and store the service identifier of the billing service. 如申請專利範圍第1項所述的方法,所述觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳之後,所述方法還包括: 向所述業務處理系統發送提示資訊;所述提示資訊用於提示已對所述待記帳業務進行記帳,以使所述業務處理系統對所述待記帳業務進行標記。According to the method described in item 1 of the patent application scope, after the billing node in the triggered billing system records the business to be billed according to the billing information, the method further includes: Sending reminder information to the business processing system; the reminder information is used to remind that the business to be billed has been billed, so that the business processing system marks the business to be billed. 如申請專利範圍第1至3項中任一項所述的方法,所述設定的記帳條件包括以下條件中的至少一項: 是否在所述記帳系統對所述記帳業務進行記帳、所述帳務資訊中的會計科目是否與所述記帳系統中所述待記帳業務所對應的會計科目相匹配、所述帳務資訊中的金額資訊是否有誤。According to the method described in any one of items 1 to 3 of the patent application scope, the set accounting conditions include at least one of the following conditions: Whether the billing business is billed in the billing system, whether the accounting account in the accounting information matches the accounting account corresponding to the business to be billed in the billing system, in the accounting information Whether the amount information is incorrect. 如申請專利範圍第2項所述的方法,所述觸發所述記帳系統中的共識節點根據所述帳務資訊對所述記帳節點進行共識校驗包括: 觸發所述記帳系統中的共識節點利用拜占庭容錯PBFT演算法根據所述帳務資訊對所述記帳節點進行共識校驗。According to the method described in item 2 of the patent application scope, the triggering of the consensus node in the accounting system to perform consensus verification on the accounting node according to the accounting information includes: Trigger the consensus node in the accounting system to use the Byzantine fault-tolerant PBFT algorithm to perform consensus verification on the accounting node based on the accounting information. 一種記帳裝置,包括: 接收模組,接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 檢測模組,根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 觸發模組,若檢測所述待記帳業務滿足設定的記帳條件,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。An accounting device includes: The receiving module receives the billing request sent by the business processing system; wherein, the billing request carries the billing information of the business to be billed; The detection module detects whether the business to be billed meets the set billing conditions according to the billing information; A trigger module, if it is detected that the to-be-accounted business meets the set accounting conditions, then triggers an accounting node in the accounting system to perform accounting to the to-be-accounted business according to the accounting information; wherein, the accounting node is a blockchain In the node. 如申請專利範圍第6項所述的裝置,所述觸發模組,包括: 第一觸發單元,觸發所述記帳系統中的共識節點根據所述帳務資訊對所述記帳節點進行共識校驗;其中,所述共識節點為區塊鏈中的節點; 第二觸發單元,若校驗結果指示所述記帳節點具有對所述待記帳業務進行記帳的權限,則觸發所述記帳節點儲存所述帳務資訊中的帳務資料,以及儲存所述待記帳業務的業務標識。As in the device described in item 6 of the patent application scope, the trigger module includes: The first trigger unit triggers the consensus node in the accounting system to perform consensus check on the accounting node according to the accounting information; wherein, the consensus node is a node in the blockchain; A second triggering unit, if the verification result indicates that the accounting node has the authority to account for the to-be-accounted business, trigger the accounting node to store the accounting data in the accounting information, and store the to-be-accounted account Business logo for business. 如申請專利範圍第6項所述的裝置,所述裝置還包括: 發送模組,向所述業務處理系統發送提示資訊;所述提示資訊用於提示已對所述待記帳業務進行記帳,以使所述業務處理系統對所述待記帳業務進行標記。As the device described in item 6 of the patent application scope, the device further includes: The sending module sends reminder information to the business processing system; the reminder information is used to remind that the business to be billed has been billed, so that the business processing system marks the business to be billed. 一種業務財務一體化系統,包括記帳系統和至少一個業務處理系統; 所述業務處理系統,用於在完成待記帳業務的處理後,向所述記帳系統發送記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 所述記帳系統,用於接收所述記帳請求;根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件;若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。A business and financial integration system, including an accounting system and at least one business processing system; The business processing system is configured to send a billing request to the billing system after completing the processing of the billing business; wherein, the billing request carries the billing information of the billing business; The accounting system is used to receive the accounting request; detect whether the to-be-accounted service meets the set accounting conditions based on the accounting information; if it is, trigger the accounting node in the accounting system to check the location based on the accounting information Describe the business to be billed for billing; wherein, the billing node is a node in the blockchain. 如申請專利範圍第9項所述的系統, 所述記帳系統,還用於向所述業務處理系統發送已對所述待記帳業務進行記帳的提示資訊; 所述業務處理系統,還用於在接收到所述提示資訊後,對所述待記帳業務進行標記。As described in item 9 of the scope of patent application, The billing system is also used to send prompt information to the business processing system that the business to be billed has been billed; The business processing system is also used to mark the business to be billed after receiving the prompt information. 如申請專利範圍第9項所述的系統,所述記帳系統,還用於: 觸發所述記帳系統中的共識節點根據所述帳務資訊對所述記帳節點進行共識校驗;其中,所述共識節點為區塊鏈中的節點;若校驗結果指示所述記帳節點具有對所述待記帳業務進行記帳的權限,則觸發所述記帳節點儲存所述帳務資訊,以及儲存所述待記帳業務的業務標識。As described in item 9 of the patent application, the accounting system is also used for: Trigger a consensus node in the accounting system to perform a consensus check on the accounting node according to the accounting information; wherein, the consensus node is a node in the blockchain; if the verification result indicates that the accounting node has a pair The authority of the to-be-accounted service to perform accounting will trigger the accounting node to store the accounting information and store the service identifier of the to-be-accounted service. 一種記帳設備,包括: 處理器;以及 被安排成儲存電腦可執行指令的儲存器,所述可執行指令在被執行時使所述處理器: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。A billing device, including: Processor; and A memory arranged to store computer executable instructions which, when executed, causes the processor to: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain. 一種儲存媒體,用於儲存電腦可執行指令,所述可執行指令在被執行時實現以下流程: 接收業務處理系統發送的記帳請求;其中,所述記帳請求中攜帶有待記帳業務的帳務資訊; 根據所述帳務資訊檢測所述待記帳業務是否滿足設定的記帳條件; 若是,則觸發記帳系統中的記帳節點根據所述帳務資訊對所述待記帳業務進行記帳;其中,所述記帳節點為區塊鏈中的節點。A storage medium is used to store computer executable instructions, and the executable instructions, when executed, implement the following process: Receiving an accounting request sent by a business processing system; wherein, the accounting request carries accounting information of the business to be accounted for; Detecting whether the to-be-accounted service meets the set accounting conditions according to the accounting information; If yes, trigger a billing node in the billing system to bill the business to be billed according to the billing information; wherein, the billing node is a node in the blockchain.
TW108116390A 2018-07-26 2019-05-13 Bookkeeping method and device, and integrated transaction and finance system TW202008267A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810836440.9A CN109166021A (en) 2018-07-26 2018-07-26 Bookkeeping methods, device and business finance integral system
CN201810836440.9 2018-07-26

Publications (1)

Publication Number Publication Date
TW202008267A true TW202008267A (en) 2020-02-16

Family

ID=64898410

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108116390A TW202008267A (en) 2018-07-26 2019-05-13 Bookkeeping method and device, and integrated transaction and finance system

Country Status (3)

Country Link
CN (1) CN109166021A (en)
TW (1) TW202008267A (en)
WO (1) WO2020019892A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109166021A (en) * 2018-07-26 2019-01-08 阿里巴巴集团控股有限公司 Bookkeeping methods, device and business finance integral system
CN110060139B (en) * 2019-02-25 2023-11-07 创新先进技术有限公司 Accounting processing method and device
CN110751483A (en) * 2019-10-14 2020-02-04 四川长虹电器股份有限公司 Financial accounting and sales rushing method and device based on block chain and electronic equipment
CN115880088A (en) * 2023-02-14 2023-03-31 布比(北京)网络技术有限公司 Accounting processing method, access server, node server and accounting processing system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2016105991A (en) * 2016-02-20 2017-08-24 Дмитрий Сергеевич Ермолаев METHOD FOR ACCOUNTING BY ACCOUNT USING DISTRIBUTED SINGLE-LEVEL ENVIRONMENTS ON DATA CHAINS
CN106100847B (en) * 2016-06-14 2021-10-26 惠众商务顾问(北京)有限公司 Method and device for verifying identity information of asymmetric encryption block chain
CN106157142A (en) * 2016-06-30 2016-11-23 惠众商务顾问(北京)有限公司 A kind of block chain common recognition and synchronous method, system and device
WO2018071433A1 (en) * 2016-10-10 2018-04-19 Escolhalegal, Llc Systems, methods and machine-readable mediums for data management and payment processing
CN106780025B (en) * 2016-11-30 2021-03-02 中国银行股份有限公司 Method, device and system for transferring digital assets in block chain
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN108182581B (en) * 2017-12-29 2020-08-11 北京欧链科技有限公司 Accounting method and device for block chain
CN109166021A (en) * 2018-07-26 2019-01-08 阿里巴巴集团控股有限公司 Bookkeeping methods, device and business finance integral system

Also Published As

Publication number Publication date
WO2020019892A1 (en) 2020-01-30
CN109166021A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
TW202008267A (en) Bookkeeping method and device, and integrated transaction and finance system
WO2021063045A1 (en) Blockchain-based transaction query method, apparatus and device, and blockchain-based transaction data processing method, apparatus and device
JP6921206B2 (en) Database state determination method and device and consistency verification method and device
CN107330776B (en) Method and device for detecting bookkeeping and abnormal bookkeeping details
EP3553725A1 (en) Business data processing method, verification method, apparatus and system
CN107644286B (en) Workflow processing method and device
WO2020125219A1 (en) Data structure reading method and device, data structure updating method and device, and electronic apparatus
WO2019196551A1 (en) Payment process configuration and execution method, apparatus and device
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN108647950B (en) Transfer request processing method, device and equipment
CN110297837B (en) Data updating method and device and data query method and device
US10402923B1 (en) Coordinating distributed order execution
CN108320071B (en) Business risk management method, device and equipment
WO2020125224A1 (en) Data structure reading method and apparatus, data structure updating method and apparatus, and electronic device
CN108830705B (en) Method, device and equipment for summarizing transaction data
CN109345221A (en) The checking method and device of resource circulation
CN110297955B (en) Information query method, device, equipment and medium
CN110782253B (en) Transaction processing method, device and equipment based on block chain
TWI710993B (en) Business processing method, device and equipment, and storage medium
CN110020699B (en) Graphic code checking method and device
CN106201859A (en) A kind of regression testing method and system
WO2021239087A1 (en) Data processing method, apparatus and device, and medium
TW202016737A (en) Disaster recovery data processing method, device and system
WO2024055779A1 (en) Bill processing method and apparatus
WO2021184901A1 (en) Data writing method, apparatus and device