CN113836018B - Backup method and related device for testing environment configuration parameters - Google Patents
Backup method and related device for testing environment configuration parameters Download PDFInfo
- Publication number
- CN113836018B CN113836018B CN202111120272.1A CN202111120272A CN113836018B CN 113836018 B CN113836018 B CN 113836018B CN 202111120272 A CN202111120272 A CN 202111120272A CN 113836018 B CN113836018 B CN 113836018B
- Authority
- CN
- China
- Prior art keywords
- feature code
- parameter item
- feature
- value
- value range
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 92
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000007906 compression Methods 0.000 claims abstract description 84
- 230000006835 compression Effects 0.000 claims abstract description 63
- 238000009434 installation Methods 0.000 claims abstract description 30
- 238000000605 extraction Methods 0.000 claims abstract description 22
- 238000012423 maintenance Methods 0.000 claims abstract description 18
- 238000012544 monitoring process Methods 0.000 claims abstract description 18
- 238000003860 storage Methods 0.000 claims abstract description 13
- 238000004364 calculation method Methods 0.000 claims description 24
- 238000013507 mapping Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 3
- 230000007613 environmental effect Effects 0.000 claims description 3
- 238000004458 analytical method Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013515 script Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013142 basic testing Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a backup method and a related device for configuration parameters of a test environment, which can obtain the test environment to be backed up, wherein the test environment comprises the following steps: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources; respectively extracting the multi-dimensional feature codes of the configuration parameter items of each resource according to a pre-established feature code extraction rule so as to respectively obtain at least one feature code combination corresponding to each resource; determining a value range corresponding to the parameter item feature codes in each feature code combination according to a pre-established value rule; for any resource: compressing each feature code combination and each corresponding value range into at least one compressed feature code according to a pre-established compression rule; and storing each compression feature code to backup configuration parameter items of each resource of the test environment. The invention saves and records the configuration parameters of the test environment through the compressed feature codes, and occupies less storage resources.
Description
Technical Field
The present invention relates to the field of testing, and in particular, to a method and an apparatus for backing up configuration parameters of a testing environment.
Background
One project usually needs multiple sets of test environments to perform different stage tests, if each set of test environment is reserved for a long time, resource waste can be caused, therefore, the test environments are required to be supplied and recovered according to needs and high efficiency, on one hand, the test environments are required to have quick deployment capability, and meanwhile, the test environments are required to be capable of performing omnibearing backup before recovery, so that basic data guarantee is provided for quick deployment.
The test environment consists of five aspects of configuration and data, namely operating system resources, basic software resources (such as databases, middleware and open source products in various fields), application installation package resources (comprising application version information), general operation and maintenance monitoring tool resources (installation and configuration) and test data resources, so that before the test resources are recovered, if backup requirements exist, the five types of resources are needed to be backed up respectively. At present, a basic test environment is saved mainly in a mirror image making mode, and test data is saved through data archiving, but the scheme needs to occupy a large amount of storage resources, and the storage resources are consumed relatively.
Disclosure of Invention
In view of the foregoing, the present invention provides a backup method and related apparatus for testing environment configuration parameters, which overcomes or at least partially solves the foregoing problems.
In a first aspect, a backup method for testing an environment configuration parameter includes:
obtaining a test environment to be backed up, wherein the test environment comprises: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
according to a pre-established feature code extraction rule, respectively carrying out multi-dimensional feature code extraction on configuration parameter items of each resource to respectively obtain at least one feature code combination corresponding to each resource, wherein the configuration parameter items and the feature code combinations are in one-to-one correspondence, and each feature code combination comprises: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
determining a value range corresponding to the parameter item feature codes in each feature code combination according to a pre-established value rule;
For any of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code;
and storing each compression feature code to backup configuration parameter items of each resource of the test environment.
With reference to the first aspect, in some optional embodiments, the feature code extraction rule includes:
for any test environment, dividing hierarchical feature codes according to five levels of operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources, wherein the hierarchical feature codes corresponding to different resources are different;
Wherein the operating system resource corresponds to a first level feature code;
the basic software resource corresponds to a second-level feature code;
the application installation package resource corresponds to a third hierarchical feature code;
the universal operation and maintenance monitoring tool resource corresponds to a fourth-level feature code;
the test data resource corresponds to a fifth-level secondary feature code;
for any resource, dividing parameter item set feature codes according to different parameter item sets corresponding to different parameter item set feature codes;
wherein the first type parameter item set corresponds to a first parameter item set feature code;
the second class of parameter item sets correspond to the second parameter item set feature codes;
the third type of parameter item set corresponds to a third parameter item set feature code, and so on;
for any parameter item set, dividing according to different parameter item characteristics corresponding to different parameter items;
wherein the first parameter item corresponds to a first parameter item feature code;
the second parameter item corresponds to a second parameter item feature code;
the third parameter term corresponds to a third parameter term signature, and so on.
With reference to the first aspect, in some optional embodiments, the determining, according to a pre-established value rule, a value range corresponding to a parameter item feature code in each feature code combination includes:
Inquiring a pre-established value comparison table so as to inquire and obtain a value range corresponding to the parameter item feature codes in the feature code combinations, wherein the value comparison table records the value range corresponding to the parameter item feature codes.
With reference to the first aspect, in some optional embodiments, the determining, according to a pre-established value rule, a value range corresponding to a parameter item feature code in each feature code combination includes:
and calculating to obtain a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value calculation formula, wherein the value calculation formula is matched with the parameter item feature code.
With reference to the first aspect, in some optional embodiments, the compressing each of the feature code combinations and corresponding each of the value ranges into at least one compressed feature code according to a pre-established compression rule includes:
if the value ranges are not repeated, dividing each feature code combination and each corresponding value range into N groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range, wherein N is an integer greater than 0;
For each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
With reference to the first aspect, in some optional embodiments, the compressing each of the feature code combinations and corresponding each of the value ranges into at least one compressed feature code according to a pre-established compression rule includes:
if the same value exists in each value range, dividing each feature code combination and the corresponding value range into M groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range are not repeated, and each value range included in each group is an integer greater than 0;
for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
With reference to the first aspect, in some optional embodiments, the compressing each of the feature code combinations and corresponding each of the value ranges into at least one compressed feature code according to a pre-established compression rule includes:
if the same value exists in the value range corresponding to the parameter item feature code, mapping the same value into other mapping values to update the value range with the same value, wherein the updated value ranges are not repeated, and the updated value ranges are not repeated with the value ranges with the same value which are not existed originally;
Dividing the updated value ranges and/or the value ranges which do not have the same value originally, and the corresponding feature code combinations into K groups, wherein each group comprises at least one pair of: the combination of feature codes and the corresponding updated range of values, or each group includes at least one pair of: the characteristic code combination and the corresponding value ranges which do not have the same value originally are provided, and K is an integer larger than 0;
for each group: and compressing each included value range which is updated and/or each value range which does not have the same value originally, and each corresponding feature code combination into one compressed feature code.
In a second aspect, a backup apparatus for testing environmental configuration parameters, includes: the device comprises a test environment obtaining unit, a feature code extracting unit, a value determining unit, a feature code compressing unit and a feature code storage unit;
the test environment obtaining unit is configured to obtain a test environment to be backed up, and the test environment includes: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
The feature code extraction unit is configured to perform feature code extraction of multiple dimensions on configuration parameter items of each resource according to a pre-established feature code extraction rule, so as to obtain at least one feature code combination corresponding to each resource, where the configuration parameter items correspond to a pair of feature code combinations, and each feature code combination includes: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
the value determining unit is configured to determine a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value rule;
the signature compression unit is configured to perform, for any one of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code;
The feature code storage unit is configured to store each compressed feature code so as to backup the configuration parameter item of each resource of the test environment.
In a third aspect, a computer readable storage medium has stored thereon a program which, when executed by a processor, implements the backup method of testing environment configuration parameters of any of the above.
In a fourth aspect, an electronic device includes at least one processor, at least one memory coupled to the processor, and a bus; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform the backup method of the test environment configuration parameters of any of the claims.
By means of the technical scheme, the backup method and the related device for the test environment configuration parameters can be used for obtaining the test environment to be backed up, and the test environment comprises the following steps: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources; according to a pre-established feature code extraction rule, respectively carrying out multi-dimensional feature code extraction on configuration parameter items of each resource to respectively obtain at least one feature code combination corresponding to each resource, wherein the configuration parameter items and the feature code combinations are in one-to-one correspondence, and each feature code combination comprises: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs; determining a value range corresponding to the parameter item feature codes in each feature code combination according to a pre-established value rule; for any of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code; and storing each compression feature code to backup configuration parameter items of each resource of the test environment. Therefore, the configuration parameters of the test environment can be saved and recorded through the compressed feature codes, and the occupied storage resources are less.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a backup method for testing environment configuration parameters provided by the invention;
FIG. 2 is a schematic diagram of a backup device for testing environmental configuration parameters according to the present invention;
fig. 3 shows a schematic structural diagram of an electronic device provided by the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, the present invention provides a backup method for testing environment configuration parameters, including: s100, S200, S300, S400, and S500;
s100, obtaining a test environment to be backed up, wherein the test environment comprises: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
optionally, the test environment to be backed up refers to: the invention is not limited in this regard as to the test environment in which configuration parameter backups are required.
Optionally, the content related to a set of testing environment is larger, and the testing environment is divided into five types of resources, such as an operating system resource, a basic software resource, an application installation package resource, a general operation and maintenance monitoring tool resource and a testing data resource, so that the feature code extraction is conveniently carried out on the five types of resources by adopting corresponding rules, and the invention is not limited to the five types of resources.
S200, respectively extracting multi-dimensional feature codes of configuration parameter items of each resource according to a pre-established feature code extraction rule so as to respectively obtain at least one feature code combination corresponding to each resource;
wherein, the configuration parameter item corresponds with feature code combinations, each feature code combination includes: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
Alternatively, for any resource, there may be multiple sets of parameter items, each of which may have multiple configuration parameter items. Therefore, different resources can be characterized by different hierarchical feature codes, different parameter item sets can be characterized by different parameter item set feature codes, and different configuration parameter items can be characterized by different parameter item feature codes. I.e., each parameter item feature code, each parameter item set feature code, and each hierarchy feature code may be unique, as the invention is not limited in this regard.
Optionally, the extracting the feature codes of the multiple dimensions on the configuration parameter items of each resource according to the present invention can be understood as: the corresponding feature codes are extracted from the three degrees of the parameter item feature codes, the parameter item set feature codes and the hierarchical feature codes respectively, and the invention is not limited to this.
Optionally, each of the feature code combinations includes at least: the invention is not limited in this regard as to a parameter item feature code, a parameter item set feature code, and a hierarchy feature code.
Optionally, the feature code extraction rule is not specifically limited in the present invention, and any feasible manner belongs to the protection scope of the present invention. For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, the feature code extraction rule includes:
For any test environment, dividing hierarchical feature codes according to five levels of operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources, wherein the hierarchical feature codes corresponding to different resources are different;
wherein the operating system resource corresponds to a first level feature code;
the basic software resource corresponds to a second-level feature code;
the application installation package resource corresponds to a third hierarchical feature code;
the universal operation and maintenance monitoring tool resource corresponds to a fourth-level feature code;
the test data resource corresponds to a fifth-level secondary feature code;
for any resource, dividing parameter item set feature codes according to different parameter item sets corresponding to different parameter item set feature codes;
wherein the first type parameter item set corresponds to a first parameter item set feature code;
the second class of parameter item sets correspond to the second parameter item set feature codes;
the third type of parameter item set corresponds to a third parameter item set feature code, and so on;
for any parameter item set, dividing according to different parameter item characteristics corresponding to different parameter items;
Wherein the first parameter item corresponds to a first parameter item feature code;
the second parameter item corresponds to a second parameter item feature code;
the third parameter term corresponds to a third parameter term signature, and so on.
Optionally, the specific contents of the first-level feature code, the second-level feature code, the third-level feature code, the fourth-level feature code and the fifth-level feature code are not limited in the present invention, and any feasible manner falls within the protection scope of the present invention. For example, the first level feature code, the second level feature code, the third level feature code, the fourth level feature code, and the fifth level feature code are respectively: 1. two, three, four and five, to which the present invention is not limited.
Optionally, the first type parameter item set, the second type parameter item set and the third type parameter item set are not limited in particular, and the method is not limited in particular by combining the partitioning of the internal parameter item sets corresponding to the corresponding resources.
Optionally, the specific contents of the first parameter item set feature code, the second parameter item set feature code, the third parameter item set feature code and the Z parameter item set feature code are not limited, and any feasible mode belongs to the protection scope of the invention. For example, the first parameter set feature code, the second parameter set feature code, and the third parameter set feature code are, in order, respectively: 1. 2 and 3, and so on, the invention is not limited in this regard.
Optionally, the first parameter item, the second parameter item and the third parameter item are not limited in particular, and in particular, the parameter items under different parameter item sets of different resources need to be divided, and generally one parameter item corresponds to one configuration parameter item in the test environment, which is not limited in this aspect of the invention.
Optionally, the present invention does not specifically limit the first parameter item feature code, the second parameter item feature code, and the third parameter item feature code, and any feasible manner falls within the protection scope of the present invention. For example, the first parameter item feature code, the second parameter item feature code, and the third parameter item feature code are respectively: (1), (2) and (3), to which the present invention is not limited.
For ease of understanding, in combination with the foregoing examples, if a specific combination of feature codes is: -1 (1), indicating that the signature combination corresponds to: the invention is not limited in this regard as to the first parameter item (first configuration parameter item) of the first set of parameter items of the operating system resources in the test environment.
S300, determining a value range corresponding to the parameter item feature codes in each feature code combination according to a pre-established value rule;
optionally, the value range corresponding to the parameter item feature code is not the parameter item feature code itself, but a parameter for explaining the actual meaning of the configuration parameter item corresponding to the parameter item feature code in the test environment, which is not limited in the present invention.
Alternatively, the value range corresponding to each parameter item feature code may be designed by a person skilled in the art according to actual experience, which is not limited in the present invention.
Optionally, the present invention does not limit the value rule specifically, and any feasible manner belongs to the protection scope of the present invention. For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, the S300 includes: inquiring a pre-established value comparison table so as to inquire and obtain a value range corresponding to the parameter item feature codes in the feature code combinations, wherein the value comparison table records the value range corresponding to the parameter item feature codes.
For example, the value lookup table records: one-1 (1) [ q1] =1, one-1 (1) [ q2] =3, one-1 (1) [ q3] =5, the first value [ q1] of the first parameter item (1) of the first parameter item set 1 of the feature code combination group-1 (1) is 1, the second value [ q2] is 2, and the third value [ q3] is 3, that is, the value range of one-1 (1) is 1, 3, and 5, which is not limited by the invention.
For another example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, the S300 includes: and calculating to obtain a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value calculation formula, wherein the value calculation formula is matched with the parameter item feature code.
Alternatively, as previously described, the value lookup table records: one-1 (1) [ q1] =1, one-1 (1) [ q2] =3, one-1 (1) [ q3] =5, and the expression mode can be changed. Namely, a value range of-1 (1) is set as follows: one-1 (1) [ qi ] =2×i-1 (0 < i <4, i is an integer), which is not limited in the present invention.
S400, for any of the resources: compressing each feature code combination and each corresponding value range into at least one compressed feature code according to a pre-established compression rule;
the compression characteristic code at least comprises a characteristic code part and a value range part, wherein the value range part is used in the compression process of the same compression characteristic code, the characteristic code part is a set of characteristic code combinations used in the compression process of the compression characteristic code, and the value range part is a set of value ranges used in the compression process of the compression characteristic code;
optionally, the present invention is not limited to a specific manner of compressing each of the feature code combinations and corresponding each of the value ranges into at least one compressed feature code, and any feasible manner falls within the scope of protection of the present invention. For example, if the value range of one-1 (1) is: 1. 3 and 5, and the value range of one-1 (2) is as follows: 2 and 9; then one-1 (1) and one-1 (2) are concatenated to form the signature portion of the compressed signature: one-1 (1) one-1 (2), the value range is as follows: 1. 3 and 5, and the value ranges are as follows: 2 and 9 are spliced to form a value range part of the contracted characteristic code: [1, 2, 3, 5, 9], i.e. the compression signature may be: one-1 (1) one-1 (2) [1, 2, 3, 5, 9], which is not limiting in this regard.
Optionally, when compressing a compressed feature code, there may be a case where each of the value ranges used is repeated, so that in order to avoid confusion, it is necessary to ensure that each of the value ranges used for compressing the same compressed feature code is not repeated, which will be described separately below.
For example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, the S400 includes: step 1.1 and step 1.2;
step 1.1, if all the value ranges are not repeated, dividing each feature code combination and each corresponding value range into N groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range, wherein N is an integer greater than 0;
optionally, in step 1.1, each of the value ranges refers to: and combining the characteristic codes extracted from the same resource to obtain each value range corresponding to the characteristic code. If the value ranges are not repeated, the feature code combinations and the corresponding value ranges of the same resource can be divided into N groups, and the feature code combinations and the corresponding value ranges included in each group are paired. If a-1 (1) is divided into the first group, the value range should be: 1. 3 and 5 are divided into a first group, to which the present invention is not limited.
Alternatively, in this case, within the same group: the same feature code combination does not exist, and of course, a repeated value range does not exist; between the different groups: the same feature code combination does not exist, and of course, a repeated value range does not exist, and the invention is not limited to this.
Step 1.2, for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
For another example, in connection with the embodiment shown in fig. 1, in some alternative embodiments, the S400 includes: step 2.1 and step 2.2;
step 2.1, if the same value exists in each value range, dividing each feature code combination and the corresponding value range into M groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range are not repeated, and each value range included in each group is an integer greater than 0;
optionally, if the same value exists in each of the value ranges in step 2.1, it may be understood that: at least two of the value ranges are repeated, so that the characteristic code combinations with repeated value ranges can be divided into different groups when grouping is carried out, and the characteristic code combinations with non-repeated value ranges can be randomly combined.
For example, the value range of the feature code combination a is repeated with the value range of the feature code combination B, and the value range of the feature code combination C is repeated with the value range of the feature code combination D;
the value range of the feature code combination A is not repeated with the value range of the feature code combination C, and the value range of the feature code combination D is not repeated;
the value range of the feature code combination B is not repeated with the value range of the feature code combination C, and the value range of the feature code combination D is not repeated;
the value range of the rest feature code combination E and the value range of the feature code combination F are not repeated, and the value range of the feature code combination E and the value range of the feature code combination F are identical to each other: and if the value range of the feature code combination A, the value range of the feature code combination B, the value range of the feature code combination C and the value range of the feature code combination D are not repeated, dividing the feature code combination A and the value range thereof into a first group, and dividing the feature code combination B and the value range thereof into a second group.
The feature code combination C and the value range thereof may be divided into a third group, a first group or a second group.
If the feature code combination C and the value range thereof are divided into a third group, the feature code combination D and the value range thereof can be divided into a first group, a second group or a fourth group;
If the feature code combination C and the value range thereof are classified into the first group, the feature code combination D and the value range thereof cannot be classified into the first group but can be classified into the second group or the third group;
if the feature code combination C and its range of values are classified into the second group, the feature code combination D and its range of values cannot be classified into the second group, but may be classified into the first group or the third group.
Alternatively, the feature code combination E and the feature code combination F may be divided into the same group or may be divided into different groups. For example, the feature code combination E may be divided into any one of the first group, the second group, the third group, the fourth group, and the fifth group; the feature code combination F may be divided into any one of the first group, the second group, the third group, the fourth group, the fifth group, and the sixth group, which the present invention is not limited to.
Step 2.2, for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
In combination with the embodiment shown in fig. 1, in some alternative embodiments, the S400 includes: step 3.1, step 3.2 and step 3.3;
step 3.1, if the same value exists in the value range corresponding to the feature code of each parameter item, mapping the same value into other mapping values to update the value range with the same value, wherein the updated value ranges are not repeated, and the updated value ranges are not repeated with the value ranges with the same value which are not originally existed;
Optionally, if the same value exists in the value ranges corresponding to the feature codes of the parameter items, all the repeated value ranges can be updated in the mapping manner, so that after the value ranges corresponding to the feature code combinations of the same resource are updated, the feature code combinations with repeated value ranges do not exist. In this case, after updating, reference may be made to the foregoing processing manner for each of the value ranges, which is not repeated, which is not limited by the present invention.
Alternatively, if the same value exists in the value ranges corresponding to the feature codes of the parameter items, a part of repeated value ranges can be updated in the mapping manner, so that the repeated value ranges are further reduced. In this case, after updating, the present invention is not limited to this, as to the foregoing processing manner in which the same value exists in each of the value ranges.
Step 3.2, dividing each updated value range and/or each value range where the same value does not exist originally, and each corresponding feature code combination into K groups, where each group includes at least one pair of: the combination of feature codes and the corresponding updated range of values, or each group includes at least one pair of: the characteristic code combination and the corresponding value ranges which do not have the same value originally are provided, and K is an integer larger than 0;
Optionally, for any group, the combination of the feature code and the range of the value included in the combination of the feature code may be the combination of the feature code and the updated range of the value, or the combination of the feature code and the original range of the value (i.e. the corresponding range of the value where the same value does not exist in the prior art), which is not limited in this invention.
Step 3.3, for each group: and compressing each included value range which is updated and/or each value range which does not have the same value originally, and each corresponding feature code combination into one compressed feature code.
S500, storing the compressed feature codes to backup configuration parameter items of the resources of the test environment.
Optionally, the present invention is not limited to storing each of the compressed feature codes, and any feasible manner falls within the scope of the present invention.
For example, the compressed feature codes are sequentially sorted and stored according to different resources, which is not limited by the present invention.
Alternatively, the compressed feature code may be understood as a string of characters, i.e. the configuration parameters of the test environment are recorded by storing the characters, while the characters occupy very little memory, so as to greatly reduce the occupation of the memory resources by the present test environment, which is not limited by the present invention.
A complete example is provided below to further illustrate the present solution.
1. Definition:
(1) Hierarchical definition:
level one: an operating system;
level two: basic software (such as databases, middleware, open source products in various fields);
level three: an application installation package (containing application version information);
level four: a general purpose operation and maintenance monitoring tool (installation and configuration);
layer five: and (5) testing data.
(2) Baseline definition:
baseline one: an operating system image;
baseline two: installation packages, installation flows and installation scripts of basic software (such as databases, middleware and open source products in various fields);
and (3) a base line III: an application version number of an application installation package (containing application version information), an application installation package, an installation flow and an installation script;
baseline four: tool version number, tool installation package, installation flow and installation script of the general operation and maintenance monitoring tool (installation and configuration);
baseline five: data version number of test data.
(3) Parameter item set definition:
parameter item set one-1: a first class of parameter item sets of an operating system;
parameter item set one-2: a second set of class-II parameter items of the operating system;
parameter term set-n: the operating system's n-th set of class parameter items.
(4) Parameter item definition:
parameter item one-1 (1): a first parameter item in a first class of parameter sets of the operating system;
parameter item one-1 (2): a second parameter item in the first class parameter set of the operating system;
parameter item one-1 (p): the p-th parameter item in the first type parameter set of the operating system.
(5) And (3) defining a value range:
parameter value one-1 (1) [ q1]: the first value of a first parameter item in a first type parameter set of an operating system is q1;
parameter value one-1 (1) [ q2]: the second value of the first parameter item in the first type parameter set of the operating system is q2;
parameter value one-1 (1) [ qi ]: the ith value of the first parameter item in the first type parameter set of the operating system is qi.
2. The realization principle is as follows:
(1) Feature combinations are specified by hierarchy, parameter item sets, and parameter items.
Specific value ranges, such as one-1 (1) [ q1], one-1 (1) [ q2], one-1 (1) [ q3], one-1 (2) [ q1], one-1 (2) [ q2], one-1 (3) [ q1], one-1 (3) [ q2] and the like, are sequentially determined for each parameter item in each feature combination.
(2) And calculating the feature codes.
2.1, describing the meaning of each parameter value, and describing the meaning of a specific value.
2.2, for each parameter item, formulating a calculation rule according to the value range. For example, one-1 (1) [ q1] ]=1, one-1 (1) [ q2 ]]=3, one-1 (1) [ q3 ]]=5, i.e. the value range of the parameter item 1-1 (1) is 1, 3, 5, the calculation rule of the parameter item is 1-1 (1) [ qi ]]=2×i-1(0<i<4, i is an integer); one-1 (2) [ q1 ]]=2, one-1 (2) [ q2 ]]=9, i.e. the range of the parameter item 1-1 (2) is 2, 9, the calculation rule of the parameter item is 1-1 (2) [ qi ]]=i 3 +1(0<i<3,i is an integer); one-1 (3) [ q1 ]]=a, one-1 (3) [ q2 ]]When the value range of the parameter item A-1 (3) is a, b, the calculation rule of the parameter item is A-1 (3) [ q1 ]]=a, one-1 (3) [ q2 ]]=b。
The invention also calculates the parameter values of each parameter item in advance according to the calculation rule of each parameter item, and then establishes a corresponding value comparison table in advance, thereby facilitating the subsequent acquisition of the parameter values of each parameter item directly through the table lookup.
And 2.3, combining the compressed multiple parameter values to form a compressed feature code.
And combining the multiple parameter item value ranges, and compressing the multiple parameter item value ranges into a compressed feature code. For example, the parameter items one-1 (1), one-1 (2) and one-1 (3) have the overall values of 1, 2, 3, 5, 9, a and b, and have no repeated values, so the parameter items can be directly used. By using a piecewise function, 7 values of 3 parameter items are identified by using a compressed feature code, and the relation between the parameter items and the parameter values can be distinguished at the same time. If the repeated values exist in the whole value ranges of the parameter items, the repeated values can be mapped into unique values by adjusting the parameter item combination or adding a layer of calculation rules, so that a compressed feature code is formed.
(3) And storing the compressed feature codes.
And storing and transmitting the multi-bit feature codes in the form of character strings according to a certain arrangement rule.
(4) And (5) analyzing the feature codes.
And deducing an analysis rule according to the feature code calculation rule, and restoring the relation between each parameter item and the value through an analysis function when resources are required to be supplied, so as to restore the test environment according to the value.
(5) And updating the feature codes.
And recalculating the feature codes according to the calculation rules. If the calculation rule is repeated with other values, the upper-layer calculation rule is revised, or the parameter item combination is adjusted.
For example, when the value range is changed or the calculation rule is adjusted, the feature code is recalculated according to the new calculation rule.
(6) The signature is updated synchronously with the baseline.
Revising the base line, calculating the change value of the feature code according to the new base line and the original calculation rule, recombining and compressing the changed result, and revising the analysis rule.
The base line is used for guaranteeing consistency of feature codes and calculation rules, and further guaranteeing effectiveness of extraction, calculation, storage and analysis. When the value range is changed, the calculation and analysis rules may be invalid, so that the baseline needs to be revised.
As shown in fig. 2, the present invention provides a backup device for testing environment configuration parameters, including: a test environment obtaining unit 100, a feature code extracting unit 200, a value determining unit 300, a feature code compressing unit 400, and a feature code storing unit 500;
The test environment obtaining unit 100 is configured to obtain a test environment to be backed up, where the test environment includes: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
the feature code extracting unit 200 is configured to perform multi-dimensional feature code extraction on configuration parameter items of each resource according to a pre-established feature code extraction rule, so as to obtain at least one feature code combination corresponding to each resource, where the configuration parameter items correspond to a pair of feature code combinations, and each feature code combination includes: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
the value determining unit 300 is configured to determine a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value rule;
the signature compression unit 400 is configured to perform, for any of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code;
The feature code storage unit 500 is configured to store each of the compressed feature codes so as to backup the configuration parameter items of each of the resources of the test environment.
In combination with the embodiment shown in fig. 2, in some alternative embodiments, the value determining unit 300 includes: a first value determining subunit;
the first value determining subunit is configured to perform a query on a pre-established value comparison table, so as to query and obtain a value range corresponding to the parameter item feature code in each feature code combination, wherein the value comparison table records the value range corresponding to each parameter item feature code.
In combination with the embodiment shown in fig. 2, in some alternative embodiments, the value determining unit 300 includes: a second value determining subunit;
the second value determining subunit is configured to execute a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value calculation formula, wherein the value calculation formula is matched with the parameter item feature code.
In combination with the embodiment shown in fig. 2, in some alternative embodiments, the compressing each of the feature code combinations and corresponding each of the value ranges into at least one compressed feature code according to a pre-established compression rule includes:
If the value ranges are not repeated, dividing each feature code combination and each corresponding value range into N groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range, wherein N is an integer greater than 0;
for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
In connection with the embodiment shown in fig. 2, in some alternative embodiments, the feature code compression unit 400 includes: a first dividing subunit and a first feature code compression subunit;
the first dividing subunit is configured to perform dividing each of the feature code combinations and the corresponding value ranges into M groups if the same value exists in each of the value ranges, where each group includes at least one pair of: the characteristic code combination and the corresponding value range are not repeated, and each value range included in each group is an integer greater than 0;
the first signature compression subunit is configured to perform, for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
In connection with the embodiment shown in fig. 2, in some alternative embodiments, the feature code compression unit 400 includes: a mapping subunit, a second dividing subunit and a second feature code compression subunit;
the mapping subunit is configured to perform mapping the same value into other mapping values if the same value exists in the value range corresponding to the feature code of each parameter item, so as to update the value range with the same value, wherein the updated value ranges are not repeated, and the updated value ranges are not repeated with the value ranges with the original value which is not the same;
the second dividing subunit is configured to perform dividing the updated value ranges and/or the value ranges where the same value does not exist originally, and the corresponding feature code combinations into K groups, where each group includes at least one pair of: the combination of feature codes and the corresponding updated range of values, or each group includes at least one pair of: the characteristic code combination and the corresponding value ranges which do not have the same value originally are provided, and K is an integer larger than 0;
The second signature compression subunit is configured to perform, for each group: and compressing each included value range which is updated and/or each value range which does not have the same value originally, and each corresponding feature code combination into one compressed feature code.
The present invention provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements a backup method of the test environment configuration parameters of any one of the above.
As shown in fig. 3, the present invention provides an electronic device 70, said electronic device 70 comprising at least one processor 701, and at least one memory 702, bus 703 connected to said 701 processor; wherein, the processor 701 and the memory 702 complete communication with each other through the bus 703; the processor 701 is configured to invoke the program instructions in the memory 702 to execute the backup method of the test environment configuration parameters described in any of the above.
In this application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
1. A backup method for testing environment configuration parameters, comprising:
obtaining a test environment to be backed up, wherein the test environment comprises: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
according to a pre-established feature code extraction rule, respectively carrying out multi-dimensional feature code extraction on configuration parameter items of each resource to respectively obtain at least one feature code combination corresponding to each resource, wherein the configuration parameter items and the feature code combinations are in one-to-one correspondence, and each feature code combination comprises: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
determining a value range corresponding to the parameter item feature codes in each feature code combination according to a pre-established value rule;
for any of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code;
And storing each compression feature code to backup configuration parameter items of each resource of the test environment.
2. The method of claim 1, wherein the feature code extraction rule comprises:
for any test environment, dividing hierarchical feature codes according to five levels of operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources, wherein the hierarchical feature codes corresponding to different resources are different;
wherein the operating system resource corresponds to a first level feature code;
the basic software resource corresponds to a second-level feature code;
the application installation package resource corresponds to a third hierarchical feature code;
the universal operation and maintenance monitoring tool resource corresponds to a fourth-level feature code;
the test data resource corresponds to a fifth-level secondary feature code;
for any resource, dividing parameter item set feature codes according to different parameter item sets corresponding to different parameter item set feature codes;
wherein the first type parameter item set corresponds to a first parameter item set feature code;
the second class of parameter item sets correspond to the second parameter item set feature codes;
The third type of parameter item set corresponds to a third parameter item set feature code, and so on;
for any parameter item set, dividing according to different parameter item characteristics corresponding to different parameter items;
wherein the first parameter item corresponds to a first parameter item feature code;
the second parameter item corresponds to a second parameter item feature code;
the third parameter term corresponds to a third parameter term signature, and so on.
3. The method according to claim 1, wherein the determining, according to a pre-established value rule, a value range corresponding to a parameter item feature code in each feature code combination includes:
inquiring a pre-established value comparison table so as to inquire and obtain a value range corresponding to the parameter item feature codes in the feature code combinations, wherein the value comparison table records the value range corresponding to the parameter item feature codes.
4. The method according to claim 1, wherein the determining, according to a pre-established value rule, a value range corresponding to a parameter item feature code in each feature code combination includes:
and calculating to obtain a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value calculation formula, wherein the value calculation formula is matched with the parameter item feature code.
5. The method of claim 1, wherein compressing each of the combinations of feature codes and corresponding ones of the ranges of values into at least one compressed feature code according to a pre-established compression rule comprises:
if the value ranges are not repeated, dividing each feature code combination and each corresponding value range into N groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range, wherein N is an integer greater than 0;
for each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
6. The method of claim 1, wherein compressing each of the combinations of feature codes and corresponding ones of the ranges of values into at least one compressed feature code according to a pre-established compression rule comprises:
if the same value exists in each value range, dividing each feature code combination and the corresponding value range into M groups, wherein each group comprises at least one pair of: the characteristic code combination and the corresponding value range are not repeated, and each value range included in each group is an integer greater than 0;
For each group: compressing the included combination of feature codes and the corresponding range of values into one of the compressed feature codes.
7. The method of claim 1, wherein compressing each of the combinations of feature codes and corresponding ones of the ranges of values into at least one compressed feature code according to a pre-established compression rule comprises:
if the same value exists in the value range corresponding to the parameter item feature code, mapping the same value into other mapping values to update the value range with the same value, wherein the updated value ranges are not repeated, and the updated value ranges are not repeated with the value ranges with the same value which are not existed originally;
dividing the updated value ranges and/or the value ranges which do not have the same value originally, and the corresponding feature code combinations into K groups, wherein each group comprises at least one pair of: the combination of feature codes and the corresponding updated range of values, or each group includes at least one pair of: the characteristic code combination and the corresponding value ranges which do not have the same value originally are provided, and K is an integer larger than 0;
For each group: and compressing each included value range which is updated and/or each value range which does not have the same value originally, and each corresponding feature code combination into one compressed feature code.
8. A backup apparatus for testing environmental configuration parameters, comprising: the device comprises a test environment obtaining unit, a feature code extracting unit, a value determining unit, a feature code compressing unit and a feature code storage unit;
the test environment obtaining unit is configured to obtain a test environment to be backed up, and the test environment includes: operating system resources, basic software resources, application installation package resources, general operation and maintenance monitoring tool resources and test data resources;
the feature code extraction unit is configured to perform feature code extraction of multiple dimensions on configuration parameter items of each resource according to a pre-established feature code extraction rule, so as to obtain at least one feature code combination corresponding to each resource, where the configuration parameter items correspond to a pair of feature code combinations, and each feature code combination includes: the system comprises a parameter item feature code, a parameter item set feature code and a hierarchy feature code, wherein the parameter item set feature code represents a parameter item set where the configuration parameter item corresponding to the parameter item feature code is located, and the hierarchy feature code represents the resource to which the parameter item set belongs;
The value determining unit is configured to determine a value range corresponding to the parameter item feature code in each feature code combination according to a pre-established value rule;
the signature compression unit is configured to perform, for any one of the resources: compressing each feature code combination and each corresponding value range into at least one compression feature code according to a pre-established compression rule, wherein each value range used in the compression process of the same compression feature code is not repeated, the compression feature code at least comprises a feature code part and a value range part, the feature code part is a set of each feature code combination used in the compression process of the compression feature code, and the value range part is a set of each value range used in the compression process of the compression feature code;
the feature code storage unit is configured to store each compressed feature code so as to backup the configuration parameter item of each resource of the test environment.
9. A computer-readable storage medium, on which a program is stored, characterized in that the program, when executed by a processor, implements a backup method of test environment configuration parameters according to any one of claims 1 to 7.
10. An electronic device comprising at least one processor, and at least one memory, bus coupled to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform a backup method of test environment configuration parameters according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111120272.1A CN113836018B (en) | 2021-09-24 | 2021-09-24 | Backup method and related device for testing environment configuration parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111120272.1A CN113836018B (en) | 2021-09-24 | 2021-09-24 | Backup method and related device for testing environment configuration parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113836018A CN113836018A (en) | 2021-12-24 |
CN113836018B true CN113836018B (en) | 2024-04-09 |
Family
ID=78969817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111120272.1A Active CN113836018B (en) | 2021-09-24 | 2021-09-24 | Backup method and related device for testing environment configuration parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113836018B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067525A (en) * | 2013-01-18 | 2013-04-24 | 广东工业大学 | Cloud storage data backup method based on characteristic codes |
GB201419929D0 (en) * | 2014-11-10 | 2014-12-24 | Inst Information Industry | Backup method, pre-testing method for environment updating and system thereof |
CN106126427A (en) * | 2016-07-06 | 2016-11-16 | 中国银联股份有限公司 | A kind of method and system of fast quick-recovery test |
CN111240892A (en) * | 2019-12-02 | 2020-06-05 | 泰康保险集团股份有限公司 | Data backup method and device |
CN112988458A (en) * | 2019-12-18 | 2021-06-18 | 中国移动通信集团四川有限公司 | Data backup method and device, electronic equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2513528A (en) * | 2012-10-09 | 2014-11-05 | Ibm | Method and system for backup management of software environments in a distributed network environment |
-
2021
- 2021-09-24 CN CN202111120272.1A patent/CN113836018B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067525A (en) * | 2013-01-18 | 2013-04-24 | 广东工业大学 | Cloud storage data backup method based on characteristic codes |
GB201419929D0 (en) * | 2014-11-10 | 2014-12-24 | Inst Information Industry | Backup method, pre-testing method for environment updating and system thereof |
CN106126427A (en) * | 2016-07-06 | 2016-11-16 | 中国银联股份有限公司 | A kind of method and system of fast quick-recovery test |
CN111240892A (en) * | 2019-12-02 | 2020-06-05 | 泰康保险集团股份有限公司 | Data backup method and device |
CN112988458A (en) * | 2019-12-18 | 2021-06-18 | 中国移动通信集团四川有限公司 | Data backup method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113836018A (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7908254B2 (en) | Identifying characteristics in sets of organized items | |
CN100452052C (en) | Method and apparatus to capture and transmit dense diagnostic data of a file system | |
CN103902698B (en) | A kind of data-storage system and storage method | |
US20040133581A1 (en) | Database management system, data structure generating method for database management system, and storage medium therefor | |
US6968349B2 (en) | Apparatus and method for validating a database record before applying journal data | |
JP6720664B2 (en) | Index generation program, index generation device, index generation method, search program, search device, and search method | |
JP6439358B2 (en) | Method, apparatus, user computer and cloud computer for CAD | |
AU2019349429B2 (en) | Translation of tenant identifiers | |
CN101356527A (en) | File system dump/restore by node numbering | |
CN103927607A (en) | Data processing method and device | |
CN112800008A (en) | Compression, search and decompression of log messages | |
ATE246375T1 (en) | REMOVAL OF DUPLICATE OBJECTS FROM AN OBJECT STORAGE | |
JP2018028905A (en) | Electronic device and method for executing data scrubbing, and data scrubbing device | |
CN113268439A (en) | Memory address searching method and device, electronic equipment and storage medium | |
CN110232057B (en) | Data rollback method, electronic device and storage medium | |
CN113836018B (en) | Backup method and related device for testing environment configuration parameters | |
CN106776704A (en) | Statistical information collection method and device | |
CN113282579A (en) | Heterogeneous data storage and retrieval method, device, equipment and storage medium | |
CN101901172A (en) | Data processing device and method | |
CN113515517A (en) | Method for querying data set based on tree structure data and computer equipment | |
JP6931442B2 (en) | Coding program, index generator, search program, coding device, index generator, search device, coding method, index generation method and search method | |
Zhang et al. | A program plagiarism detection model based on information distance and clustering | |
CN108399152A (en) | Compression expression method, system, storage medium and the rule match device of digital search tree | |
CN110727672A (en) | Data mapping relation query method and device, electronic equipment and readable medium | |
CN114281845A (en) | Index generation method and device, electronic equipment and readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |