Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Transaction record checking method and device, electronic equipment and storage medium

A technology for transaction records and transaction parties, applied in the Internet field, can solve problems such as large memory space, inability to load transaction records, transaction record verification process cannot be carried out normally, etc., to achieve the effect of reducing memory usage and shortening the verification time

Active Publication Date: 2021-09-03
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above method needs to load all the transaction records of one party into the memory, which occupies a large memory space. Especially in the case of a large transaction record of one party, it may not be possible to load all the transaction records into the memory, resulting in the verification of the transaction records. process not working

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Transaction record checking method and device, electronic equipment and storage medium
  • Transaction record checking method and device, electronic equipment and storage medium
  • Transaction record checking method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

[0047] It can be understood that the terms "each", "multiple" and "any" used in the embodiments of the present disclosure, etc., a plurality includes two or more, and each refers to each of the corresponding plurality, Any refers to any one of the corresponding plurality. For example, the plurality of words includes 10 words, and each word refers to each of the 10 words, and any word refers to any one of the 10 words.

[0048]The embodiment of the present disclosure provides a verification method for transaction records, see figure 1 , the method flow provided by the embodiment of the present disclosure includes:

[0049] 101. Store the transaction records of both parties in the first time period of the billing cycle in the memor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a transaction record checking method and device, electronic equipment and a storage medium, and belongs to the technical field of Internet. The method comprises the following steps: storing transaction records of two transaction parties in a first time period of a bill cycle into a memory in a hash table form, wherein the first time period comprises a first preset duration taking the end time of the previous bill period as the starting time in the bill period and a second preset duration taking the starting time of the next bill period as the end time in the bill period; generating updated hash tables and updated transaction records of the two transaction parties according to the read transaction records of the second time period and the hash table corresponding to the other transaction party; calculating hash values of the updated transaction records of the two transaction parties; and when the hash values corresponding to the two transaction parties are the same and the updated hash tables are the same, determining that the two transaction parties balance the bills in the bill period. According to the method and the device, the transaction records can be checked without fully storing the transaction records, so that the memory occupancy is reduced, and the checking time is shortened.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and in particular to a transaction record verification method, device, electronic equipment and storage medium. Background technique [0002] During the transaction, for each transaction, the systems of both parties involved in the transaction will record the transaction records of the transaction. After the billing cycle is over, both parties to the transaction check each other's transaction records, and if the transaction records of both parties are consistent, the funds will be settled. [0003] In the related technology, when checking the transaction records of both parties A and B, the following method is mainly adopted: the transaction record files of both parties A and B are divided into buckets according to row hash, so that the transaction record files are split into n small files; Load the n small files of A into the computer memory in the form of a hash table; read the t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2455G06F16/23G06F16/22G06Q40/04
CPCG06F16/2455G06F16/23G06F16/2255G06Q40/04
Inventor 刘安文陈海龙赵言苍
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products