CN116166615A - Data archiving method, equipment and medium for business system - Google Patents
Data archiving method, equipment and medium for business system Download PDFInfo
- Publication number
- CN116166615A CN116166615A CN202310153636.9A CN202310153636A CN116166615A CN 116166615 A CN116166615 A CN 116166615A CN 202310153636 A CN202310153636 A CN 202310153636A CN 116166615 A CN116166615 A CN 116166615A
- Authority
- CN
- China
- Prior art keywords
- archive
- data
- archiving
- archived
- information
- 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
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000001514 detection method Methods 0.000 claims description 88
- 238000013507 mapping Methods 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000003032 molecular docking Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Images
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/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/113—Details of archiving
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- 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/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
-
- 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/25—Integrating or interfacing systems involving database management systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a data archiving method, equipment and medium for a business system, wherein the method comprises the following steps: acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface; in a pre-constructed archiving model library, retrieving a target archiving model of a business system to be archived according to a system identifier; the archive model library includes a plurality of different archive models; and archiving the archive data of the business system to be archived according to the target archiving model to generate the archive data of the business system to be archived. By constructing the archive model library, under the condition that archive data of the service system to be archived need to be archived, only a corresponding target archive model is required to be called, no limitation on an archive interface is required, a large amount of cost is saved, and when the archive model needs to be adjusted, the archive interface is not required to be modified, the archive model is directly adjusted, so that the data archive efficiency is improved, and the archive flexibility of the electronic archive is improved.
Description
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a medium for archiving data in a service system.
Background
Along with the continuous deepening of informatization reform, the electronic file replaces the original paper file to become a main bearing mode of the file, and the electronic file system also correspondingly becomes a main platform for realizing the management of the electronic file. Archival data is one of the most important parameters in an electronic archive system.
At present, the following two ways are mainly adopted to input the file data into an electronic file system: one is manual entry; the other is the background interface docking. The manual recording mode is only suitable for a scene of filing a small amount of files or supplementing files filed in an automatic batch mode. If massive files are manually recorded, a large amount of labor cost is consumed, and the data archiving efficiency is low.
The background interface docking refers to a manner of docking a business system to be archived with an electronic file system, and the manner often needs to be familiar with technicians of the business system to be archived with the electronic file system to dock the two systems, and the docking time is longer according to the complexity of the system. And often the technician familiar with the business system to be archived and the electronic archive system is not the same technician, resulting in still inefficient archiving of data. In addition, the docking between the service system to be archived and the electronic file system data is generally changed according to the requirement of the file data, and the docking logic of the docking of the background interface cannot be flexibly changed, so that the archiving flexibility is low when the data aiming at the service system is archived.
Disclosure of Invention
The embodiment of the application provides a data archiving method, equipment and medium for a business system, which are used for solving the problems of low data archiving efficiency and low flexibility when archiving data for the business system.
The embodiment of the application adopts the following technical scheme:
in one aspect, an embodiment of the present application provides a data archiving method for a service system, where the method includes: acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface; in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models; and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
In one example, before the target archive model of the service system to be archived is retrieved according to the system identifier in the pre-built archive model library, the method further includes: acquiring first data structure information and second data structure information of an electronic file system, wherein the first data structure information and the second data structure information correspond to a plurality of sample service systems respectively; the first data structure information comprises data source information to be archived, first table object information and first table field information; the archive data source information is used for representing description information of the sample service system; the second data structure information comprises archive data source information, second table object information and second table field information; the archive data source information is used for representing description information of the electronic archive system; constructing mapping relations between a plurality of pieces of first data structure information and the second data structure information respectively; and constructing a target archiving model of the corresponding sample service system according to the corresponding mapping relation so as to construct an archiving model library.
In one example, after the target archiving model of the corresponding sample service system is constructed according to the corresponding mapping relationship, the method further includes: determining a system identifier of each sample service system and a target archiving model identifier of each sample service system; establishing an association relationship between the system identifier and the target archiving model identifier; and constructing a retrieval index of the archiving model base according to the association relation.
In one example, in the pre-constructed archive model library, the target archive model of the service system to be archived is retrieved according to the system identifier, and specifically includes: in a pre-constructed archiving model library, matching the system identification according to a retrieval index to obtain a specified association relation of the system identification; determining a target archiving model identification of the business system to be archived according to the appointed association relation; and according to the target archiving model identification, retrieving a target archiving model of the business system to be archived.
In one example, after the target archiving model of the corresponding sample service system is constructed according to the corresponding mapping relationship, the method further includes: in a preset period, displaying the first data structure information, the second data structure information and the corresponding mapping relation of the plurality of sample service systems to user terminal equipment; and receiving operation information of the user terminal equipment, and updating the corresponding mapping relation according to the operation information.
In one example, the method further includes, after the archiving the archive data of the service system to be archived according to the target archiving model and generating the archive data of the service system to be archived: detecting the archived data according to a detection condition constructed in advance to obtain a detection result; analyzing the detection result to determine whether the data structure of the archived data accords with a preset condition; the preset condition is used for describing second data structure information of the electronic file system; if not, generating corresponding prompt information, and displaying the prompt information to a user; and adjusting the data structure mapping relation of the target archiving model based on the operation of the user.
In one example, the method further includes, before performing detection processing on the archived data according to a detection condition constructed in advance to obtain a detection result: determining an archive data category of each sample service system; determining detection items of each archive data category according to the association relation between the archive data categories and the detection items; the detection items comprise at least one of transmission data quantity detection, data abstract detection, analytic detection and necessary item filling detection; and constructing the detection condition of each archive data category according to the content corresponding to the detection item.
In one example, the method further includes, after performing detection processing on the archived data according to a detection condition constructed in advance to obtain a detection result: acquiring process record information for generating the archive data; generating archive log information of the service system to be archived according to the process record information and the detection result; the archiving log information comprises record information corresponding to a four-dimensional detection result of the business system to be archived; generating archive log item information of the service system to be archived according to the process record information and the detection result; the archive log item information comprises detection record information of each detection item; and generating an archive log of the service system to be archived according to the archive log information and the archive log item information.
In another aspect, an embodiment of the present application provides a data archiving device for a service system, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface; in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models; and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
In another aspect, embodiments of the present application provide a data archiving non-volatile computer storage medium for a business system, storing computer-executable instructions configured to: acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface; in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models; and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect:
by constructing the archive model library, under the condition that archive data of the service system to be archived need to be archived, only a corresponding target archive model is required to be called, any limitation on an archive interface is not required, a large amount of cost is saved, when the archive model needs to be regulated, the archive interface is not required to be modified, the archive model is directly regulated, the archive collection mode of archive management staff is optimized, archive of electronic archive data is enabled to be more convenient, data archive efficiency is improved, and archive flexibility of electronic archive is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a framework of a data archiving system for a service system according to an embodiment of the present application;
fig. 2 is a flow chart of a data archiving method for a service system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data archiving device for a service system according to an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a framework of a data archiving system for a service system according to an embodiment of the present application.
As shown in fig. 1, the data archiving system comprises a service system to be archived, an archiving model library, an archiving interface module, an archiving detection module and an electronic archive system.
The system comprises a plurality of database tables, wherein the database tables comprise archive data of the system to be archived, and the archive model library comprises a plurality of different archive models.
The data archiving server obtains archive data of the business system to be archived and a system identification through an archiving interface template, and retrieves a target archiving model of the business system to be archived according to the system identification in an archiving model library. And then, according to the target archiving model, archiving the archive data of the business system to be archived, generating the archive data of the business system to be archived, and inputting the archive data into the electronic archive system.
Next, how data archiving for a business system is specifically explained by means of fig. 2 and related content will be explained.
Fig. 2 is a flow chart of a method of a data archiving system for a service system according to an embodiment of the present application. The method can be applied to different business fields, such as the internet financial business field, the electric business field, the instant messaging business field, the game business field, the public business field and the like. Some of the input parameters or intermediate results in the flow allow for manual intervention adjustments to help improve accuracy.
The implementation of the analysis method according to the embodiment of the present application may be a terminal device or a server, which is not particularly limited in this application. For ease of understanding and description, the following embodiments are described in detail with reference to a server.
It should be noted that the server may be a single device, or may be a system formed by a plurality of devices, that is, a distributed server, which is not specifically limited in this application.
The flow in fig. 2 may include the steps of:
s201: and acquiring the archive data and the system identification of the business system to be archived according to the pre-constructed archiving interface.
It should be noted that, the business system to be archived refers to a business system that needs to perform an archive process.
In some embodiments of the present application, in order to ensure the authenticity of the archive data, during the transmission of the archive data through the archive interface, the archive interface employs a hash value algorithm interface, a template information acquisition interface, etc. that encrypts the archive data stream. The interface provides a unified external calling mode of an application programming interface, and can be adapted to different systems and business systems written in different programming languages.
The data format of the archive data is Json. Json is a lightweight data exchange format, which can effectively improve network transmission efficiency.
S202: and in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification.
In some embodiments of the present application, an archive model library needs to be pre-built, specifically including:
first, first data structure information corresponding to a plurality of sample service systems and second data structure information of an electronic file system are obtained.
The first data structure information is used for representing a data structure of archive data of the sample service system, and comprises data source information to be archived, first table object information and first table field information. Wherein the archive data source information is used to represent descriptive information of the sample business system, e.g., a system identification of the sample business system. The first table object information is used to represent table information of a data structure of the sample service system, for example, a table number, a table name, etc. The first table field information is used to represent table field information of a data structure of the service system, for example, a field number, a field name, a field type, a field length, etc.
It should be noted that the first table field information is subordinate to the first table object information, and the first table object information is subordinate to the archive data source information. That is, a plurality of database tables are stored in the sample service system, and then there is an association relationship between the database tables and the sample service system, and each database table has its corresponding field information, and then there is a corresponding association relationship between the field information and the corresponding database table.
The second data structure information comprises archive data source information, second table object information and second table field information. The file data source information is used for representing description information of the electronic file system, such as a system identifier of the electronic file system, and the second table object information is used for representing table information of a data structure of the electronic file system, such as a table number, a table name and the like. The second table field information is used to represent table field information of a data structure of the electronic file system, such as a field number, a field name, a field type, a field length, and the like.
And secondly, constructing mapping relations between the plurality of first data structure information and the second data structure information respectively.
Specifically, a mapping relationship between archive data source information and archive data source information, a mapping relationship between first table object information and second table object information, and a mapping relationship between first table field information and second table field information are determined, and mapping information corresponding to first data structure information and second data structure information is generated according to the mapping relationship.
And finally, constructing a target archiving model of the corresponding sample service system according to the corresponding mapping relation so as to construct an archiving model library.
That is, the model identification of the target archive model may be determined from the mapping relationship between the archive data source information and the archive data source information, the object information of the target archive model may be determined from the mapping relationship between the first table object information and the second table object information, and the field information of the target archive model may be determined from the mapping relationship between the second table field information and the second table field information.
In some embodiments of the present application, since some constant or multiple field combinations may occur in the data structure mapping process of the sample service system and the electronic archive system to map one field, the first data structure information, the second data structure information and the corresponding mapping relationship of the multiple sample service systems respectively corresponding to the electronic archive system may be displayed to the user terminal device in a preset period. And then, receiving the operation information of the user terminal equipment, and updating the corresponding mapping relation according to the operation information.
That is, the user can adaptively adjust the mapping relation according to the actual situation, so as to realize a complex mapping relation and improve the accuracy of archive.
The configuration of the mapping relation can be realized without complex code logic, and under the condition that the mapping relation needs to be adjusted, an interface is not required to be modified, and an archiving model is adjusted, so that the interfacing complexity of the archiving interface is greatly reduced.
In some embodiments of the present application, the system identification of each sample business system and the target archive model identification of each sample business system are determined.
And then, establishing an association relation between the system identifier and the target archive model identifier, and constructing a retrieval index of the archive model library according to the association relation.
Based on the above, when the target archiving model of the business system to be archived is retrieved according to the system identification, the system identification is matched according to the retrieval index to obtain the appointed association relation of the system identification. And then, determining a target archiving model identification of the business system to be archived according to the appointed association relation. Then, a target archiving model of the business system to be archived is retrieved according to the target archiving model identification.
That is, since the data structure information may also be different between each sample service system, it may happen that one target archive model is constructed to be applicable to only one sample service system. Therefore, the system identification of the business system to be archived needs to be acquired first, and the corresponding target archiving template is determined according to the system identification, so that archival data is archived.
S203: and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
In some embodiments of the present application, first, according to a detection condition constructed in advance, detection processing is performed on the archived data, so as to obtain a detection result.
And then analyzing the detection result to determine whether the data structure of the archived data accords with preset conditions. The preset condition is used for describing second data structure information of the electronic file system.
If not, generating corresponding prompt information, and displaying the prompt information to a user; based on the operation of the user, the data structure mapping relation of the target archiving model is adjusted.
That is, when the data structure of the archive data does not meet the preset condition, it is stated that the target archive model may have a problem, and the target archive model needs to be adjusted.
Wherein, when constructing the detection condition, firstly determining the filing data category of each sample service system. Then, according to the association relation between the plurality of archive data categories and the detection items, the detection items of each archive data category are determined. And finally, constructing the detection condition of each archive data category according to the content corresponding to the detection item.
It should be noted that the detection items may include detection items such as detection of the amount of transmitted data (detection of whether the amount of archived data to be archived is consistent with the actual amount of archived data), detection of data summary (detection of whether the archived data stream is tampered with during transmission), detection of internal and external repeatability of transmitted data (detection of whether there is duplication of archived data transmitted by a business system to be archived according to a customized rule), detection of resolution (detection of whether the data stream can be resolved into a data structure required by an electronic archive system), detection of necessary entry (detection of whether fields required by the electronic archive system are transferred), detection of value field (detection of whether fields required by the electronic archive system are in a proper range according to a customized rule), and the like.
It should be noted that, the amount of the archive data to be archived may be sent in advance by the service system to be archived.
That is, in the case of performing the four-way detection on the target archive model, the four-way detection is performed according to the detection items configured by the detection scheme of each service system to be archived. The four-property detection refers to detecting the authenticity, availability, security and integrity of the electronic file.
On the basis of an electronic archive archiving method, different detection items are started by configuring detection schemes of different archive classifications in a four-property detection configuration, so that different classified archives can be detected according to the configuration during archiving, classification four-property detection by dimensions of archive classifications is realized, authenticity, integrity, feasibility and safety of archive data transmitted to an electronic archive system by a business system to be archived can be ensured, and authenticity and reliability of data entering the electronic archive system are ensured from a data source.
In some embodiments of the present application, after the detection results are obtained, process record information that generates archive data will be obtained.
And then, according to the process record information and the detection result, generating archive log information of the service system to be archived. The archive log information comprises record information corresponding to a four-dimensional detection result of the service system to be archived. Such as a data stream authenticity detection record, a security detection record.
And then, according to the process record information and the detection result, generating archive log item information of the service system to be archived. The archive log entry information includes detection record information for each detection item, such as resolution detection, mandatory entry detection.
And finally, generating an archive log of the business system to be archived according to the archive log information and the archive log item information.
By the method, the archive log can be searched and checked by a user or can be directly displayed to the user, and meanwhile, the archive log can also be used as evidence when the user is verified later.
It should be noted that, the business system to be archived may also perform operations such as checking, deleting, etc. on the archiving interface to determine whether to archive.
The electronic file system can correspond to one service system to be archived, and can also be in butt joint with two or more service systems to be archived. And in the case that the electronic archive system corresponds to two or more service systems to be archived, the types between the service systems to be archived may be the same or different.
It should be noted that, although the embodiment of the present application is described with reference to fig. 2 to sequentially describe steps S201 to S203, this does not represent that steps S201 to S203 must be performed in strict order. The steps S201 to S203 are sequentially described according to the sequence shown in fig. 2 in order to facilitate the understanding of the technical solution of the embodiment of the present application by those skilled in the art. In other words, in the embodiment of the present application, the sequence between step S201 to step S203 may be appropriately adjusted according to the actual needs.
By constructing the archive model library in the method of fig. 2, under the condition that archive data of the service system to be archived needs to be archived, only a corresponding target archive model is required to be called, any limitation on an archive interface is not required, a great amount of cost is saved, when the archive model needs to be adjusted, the archive interface is not required to be modified, the archive model is directly adjusted, the archive collection mode of archive management staff is optimized, the archive of electronic archive data is enabled to be more convenient, the data archive efficiency is improved, and the archive flexibility of the electronic archive is improved.
Based on the same thought, some embodiments of the present application further provide a device and a non-volatile computer storage medium corresponding to the above method.
Fig. 3 is a schematic structural diagram of a data archiving device for a service system according to an embodiment of the present application, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface;
in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models;
and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
Some embodiments of the present application provide a data archiving non-volatile computer storage medium for a business system storing computer-executable instructions configured to:
acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface;
in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models;
and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the apparatus and medium embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the section of the method embodiments being relevant.
The devices and media provided in the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not described in detail herein.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the technical principles of the present application should fall within the protection scope of the present application.
Claims (10)
1. A method of archiving data for a business system, the method comprising:
acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface;
in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models;
and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
2. The method of claim 1, wherein the method further comprises, prior to retrieving the target archive model of the business system to be archived based on the system identification in a library of pre-built archive models:
acquiring first data structure information and second data structure information of an electronic file system, wherein the first data structure information and the second data structure information correspond to a plurality of sample service systems respectively; the first data structure information comprises data source information to be archived, first table object information and first table field information; the archive data source information is used for representing description information of the sample service system; the second data structure information comprises archive data source information, second table object information and second table field information; the archive data source information is used for representing description information of the electronic archive system;
constructing mapping relations between a plurality of pieces of first data structure information and the second data structure information respectively;
and constructing a target archiving model of the corresponding sample service system according to the corresponding mapping relation so as to construct an archiving model library.
3. The method of claim 2, wherein after constructing the target archive model of the corresponding sample business system according to the corresponding mapping relationship, the method further comprises:
determining a system identifier of each sample service system and a target archiving model identifier of each sample service system;
establishing an association relationship between the system identifier and the target archiving model identifier;
and constructing a retrieval index of the archiving model base according to the association relation.
4. The method of claim 3, wherein the retrieving, in a pre-built archive model library, the target archive model of the business system to be archived based on the system identification, specifically comprises:
in a pre-constructed archiving model library, matching the system identification according to a retrieval index to obtain a specified association relation of the system identification;
determining a target archiving model identification of the business system to be archived according to the appointed association relation;
and according to the target archiving model identification, retrieving a target archiving model of the business system to be archived.
5. The method of claim 2, wherein after constructing the target archive model of the corresponding sample business system according to the corresponding mapping relationship, the method further comprises:
in a preset period, displaying the first data structure information, the second data structure information and the corresponding mapping relation of the plurality of sample service systems to user terminal equipment;
and receiving operation information of the user terminal equipment, and updating the corresponding mapping relation according to the operation information.
6. The method of claim 2, wherein the archiving the archive data of the to-be-archived business system according to the target archiving model, after generating the archive data of the to-be-archived business system, the method further comprises:
detecting the archived data according to a detection condition constructed in advance to obtain a detection result;
analyzing the detection result to determine whether the data structure of the archived data accords with a preset condition; the preset condition is used for describing second data structure information of the electronic file system;
if not, generating corresponding prompt information, and displaying the prompt information to a user;
and adjusting the data structure mapping relation of the target archiving model based on the operation of the user.
7. The method of claim 6, wherein the detecting the archived data according to the pre-constructed detection conditions, and before obtaining the detection result, the method further comprises:
determining an archive data category of each sample service system;
determining detection items of each archive data category according to the association relation between the archive data categories and the detection items; the detection items comprise at least one of transmission data quantity detection, data abstract detection, analytic detection and necessary item filling detection;
and constructing the detection condition of each archive data category according to the content corresponding to the detection item.
8. The method of claim 7, wherein after performing detection processing on the archived data according to a detection condition constructed in advance to obtain a detection result, the method further comprises:
acquiring process record information for generating the archive data;
generating archive log information of the service system to be archived according to the process record information and the detection result; the archiving log information comprises record information corresponding to a four-dimensional detection result of the business system to be archived;
generating archive log item information of the service system to be archived according to the process record information and the detection result; the archive log item information comprises detection record information of each detection item;
and generating an archive log of the service system to be archived according to the archive log information and the archive log item information.
9. A data archiving device for a business system, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface;
in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models;
and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
10. A data archiving non-volatile computer storage medium storing computer-executable instructions for a business system, the computer-executable instructions configured to:
acquiring archive data and system identification of a service system to be archived according to a pre-constructed archiving interface;
in a pre-constructed archiving model library, retrieving a target archiving model of the business system to be archived according to the system identification; the archive model library includes a plurality of different archive models;
and archiving the archive data of the service system to be archived according to the target archiving model to generate the archive data of the service system to be archived.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310153636.9A CN116166615A (en) | 2023-02-22 | 2023-02-22 | Data archiving method, equipment and medium for business system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310153636.9A CN116166615A (en) | 2023-02-22 | 2023-02-22 | Data archiving method, equipment and medium for business system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116166615A true CN116166615A (en) | 2023-05-26 |
Family
ID=86416116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310153636.9A Pending CN116166615A (en) | 2023-02-22 | 2023-02-22 | Data archiving method, equipment and medium for business system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116166615A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116756089A (en) * | 2023-08-21 | 2023-09-15 | 湖南云档信息科技有限公司 | File archiving scheme forming method, system and storage medium |
-
2023
- 2023-02-22 CN CN202310153636.9A patent/CN116166615A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116756089A (en) * | 2023-08-21 | 2023-09-15 | 湖南云档信息科技有限公司 | File archiving scheme forming method, system and storage medium |
CN116756089B (en) * | 2023-08-21 | 2023-11-03 | 湖南云档信息科技有限公司 | File archiving scheme forming method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897691B (en) | Data processing method, device, server and medium based on interface simulation service | |
CN112732641A (en) | Electronic file filing method, device and medium | |
US11163906B2 (en) | Adaptive redaction and data releasability systems using dynamic parameters and user defined rule sets | |
CN106575227B (en) | Automatic software update framework | |
US20170116352A1 (en) | Data Transformation from 3D Model of Material | |
CN116166615A (en) | Data archiving method, equipment and medium for business system | |
CN105765570A (en) | Music identification | |
CN116644250B (en) | Page detection method, page detection device, computer equipment and storage medium | |
CN117271478A (en) | Data migration method and device, storage medium and electronic equipment | |
CN106294700A (en) | The storage of a kind of daily record and read method and device | |
US10698884B2 (en) | Dynamic lineage validation system | |
CN107273423B (en) | Multimedia message data processing method, device and system | |
CN111240794A (en) | Container mirror image extraction method and device and container mirror image testing method and device | |
CN115987821A (en) | Gateway routing test method and device | |
US10664501B2 (en) | Deriving and interpreting users collective data asset use across analytic software systems | |
US10509659B1 (en) | Input processing logic to produce outputs for downstream systems using configurations | |
US11934800B2 (en) | Generating metadata to facilitate code generation | |
CN117632114B (en) | FMU file importing method and device based on file analysis | |
US8229895B2 (en) | Preservation management of digital content | |
CN108427682A (en) | A kind of data file synchronous method and device | |
CN117648348A (en) | Data processing method, device and medium based on PaaS platform data engine | |
CN114138646A (en) | CAD (computer-aided design) resource verification method and device, storage medium and processor | |
CN116708699A (en) | Document image batch uploading method, device, equipment and medium | |
CN117707905A (en) | Page data management method and device | |
CN118035467A (en) | Dictionary value verification method, device, equipment and storage medium based on data lake |
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 |