Financial data copy storage method, system and equipment and storage medium
By adopting a dual-copy storage mechanism in the distributed file system and dynamically converting it to a three-copy storage mechanism based on the number of calls, the storage space and bandwidth consumption problems caused by the traditional three-copy mechanism are solved and the availability of financial data is improved.
Patent Information
- Application Number
- CN202410744996.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-27
AI Technical Summary
In traditional distributed file systems, the three-copy mechanism will cause additional overhead in storage space and bandwidth consumption when storing cold data.
A preset dual-copy storage mechanism is used to store financial data, and the number of data calls is monitored within the first preset time range. When the preset value is reached, it is converted to a three-copy storage mechanism to reduce storage space and bandwidth consumption.
By dynamically adjusting the copy saving mechanism, storage space and bandwidth consumption are reduced, and the availability of important financial data is improved.
Smart Images

Figure CN118708540A
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of financial data preservation, and in particular to a method, system, device and storage medium for preserving a copy of financial data. [Background technology]
[0002] The traditional distributed file system replication mechanism uses a three-copy mechanism by default to ensure data availability, that is, storing data in three different storage units. However, for cold data, the three-copy mechanism will cause an additional 200% storage space overhead and additional bandwidth consumption when writing data. [Summary of the invention]
[0003] In view of this, the present invention provides a method, system, device and storage medium for preserving a copy of financial data to reduce the additional overhead of storage space and reduce bandwidth consumption.
[0004] The specific technical solution of the first embodiment of the present invention is: a method for preserving copies of financial data, the method comprising: using a preset dual-copy preservation mechanism to store the financial data to be stored; the preset dual-copy preservation mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored; if the first total number of calls to the financial data to be stored within a first preset time range exceeds a preset value, the preset three-copy preservation mechanism is used to store the financial data to be stored.
[0005] Preferably, the storage of the financial data to be stored using a preset three-copy preservation mechanism includes: storing the financial data to be stored again in a preset third storage unit; the first storage unit, the second storage unit and the third storage unit all include the complete financial data to be stored.
[0006] Preferably, the first total call count is obtained in the following manner: when the financial data to be stored in the first storage unit or the second storage unit is called, a call record of the financial data to be stored is generated; one call record corresponds to one call instruction; a preset collection tool is used to obtain the call record of the financial data to be stored in real time, and the call count is generated according to the call record; wherein one call record corresponds to one call count; the total call count within the first preset time range is the first total call count.
[0007] Preferably, the generating of the number of calls according to the call record further includes: storing each number of calls into a preset message system according to a time sequence; using a preset Flink framework to monitor in real time a first total number of calls in the preset message system within the first preset time range; if the first total number of calls of the financial data to be stored within the first preset time range exceeds a preset value, the preset three-copy storage mechanism is used to store the financial data to be stored, including: when the preset Flink framework monitors that the first total number of calls in the preset message system exceeds a preset value, the preset three-copy storage mechanism is used to store the financial data to be stored.
[0008] Preferably, the financial data to be stored is stored using a preset three-copy preservation mechanism, and then further includes: obtaining a second total number of calls to the financial data to be stored within a second preset time range; the second preset time range is later than the first preset time range; if the second total number of calls does not exceed the preset value, the financial data to be stored is stored using the preset two-copy preservation mechanism.
[0009] Preferably, a preset Flink framework is used to monitor in real time the first total number of calls in the preset message system within the first preset time range, including: the preset Flink framework uses a preset HTTP interface and a preset scheduled task to monitor the first total number of calls in the preset message system; the timing range of the preset scheduled task is the first preset time range.
[0010] Preferably, the first preset time range is weekly or monthly; when the first preset time range is weekly, the preset value is a first value; when the first preset time range is monthly, the preset value is a second value; the second value is greater than the first value.
[0011] The specific technical solution of the second embodiment of the present invention is: a copy preservation system for financial data, the system comprising: a dual copy preservation module and a triple copy preservation module; the dual copy preservation module is used to store the financial data to be stored using a preset dual copy preservation mechanism; the preset dual copy preservation mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored; the triple copy preservation module is used to store the financial data to be stored using a preset triple copy preservation mechanism if the first total number of calls to the financial data to be stored within a first preset time range exceeds a preset value.
[0012] The specific technical solution of the third embodiment of the present invention is: a copy storage device for financial data, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method described in any one of the first embodiments of the present application.
[0013] The specific technical solution of the fourth embodiment of the present invention is: a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to perform the steps of the method described in any one of the first embodiments of the present application.
[0014] Implementing the embodiments of the present invention will have the following beneficial effects:
[0015] In the present invention, the financial data to be stored is saved according to a dual-copy preservation mechanism, and the number of calls to the financial data to be stored is monitored in real time. When the total number of calls to the financial data to be stored within a first preset time range exceeds a preset value, the number of calls to the financial data to be stored is relatively large, proving that the importance of the financial data to be stored is relatively high, thereby changing the storage mode of the financial data to be stored to a three-copy preservation mechanism; on the one hand, the default three-copy preservation mechanism of the distributed file system in the prior art is adjusted to a default dual-copy preservation mechanism, which overall reduces the storage space overhead and the bandwidth when writing data; on the other hand, the storage mode of the financial data with a large number of calls, that is, a higher degree of importance, is adjusted from the default dual-copy preservation mechanism to the three-copy preservation mechanism, thereby increasing the availability of these important financial data.
Brief Description of the Drawings
[0016] 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 work.
[0017] Figure 1 A flowchart of the steps of a method for preserving a copy of financial data;
[0018] Figure 2 A flowchart of steps for obtaining the first total number of calls;
[0019] Figure 3 A flowchart of the steps for generating the call count;
[0020] Figure 4 A flowchart of the steps for dynamically adjusting the storage mechanism of financial data to be stored;
[0021] Figure 5 A diagram of the architecture of a system for preserving copies of financial data;
[0022] Among them, 501 is a double copy storage module; 502 is a triple copy storage module. [Specific implementation method]
[0023] 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.
[0024] The terms "first", "second", etc. in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other steps or modules that are inherent to these processes, methods, products or devices.
[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0026] See also Figure 1 , is a flowchart of a method for saving a copy of financial data in the first embodiment of the present application, so as to reduce the storage space overhead and the bandwidth when writing data, and increase the availability of important financial data, the method comprising:
[0027] Step 101: Utilize a preset dual-copy storage mechanism to store the financial data to be stored; the preset dual-copy storage mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored;
[0028] Step 102: If a first total number of calls of the financial data to be stored within a first preset time range exceeds a preset value, the financial data to be stored is stored using a preset three-copy storage mechanism.
[0029] Specifically, the financial data to be stored may be economic data, stock market data, bond market data, foreign exchange market data, commodity market data, financial institution data or financial indicator data, etc.; when the financial data to be stored is stored, a dual-copy preservation mechanism is used to store the financial data to be stored; for example, the financial data to be stored is stored in a first storage unit and the financial data to be stored is stored in a second storage unit; the first total number of calls to the financial data to be stored within a first preset time range is monitored in real time; when the first total number of calls exceeds a preset value, the financial data to be stored is financial data of high importance, and the preservation mechanism of the financial data to be stored is converted from a dual-copy preservation mechanism to a triple-copy preservation mechanism, that is, a third storage unit is added, and the financial data to be stored is stored again in the third storage unit; wherein the first preset time range can be set according to actual conditions, such as daily, weekly or monthly, and the preset value can also be set according to actual conditions, such as 10 or 100. It can be understood that the longer the first preset time range, the higher the preset value should be.
[0030] By using the method in this embodiment, the financial data to be stored is saved according to the dual-copy preservation mechanism, and the number of calls of the financial data to be stored is monitored in real time. When the total number of calls of the financial data to be stored within the first preset time range exceeds the preset value, the number of calls of the financial data to be stored is relatively large, which proves that the importance of the financial data to be stored is relatively high, and thus the storage mode of the financial data to be stored is changed to a three-copy preservation mechanism; on the one hand, the default three-copy preservation mechanism of the distributed file system in the prior art is adjusted to the default dual-copy preservation mechanism, which overall reduces the storage space overhead and the bandwidth when writing data; on the other hand, the storage mode of the financial data with a large number of calls, that is, a higher degree of importance, is adjusted from the default dual-copy preservation mechanism to the three-copy preservation mechanism, thereby increasing the availability of these important financial data.
[0031] In a specific embodiment, the financial data to be stored is stored using a preset three-copy storage mechanism in step 102, including: storing the financial data to be stored again in a preset third storage unit; the first storage unit, the second storage unit, and the third storage unit all include the complete financial data to be stored. By storing the financial data with a higher degree of importance through the three-copy storage mechanism, the availability of the financial data with a higher degree of importance is ensured.
[0032] In the specific embodiments, see Figure 2 , the first total number of calls is obtained in the following manner:
[0033] Step 201: When the financial data to be stored in the first storage unit or the second storage unit is called, a call record of the financial data to be stored is generated; one call record corresponds to one call instruction;
[0034] Step 202: Use a preset collection tool to obtain the call records of the financial data to be stored in real time, and generate the call count according to the call records; wherein one call record corresponds to one call count; and the total call count within the first preset time range is the first total call count.
[0035] Specifically, the preset server sends a call instruction to the first storage unit or the second storage unit in response to the user's operation instruction; the call instruction is used to call the financial data to be stored; when the financial data to be stored in the first storage unit or the second storage unit is called, the server generates a call count of the financial data to be stored. Among them, the server can be connected through a file transfer protocol service tool. When the server is successfully connected through the file transfer protocol tool, the financial data to be stored in the first storage unit or the second storage unit is called. Calling the financial data to be stored once generates a call record, and one call record corresponds to one call count. The call record obtained in this embodiment can also be saved in a preset database to trace the call information of the financial data to be stored. The call count of the financial data to be stored is generated by obtaining the call record of the financial data to be stored, so as to accurately judge whether the financial data to be stored is financial data with a high degree of importance.
[0036] In the specific embodiments, see Figure 3 In step 202, the number of calls is generated according to the call record, and then the following steps are further included:
[0037] Step 301, storing each call count in a preset message system according to time sequence;
[0038] Step 302: Use a preset Flink framework to monitor in real time a first total number of calls in the preset message system within the first preset time range;
[0039] If in step 102 the first total number of calls of the to-be-stored financial data within the first preset time range exceeds a preset value, the to-be-stored financial data is stored using a preset three-copy storage mechanism, including:
[0040] Step 303: When the preset Flink framework detects that the first total number of calls in the preset message system exceeds a preset value, the preset three-copy storage mechanism is used to store the financial data to be stored.
[0041] Specifically, according to the generation time of each call count, each call count is stored in a preset message system in chronological order, and the first total call count in the preset message system within the first preset time range is monitored in real time using the preset Flink framework; wherein the first preset time range can be set according to actual conditions, such as daily, weekly or monthly. Each call count is stored in the preset message system in chronological order. Compared with the call counts that are disrupted in chronological order, the call counts arranged in chronological order will enable the preset Flink framework to accurately obtain the first total call count in the first preset time range, thereby improving the accuracy of monitoring.
[0042] Specifically, the Flink framework is a distributed computing engine with a layered architecture. The implementation of each layer depends on the services provided by the lower layer, while providing abstract interfaces and services for the upper layer. The Flink framework can be divided into four layers, including the Deploy layer, the Core layer, the API layer, and the Library layer, which can support the Exactly-once semantics of stateful computing. State means that Flink can maintain the clustering and aggregation of data in time series, and its checkpoint mechanism can easily and quickly perform failure retries; it supports stream processing and window processing with event time semantics. The semantics of event time make the results of stream computing more accurate, especially when events arrive out of order or delayed.
[0043] In the specific embodiments, see Figure 4 In step 102, the financial data to be stored is stored using a preset three-copy storage mechanism, and then the following steps are further included:
[0044] Step 401: Obtain a second total call count of the financial data to be stored within a second preset time range; the second preset time range is later than the first preset time range;
[0045] Step 402: If the second total call times does not exceed the preset value, the preset dual copy storage mechanism is used to store the financial data to be stored.
[0046] Specifically, the second preset time range can be set according to actual conditions, such as every day, every week or every month. When the storage mechanism of the financial data to be stored is adjusted to a three-copy preservation mechanism, the second total call number of the financial data to be stored within the second preset time range is monitored. If the second total call number does not exceed the preset value, the current financial data to be stored is not important data, and using the three-copy preservation mechanism to store the financial data will cause a waste of resources. In this case, the preservation mechanism of the financial data to be stored is changed to a double-copy preservation mechanism to release more storage space.
[0047] In a specific embodiment, in step 302, using a preset Flink framework to monitor in real time the first total number of calls in the preset message system within the first preset time range includes:
[0048] The preset Flink framework uses the preset HTTP interface and the preset scheduled task to monitor the first total number of calls in the preset message system; the timing range of the preset scheduled task is the first preset time range. Specifically, through the HTTP interface and the written scheduled task, the first total number of calls per week or month in the preset message system can be automatically obtained, which is convenient for monitoring the stored financial data.
[0049] In a specific embodiment, the scheduled task is obtained in the following manner: a front-end page is created for configuring the scheduled task, wherein the front-end page includes at least the task name, task description, code entry for task execution, task execution time, task execution cycle, and a brand library for executing the task; wherein the brand library is a data item that can be selected in multiple ways; the server receives the configuration data of the scheduled task on the front-end page, verifies the legitimacy of the configuration data, and stores the data in the database after the verification; the task scheduler is used to search the database to obtain the scheduled task data configured through the front-end page, and the command of the obtained scheduled task data is spliced with pim::cron to obtain the task scheduling command; the task scheduler executes the scheduled task data in a loop, and when the task execution time is reached, the task scheduling command is executed, and the code to be executed by the scheduled task is called, so as to realize the execution of the same scheduled task by multiple brand libraries.
[0050] Specifically, the front-end page development framework includes multiple page components, and the page components correspond to a certain visual object on the page, such as a button, an input box, a drop-down box, a multiple-selection box, a radio button, etc. The page components are used to display the data obtained from the back end on the page, and the display method can be to directly display the content of the data, or to display a certain state of the visual object determined by the data. When creating a front-end page for configuring a scheduled task, this embodiment uses an input box, a drop-down box, a radio button, and a multiple-selection box as page components.
[0051] In a specific embodiment, the first preset time range is weekly or monthly; when the first preset time range is weekly, the preset value is a first value; when the first preset time range is monthly, the preset value is a second value; the second value is greater than the first value. Specifically, if the total number of visits per week is greater than 20 times, or the total number of visits per month is greater than 60 times, and the copy preservation mechanism of the financial data is a dual copy preservation mechanism, it is adjusted to a triple copy preservation mechanism, otherwise the original copy mechanism is maintained. If the financial data upgraded to the triple copy preservation mechanism has a total number of visits per week of less than 20 times, or a total number of visits per month of less than 60 times, it is changed to a dual copy preservation mechanism, thereby dynamically adjusting the preservation mechanism of each financial data.
[0052] In a specific embodiment, the number of calls may also be stored in Mysql, and the storage mechanism of each financial data may be dynamically adjusted by calculating the total number of calls in Mysql.
[0053] In a specific embodiment, the following method can be used to store the financial data to be stored by using a dual copy storage mechanism: divide the local encryption disk according to the user settings, and the local encryption disk is an independent data storage space; encrypt the data stored by the user to the local encryption disk this time to obtain the first encrypted data; and synchronously store the first encrypted data to the encryption disk of other storage devices, and the encryption disks of other storage devices are pre-divided. In this embodiment, when the financial data is actively stored on the encryption disk side, the hash value is taken according to the file content and file name of the data stored by the user to the local encryption disk this time. The hash value can be used as the unique identification information of the file, and the hash values of the two files can be used to determine whether the two are files with the same substantial content. In this embodiment, the hash value of the data stored by the user to the local encryption disk this time is reported to the file management server; query whether the hash value exists in the file list maintained by the file management server; if the hash value already exists, request any other user to store the data file with the same hash value in his local encryption disk The key generated; receive the key of the data stored by the user to the local encryption disk this time; according to the received key, encrypt the data stored by the user to the local encryption disk this time, and no longer actively and synchronously store the data to other storage devices. The data storage method of this embodiment divides the local encrypted disk according to user settings, encrypts the data stored by the user to the local encrypted disk to obtain encrypted data, and synchronously stores the encrypted data to the encrypted disk of other storage devices, thereby encrypting the data stored in the local encrypted disk and storing it in other storage devices, thereby enhancing the security of local data storage.
[0054] In the specific embodiments, see Figure 5, is a structural diagram of a copy preservation system for financial data in the second embodiment of the present application, the system comprising: a dual copy preservation module 501 and a triple copy preservation module 502; the dual copy preservation module 501 is used to store the financial data to be stored by using a preset dual copy preservation mechanism; the preset dual copy preservation mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored; the triple copy preservation module 502 is used to store the financial data to be stored by using a preset triple copy preservation mechanism if the first total number of calls of the financial data to be stored within a first preset time range exceeds a preset value.
[0055] In a specific embodiment, the system also includes a call count acquisition module, which is used to obtain a second total call count of the financial data to be stored within a second preset time range; the second preset time range is later than the first preset time range; if the second total call count does not exceed the preset value, the preset dual copy storage mechanism is used to store the financial data to be stored.
[0056] By using the system in this embodiment, the financial data to be stored is saved according to the dual-copy preservation mechanism, and the number of calls of the financial data to be stored is monitored in real time. When the total number of calls of the financial data to be stored within the first preset time range exceeds the preset value, the number of calls of the financial data to be stored is relatively large, which proves that the importance of the financial data to be stored is relatively high, so the storage mode of the financial data to be stored is changed to a three-copy preservation mechanism; on the one hand, the default three-copy preservation mechanism of the distributed file system in the prior art is adjusted to the default dual-copy preservation mechanism, which reduces the overall storage space overhead and the bandwidth when writing data; on the other hand, the storage mode of the financial data with a large number of calls, that is, the high importance, is adjusted from the default dual-copy preservation mechanism to the three-copy preservation mechanism, thereby increasing the availability of these important financial data.
[0057] In a specific embodiment, the third embodiment of the present application provides a copy storage device for financial data, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method as described in any one of the first embodiments of the present application.
[0058] In a specific embodiment, the fourth embodiment of the present application is a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the method as described in any one of the first embodiments of the present application.
[0059] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0060] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0061] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for preserving a copy of financial data, characterized in that: The method comprises: The financial data to be stored is stored using a preset dual-copy storage mechanism; the preset dual-copy storage mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored; If a first total number of calls of the financial data to be stored within a first preset time range exceeds a preset value, the financial data to be stored is stored using a preset three-copy storage mechanism.
2. The method for preserving a copy of financial data according to claim 1, characterized in that: The storing of the to-be-stored financial data by using a preset three-copy storage mechanism includes: The financial data to be stored is stored again in a preset third storage unit; the first storage unit, the second storage unit and the third storage unit all include the complete financial data to be stored.
3. The method for preserving a copy of financial data according to claim 1, characterized in that: The first total number of calls is obtained in the following manner: When the financial data to be stored in the first storage unit or the second storage unit is called, a call record of the financial data to be stored is generated; one call record corresponds to one call instruction; Using a preset collection tool to obtain the call record of the financial data to be stored in real time, and generating the call count according to the call record; wherein one call record corresponds to one call count; The total number of calls within the first preset time range is the first total number of calls.
4. The method for preserving a copy of financial data according to claim 3, characterized in that: The method further comprises generating the number of calls according to the call record, and then: Store each call count in a preset message system according to time sequence; Using a preset Flink framework to monitor in real time a first total number of calls in the preset message system within the first preset time range; If the first total number of calls of the financial data to be stored within the first preset time range exceeds a preset value, the financial data to be stored is stored using a preset three-copy storage mechanism, including: When the preset Flink framework detects that the first total number of calls in the preset message system exceeds a preset value, the financial data to be stored is stored using a preset three-copy storage mechanism.
5. The method for preserving a copy of financial data according to claim 1, characterized in that: The method further comprises storing the to-be-stored financial data by using a preset three-copy storage mechanism, and then: Acquire a second total number of calls of the to-be-stored financial data within a second preset time range; the second preset time range is later than the first preset time range; If the second total number of calls does not exceed the preset value, the preset dual-copy storage mechanism is used to store the financial data to be stored.
6. The method for preserving a copy of financial data according to claim 4, characterized in that: Using a preset Flink framework to monitor in real time a first total number of calls in the preset message system within the first preset time range includes: The preset Flink framework uses a preset HTTP interface and a preset scheduled task to monitor a first total number of calls in the preset message system; the timing range of the preset scheduled task is the first preset time range.
7. The method for preserving a copy of financial data according to claim 1, characterized in that: The first preset time range is weekly or monthly; When the first preset time range is weekly, the preset value is a first value; When the first preset time range is monthly, the preset value is a second value; the second value is greater than the first value.
8. A system for preserving a copy of financial data, characterized in that: The system comprises: a double copy storage module and a triple copy storage module; The dual copy storage module is used to store the financial data to be stored by using a preset dual copy storage mechanism; the preset dual copy storage mechanism is to store the financial data to be stored in a preset first storage unit and a preset second storage unit; the first storage unit and the second storage unit both include the complete financial data to be stored; The three-copy preservation module is used to store the financial data to be stored by using a preset three-copy preservation mechanism if a first total number of calls of the financial data to be stored exceeds a preset value within a first preset time range.
9. A device for storing a copy of financial data, comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
