CN110059139A - Business datum archiving method, equipment, server and computer readable storage medium - Google Patents
Business datum archiving method, equipment, server and computer readable storage medium Download PDFInfo
- Publication number
- CN110059139A CN110059139A CN201910191567.4A CN201910191567A CN110059139A CN 110059139 A CN110059139 A CN 110059139A CN 201910191567 A CN201910191567 A CN 201910191567A CN 110059139 A CN110059139 A CN 110059139A
- Authority
- CN
- China
- Prior art keywords
- business datum
- processed
- data
- archiving method
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
Abstract
The embodiment of the invention discloses a kind of business datum archiving method, equipment, server and computer readable storage mediums, and wherein method includes: that business datum to be processed in preset time range is obtained in preset time point;Classified according to the data processing state of the business datum to be processed to the business datum to be processed, obtains the target data classification of the business datum to be processed;According to the corresponding relationship of preset data category and archiving method, target archiving method corresponding with the target data classification of the business datum to be processed is determined;Using the target archiving method, filing processing is carried out to the business datum to be processed.In this way, it can be achieved that automating, intelligently filing to business datum in advance, data filing efficiency is improved.
Description
Technical field
The present invention relates to technical field of data processing more particularly to a kind of business datum archiving method, equipment, server and
Computer readable storage medium.
Background technique
With computer technology and expanding economy, the development of financial industry is more and more important, and people are to financial industry
Demand is more and more, and the business datum of financial system is more and more, and it is more and more important to carry out Put on file to business datum.At present
The financial system of financial industry uses data filing in the database disposed using non-distributed, without depth.In magnanimity industry
When business increases, cost can only be continuously increased and carry out HardwareUpgring, database can not dynamically carry out software upgrading.Therefore how more
Effectively carrying out filing to business datum becomes the emphasis of research.
Summary of the invention
The embodiment of the present invention provides a kind of business datum archiving method, equipment, server and computer readable storage medium,
It can be achieved to automate in advance, intelligently business datum filed, improve data filing efficiency.
In a first aspect, the embodiment of the invention provides a kind of business datum archiving methods, this method comprises:
Business datum to be processed in preset time range is obtained in preset time point, the preset time range is described
After preset time point;
Classified according to the data processing state of the business datum to be processed to the business datum to be processed,
The target data classification of the business datum to be processed is obtained, the target data classification includes alive data or inactive number
According to;
According to the corresponding relationship of preset data category and archiving method, the determining mesh with the business datum to be processed
The corresponding target archiving method of data category is marked, the archiving method includes cutting optimization class data archiving method and log recording day
Class data archiving method;
Using the target archiving method, filing processing is carried out to the business datum to be processed.
It is further, described that business datum to be processed in preset time range is obtained in preset time point, comprising:
The processing time limit of each business datum in presetting database is obtained in preset time point, the presetting database is for depositing
The pending business datum of storage institute;
From filtering out the to be processed industry of the processing time limit in the preset time range in the presetting database
Business data.
Further, the data processing state according to the business datum to be processed is to the business to be processed
Data are classified, and the target data classification of the business datum to be processed is obtained, comprising:
Whether the data processing state for detecting the business datum to be processed is to be completed;
If detecting that the data processing state of the business datum to be processed is to be completed, it is determined that described to be processed
Business datum target data classification be inactive data;
If detecting that the data processing state of the business datum to be processed is unfinished, it is determined that described to be processed
Business datum target data classification be alive data.
Further, the archiving method includes cutting optimization class data archiving method day;It is described according to preset data class
Not with the corresponding relationship of archiving method, target filing corresponding with the target data classification of the business datum to be processed is determined
Method, comprising:
If it is determined that the business datum to be processed is alive data, then according to preset data category and filing side
The corresponding relationship of method determines that target archiving method corresponding with the alive data is to cut optimization class data archiving method day.
Further, described to use the target archiving method, filing processing is carried out to the business datum to be processed,
Include:
If it is determined that the target archiving method is to cut optimization class data archiving method day, then detect described to be processed
Whether the processing time limit of business datum is out of date;
If detecting that the processing time limit of the business datum to be processed is out of date, by the business number to be processed
According to storing into preset magnetic tape strip unit;
If detecting that the processing time limit of the business datum to be processed is not out of date, by the business number to be processed
According to storage into preset network storage device.
Further, the archiving method includes log recording class data archiving method;It is described according to preset data class
Not with the corresponding relationship of archiving method, target filing corresponding with the target data classification of the business datum to be processed is determined
Method, comprising:
If it is determined that the business datum to be processed is inactive data, then according to preset data category with return
The corresponding relationship of shelves method, determining target archiving method corresponding with the inactive data is log recording class data filing side
Method.
Further, described to use the target archiving method, filing processing is carried out to the business datum to be processed,
Include:
If it is determined that the target archiving method is log recording class data archiving method, then obtain described to be processed
The deadline of business datum;
Detect the business datum to be processed deadline whether be more than the business datum to be processed processing
Time limit;
If detecting that the deadline of the business datum to be processed is more than the place of the business datum to be processed
The time limit is managed, then is stored the business datum to be processed into preset magnetic tape strip unit;
If detecting that the deadline of the business datum to be processed is less than the business datum to be processed
The time limit is handled, then is stored the business datum into preset network storage device.
Second aspect, the embodiment of the invention provides a kind of business datum archival device, the business datum archival device packets
Include the unit of the business datum archiving method for executing above-mentioned first aspect.
The third aspect, the embodiment of the invention provides a kind of server, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing branch
The computer program that business datum archival device executes the above method is held, the computer program includes program instruction, the place
Reason device is configured for calling described program instruction, the method for executing above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer storage medium
It is stored with computer program, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the method that processor executes above-mentioned first aspect.
In the embodiment of the present invention, business datum archival device can be obtained in preset time range in preset time point wait locate
The business datum of reason, and according to the data processing state of the business datum to be processed to the business datum to be processed into
Row classification, obtains the target data classification of the business datum to be processed, and according to preset data category and filing side
The corresponding relationship of method determines target archiving method corresponding with the target data classification of the business datum to be processed, thus
Using the target archiving method, filing processing is carried out to the business datum to be processed.In this way, it can be achieved that mentioning
It is preceding that Put on file is carried out to business datum, improve the efficiency of data filing processing.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of business datum archiving method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram of another business datum archiving method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic block diagram of business datum archival device provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of industry server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Business datum archiving method provided in an embodiment of the present invention can be executed by a kind of business datum archival device, described
Business datum archival device can be set on the server, and in certain embodiments, the business datum archival device can also be with
It is arranged on the intelligent terminal for establishing communication connection with the server.In certain embodiments, the server can be hand
The terminals such as mechanical, electrical brain, plate, smartwatch.In certain embodiments, the business datum archival device may be mounted at described
On server, in certain embodiments, the business datum archival device can be spatially independently of the server, i.e. institute
Stating service terminal includes business datum archival device.
In the embodiment of the present invention, the business datum archival device can be obtained in preset time point in preset time range
Interior business datum to be processed;And according to the data processing state of the business datum to be processed to the business to be processed
Data are classified, and the target data classification of the business datum to be processed is obtained, and the target data classification includes active
Data or inactive data.The business datum archival device can be closed according to preset data category is corresponding with archiving method
System determines target archiving method corresponding with the target data classification of the business datum to be processed, and uses the target
Archiving method carries out filing processing to the business datum to be processed.With reference to the accompanying drawing to the business of the embodiment of the present invention
Data archiving method is schematically illustrated.
Referring to Figure 1, Fig. 1 is a kind of schematic flow diagram of business datum archiving method provided in an embodiment of the present invention, such as
Shown in Fig. 1, this method can be executed by business datum archival device, for example preceding institute of the specific explanations of the business datum archival device
It states, details are not described herein again.Specifically, described method includes following steps for the embodiment of the present invention.
S101: business datum to be processed in preset time range, the preset time range are obtained in preset time point
After the preset time point.
In the embodiment of the present invention, business datum archival device can be obtained in preset time range in preset time point wait locate
The business datum of reason, the preset time range is after the preset time point.In certain embodiments, the business datum
In the preset database, the presetting database is for storing business datum to be processed for storage.
In one embodiment, after preset time point, the preset time point can be the preset time range
Any point-in-time before the start time of the preset preset time range.In certain embodiments, the business datum
Archival device can obtain in the preset time range in any point-in-time before the start time of preset time range wait locate
The business datum of reason.
S102: the business datum to be processed is carried out according to the data processing state of the business datum to be processed
Classification, obtains the target data classification of the business datum to be processed.
In the embodiment of the present invention, business datum archival device can be according to the data processing of the business datum to be processed
State classifies to the business datum to be processed, obtains the target data classification of the business datum to be processed.
In some embodiments, to be processed in the available preset time range of the business datum archival device
The processing status of business datum, and determine according to the processing status data type of the business datum to be processed.At certain
In a little embodiments, the processing status includes being completed and not completing two states;In certain embodiments, the data type
Including alive data and inactive data.In certain embodiments, the business datum archival device can determine the processing
State is that unfinished business datum to be processed is alive data, and determines that the processing status is completed to be processed
Business datum is alive data.
For example, it is assumed that the business datum is data to be refunded, then the business datum archival device can detecte currently
The data of refund whether be equal to data to be refunded, if detect the current data of refund be equal to data to be refunded, can
To determine that the processing status for stating data to be refunded is to be completed, if detecting that the current data of refund are less than amount of money to be gone back
According to can then determine that it is unfinished for stating the processing status of data to be refunded.The business datum archival device can determine described
The processing status of data to be refunded is that unfinished business datum to be processed is alive data, and determines the data to be refunded
Processing status be completed business datum to be processed be alive data.
In one embodiment, to be processed in the available preset time range of the business datum archival device
The renewal frequency of business datum, and according to the determination of the renewal frequency of business datum to be processed in the preset time range
The data type of business datum to be processed.In certain embodiments, the business datum archival device can determine it is described more
The business datum to be processed that new frequency is greater than or equal to predeterminated frequency threshold value is alive data, and determines that the renewal frequency is small
In predeterminated frequency threshold value business datum to be processed be inactive data.
For example, it is assumed that the business datum archival device gets business datum to be processed in the preset time range
Renewal frequency be that 3 times/hour if predeterminated frequency threshold value is 2 times/hour can determine the renewal frequency 3 times/small
When be greater than 2 time/hour of predeterminated frequency threshold value, may thereby determine that business datum to be processed in the preset time range for live
Jump data.
In another example, it is assumed that the business datum archival device gets business number to be processed in the preset time range
According to renewal frequency be 3 times/hour, if predeterminated frequency threshold value be 4 times/hour, can determine the renewal frequency 3 times/
Hour is less than 2 time/hour of predeterminated frequency threshold value, may thereby determine that business datum to be processed in the preset time range is
Inactive data.
In one embodiment, to be processed in the available preset time range of the business datum archival device
The business completeness of business datum, and determined according to the business completeness of business datum to be processed in the preset time range
The data type of the business datum to be processed.In certain embodiments, the business datum archival device can determine institute
Stating business completeness to be greater than or equal to the business datum to be processed of default completeness is alive data, and determines that the business is complete
The business datum to be processed that Cheng Du is less than default completeness is inactive data.
For example, it is assumed that default completeness is 50%, if the business datum is data to be refunded, and data to be refunded are
1000, currently refund data are 500, then can determine that the business completeness of the data to be refunded is 50%, i.e., the described industry
Business data filing equipment can determine that the business completeness 50% is equal to default completeness 50%, thus may determine that it is described to
The business datum of processing is alive data.
In another example, it is assumed that default completeness is 50%, if the business datum is data to be refunded, and data to be refunded
It is 1000, currently refund data are 300, then can determine that the business completeness of the data to be refunded is 30%, i.e., described
Business datum archival device can determine that the business completeness 30% is less than default completeness 50%, thus may determine that described
Business datum to be processed is inactive data.
S103: according to the corresponding relationship of preset data category and archiving method, the determining and business number to be processed
According to the corresponding target archiving method of target data classification.
In the embodiment of the present invention, business datum archival device can be corresponding with archiving method according to preset data category
Relationship determines target archiving method corresponding with the target data classification of the business datum to be processed.In some embodiments
In, the archiving method includes cutting optimization class data archiving method and log recording class data archiving method day.
In one embodiment, if it is determined that going out the business datum to be processed is inactive data, then business number
Can be according to the corresponding relationship of preset data category and archiving method according to archival device, determination is corresponding with the inactive data
Target archiving method be log recording class data archiving method.
In one embodiment, if it is determined that going out the business datum to be processed is alive data, then business datum is returned
Shelves equipment can determine target corresponding with the alive data according to the corresponding relationship of preset data category and archiving method
Archiving method is to cut optimization class data archiving method day.
S104: the target archiving method is used, filing processing is carried out to the business datum to be processed.
In the embodiment of the present invention, business datum archival device can use the target archiving method, to described to be processed
Business datum carry out filing processing.
In one embodiment, the business datum archival device is if it is determined that day corresponding with the inactive data
Will records class data archiving method, then the method that can use the log recording class data filing, to the inactive data
It is stored.In certain embodiments, if it is determined that the archiving method for going out the business datum to be processed is log recording class
Data archiving method, then can using big data, quasi real time analysis platform accepts filing task, to the business number to be processed
According to being filed.
In one embodiment, using big data, quasi real time analysis platform accepts filing task, to the number to be processed
When according to being filed, the business datum archival device can either synchronously or asynchronously record corresponding with the business datum to be processed
Log recording data, and the log recording data are stored to Data Analysis Platform.
In one embodiment, the business datum archival device can judge the day in the Data Analysis Platform
Will record data, that is, business datum processing time limit whether be more than preset time range, if it is judged that be it is yes, then can be true
The processing time limit is more than that the log recording data of preset time range are out of date, and will have expired in the fixed Data Analysis Platform
Log recording data backup is stored into magnetic tape strip unit.In certain embodiments, the magnetic tape strip unit is with tape
For storage medium, the storage equipment being made of magnetic tape station and its controller is a kind of additional storage of computer.The present invention is real
Example is applied, using magnetic tape strip unit as additional storage, storage has expired log recording data, can be with lifting system benefit
With rate.
In one embodiment, the business datum archival device is if it is determined that cut day corresponding with the alive data
Optimize class data archiving method, then the alive data can be deposited using optimization class data archiving method is cut the day
Storage.In certain embodiments, if it is determined that the archiving method for going out business datum to be processed is cutting of day class data archiving method,
The business datum to be processed can then be filed using file cold standby scheme.
In one embodiment, when being filed using file cold standby scheme to the business datum to be processed,
Business datum archival device can filter out the business datum for needing to carry out cold standby from the business datum to be processed, and
Export the business datum for needing to carry out cold standby offline, and by it is described need the business datum for carrying out cold standby store to
In network storage device.In certain embodiments, the network storage device is by cable (usually scsi interface cable)
Server is directly arrived, I/O (input/output) request is sent directly to storage equipment, and the network storage device is dependent on clothes
Business device, itself is the stacking of hardware, without any storage program area, facilitates access business datum.The network storage
Device independently works just as the terminal of an only store function, and the inside, but can oneself setting unit with fixed system
Divide parameter function, can be configured with access server or computer, network storage server is service simplify, miniaturization
Device.In certain embodiments, the network storage device may include DAS, NAS, SAN, iscsl etc. any one.Pass through net
Network storage device can with separate storage business datum, by business datum and to have expired the storage of log recording data separating,
Data obfuscation is prevented, data-handling efficiency is improved.
In one embodiment, when being filed using file cold standby scheme to the business datum to be processed,
Whether the processing time limit that business datum archival device can detecte the business datum stored in the network storage device is more than pre-
If time range, if testing result be it is yes, can determine in the network storage device handle the time limit be more than preset time
The business datum of range is out of date, and the business datum that the time limit is more than preset time range will be handled in the network storage device
It stores into magnetic tape strip unit.
The embodiment of the present invention, business datum archival device can obtain to be processed in preset time range in preset time point
Business datum, and the business datum to be processed is carried out according to the data processing state of the business datum to be processed
Classification, obtains the target data classification of the business datum to be processed, and according to preset data category and archiving method
Corresponding relationship, corresponding with the target data classification of the business datum to be processed target archiving method is determined, to adopt
With the target archiving method, filing processing is carried out to the business datum to be processed.In this way, it can be achieved that in advance
Put on file is carried out to business datum, improves the efficiency of data filing processing.
Fig. 2 is referred to, Fig. 2 is the schematic flow diagram of another business datum archiving method provided in an embodiment of the present invention,
As shown in Fig. 2, this method can be executed by business datum archival device, for example preceding institute of the specific explanations of the business datum archival device
It states, details are not described herein again.The difference of the embodiment of the present invention and embodiment described in above-mentioned Fig. 1 is that the embodiment of the present invention is to institute
The specific implementation process for stating business datum archiving method is schematically illustrated.Specifically, the method for the embodiment of the present invention
Include the following steps.
S201: the processing time limit of each business datum in presetting database, the presetting database are obtained in preset time point
The pending business datum for storing.
In the embodiment of the present invention, business datum archival device can obtain each business in presetting database in preset time point
The processing time limit of data, the presetting database pending business datum for storing.
In one embodiment, when whether the business datum archival device can be default with real-time detection current point in time
Between point, if detect the current point in time be preset time point, obtain the processing of each business datum in presetting database
Time limit.
S202: from filtering out in the presetting database, the processing time limit is to be processed in the preset time range
Business datum.
In the embodiment of the present invention, business datum archival device can filter out the process phase from the presetting database
Limit the business datum to be processed in the preset time range.
For example, it is assumed that preset time point is daily 10:00, preset time range is second day after preset time point
00:00 to 23:59, if the business datum archival device detects that current point in time is 10:00 on January 10, business number
The processing time limit can be filtered out from the presetting database in the 00:00 to 23:59 on the 11st in January according to archival device
Between business datum to be processed in range.
S203: whether the data processing state of the detection business datum to be processed is to be completed, if testing result
Be it is yes, then follow the steps S204, if testing result be it is no, then follow the steps S205.
In the embodiment of the present invention, business datum archival device is filtering out the processing time limit in the preset time range
After interior business datum to be processed, whether the data processing state that can detecte the business datum to be processed is complete
At, if testing result be it is yes, then follow the steps S204, if testing result be it is no, then follow the steps S205.
S204: the target data classification for determining business datum to be processed is inactive data, according to preset data class
Not with the corresponding relationship of archiving method, determining target archiving method corresponding with the inactive data is log recording class data
Archiving method.
In the embodiment of the present invention, if business datum archival device detects at the data of the business datum to be processed
Reason state is to be completed, then can determine that the target data classification of the business datum to be processed is inactive data, and root
According to the corresponding relationship of preset data category and archiving method, determining target archiving method corresponding with the inactive data is
Log recording class data archiving method.
S205: the target data classification for determining business datum to be processed is alive data, according to preset data category
With the corresponding relationship of archiving method, determine that target archiving method corresponding with the alive data is to cut optimization class data filing day
Method.
In the embodiment of the present invention, if business datum archival device detects at the data of the business datum to be processed
Reason state be it is unfinished, then can determine the business datum to be processed target data classification be alive data, and according to
The corresponding relationship of preset data category and archiving method determines that target archiving method corresponding with the alive data is cut for day
Optimize class data archiving method.
S206: the target archiving method is used, filing processing is carried out to the business datum to be processed.
In the embodiment of the present invention, business datum archival device can use the target archiving method, to described to be processed
Business datum carry out filing processing.
In one embodiment, if business datum archival device determines that the target archiving method is to cut optimization class day
Whether data archiving method, then the processing time limit that can detecte the business datum to be processed are out of date.If detecting institute
The processing time limit for stating business datum to be processed is out of date, then the business datum archival device can be by the industry to be processed
Business data are stored into preset magnetic tape strip unit;If detecting the processing time limit non-mistake of the business datum to be processed
Phase, then stating business datum archival device can store the business datum to be processed into preset network storage device.
In one embodiment, if business datum archival device determines that the target archiving method is log recording class
Data archiving method, then deadline of the available business datum to be processed, and detect the business to be processed
The deadline of data whether be more than the business datum to be processed the processing time limit.If detecting the industry to be processed
The deadline for data of being engaged in is more than the processing time limit of the business datum to be processed, then the business datum archival device can be with
The business datum to be processed is stored into preset magnetic tape strip unit;If detecting the business number to be processed
According to deadline be less than processing time limit of the business datum to be processed, then the business datum archival device can will
The business datum is stored into preset network storage device.
In the embodiment of the present invention, business datum archival device can be screened from the presetting database in preset time point
To be processed business datum of the processing time limit in the preset time range out, if detecting the industry to be processed
The data processing state of business data is to be completed, it is determined that the target data classification of the business datum to be processed is inactive
Data, and according to the corresponding relationship of preset data category and archiving method, determining target corresponding with the inactive data
Archiving method is log recording class data archiving method;If detecting the data processing state of the business datum to be processed
It is unfinished, it is determined that the target data classification of the business datum to be processed is alive data, and according to preset data
The corresponding relationship of classification and archiving method determines that target archiving method corresponding with the alive data is to cut optimization class data day
Archiving method.The business datum archival device can use the target archiving method, to the business datum to be processed
Carry out filing processing.In this way, it can be achieved that classifying in advance to business datum to be processed in preset time range
Filing, to improve the efficiency of data filing.
The embodiment of the invention also provides a kind of business datum archival devices, before the business datum archival device is for executing
State the unit of described in any item methods.It specifically, is that a kind of business datum provided in an embodiment of the present invention is returned referring to Fig. 3, Fig. 3
The schematic block diagram of shelves equipment.The business datum archival device of the present embodiment includes: acquiring unit 301, taxon 302, determines
Unit 303, profiling unit 304.
Acquiring unit 301, it is described pre- for obtaining business datum to be processed in preset time range in preset time point
If time range is after the preset time point;
Taxon 302, for according to the data processing state of the business datum to be processed to described to be processed
Business datum is classified, and the target data classification of the business datum to be processed is obtained, and the target data classification includes
Alive data or inactive data;
Determination unit 303 is determined with described for the corresponding relationship according to preset data category and archiving method wait locate
The corresponding target archiving method of the target data classification of the business datum of reason, the archiving method include cutting optimization class data day to return
Shelves method and log recording class data archiving method;
Profiling unit 304 carries out at filing the business datum to be processed for using the target archiving method
Reason.
Further, the acquiring unit 301 obtains business to be processed in preset time range in preset time point
When data, it is specifically used for:
The processing time limit of each business datum in presetting database is obtained in preset time point, the presetting database is for depositing
The pending business datum of storage institute;
From filtering out the to be processed industry of the processing time limit in the preset time range in the presetting database
Business data.
Further, the taxon 302 is according to the data processing state of the business datum to be processed to described
Business datum to be processed is classified, and when obtaining the target data classification of the business datum to be processed, is specifically used for:
Whether the data processing state for detecting the business datum to be processed is to be completed;
If detecting that the data processing state of the business datum to be processed is to be completed, it is determined that described to be processed
Business datum target data classification be inactive data;
If detecting that the data processing state of the business datum to be processed is unfinished, it is determined that described to be processed
Business datum target data classification be alive data.
Further, the archiving method includes cutting optimization class data archiving method day;The determination unit 303 is according to pre-
If data category and archiving method corresponding relationship, determination it is corresponding with the target data classification of the business datum to be processed
Target archiving method when, be specifically used for:
If it is determined that the business datum to be processed is alive data, then according to preset data category and filing side
The corresponding relationship of method determines that target archiving method corresponding with the alive data is to cut optimization class data archiving method day.
Further, the profiling unit 304 uses the target archiving method, to the business datum to be processed into
When row filing processing, it is specifically used for:
If it is determined that the target archiving method is to cut optimization class data archiving method day, then detect described to be processed
Whether the processing time limit of business datum is out of date;
If detecting that the processing time limit of the business datum to be processed is out of date, by the business number to be processed
According to storing into preset magnetic tape strip unit;
If detecting that the processing time limit of the business datum to be processed is not out of date, by the business number to be processed
According to storage into preset network storage device.
Further, the archiving method includes log recording class data archiving method;The determination unit 303 is according to pre-
If data category and archiving method corresponding relationship, determination it is corresponding with the target data classification of the business datum to be processed
Target archiving method when, be specifically used for:
If it is determined that the business datum to be processed is inactive data, then according to preset data category with return
The corresponding relationship of shelves method, determining target archiving method corresponding with the inactive data is log recording class data filing side
Method.
Further, the profiling unit 304 uses the target archiving method, to the business datum to be processed into
When row filing processing, it is specifically used for:
If it is determined that the target archiving method is log recording class data archiving method, then obtain described to be processed
The deadline of business datum;
Detect the business datum to be processed deadline whether be more than the business datum to be processed processing
Time limit;
If detecting that the deadline of the business datum to be processed is more than the place of the business datum to be processed
The time limit is managed, then is stored the business datum to be processed into preset magnetic tape strip unit;
If detecting that the deadline of the business datum to be processed is less than the business datum to be processed
The time limit is handled, then is stored the business datum into preset network storage device.
In the embodiment of the present invention, business datum archival device can be obtained in preset time range in preset time point wait locate
The business datum of reason, and according to the data processing state of the business datum to be processed to the business datum to be processed into
Row classification, obtains the target data classification of the business datum to be processed, and according to preset data category and filing side
The corresponding relationship of method determines target archiving method corresponding with the target data classification of the business datum to be processed, thus
Using the target archiving method, filing processing is carried out to the business datum to be processed.In this way, it can be achieved that mentioning
It is preceding that Put on file is carried out to business datum, improve the efficiency of data filing processing.
Referring to fig. 4, Fig. 4 is a kind of schematic block diagram of server provided in an embodiment of the present invention.This implementation as shown in the figure
Business datum archival device in example may include: one or more processors 401;One or more input equipments 402, one
Or multiple output equipments 403 and memory 404.Above-mentioned processor 401, input equipment 402, output equipment 403 and memory 404
It is connected by bus 405.For memory 404 for storing computer program, the computer program includes program instruction, processor
401 for executing the program instruction of the storage of memory 404.Wherein, processor 401 is configured for that described program instruction is called to hold
Row:
Business datum to be processed in preset time range is obtained in preset time point, the preset time range is described
After preset time point;
Classified according to the data processing state of the business datum to be processed to the business datum to be processed,
The target data classification of the business datum to be processed is obtained, the target data classification includes alive data or inactive number
According to;
According to the corresponding relationship of preset data category and archiving method, the determining mesh with the business datum to be processed
The corresponding target archiving method of data category is marked, the archiving method includes cutting optimization class data archiving method and log recording day
Class data archiving method;
Using the target archiving method, filing processing is carried out to the business datum to be processed.
Further, the processor 401 obtains business number to be processed in preset time range in preset time point
According to when, be specifically used for:
The processing time limit of each business datum in presetting database is obtained in preset time point, the presetting database is for depositing
The pending business datum of storage institute;
From filtering out the to be processed industry of the processing time limit in the preset time range in the presetting database
Business data.
Further, the processor 401 according to the data processing state of the business datum to be processed to it is described to
The business datum of processing is classified, and when obtaining the target data classification of the business datum to be processed, is specifically used for:
Whether the data processing state for detecting the business datum to be processed is to be completed;
If detecting that the data processing state of the business datum to be processed is to be completed, it is determined that described to be processed
Business datum target data classification be inactive data;
If detecting that the data processing state of the business datum to be processed is unfinished, it is determined that described to be processed
Business datum target data classification be alive data.
Further, the archiving method includes cutting optimization class data archiving method day;The processor 401 is according to default
Data category and archiving method corresponding relationship, determination it is corresponding with the target data classification of the business datum to be processed
When target archiving method, it is specifically used for:
If it is determined that the business datum to be processed is alive data, then according to preset data category and filing side
The corresponding relationship of method determines that target archiving method corresponding with the alive data is to cut optimization class data archiving method day.
Further, the processor 401 uses the target archiving method, carries out to the business datum to be processed
When filing processing, it is specifically used for:
If it is determined that the target archiving method is to cut optimization class data archiving method day, then detect described to be processed
Whether the processing time limit of business datum is out of date;
If detecting that the processing time limit of the business datum to be processed is out of date, by the business number to be processed
According to storing into preset magnetic tape strip unit;
If detecting that the processing time limit of the business datum to be processed is not out of date, by the business number to be processed
According to storage into preset network storage device.
Further, the archiving method includes log recording class data archiving method;The processor 401 is according to default
Data category and archiving method corresponding relationship, determination it is corresponding with the target data classification of the business datum to be processed
When target archiving method, it is specifically used for:
If it is determined that the business datum to be processed is inactive data, then according to preset data category with return
The corresponding relationship of shelves method, determining target archiving method corresponding with the inactive data is log recording class data filing side
Method.
Further, the processor 401 uses the target archiving method, carries out to the business datum to be processed
When filing processing, it is specifically used for:
If it is determined that the target archiving method is log recording class data archiving method, then obtain described to be processed
The deadline of business datum;
Detect the business datum to be processed deadline whether be more than the business datum to be processed processing
Time limit;
If detecting that the deadline of the business datum to be processed is more than the place of the business datum to be processed
The time limit is managed, then is stored the business datum to be processed into preset magnetic tape strip unit;
If detecting that the deadline of the business datum to be processed is less than the business datum to be processed
The time limit is handled, then is stored the business datum into preset network storage device.
In the embodiment of the present invention, business datum archival device can be obtained in preset time range in preset time point wait locate
The business datum of reason, and according to the data processing state of the business datum to be processed to the business datum to be processed into
Row classification, obtains the target data classification of the business datum to be processed, and according to preset data category and filing side
The corresponding relationship of method determines target archiving method corresponding with the target data classification of the business datum to be processed, thus
Using the target archiving method, filing processing is carried out to the business datum to be processed.In this way, it can be achieved that mentioning
It is preceding that Put on file is carried out to business datum, improve the efficiency of data filing processing.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be central processing unit (CenSral
Processing UniS, CPU), which can also be other general processors, digital signal processor (DigiSal
Signal Processor, DSP), specific integrated circuit (ApplicaSion Specific InSegraSed CircuiS,
ASIC), ready-made programmable gate array (Field-Programmable GaSe Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 402 may include Trackpad, microphone etc., output equipment 403 may include display (LCD etc.),
Loudspeaker etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401 described in the embodiment of the present invention, input equipment 402, output equipment 403 can
Execute reality described in embodiment of the method described in Fig. 1 or Fig. 2 of business datum archiving method provided in an embodiment of the present invention
Existing mode, also can be performed the implementation of business datum archival device described in Fig. 3 of the embodiment of the present invention, no longer superfluous herein
It states.
A kind of computer readable storage medium is additionally provided in the embodiment of the present invention, the computer readable storage medium is deposited
Computer program is contained, the computer program realizes industry described in embodiment corresponding to Fig. 1 or Fig. 2 when being executed by processor
Business data archiving method, can also realize the business datum archival device of embodiment corresponding to Fig. 3 of the present invention, details are not described herein.
The computer readable storage medium can be the interior of business datum archival device described in aforementioned any embodiment
Portion's storage unit, such as the hard disk or memory of business datum archival device.The computer readable storage medium is also possible to institute
The plug-in type hard disk being equipped on the External memory equipment of business datum archival device, such as the business datum archival device is stated,
Intelligent memory card (SmarS Media Card, SMC), secure digital (Secure DigiSal, SD) card, flash card (Flash
Card) etc..Further, the computer readable storage medium can also both include the inside of the business datum archival device
Storage unit also includes External memory equipment.The computer readable storage medium is for storing the computer program and institute
State other programs and data needed for business datum archival device.The computer readable storage medium can be also used for temporarily
Store the data that has exported or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, some embodiments only of the invention, but scope of protection of the present invention is not limited thereto, and it is any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.
Claims (10)
1. a kind of business datum archiving method characterized by comprising
Business datum to be processed in preset time range is obtained in preset time point, the preset time range is described default
After time point;
Classified according to the data processing state of the business datum to be processed to the business datum to be processed, is obtained
The target data classification of the business datum to be processed, the target data classification include alive data or inactive data;
According to the corresponding relationship of preset data category and archiving method, the determining number of targets with the business datum to be processed
According to the corresponding target archiving method of classification, the archiving method includes cutting optimization class data archiving method and log recording class number day
According to archiving method;
Using the target archiving method, filing processing is carried out to the business datum to be processed.
2. the method according to claim 1, wherein described obtain in preset time range in preset time point
Business datum to be processed, comprising:
The processing time limit of each business datum in presetting database is obtained in preset time point, the presetting database is for storing institute
Pending business datum;
From filtering out the to be processed business number of the processing time limit in the preset time range in the presetting database
According to.
3. the method according to claim 1, wherein at the data according to the business datum to be processed
Reason state classifies to the business datum to be processed, obtains the target data classification of the business datum to be processed,
Include:
Whether the data processing state for detecting the business datum to be processed is to be completed;
If detecting that the data processing state of the business datum to be processed is to be completed, it is determined that the industry to be processed
The target data classification for data of being engaged in is inactive data;
If detecting that the data processing state of the business datum to be processed is unfinished, it is determined that the industry to be processed
The target data classification for data of being engaged in is alive data.
4. according to the method described in claim 3, it is characterized in that, the archiving method includes cutting optimization class data filing side day
Method;The corresponding relationship according to preset data category and archiving method, the determining mesh with the business datum to be processed
Mark the corresponding target archiving method of data category, comprising:
If it is determined that the business datum to be processed is alive data, then according to preset data category and archiving method
Corresponding relationship determines that target archiving method corresponding with the alive data is to cut optimization class data archiving method day.
5. according to the method described in claim 4, it is characterized in that, described use the target archiving method, to described wait locate
The business datum of reason carries out filing processing, comprising:
If it is determined that the target archiving method is to cut optimization class data archiving method day, then the business to be processed is detected
Whether the processing time limit of data is out of date;
If detecting that the processing time limit of the business datum to be processed is out of date, the business datum to be processed is deposited
Storage is into preset magnetic tape strip unit;
If detecting that the processing time limit of the business datum to be processed is not out of date, the business datum to be processed is stored up
It deposits into preset network storage device.
6. according to the method described in claim 3, it is characterized in that, the archiving method includes log recording class data filing side
Method;The corresponding relationship according to preset data category and archiving method, the determining mesh with the business datum to be processed
Mark the corresponding target archiving method of data category, comprising:
If it is determined that the business datum to be processed is inactive data, then according to preset data category and filing side
The corresponding relationship of method, determining target archiving method corresponding with the inactive data is log recording class data archiving method.
7. according to the method described in claim 6, it is characterized in that, described use the target archiving method, to described wait locate
The business datum of reason carries out filing processing, comprising:
If it is determined that the target archiving method is log recording class data archiving method, then the business to be processed is obtained
The deadline of data;
Detect the business datum to be processed deadline whether be more than the business datum to be processed the processing time limit;
If detecting that the deadline of the business datum to be processed is more than the process phase of the business datum to be processed
Limit, then store the business datum to be processed into preset magnetic tape strip unit;
If detecting that the deadline of the business datum to be processed is less than the processing of the business datum to be processed
Time limit then stores the business datum into preset network storage device.
8. a kind of business datum archival device, which is characterized in that including for executing such as any one of claim 1-7 claim
The unit of the method.
9. a kind of server, which is characterized in that including processor, input equipment, output equipment and memory, the processor,
Input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the calculating
Machine program includes program instruction, and the processor is configured for calling described program instruction, is executed as claim 1-7 is any
Method described in.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor execute such as right when being executed by a processor
It is required that the described in any item methods of 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910191567.4A CN110059139A (en) | 2019-03-12 | 2019-03-12 | Business datum archiving method, equipment, server and computer readable storage medium |
PCT/CN2019/116524 WO2020181799A1 (en) | 2019-03-12 | 2019-11-08 | Data archiving method and device, server, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910191567.4A CN110059139A (en) | 2019-03-12 | 2019-03-12 | Business datum archiving method, equipment, server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110059139A true CN110059139A (en) | 2019-07-26 |
Family
ID=67317027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910191567.4A Pending CN110059139A (en) | 2019-03-12 | 2019-03-12 | Business datum archiving method, equipment, server and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110059139A (en) |
WO (1) | WO2020181799A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716825A (en) * | 2018-07-12 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Data disaster tolerance processing method, device and system |
CN111581432A (en) * | 2020-04-30 | 2020-08-25 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
WO2020181799A1 (en) * | 2019-03-12 | 2020-09-17 | 平安普惠企业管理有限公司 | Data archiving method and device, server, and computer readable storage medium |
CN113988781A (en) * | 2021-10-18 | 2022-01-28 | 广州城市信息研究所有限公司 | Construction business archiving method and device, computer equipment and storage medium |
CN117875299A (en) * | 2024-03-13 | 2024-04-12 | 南京智握信息技术有限公司 | Electronic file integrated processing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101446966A (en) * | 2008-12-31 | 2009-06-03 | 中国建设银行股份有限公司 | Data storage method and system |
CN105243163A (en) * | 2015-11-05 | 2016-01-13 | 国家电网公司 | Archiving integration system and method of historical data |
US20160306554A1 (en) * | 2015-04-17 | 2016-10-20 | Emc Corporation | Data storage management |
CN107220338A (en) * | 2017-05-25 | 2017-09-29 | 郑州云海信息技术有限公司 | Method, system and the storage device of Bedding storage based on PACS |
CN107239457A (en) * | 2016-03-28 | 2017-10-10 | 阿里巴巴集团控股有限公司 | Data archiving method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110059139A (en) * | 2019-03-12 | 2019-07-26 | 平安普惠企业管理有限公司 | Business datum archiving method, equipment, server and computer readable storage medium |
-
2019
- 2019-03-12 CN CN201910191567.4A patent/CN110059139A/en active Pending
- 2019-11-08 WO PCT/CN2019/116524 patent/WO2020181799A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101446966A (en) * | 2008-12-31 | 2009-06-03 | 中国建设银行股份有限公司 | Data storage method and system |
US20160306554A1 (en) * | 2015-04-17 | 2016-10-20 | Emc Corporation | Data storage management |
CN106155929A (en) * | 2015-04-17 | 2016-11-23 | 伊姆西公司 | Data storage management system and method |
CN105243163A (en) * | 2015-11-05 | 2016-01-13 | 国家电网公司 | Archiving integration system and method of historical data |
CN107239457A (en) * | 2016-03-28 | 2017-10-10 | 阿里巴巴集团控股有限公司 | Data archiving method and device |
CN107220338A (en) * | 2017-05-25 | 2017-09-29 | 郑州云海信息技术有限公司 | Method, system and the storage device of Bedding storage based on PACS |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716825A (en) * | 2018-07-12 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Data disaster tolerance processing method, device and system |
WO2020181799A1 (en) * | 2019-03-12 | 2020-09-17 | 平安普惠企业管理有限公司 | Data archiving method and device, server, and computer readable storage medium |
CN111581432A (en) * | 2020-04-30 | 2020-08-25 | 北京达佳互联信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
CN113988781A (en) * | 2021-10-18 | 2022-01-28 | 广州城市信息研究所有限公司 | Construction business archiving method and device, computer equipment and storage medium |
CN113988781B (en) * | 2021-10-18 | 2022-06-28 | 广州城市信息研究所有限公司 | Construction business archiving method and device, computer equipment and storage medium |
CN117875299A (en) * | 2024-03-13 | 2024-04-12 | 南京智握信息技术有限公司 | Electronic file integrated processing method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2020181799A1 (en) | 2020-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110059139A (en) | Business datum archiving method, equipment, server and computer readable storage medium | |
CN111600952B (en) | Scene pushing method, scene pushing execution device, terminal, server and scene pushing system | |
CN109523276A (en) | The pre-warning monitoring method and device of customer complaint | |
CN110955586A (en) | System fault prediction method, device and equipment based on log | |
CN106815254A (en) | A kind of data processing method and device | |
CN107945002A (en) | A kind of automatic account checking method, system and storage device | |
CN104636240A (en) | Method for acquiring information report and terminal | |
CN109918431A (en) | Date storage method, device, computer equipment and storage medium | |
CN110110306A (en) | Method for exhibiting data, device, terminal and computer readable storage medium | |
CN108629014A (en) | A kind of data processing method, device, computer equipment and storage medium | |
CN109559218A (en) | A kind of determination method, apparatus traded extremely and storage medium | |
CN110321364B (en) | Transaction data query method, device and terminal of credit card management system | |
CN114911615A (en) | Method and application for intelligent prediction scheduling during micro-service operation | |
CN111800292A (en) | Early warning method and device based on historical flow, computer equipment and storage medium | |
CN111628903B (en) | Monitoring method and monitoring system for transaction system running state | |
CN109413166A (en) | A kind of industrial gateway and its data managing method | |
CN108459960A (en) | Method of automatic configuration, device, equipment and the storage medium of test environment | |
CN116225609A (en) | Pod scheduling method, device and equipment of Kubernetes cluster and computer readable medium | |
CN107357703A (en) | A kind of terminal applies power consumption detection method and server | |
CN108055382A (en) | Adding method, device and the mobile terminal of calendar event | |
CN114116908A (en) | Data management method and device and electronic equipment | |
CN108509513B (en) | Platform customer data reflow method, electronic device, equipment and storage medium | |
CN112085497A (en) | User account data processing method and device | |
CN110059234A (en) | Water utilities anomalous event method for detecting and device, computer installation and storage medium | |
CN110728838A (en) | Meter reading method and device and power acquisition terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |