A financial settlement file transmission method and system
By obtaining historical access data of financial settlement files, calculating transmission variables and priority factors, optimizing the transmission sequence and storage strategy of financial settlement files, the problem of low transmission efficiency of financial settlement files is solved, and efficient data access is achieved under network congestion. and transmission.
Patent Information
- Application Number
- CN202311272774.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-09-28
AI Technical Summary
When the file transfer network is congested, the transmission efficiency of financial settlement documents is low, resulting in stale information and affecting the accuracy and agility of decision-making.
By obtaining the historical access data set of financial settlement files, determine financial file transmission variables, calculate key financial file transmission values, prioritize and pre-store important financial settlement files, and use transmission priority factors to optimize file transmission order and storage strategies to ensure that when network congestion occurs Quickly access financial settlement documents.
It improves the transmission efficiency and response speed of financial settlement documents, ensures the timeliness and accuracy of financial data under network congestion, and reduces manual processing and resource consumption.
Smart Images

Figure CN117135154B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of file transmission, and more specifically, to a financial settlement file transmission method and system. Background Art
[0002] Financial settlement documents are documents that record and document the financial affairs of an organization or an individual. These documents are used to record the details of financial transactions, including aspects such as income, expenses, assets and liabilities. Financial settlement documents are very important for both organizations and individuals as they provide key information about the financial status and business activities.
[0003] The importance of financial settlement file transmission cannot be ignored. It has a key impact on the financial management of organizations and individuals. Timely transmission of financial settlement files is crucial to the financial management of organizations and individuals. Timely transmission ensures the real-time nature of financial data, enabling decision makers to understand the financial status and business activities of the organization in a timely manner. Delayed or lagging file transmission may cause outdated information, affecting the accuracy and agility of decision-making. The use of efficient file transmission methods can simplify the financial settlement process and improve work efficiency. The automation and real-time nature of file transmission can reduce manual processing and the use of paper documents, saving time and resources. In addition, through convenient transmission methods, financial information can be shared more easily with partners, suppliers and customers to promote cooperation and communication. However, in the existing technology, in the case of file transmission network congestion, the transmission of financial settlement files will be affected by network delays, which may lead to delays in the transmission of financial settlement files during the financial settlement process, and there is a technical problem of low efficiency in the transmission of financial settlement files. Summary of the invention
[0004] The present application provides a financial settlement file transmission method and system to solve the technical problem of low transmission efficiency of financial settlement files when the file transmission network is congested.
[0005] In order to solve the above technical problems, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a financial settlement file transmission method, comprising the following steps:
[0007] During the financial settlement file transmission process, a historical access data set of the financial settlement file is obtained, and a financial file transmission variable is determined according to the historical access data set;
[0008] Determine a key financial file transmission value according to the financial file transmission variable, and determine a financial settlement pre-request file according to the key financial file transmission value;
[0009] When the financial settlement pre-request file is in the to-be-cached space, determining a transmission priority factor of the financial settlement pre-request file;
[0010] When the financial settlement pre-request file is not in the to-be-cached space, storing the financial settlement pre-request file in the to-be-cached space, and setting an initial transmission priority factor for the pre-request file;
[0011] The financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold is pre-stored in the transmission access space, and when the receiving party sends a financial settlement file transmission request, the financial settlement file is read from the transmission access space.
[0012] In some embodiments, it is characterized in that after obtaining the historical access dataset of financial settlement files, the method further comprises:
[0013] For each historical access data in the historical access data set, determining the access variability of each historical access data;
[0014] The historical access data whose access variation is greater than the preset access variation threshold is eliminated.
[0015] In some embodiments, determining the financial file transmission variable according to the historical access data set specifically includes:
[0016] Determine file transfer requirements for financial settlement;
[0017] A financial file transmission variable is selected from the historical access data set according to the file transmission requirement of the financial settlement.
[0018] In some embodiments, determining the key financial file transmission value according to the financial file transmission variable specifically includes:
[0019] Determine pre-access parameters for financial document transfers;
[0020] determining a pre-visit adjustment amount;
[0021] Get historical values of financial file transfer variables;
[0022] The key financial file transmission value is determined by the pre-access parameter during the financial file transmission, the pre-access adjustment amount, and the historical value of the financial file transmission variable, wherein the key financial file transmission value is determined according to the following formula:
[0023] γ t =λ+β1κ(t-1)+β2κ(t-2)+ε(t)
[0024] Among them, γ trepresents the key financial file transmission value corresponding to time t, λ represents the pre-access adjustment, β1 represents the first pre-access parameter during financial file transmission, β2 represents the second pre-access parameter during financial file transmission, κ(t-1) represents the historical value of the financial file transmission variable corresponding to time t-1, κ(t-2) represents the historical value of the financial file transmission variable corresponding to time t-2, and ε(t) represents the pre-access residual term corresponding to time t.
[0025] In some embodiments, determining the financial settlement pre-request file by using the key financial file transmission value specifically includes:
[0026] Select financial settlement documents based on key financial document transfer values;
[0027] Arranging the financial settlement documents in chronological order to obtain a financial settlement document sequence;
[0028] The financial settlement file with the shortest time interval between the current file and the financial settlement file sequence is used as the financial settlement pre-request file.
[0029] In some embodiments, storing the financial settlement pre-request file into the to-be-cached space and setting an initial transmission priority factor for the pre-request file specifically includes:
[0030] Determining whether the cache space is full, and if the cache space is not full, storing the financial settlement pre-request file into the cache space;
[0031] If the cache space is full, the financial settlement pre-request file with the smallest transmission priority factor in the cache space is removed, the financial settlement pre-request file is stored in the cache space, and an initial transmission priority factor is set for the financial settlement pre-request file.
[0032] In some embodiments, pre-storing the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold into the transmission access space specifically includes:
[0033] Sorting all the financial settlement pre-request files in the to-be-cached space according to the transmission priority factor to obtain a financial settlement pre-request file sequence;
[0034] The financial settlement pre-request files in the financial settlement pre-request file sequence whose transmission priority factor is greater than the transmission priority threshold are pre-stored in the transmission access space.
[0035] In a second aspect, the present application provides a financial settlement file transmission system, comprising:
[0036] A financial file transmission variable determination module, used to obtain a historical access data set of financial settlement files during the financial settlement file transmission process, and determine financial file transmission variables according to the historical access data set;
[0037] A financial settlement pre-request file determination module, used to determine a key financial file transmission value according to the financial file transmission variable, and determine the financial settlement pre-request file according to the key financial file transmission value;
[0038] A transmission priority factor determination module, used for determining the transmission priority factor of the financial settlement pre-request file when the financial settlement pre-request file is in the to-be-cached space;
[0039] An initial transmission priority factor setting module, used for storing the financial settlement pre-request file into the to-be-cached space when the financial settlement pre-request file is not in the to-be-cached space, and setting an initial transmission priority factor for the pre-request file;
[0040] The financial settlement file transmission control module is used to pre-store the financial settlement pre-request file whose transmission priority factor in the cache space is higher than the transmission priority threshold into the transmission access space, and read the financial settlement file from the transmission access space when the recipient sends a financial settlement file transmission request.
[0041] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned financial settlement file transmission method.
[0042] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned financial settlement file transmission method when executed.
[0043] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:
[0044] The present application provides a financial settlement file transmission method and system. In the process of financial settlement file transmission, a historical access data set of the financial settlement file is obtained, and a financial file transmission variable is determined according to the historical access data set; a key financial file transmission value is determined according to the financial file transmission variable, and a financial settlement pre-request file is determined by the key financial file transmission value; when the financial settlement pre-request file is in the to-be-cached space, a transmission priority factor of the financial settlement pre-request file is determined; when the financial settlement pre-request file is not in the to-be-cached space, the financial settlement pre-request file is stored in the to-be-cached space, and an initial transmission priority factor is set for the pre-request file; the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold is pre-stored in the transmission access space, and when the recipient sends a financial settlement file transmission request, the financial settlement file is read from the transmission access space.
[0045] In the present application, firstly, by excluding historical access data with large access variability, the reliability and accuracy of transmission can be ensured, and by selecting variables related to the actual needs of financial settlement file transmission, the transmission efficiency of settlement files can be effectively improved. Secondly, by determining key financial file transmission values based on financial file transmission variables, less time and resources can be spent on the transmission files actually required, thereby speeding up access speed and improving transmission efficiency. Then, by determining the transmission priority factor of the financial settlement pre-request file, the priority of the financial settlement pre-request file can be measured, so that important and frequently accessed financial settlement files will be transmitted first, thereby improving the transmission efficiency of the financial settlement files. Important files are retained first based on the transmission priority factor, ensuring priority transmission and access to key financial settlement files within limited storage space, and financial settlement files with high transmission priority factors are retained first, which helps to improve the efficiency of financial file transmission. Finally, by pre-storing financial settlement pre-request files with transmission priority factors higher than the threshold, it can be ensured that the financial settlement pre-request files are immediately available, especially in the case of transmission network congestion. The pre-stored transmission access space allows the recipient to quickly read the required financial settlement files from it when sending a file transfer request, thereby greatly improving the efficiency and response speed of data access, and effectively improving the transmission efficiency of financial settlement files in the case of file transmission network congestion. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0047] Figure 1 is an exemplary flow chart of a financial settlement file transmission method according to some embodiments of the present application;
[0048] Figure 2 is a schematic diagram of exemplary hardware and / or software of a financial settlement file transmission system according to some embodiments of the present application;
[0049] Figure 3 It is a structural diagram of a computer device for implementing a financial settlement file transmission method according to some embodiments of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] The embodiment of the present application provides a financial settlement file transmission method and system, the core of which is to obtain a historical access data set of the financial settlement file during the financial settlement file transmission process, determine the financial file transmission variable according to the historical access data set; determine the key financial file transmission value according to the financial file transmission variable, and determine the financial settlement pre-request file through the key financial file transmission value; when the financial settlement pre-request file is in the to-be-cached space, determine the transmission priority factor of the financial settlement pre-request file; when the financial settlement pre-request file is not in the to-be-cached space, store the financial settlement pre-request file in the to-be-cached space, and set an initial transmission priority factor for the pre-request file; pre-store the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold in the transmission access space, and when the recipient sends a financial settlement file transmission request, read the financial settlement file from the transmission access space, thereby effectively improving the transmission efficiency of the financial settlement file in the case of file transmission network congestion.
[0052] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a financial settlement file transmission method according to some embodiments of the present application. The financial settlement file transmission method 100 mainly includes the following steps:
[0053] In step 101, during the financial settlement file transmission process, a historical access data set of the financial settlement file is obtained, and a financial file transmission variable is determined according to the historical access data set.
[0054] In some embodiments, during the financial settlement file transmission process, a historical access data set of the financial settlement file is obtained. In specific implementation, historical access data is collected from previous financial file transmission processes. These historical access data may include the transmission timestamp of the financial settlement file, the transmission file size, the transmission file type, the transmission file speed, the transmission file recipient information, etc., so as to obtain the historical access data set.
[0055] Preferably, in some embodiments, after obtaining the historical access data set of the financial settlement file, the following method may be used, namely:
[0056] For each historical access data in the historical access data set, determining the access variability of each historical access data;
[0057] The historical access data whose access variation is greater than the preset access variation threshold is eliminated.
[0058] In specific implementation, by determining the access variability of each historical access data, the variation degree of each historical access data can be measured, and the reliability and availability of the historical access data set can be improved by eliminating the historical access data with access variability greater than a preset access variation threshold.
[0059] In some other embodiments, the access variability of each historical access data may be determined in the following manner, namely:
[0060] Get all historical access data in the historical access data set;
[0061] Determine the magnitude of access to the historical access dataset;
[0062] Determine the access activity of historical access data sets;
[0063] The access variability of each historical access data is determined by all the historical access data in the historical access data set, the access magnitude of the historical access data set, and the access activity of the historical access data set. In specific implementation, the access variability can be determined according to the following formula:
[0064]
[0065] in, represents the access variability of the i-th historical access data in the historical access data set, x i represents the i-th historical access data in the historical access data set, x v represents the vth historical access data in the historical access data set, n represents the access magnitude of the historical access data set, and μ represents the access activity of the historical access data set.
[0066] It should be noted that, in the present application, the access variability indicates the degree of difference between historical access data and other historical access data in the historical access data set. The larger the access variability, the greater the difference between the historical access data and other historical access data in the historical access data set, indicating that the historical access data is more likely to be historical access data and interference noise. The access order of magnitude of the historical access data set is the total amount of data of the historical access data in the historical access data set. The access activity of the historical access data set indicates the activity level of the recipient's historical access to financial settlement files. In specific implementation, the data mean of the historical access data set is determined, and the data mean is used as the access activity of the historical access data set.
[0067] In some embodiments, the financial file transmission variable may be determined according to the historical access data set in the following manner, namely:
[0068] Determine file transfer requirements for financial settlement;
[0069] A financial file transmission variable is selected from the historical access data set according to the file transmission requirement of the financial settlement.
[0070] In specific implementation, for example, the file transfer requirements for financial settlement may be to increase file transfer speed, optimize file transfer efficiency, reduce transfer costs, etc. According to the file transfer requirements for financial settlement, variables related to the transmission of financial settlement files are determined as financial file transfer variables. For example, when the file transfer requirement for financial settlement is to optimize file transfer efficiency, the financial file transfer variable may be the file transfer speed.
[0071] It should be noted that by excluding historical access data with large access variability, the risk of instability and errors in settlement file transmission can be reduced, which helps ensure the reliability and accuracy of transmission. By selecting variables related to the actual needs of financial settlement file transmission, the amount of file data that needs to be transmitted can be reduced, which can effectively improve the transmission efficiency of settlement files, especially when the transmission network conditions are poor.
[0072] In step 102, a key financial file transmission value is determined according to the financial file transmission variable, and a financial settlement pre-request file is determined by the key financial file transmission value.
[0073] In some embodiments, the key financial file transmission value may be determined according to the financial file transmission variable in the following manner, namely:
[0074] Determine pre-access parameters for financial document transfers;
[0075] determining a pre-visit adjustment amount;
[0076] Get historical values of financial file transfer variables;
[0077] The key financial file transmission value is determined by the pre-access parameter during the financial file transmission, the pre-access adjustment amount, and the historical value of the financial file transmission variable. In specific implementation, the key financial file transmission value can be determined according to the following formula:
[0078] γ t =λ+β1κ(t-1)+β2κ(t-2)+ε(t)
[0079] Among them, γ t represents the key financial file transmission value corresponding to time t, λ represents the pre-access adjustment amount, β1 represents the first pre-access parameter during financial file transmission, β2 represents the second pre-access parameter during financial file transmission, κ(t-1) represents the historical value of the financial file transmission variable corresponding to time t-1, κ(t-2) represents the historical value of the financial file transmission variable corresponding to time t-2, ε(t) represents the pre-access residual term corresponding to time t. It should be noted that in this application, the key financial file transmission value is the variable value obtained by estimating the financial settlement file transmission based on the financial file transmission variable. For example, when the financial file transmission variable is the file transmission speed, the estimated key financial file transmission value represents the specific file transmission speed when the file is transmitted next time.
[0080] In specific implementation, the pre-access parameters for financial file transmission can be determined by the least squares method. The least squares method estimates the pre-access parameters by minimizing the residual sum of squares between the historical values of the financial file transmission variables and the key financial file transmission values. The least squares method in matrix form can be used for calculation. In actual implementation, the pre-access parameters for financial file transmission can also be determined by other methods, which will not be repeated here.
[0081] In some embodiments, the financial settlement pre-request file may be determined by the key financial file transmission value in the following manner, namely:
[0082] Select financial settlement documents based on key financial document transfer values;
[0083] Arranging the financial settlement documents in chronological order to obtain a financial settlement document sequence;
[0084] The financial settlement file with the shortest time interval between the current file and the financial settlement file sequence is used as the financial settlement pre-request file.
[0085] In specific implementation, for example, when the financial file transfer variable is the file transfer speed, and the key financial file transfer value is a, all financial settlement files with a file transfer speed of a are selected from the financial settlement file database, all are arranged in chronological order to obtain a financial settlement file sequence, and the financial settlement file with the smallest current time interval is selected from the financial settlement file sequence as the financial settlement pre-request file.
[0086] It should be noted that determining key financial file transfer values based on financial file transfer variables helps to accurately identify the most important and frequently accessed transfer files in the financial settlement process, thereby avoiding unnecessary transfers. By determining financial settlement pre-request files through key financial file transfer values, less time and resources can be spent on transfer files that are actually required, thereby speeding up access and improving transfer efficiency.
[0087] In step 103, when the financial settlement pre-request file is in the to-be-cached space, a transmission priority factor of the financial settlement pre-request file is determined.
[0088] In some embodiments, it is first necessary to determine whether the financial settlement pre-request file is in the space to be cached. A list of cached files in the space to be cached can be obtained through a programming language or tool. For each cached file, its identifier (such as file name or path) is compared with the identifier of the pre-request file. In this way, it can be determined whether the pre-request file is already in the space to be cached. If an identifier matching the pre-request file is found, it means that the pre-request file already exists in the space to be cached. If an identifier matching the pre-request file is not found, it means that the financial settlement pre-request file has not yet been cached.
[0089] Preferably, in some embodiments, when the financial settlement pre-request file is in the to-be-cached space, the transmission priority factor of the financial settlement pre-request file may be determined in the following manner, namely:
[0090] Obtaining the access demand of the financial settlement pre-request file in the cache space;
[0091] Determine the initial transmission priority factor of the financial settlement pre-request file at the current moment;
[0092] Determine the maximum capacity of the cache space to be cached at the current moment;
[0093] The transmission priority factor of the financial settlement pre-request file is determined by the access demand of the financial settlement pre-request file in the cache space, the initial transmission priority factor of the financial settlement pre-request file at the current moment, and the maximum value of the cache capacity of the cache space at the current moment. In specific implementation, the transmission priority factor can be determined according to the following formula:
[0094]
[0095] Among them, χ t ′ represents the transmission priority factor of the financial settlement pre-request file, t represents the current time, and χ t represents the initial transmission priority factor of the financial settlement pre-request file corresponding to the current time t, e represents the Euler number, θ t represents the maximum capacity of the cache space to be cached at the current time t, θ r Indicates the access demand of the financial settlement pre-request file in the cache space.
[0096] It should be noted that, in the present application, the transmission priority factor represents the priority of the financial settlement pre-request file during transmission. The higher the priority, the higher the priority of the financial settlement pre-request file during file transmission. The transmission priority factor is proportional to the priority of the financial settlement pre-request file during transmission. The access demand represents the importance of the financial settlement pre-request file to the needs of the recipient during the financial settlement file transmission process. In specific implementation, the access demand can be used as the number of times the financial settlement pre-request file is accessed in the cache space, that is, the historical number of transmissions of the financial settlement pre-request file.
[0097] In addition, it should be noted that by determining the transmission priority factor of the financial settlement pre-request file, the priority of the financial settlement pre-request file can be measured, so that important and frequently accessed financial settlement files will be transmitted first, thereby improving the transmission efficiency of the financial settlement files.
[0098] In step 104, when the financial settlement pre-request file is not in the to-be-cached space, the financial settlement pre-request file is stored in the to-be-cached space, and an initial transmission priority factor is set for the pre-request file.
[0099] In some embodiments, the financial settlement pre-request file is stored in the to-be-cached space, and an initial transmission priority factor is set for the pre-request file, specifically in the following manner, namely:
[0100] Determining whether the cache space is full, and if the cache space is not full, storing the financial settlement pre-request file into the cache space;
[0101] If the cache space is full, the financial settlement pre-request file with the smallest transmission priority factor in the cache space is removed, the financial settlement pre-request file is stored in the cache space, and an initial transmission priority factor is set for the financial settlement pre-request file.
[0102] In the specific implementation, the current usage of the cache space is obtained, and the current usage is compared with the capacity limit of the cache space. If the current usage exceeds or is equal to the capacity limit, it means that the cache space is full. If the current usage is less than the capacity limit, it means that the cache space is not full. The financial settlement pre-request file with the smallest transmission priority factor in the cache space can be removed by deleting the file, clearing the file content or calling the relevant cache management function.
[0103] It should be noted that important files are retained first based on the transmission priority factor to ensure priority transmission and access to key financial settlement files within limited storage space. When the cache space is full, files with the smallest transmission priority factor are eliminated, so that the storage of pre-requested files is dynamically adaptive. Financial settlement files with high transmission priority factors are retained first, which helps to improve the efficiency of financial file transmission.
[0104] In step 105, the financial settlement pre-request files whose transmission priority factors in the to-be-cached space are higher than the transmission priority threshold are pre-stored in the transmission access space, and when the receiving party sends a financial settlement file transmission request, the financial settlement files are read from the transmission access space.
[0105] In some embodiments, pre-storing the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold into the transmission access space may be specifically performed in the following manner, namely:
[0106] Sorting all the financial settlement pre-request files in the to-be-cached space according to the transmission priority factor to obtain a financial settlement pre-request file sequence;
[0107] The financial settlement pre-request files in the financial settlement pre-request file sequence whose transmission priority factor is greater than the transmission priority threshold are pre-stored in the transmission access space.
[0108] It should be noted that by pre-storing financial settlement pre-request files with a transmission priority factor higher than a threshold, it is possible to ensure that the financial settlement pre-request files are immediately available, thereby achieving a fast response time. Since the financial settlement pre-request files have been pre-stored in the transmission access space, they do not need to be read from the original storage in real time, thereby reducing file transmission delays.
[0109] In some embodiments, when the receiving party sends a financial settlement file transmission request, the financial settlement file is read from the transmission access space. In specific implementation, when the receiving party needs to obtain a specific financial settlement file, it will send a transmission request to the sender. After receiving the transmission request, the transmission system will first check the transmission access space to see if the required financial settlement file, i.e., the financial settlement pre-request file, has been pre-stored. The transmission system will determine the required financial settlement file based on the information in the transmission request. If the required financial settlement file has been pre-stored in the transmission access space, the transmission system will immediately read the financial settlement file from the transmission access space. Once the receiving party receives the file, it can process it according to its own needs, which may include parsing, analyzing, storing and other operations on the file.
[0110] It should be noted that the pre-stored transmission access space allows the recipient to quickly read the required financial settlement files when sending a file transfer request, thereby greatly improving the efficiency and response speed of data access. This is very useful for real-time or high-frequency access to financial settlement files and can meet the timeliness requirements of the business.
[0111] In the present application, firstly, by excluding historical access data with large access variability, the reliability and accuracy of transmission can be ensured, and by selecting variables related to the actual needs of financial settlement file transmission, the transmission efficiency of settlement files can be effectively improved. Secondly, by determining key financial file transmission values based on financial file transmission variables, less time and resources can be spent on the transmission files actually required, thereby speeding up access speed and improving transmission efficiency. Then, by determining the transmission priority factor of the financial settlement pre-request file, the priority of the financial settlement pre-request file can be measured, so that important and frequently accessed financial settlement files will be transmitted first, thereby improving the transmission efficiency of the financial settlement files. Important files are retained first based on the transmission priority factor, ensuring priority transmission and access to key financial settlement files within limited storage space, and financial settlement files with high transmission priority factors are retained first, which helps to improve the efficiency of financial file transmission. Finally, by pre-storing financial settlement pre-request files with transmission priority factors higher than the threshold, it can be ensured that the financial settlement pre-request files are immediately available, especially in the case of transmission network congestion. The pre-stored transmission access space allows the recipient to quickly read the required financial settlement files from it when sending a file transfer request, thereby greatly improving the efficiency and response speed of data access, and effectively improving the transmission efficiency of financial settlement files in the case of file transmission network congestion.
[0112] In addition, in another aspect of the present application, in some embodiments, the present application provides a financial settlement file transmission system, referring to Figure 2, which is a schematic diagram of exemplary hardware and / or software of a financial settlement file transmission system according to some embodiments of the present application, the financial settlement file transmission system 200 includes: a financial file transmission variable determination module 201, a financial settlement pre-request file determination module 202, a transmission priority factor determination module 203, an initial transmission priority factor setting module 204 and a financial settlement file transmission control module 205, which are respectively described as follows:
[0113] The financial file transmission variable determination module 201 in the present application is mainly used to obtain a historical access data set of the financial settlement file during the financial settlement file transmission process, and determine the financial file transmission variable according to the historical access data set;
[0114] A financial settlement pre-request file determination module 202, in this application, the financial settlement pre-request file determination module 202 is mainly used to determine a key financial file transmission value according to the financial file transmission variable, and determine the financial settlement pre-request file through the key financial file transmission value;
[0115] The transmission priority factor determination module 203 in the present application is mainly used to determine the transmission priority factor of the financial settlement pre-request file when the financial settlement pre-request file is in the cache space;
[0116] The initial transmission priority factor setting module 204 in the present application is mainly used to store the financial settlement pre-request file in the to-be-cached space when the financial settlement pre-request file is not in the to-be-cached space, and to set an initial transmission priority factor for the pre-request file;
[0117] The financial settlement file transmission control module 205 in the present application is mainly used to pre-store the financial settlement pre-request file whose transmission priority factor in the cache space is higher than the transmission priority threshold into the transmission access space, and when the recipient sends a financial settlement file transmission request, read the financial settlement file from the transmission access space.
[0118] The above describes in detail the examples of the financial settlement file transmission method and system provided by the embodiments of the present application. It can be understood that in order to realize the above functions, the corresponding device includes hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0119] In some embodiments, the present application also provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned financial settlement file transmission method.
[0120] In some embodiments, reference Figure 3 , the dotted line in the figure indicates that the unit or the module is optional, and the figure is a structural schematic diagram of a computer device according to a financial settlement file transmission method provided by an embodiment of the present application. The above-mentioned financial settlement file transmission method in the above-mentioned embodiment can be Figure 3 The computer device 300 shown in the figure is implemented, and the computer device 300 includes at least one processor 301, a memory 302 and at least one communication unit 305. The computer device 300 can be a terminal device, a server or a chip.
[0121] The processor 301 may be a general-purpose processor or a special-purpose processor. For example, the processor 301 may be a central processing unit (CPU), which may be used to control the computer device 300, execute software programs, and process data of the software programs. The computer device 300 may also include a communication unit 305 to implement signal input (reception) and output (transmission).
[0122] For example, the computer device 300 may be a chip, the communication unit 305 may be an input and / or output circuit of the chip, or the communication unit 305 may be a communication interface of the chip, and the chip may be a component of a terminal device, a network device, or other devices.
[0123] For another example, the computer device 300 may be a terminal device or a server, and the communication unit 305 may be a transceiver of the terminal device or the server, or the communication unit 305 may be a transceiver circuit of the terminal device or the server.
[0124] The computer device 300 may include one or more memories 302, on which a program 304 is stored. The program 304 can be executed by the processor 301 to generate instructions 303, so that the processor 301 performs the method described in the above method embodiment according to the instructions 303. Optionally, data (such as a target audit model) may also be stored in the memory 302. Optionally, the processor 301 may also read the data stored in the memory 302, which may be stored at the same storage address as the program 304, or may be stored at a different storage address from the program 304.
[0125] The processor 301 and the memory 302 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0126] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or software-based instructions in the processor 301. The processor 301 can be a central processing unit, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, such as discrete gates, transistor logic devices or discrete hardware components.
[0127] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0128] For example, in some embodiments, the present application also provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned financial settlement file transmission method when executed.
[0129] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0130] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for transmitting financial settlement files. It is characterized in that The steps include: During the financial settlement file transmission process, a historical access data set of the financial settlement file is obtained, and a financial file transmission variable is determined according to the historical access data set; Determine a key financial file transmission value according to the financial file transmission variable, and determine a financial settlement pre-request file according to the key financial file transmission value; When the financial settlement pre-request file is in the to-be-cached space, determining a transmission priority factor of the financial settlement pre-request file; When the financial settlement pre-request file is not in the to-be-cached space, storing the financial settlement pre-request file in the to-be-cached space, and setting an initial transmission priority factor for the pre-request file; Pre-storing the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold in the transmission access space, and when the receiving party sends a financial settlement file transmission request, reading the financial settlement file from the transmission access space; When the financial settlement pre-request file is in the to-be-cached space, the transmission priority factor of the financial settlement pre-request file may be determined in the following manner, namely: Obtaining the access demand of the financial settlement pre-request file in the cache space; Determine the initial transmission priority factor of the financial settlement pre-request file at the current moment; Determine the maximum capacity of the cache space to be cached at the current moment; The transmission priority factor of the financial settlement pre-request file is determined by the access demand of the financial settlement pre-request file in the cache space, the initial transmission priority factor of the financial settlement pre-request file at the current moment, and the maximum value of the cache capacity of the cache space at the current moment. The transmission priority factor can be determined according to the following formula: in, Indicates the transmission priority factor of the financial settlement pre-request file. Indicates the current moment, Indicates the current time The initial transmission priority factor of the corresponding financial settlement pre-request file, represents the Euler number, Indicates the current time The capacity limit of the cache space to be cached is as follows: Indicates the access demand of the financial settlement pre-request file in the cache space.
2. The method according to claim 1, It is characterized in that After obtaining the historical access dataset of financial settlement documents, it also includes: For each historical access data in the historical access data set, determining the access variability of each historical access data; The historical access data whose access variation is greater than the preset access variation threshold is eliminated.
3. The method according to claim 1, It is characterized in that Determining financial file transmission variables according to the historical access data set specifically includes: Determine the file transfer requirements for financial settlement; A financial file transmission variable is selected from the historical access data set according to the file transmission requirement of the financial settlement.
4. The method according to claim 1, It is characterized in that Determining the key financial file transmission value according to the financial file transmission variable specifically includes: Determine pre-access parameters for financial document transfers; determining pre-visit adjustment amounts; Get historical values of financial file transfer variables; The key financial file transmission value is determined by the pre-access parameter during the financial file transmission, the pre-access adjustment amount, and the historical value of the financial file transmission variable, wherein the key financial file transmission value is determined according to the following formula: in, express The key financial file transmission value corresponding to the moment, represents the pre-access adjustment amount, Indicates the first pre-access parameter when transferring financial files. The second pre-access parameter for financial file transfers, express The historical values of the financial file transfer variables corresponding to the time, express The historical values of the financial file transfer variables corresponding to the time, express The pre-access residual term corresponding to time.
5. The method according to claim 1, It is characterized in that Determining the financial settlement pre-request file by using the key financial file transmission value specifically includes: Select financial settlement documents based on key financial document transfer values; Arranging the financial settlement documents in chronological order to obtain a financial settlement document sequence; The financial settlement file with the shortest time interval between the current file and the financial settlement file sequence is used as the financial settlement pre-request file.
6. The method according to claim 1, It is characterized in that Storing the financial settlement pre-request file in the to-be-cached space and setting an initial transmission priority factor for the pre-request file specifically includes: Determining whether the cache space is full, and if the cache space is not full, storing the financial settlement pre-request file into the cache space; If the cache space is full, the financial settlement pre-request file with the smallest transmission priority factor in the cache space is removed, the financial settlement pre-request file is stored in the cache space, and an initial transmission priority factor is set for the financial settlement pre-request file.
7. The method according to claim 1, It is characterized in that Pre-storing the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold into the transmission access space specifically includes: Sorting all the financial settlement pre-request files in the to-be-cached space according to the transmission priority factor to obtain a financial settlement pre-request file sequence; The financial settlement pre-request files in the financial settlement pre-request file sequence whose transmission priority factor is greater than the transmission priority threshold are pre-stored in the transmission access space.
8. A financial settlement file transmission system, It is characterized in that Included are: A financial file transmission variable determination module, used to obtain a historical access data set of financial settlement files during the financial settlement file transmission process, and determine the financial file transmission variable according to the historical access data set; A financial settlement pre-request file determination module, used to determine a key financial file transmission value according to the financial file transmission variable, and determine the financial settlement pre-request file by the key financial file transmission value; A transmission priority factor determination module, used for determining the transmission priority factor of the financial settlement pre-request file when the financial settlement pre-request file is in the to-be-cached space; An initial transmission priority factor setting module, used for storing the financial settlement pre-request file in the to-be-cached space when the financial settlement pre-request file is not in the to-be-cached space, and setting an initial transmission priority factor for the pre-request file; A financial settlement file transmission control module, used to pre-store the financial settlement pre-request file whose transmission priority factor in the to-be-cached space is higher than the transmission priority threshold into the transmission access space, and read the financial settlement file from the transmission access space when the receiving party sends a financial settlement file transmission request; When the financial settlement pre-request file is in the to-be-cached space, the transmission priority factor of the financial settlement pre-request file may be determined in the following manner, namely: Obtaining the access demand of the financial settlement pre-request file in the cache space; Determine the initial transmission priority factor of the financial settlement pre-request file at the current moment; Determine the maximum capacity of the cache space to be cached at the current moment; The transmission priority factor of the financial settlement pre-request file is determined by the access demand of the financial settlement pre-request file in the cache space, the initial transmission priority factor of the financial settlement pre-request file at the current moment, and the maximum value of the cache capacity of the cache space at the current moment. The transmission priority factor can be determined according to the following formula: in, Indicates the transmission priority factor of the financial settlement pre-request file. Indicates the current moment, Indicates the current time The initial transmission priority factor of the corresponding financial settlement pre-request file, represents the Euler number, Indicates the current time The capacity limit of the cache space to be cached is as follows: Indicates the access demand of the financial settlement pre-request file in the cache space.
9. A computer device, It is characterized in that The computer device comprises a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the financial settlement file transmission method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein instructions or codes are stored in the computer-readable storage medium. When the instructions or codes are executed on a computer, the computer implements the financial settlement file transmission method as described in any one of claims 1 to 7.
