File updating method and device, computer equipment and storage medium

A file update and file technology, applied in the field of data transmission, can solve the problems of deepening the network bandwidth burden, unable to control the amount of file grouping data, increasing the update failure rate of the counter terminal, etc., to reduce the network bandwidth burden.

Pending Publication Date: 2022-05-20
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for the file update method in the prior art, due to the large difference in file size of each transaction file, grouping according to the number of transaction files cannot control the data volume of each file group, which will easily cause a deepening of the network bandwidth burden, and even cause network congestion, increase The case of counter terminal update failure rate

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
  • File updating method and device, computer equipment and storage medium
  • File updating method and device, computer equipment and storage medium
  • File updating method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 Embodiment 1 of the present invention provides a flow chart of a file updating method. This embodiment is applicable to the case of updating transaction files during over-the-counter transactions. The method can be executed by a file updating device, and the file updating device can use hardware and / or software, the file update device can be configured in the server.

[0028] Such as figure 1 As shown, the method includes:

[0029] S110. Send the full file list to the client, and receive the file list to be updated sent by the client.

[0030] In a specific applicable scenario, when an over-the-counter transaction is performed and the transaction documents are updated, the full document list includes all transaction documents that match the over-the-counter transaction, and the full document list can also include the paths and names of all transaction documents , version and other information. When an over-the-counter transaction is initiated, the server se...

Embodiment 2

[0043] figure 2 It is a flow chart of a file update method provided by Embodiment 2 of the present invention. On the basis of the above embodiments, the embodiment of the present invention further specifies the process of generating file groups according to the preset file capacity threshold, and adds The file update process when the client is updated with an older version.

[0044] Such as figure 2 As shown, the method includes:

[0045] S210. Send the full file list to the client, and receive the file list to be updated sent by the client.

[0046] In the embodiment of the present invention, when the client initiates an over-the-counter transaction, the server sends a full file list to the client, and the client compares all transaction files corresponding to the full file list with local files through snapshot comparison and other methods to determine The list of files to be updated is sent to the server.

[0047] S220. Compress each file to be updated corresponding t...

Embodiment 3

[0091] image 3 It is a schematic structural diagram of a file updating device provided by Embodiment 3 of the present invention. Such as image 3 As shown, the device includes: a file list acquisition module 310 to be updated, a file group generation module 320 , a file group sending module 330 and a re-execution module 340 . in:

[0092] The file list to be updated acquisition module 310 is configured to send a full file list to the client, and receive the file list to be updated sent by the client; wherein, the file list to be updated is determined by the client according to the full file list;

[0093] The file grouping generating module 320 is configured to generate file groupings according to each file to be updated corresponding to the list of files to be updated and a preset file capacity threshold;

[0094] The file grouping sending module 330 is configured to send the file grouping to the client, so that the client performs file update according to the received fi...

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 discloses a file updating method and device, computer equipment and a storage medium. The method comprises the following steps: sending a full-quantity file list to a client, and receiving a to-be-updated file list sent by the client; wherein the to-be-updated file list is determined and obtained by the client according to a full file list; generating a file group according to each to-be-updated file corresponding to the to-be-updated file list and a preset file capacity threshold value; the file groups are sent to the client side, so that the client side conducts file updating according to the received file groups, and an updated to-be-updated file list sent by the client side is received; and re-executing the operation of generating the file groups according to the to-be-updated files corresponding to the updated list of the to-be-updated files and the preset file capacity threshold until it is determined that the client completes the updating of all the to-be-updated files. By using the technical scheme of the invention, the network bandwidth burden during transaction file updating can be reduced.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to a file updating method, device, computer equipment and storage medium. Background technique [0002] Counter transactions are the basic form of bank transactions, covering most of the bank's transaction types. The counter transaction program is characterized by a large number of small files and a small number of oversized files. Every time a counter transaction is performed, the update of the counter transaction program files is under great pressure. [0003] In order to reduce the network bandwidth burden, the existing technology usually groups the transaction files that need to be updated according to the number of files, for example, every 200 files are regarded as a group, and the files are transmitted and updated group by group. However, for the file update method in the prior art, due to the large difference in file size of each transaction file, grouping accordi...

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/16
CPCG06F16/16
Inventor 汪俊德张立建高云松
Owner AGRICULTURAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products