-
公开(公告)号:US20150095220A1
公开(公告)日:2015-04-02
申请号:US14569108
申请日:2014-12-12
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qi Chen , Ke Li , Dingsheng Xue , Heng Jiang
IPC: G06Q20/38
Abstract: Embodiments of the present invention disclose a method and an apparatus for transaction processing. The method includes: receiving a transaction request, determining, when it is determined that a real-time account book is undergoing compute-intensive transaction processing, whether an account record of an account on which a transaction is to be performed exists in a temporary account book, and if yes, processing the transaction request based on the account record, and updating the account record in the temporary account book according to a processing result, and if no, reading the account record from the real-time account book, processing the transaction request based on the account record, and recording, in the temporary account book, the updated account record according to a processing result; and updating, after the transaction processing is complete, the real-time account book according to the temporary account book, and deleting the account record after the updating.
Abstract translation: 本发明的实施例公开了一种用于事务处理的方法和装置。 该方法包括:接收交易请求,确定何时确定实时账簿正在进行计算密集型交易处理,是否在临时账户中存在要进行交易的账户的账户记录 书,如果是,则根据账户记录处理交易请求,并根据处理结果更新临时账簿中的账户记录,如果否,则从实时账簿读取账户记录,处理 根据账户记录的交易请求,并根据处理结果在临时账簿中记录更新的账户记录; 并在交易处理完成之后根据临时账簿更新实时账簿,并在更新后删除该账户记录。