CN114463125A - Transaction issuing and transaction updating method, device, equipment and storage medium - Google Patents

Transaction issuing and transaction updating method, device, equipment and storage medium Download PDF

Info

Publication number
CN114463125A
CN114463125A CN202210026939.XA CN202210026939A CN114463125A CN 114463125 A CN114463125 A CN 114463125A CN 202210026939 A CN202210026939 A CN 202210026939A CN 114463125 A CN114463125 A CN 114463125A
Authority
CN
China
Prior art keywords
transaction
file
server
dependent
hash value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210026939.XA
Other languages
Chinese (zh)
Inventor
雷明杰
张立建
蔡健荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202210026939.XA priority Critical patent/CN114463125A/en
Publication of CN114463125A publication Critical patent/CN114463125A/en
Pending legal-status Critical Current

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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • 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/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a transaction issuing and transaction updating method, device, equipment and storage medium. The method comprises the following steps: obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list; determining a first target hash value of the transaction file based on a message digest algorithm; and if the transaction file is not contained in the server-side database, storing the transaction file information and the first target hash value of the transaction file in the server-side database. By the technical scheme, redundancy of transaction release and transaction update can be reduced, consumption of network bandwidth, storage space and transaction time is reduced, transaction release and update efficiency is improved, and user experience is improved.

Description

Transaction issuing and transaction updating method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data transaction, in particular to a transaction issuing method, a transaction updating method, a transaction issuing device, a transaction updating device, equipment and a storage medium.
Background
Due to the rise of the mobile internet, the iteration of transaction issuing and updating is faster and faster, and particularly for bank transactions with abundant service types, how to quickly and stably perform transaction issuing and updating puts higher requirements on the efficiency and accuracy of transaction issuing and updating.
For transaction release and update based on the VUE platform, a common method is to release transactions in full and update transactions in full, a large amount of redundant data needs to be recorded during release, and a large amount of redundant data needs to be acquired during update. The method has the disadvantages of large consumption of network bandwidth, storage space and transaction time, large file redundancy, incapability of quickly acquiring the latest version of the transaction, inconvenience in finding program changes and incapability of positioning and analyzing problems.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for transaction release and transaction update, so as to reduce redundancy of transaction release and transaction update, reduce consumption of network bandwidth, storage space, and transaction time, improve transaction release and update efficiency, and improve user experience.
In a first aspect, an embodiment of the present invention provides a transaction issuing method, including:
obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list;
determining a first target hash value of the transaction file based on a message digest algorithm;
and if the transaction file is not contained in the server-side database, storing the transaction file information and the first target hash value of the transaction file in the server-side database.
Further, determining that the transaction file is not contained in the server-side database comprises:
analyzing identification information in the transaction file information, wherein the identification information comprises: a file name or file identification number;
and if the transaction file is not inquired in the server database based on the identification information, determining that the transaction file is not contained in the server database.
Further, the method also comprises the following steps:
if the transaction file is contained in the server-side database, judging whether the hash value of the first target hash value is the same as that of the server-side transaction file; the server-side transaction file is a transaction file contained in the server-side database;
and if not, updating the server transaction file based on the transaction file and the first target hash value.
In a second aspect, an embodiment of the present invention provides a transaction update method, including:
obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list;
if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, downloading the transaction dependent file, wherein the client transaction file is a transaction file corresponding to the transaction file information contained in the client database;
and updating the client transaction file in the client database according to the transaction dependence file.
Further, determining that the transaction-dependent file in the transaction-dependent file list is not included in the client transaction file includes:
calculating a second target hash value of the transaction dependent file based on a message digest algorithm;
if the second target hash value is different from the hash value of the transaction dependent file in the client database, the transaction dependent file is not included in the client database.
Further, downloading the transaction-dependent file comprises:
adding the second target hash value to a download file list;
and downloading the transaction dependent file from the server side based on the download file list.
In a third aspect, an embodiment of the present invention further provides a transaction issuing apparatus, where the apparatus includes:
an acquisition module, configured to acquire a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
a determining module for determining a first target hash value of the transaction file based on a message digest algorithm;
and the storage module is used for storing the transaction file information and the first target hash value of the transaction file into the server-side database if the transaction file is not contained in the server-side database.
In a fourth aspect, an embodiment of the present invention further provides a transaction update apparatus, where the apparatus includes:
an acquisition module, configured to acquire a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
the downloading module is used for downloading the transaction dependent file if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, wherein the client transaction file is the transaction file corresponding to the transaction file information contained in the client database;
and the updating module is used for updating the client transaction file in the client database according to the transaction dependence file.
In a fifth aspect, an embodiment of the present invention further provides a terminal device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the transaction update method according to any one of the embodiments of the present invention or implements the transaction update method according to any one of the embodiments of the present invention when executing the program.
In a sixth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the transaction update method according to any one of the embodiments of the present invention or implements the transaction update method according to any one of the embodiments of the present invention.
In the embodiment of the invention, the transaction file is obtained and comprises the following components: transaction document information and a transaction dependent document list; determining a first target hash value of the transaction file based on a message digest algorithm; if the transaction file is not contained in the server-side database, the transaction file information and the first target hash value of the transaction file are stored in the server-side database, the problem that the consumption of network bandwidth, storage and consumed time is large when the transaction file is distributed and updated is solved, the redundancy of transaction distribution and transaction update can be reduced, the consumption of network bandwidth, storage space and transaction time is reduced, the transaction distribution and update efficiency is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a transaction issuing method according to one embodiment of the present invention;
FIG. 2A is a flowchart of a transaction update method according to a second embodiment of the present invention;
FIG. 2B is a timing diagram illustrating a transaction update method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a transaction issuing device in the third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a transaction update apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
Fig. 1 is a flowchart of a transaction issuing method according to an embodiment of the present invention, where the present embodiment is applicable to a case of issuing a transaction to a server, and the method may be executed by a transaction issuing device according to an embodiment of the present invention, where the transaction issuing device may be implemented in a software and/or hardware manner, and the transaction issuing device may be integrated in the server. As shown in fig. 1, the method specifically includes the following steps:
s110, acquiring a transaction file, wherein the transaction file comprises: transaction document information and transaction dependent document inventory.
The transaction file is a file formed by transaction related information, and comprises: the transaction file information and the transaction dependence file list can also comprise transaction data; the transaction file information may include information such as the name of the transaction file, the index serial number, and the storage path. When opening a transaction, it is often necessary to rely on one or more profiles, i.e. transaction dependent files. The transaction dependent file manifest is a list of transaction dependent files required for recording transaction files.
For example, the transaction file may be obtained by the server receiving, through the user interface, the transaction file information and the transaction dependent file list uploaded by the user. The transaction file may be a json formatted file.
S120, determining a first target hash value of the transaction file based on the message digest algorithm.
The message digest algorithm is also called as a hash algorithm or a hash algorithm, and is characterized in that a secret key is not needed in the encryption process, encrypted data cannot be decrypted, and the same ciphertext can be obtained only by inputting the identical plaintext data and passing through the identical message digest algorithm, so that the information transmission is complete and consistent. Commonly used message digest algorithms may include: MD5(Message Digest Algorithm 5).
Illustratively, the first target hash value of the transaction file determined by the message digest algorithm is a unique 128-bit binary hash value, and may also be converted into a 32-bit string in hexadecimal.
And S130, if the transaction file is not contained in the server-side database, storing the transaction file information and the second target hash value of the transaction file in the server-side database.
The system comprises a server and a client, wherein the server is provided with a database for storing transaction files, the process of storing the transaction files in the server database is called a transaction release process, and the transaction files are released in the server database and can be obtained by the client for establishing communication with the server.
Specifically, whether the transaction file is contained in the server-side database is judged, and if the transaction file is not contained in the server-side database, the transaction file information and the first target hash value of the transaction file are stored in the server-side database, so that the transaction issuing process is realized.
In the embodiment of the invention, by acquiring the transaction file, the transaction file comprises the following components: transaction document information and a transaction dependent document list; determining a first target hash value of a transaction file based on a message digest algorithm; if the transaction file is not contained in the server-side database, the transaction file information and the first target hash value of the transaction file are stored in the server-side database, so that the redundancy rate of transaction release can be reduced, the consumption of network bandwidth, storage space and transaction time is reduced, the transaction release efficiency is improved, and the user experience is improved.
Optionally, the method further includes:
if the transaction file is contained in the server-side database, judging whether the hash value of the first target hash value is the same as that of the server-side transaction file; the server transaction file is a transaction file contained in a server database;
and if not, updating the transaction file of the server based on the transaction file and the first target hash value.
The server transaction file refers to a transaction file already contained in a server database, and the hash value of the server transaction file is a hash value obtained by calculating the transaction file stored in the server based on the same information digest algorithm as the first target hash value.
And judging whether the first target hash value is the same as the hash value of the server transaction file or not by comparing the first target hash value of the transaction file with the hash value of the server transaction file contained in the server database. If the transaction data is different from the name or the index serial number, the transaction data in the transaction file is changed, so that the hash value of the transaction file is changed. Therefore, the server transaction file needs to be updated based on the transaction file and the first target hash value. The updating process may be considered as replacing the server transaction file with the transaction file, replacing the hash value of the server transaction file based on the first target hash value. If the transaction data are the same, the transaction file with the completely same transaction data is stored in the server-side database, repeated issuing is not needed, incremental issuing transaction is achieved, and compared with full-amount issuing transaction, redundancy of transaction issuing can be reduced, consumption of network bandwidth, storage space and transaction time is reduced, transaction issuing efficiency is improved, and user experience is improved.
Optionally, determining that the transaction file is not contained in the server-side database includes:
analyzing the identification information in the transaction file information, wherein the identification information comprises: a file name or file identification number;
and if the transaction file is not inquired in the server-side database based on the identification information, determining that the transaction file is not contained in the server-side database.
Wherein, the trade file information contains identification information, and the identification information includes: file name or file identification number.
Specifically, the information of the transaction file is analyzed to extract the identification information, each transaction file stored in the server database is queried according to the identification information, and whether the transaction file is contained in the server database is determined according to the query result of the identification information. And if the transaction file is not inquired in the server-side database based on the identification information, determining that the transaction file is not contained in the server-side database. Otherwise, if the transaction file is inquired in the server-side database based on the identification information, the transaction file is determined to be contained in the server-side database.
Example two
Fig. 2A is a flowchart of a transaction update method according to a second embodiment of the present invention, where the present embodiment is applicable to updating a transaction of a client, and the method may be executed by a transaction update apparatus according to the second embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, and the transaction update apparatus may be integrated in the client. As shown in fig. 2A, the method specifically includes the following steps:
s210, acquiring a transaction file, wherein the transaction file comprises: transaction document information and transaction dependent document inventory.
The transaction file is a file formed by transaction related information, and comprises: the transaction file information and the transaction dependent file list can comprise file names, file identification numbers, storage paths and other information. When opening a transaction file, it is often necessary to rely on multiple profiles, i.e., transaction dependent files. The transaction dependent file manifest is a list of transaction dependent files required for recording transaction files.
Specifically, the manner of acquiring the transaction file may be that after the server issues the transaction, the client sends an acquisition instruction to the server to acquire the transaction file issued in the server.
And S220, if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, downloading the transaction dependent file, wherein the client transaction file is the transaction file corresponding to the transaction file information contained in the client database.
Wherein, when a client opens a transaction, it is usually required to rely on one or more configuration files, i.e. transaction dependent files. And a database is arranged at the client for storing the transaction dependence file.
Specifically, a transaction file corresponding to the transaction file information contained in the client database, that is, a client transaction file, is determined according to the transaction file information. And judging whether the transaction dependent file in the transaction dependent file list of the client transaction file is contained in the client database, if the transaction dependent file is not contained in the client database, downloading the transaction dependent file according to the information such as the name, the storage path and the like of the transaction dependent file recorded in the transaction dependent file list. Wherein, the transaction dependent file to be downloaded can be stored in the server in advance.
And S230, updating the client transaction file in the client database according to the transaction dependence file.
Specifically, the client transaction file in the client database is updated incrementally according to the downloaded transaction dependency file. The transaction dependent file is updated incrementally, so that redundancy of transaction update can be reduced.
According to the technical scheme of the embodiment, the transaction file is acquired and comprises the following steps: transaction document information and a transaction dependent document list; if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, downloading the transaction dependent file, wherein the client transaction file is a transaction file corresponding to the transaction file information contained in the client database; the client transaction files in the client database are updated according to the transaction dependency files, so that the redundancy of transaction updating can be reduced, the consumption of network bandwidth, storage space and transaction time is reduced, the transaction updating efficiency is improved, and the user experience is improved.
Optionally, determining that the transaction-dependent file in the transaction-dependent file list is not included in the client database includes:
calculating a second target hash value of the transaction dependent file based on a message digest algorithm;
if the second target hash value is different from the hash value of the transaction-dependent file in the client database, the transaction-dependent file is not included in the client database.
The message digest algorithm is also called as a hash algorithm or a hash algorithm, and is characterized in that a secret key is not needed in the encryption process, encrypted data cannot be decrypted, and the same ciphertext can be obtained only by inputting the identical plaintext data and passing through the identical message digest algorithm, so that the information transmission is complete and consistent. Commonly used message digest algorithms may include: MD5(Message Digest Algorithm 5).
Illustratively, the second target hash value of the transaction file determined by the message digest algorithm is a unique 128-bit binary hash value, and may also be converted into a 32-bit string in hexadecimal.
Specifically, the second target hash value is compared with the hash value of the transaction dependent file in the client database, and if the second target hash value is different from the hash value of the transaction dependent file in the client database, it indicates that the transaction dependent file is not included in the client database. Otherwise, the transaction dependent file is indicated to be contained in the client database.
Optionally, downloading the transaction-dependent file comprises:
adding the second target hash value to the download file list;
and downloading the transaction dependent file from the server side based on the download file list.
And the download file list is used for recording a second target hash value of the file to be downloaded.
Specifically, if the transaction-dependent file is not included in the client database, the second target hash value of the transaction-dependent file is added to the download file list, the server is queried according to the second target hash value of the transaction-dependent file recorded in the download file list, and the transaction-dependent file is downloaded.
Illustratively, as shown in fig. 2B, during the transaction update process, the interaction process between the client and the server is as follows: the client sends a transaction file acquisition instruction to the server to acquire the transaction file sent by the server, analyzes a transaction dependent file list in the transaction file to determine the transaction dependent file, and sends a second target hash value acquisition instruction to the server to acquire a second target hash value of the transaction dependent file. Comparing the second target hash value with the hash value of the transaction dependent file in the client, and if the second target hash value is different from the hash value of the transaction dependent file in the client, adding the second target hash value into the download file list; and sending a download file list to the server to realize the downloading of the transaction dependent file from the server for updating the transaction file of the client.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a transaction issuing device according to a third embodiment of the present invention. The embodiment may be applicable to a case of issuing a transaction to a server, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a transaction issuing function, as shown in fig. 3, where the transaction issuing apparatus specifically includes: an acquisition module 310, a determination module 320, and a storage module 330.
The obtaining module 310 is configured to obtain a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
a determining module 320 for determining a first target hash value of the transaction file based on a message digest algorithm;
the storage module 330 is configured to store the transaction file information and the first target hash value of the transaction file in the server database if the transaction file is not included in the server database.
Optionally, the storage module 330 is specifically configured to:
analyzing identification information in the transaction file information, wherein the identification information comprises: a file name or file identification number;
and if the transaction file is not inquired in the server-side database based on the identification information, determining that the transaction file is not contained in the server-side database.
Optionally, the method further includes:
the judging module is used for judging whether the hash value of the first target hash value is the same as that of the transaction file of the server side or not if the transaction file is contained in the server side database; the server-side transaction file is a transaction file contained in the server-side database;
and if not, updating the server transaction file based on the transaction file and the first target hash value.
The product can execute the transaction issuing method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a transaction update apparatus according to a fourth embodiment of the present invention. The present embodiment is applicable to the case of updating the transaction of the client, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing a transaction updating function, as shown in fig. 3, where the transaction updating apparatus specifically includes: an acquisition module 410, a download module 420, and an update module 430.
The obtaining module 410 is configured to obtain a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
a downloading module 420, configured to download the transaction dependent file if the transaction dependent file in the transaction dependent file list is not included in a client transaction file, where the client transaction file is a transaction file corresponding to the transaction file information included in a client database;
and the updating module 430 is configured to update the client transaction file in the client database according to the transaction dependency file.
Optionally, the downloading module 420 is specifically configured to:
calculating a second target hash value of the transaction dependent file based on a message digest algorithm;
if the second target hash value is different from the hash value of the transaction dependent file in the client database, the transaction dependent file is not included in the client database.
Optionally, the downloading module 420 is further configured to:
adding the second target hash value to a download file list;
and downloading the transaction dependent file from the server side based on the download file list.
The product can execute the transaction updating method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a block diagram of a terminal device according to a fifth embodiment of the present invention, as shown in fig. 5, the terminal device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the terminal device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the terminal equipment may be connected by a bus or other means, and are exemplified by being connected by a bus in fig. 5.
The memory 520 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the transaction issuing method or the transaction updating method in the embodiment of the present invention (for example, the obtaining module 310, the determining module 320, and the storage module 330 in the transaction issuing device, or the obtaining module 410, the downloading module 420, and the updating module 430 in the transaction updating device). The processor 510 executes various functional applications and data processing of the terminal device by executing software programs, instructions and modules stored in the memory 520, that is, implements the above-described transaction issuing method or transaction updating method.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to a terminal device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. The output device 540 may include a display device such as a display screen.
EXAMPLE six
Sixth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a transaction issuing method according to any of the embodiments of the present invention: obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list; determining a first target hash value of the transaction file based on a message digest algorithm; and if the transaction file is not contained in the server-side database, storing the transaction file information and the first target hash value of the transaction file in the server-side database. Or the transaction updating method comprises the following steps: obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list; if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, downloading the transaction dependent file, wherein the client transaction file is a transaction file corresponding to the transaction file information contained in the client database; and updating the client transaction file in the client database according to the transaction dependence file.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A transaction issuing method is applied to a server side and comprises the following steps:
obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list;
determining a first target hash value of the transaction file based on a message digest algorithm;
and if the transaction file is not contained in the server-side database, storing the transaction file information and the first target hash value of the transaction file in the server-side database.
2. The method of claim 1, wherein determining that the transaction file is not contained in a server-side database comprises:
analyzing identification information in the transaction file information, wherein the identification information comprises: a file name or file identification number;
and if the transaction file is not inquired in the server database based on the identification information, determining that the transaction file is not contained in the server database.
3. The method of claim 1, further comprising:
if the transaction file is contained in the server-side database, judging whether the hash value of the first target hash value is the same as that of the server-side transaction file; the server-side transaction file is a transaction file contained in the server-side database;
and if not, updating the server transaction file based on the transaction file and the first target hash value.
4. A transaction update method applied to a client, the method comprising:
obtaining a transaction document, the transaction document comprising: transaction document information and a transaction dependent document list;
if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, downloading the transaction dependent file, wherein the client transaction file is a transaction file corresponding to the transaction file information contained in the client database;
and updating the client transaction file in the client database according to the transaction dependence file.
5. The method of claim 4, wherein determining that a transaction-dependent file in the list of transaction-dependent files is not included in a client transaction file comprises:
calculating a second target hash value of the transaction dependent file based on a message digest algorithm;
if the second target hash value is different from the hash value of the transaction dependent file in the client database, the transaction dependent file is not included in the client database.
6. The method of claim 5, wherein downloading the transaction-dependent file comprises:
adding the second target hash value to a download file list;
and downloading the transaction dependent file from the server side based on the download file list.
7. A transaction issuing device, comprising:
an acquisition module, configured to acquire a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
a determining module for determining a first target hash value of the transaction file based on a message digest algorithm;
and the storage module is used for storing the transaction file information and the first target hash value of the transaction file into the server-side database if the transaction file is not contained in the server-side database.
8. A transaction update apparatus, comprising:
an acquisition module, configured to acquire a transaction file, where the transaction file includes: transaction document information and a transaction dependent document list;
the downloading module is used for downloading the transaction dependent file if the transaction dependent file in the transaction dependent file list is not contained in the client transaction file, wherein the client transaction file is the transaction file corresponding to the transaction file information contained in the client database;
and the updating module is used for updating the client transaction file in the client database according to the transaction dependence file.
9. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements a transaction issuing method according to any one of claims 1 to 3 or implements a transaction updating method according to any one of claims 4 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the transaction issuing method according to any one of claims 1 to 3 or carries out the transaction updating method according to any one of claims 4 to 6.
CN202210026939.XA 2022-01-11 2022-01-11 Transaction issuing and transaction updating method, device, equipment and storage medium Pending CN114463125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210026939.XA CN114463125A (en) 2022-01-11 2022-01-11 Transaction issuing and transaction updating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210026939.XA CN114463125A (en) 2022-01-11 2022-01-11 Transaction issuing and transaction updating method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114463125A true CN114463125A (en) 2022-05-10

Family

ID=81409018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210026939.XA Pending CN114463125A (en) 2022-01-11 2022-01-11 Transaction issuing and transaction updating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114463125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027989A (en) * 2023-03-29 2023-04-28 中诚华隆计算机技术有限公司 Method and system for storing file set based on storage management chip

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480494A (en) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 File updating method, device and system
CN109656595A (en) * 2018-12-10 2019-04-19 北京百家互联科技有限公司 The method, apparatus and system that client-side program updates
CN113238784A (en) * 2021-06-16 2021-08-10 中国农业银行股份有限公司 Transaction program updating method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480494A (en) * 2010-11-23 2012-05-30 金蝶软件(中国)有限公司 File updating method, device and system
CN109656595A (en) * 2018-12-10 2019-04-19 北京百家互联科技有限公司 The method, apparatus and system that client-side program updates
CN113238784A (en) * 2021-06-16 2021-08-10 中国农业银行股份有限公司 Transaction program updating method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027989A (en) * 2023-03-29 2023-04-28 中诚华隆计算机技术有限公司 Method and system for storing file set based on storage management chip

Similar Documents

Publication Publication Date Title
US11663460B2 (en) Data exchange method, data exchange device and computing device
US11870562B2 (en) Function generation in named function networks
CN108846753B (en) Method and apparatus for processing data
CN110516462B (en) Method and apparatus for encrypting data
CN111258602A (en) Information updating method and device
CN109743161B (en) Information encryption method, electronic device and computer readable medium
CN109376534B (en) Method and apparatus for detecting applications
CN108564363B (en) Transaction processing method, server, client and system
US11449352B2 (en) Systems and methods for converting record formats
US10003669B2 (en) Methods and apparatus to create and transmit a condensed logging data file
CN107844488B (en) Data query method and device
US20230252462A1 (en) Systems and methods for improved indexing of non-standardized, custom smart contracts
US11496304B2 (en) Information processing device, information processing method, and storage medium
US20230144072A1 (en) Data storage server and client devices for securely storing data
US11997216B2 (en) Systems and methods for maintaining secure, encrypted communications across distributed computer networks by linking cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
US20230306128A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to provide variable resiliency when indexing blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
CN111787041B (en) Method and device for processing data
CN114463125A (en) Transaction issuing and transaction updating method, device, equipment and storage medium
CN115589316B (en) Data encryption transmission method and device, electronic equipment and storage medium
US20230269084A1 (en) Systems and methods for selecting secure, encrypted communications across distributed computer networks for cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
US20230269086A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to efficiently index blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
US20230269085A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to efficiently update cryptography-based digital repositories for performing blockchain operations in decentralized applications
CN109657481B (en) Data management method and device
CN112579428B (en) Interface testing method, device, electronic equipment and storage medium
CN110543772A (en) Offline decryption method and device

Legal Events

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