CN112948260A - Test data storage method, device, system, electronic equipment and medium - Google Patents

Test data storage method, device, system, electronic equipment and medium Download PDF

Info

Publication number
CN112948260A
CN112948260A CN202110336665.XA CN202110336665A CN112948260A CN 112948260 A CN112948260 A CN 112948260A CN 202110336665 A CN202110336665 A CN 202110336665A CN 112948260 A CN112948260 A CN 112948260A
Authority
CN
China
Prior art keywords
data
user
test data
pool
private
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
Application number
CN202110336665.XA
Other languages
Chinese (zh)
Inventor
杨永双
张丰祥
李昭文
任忠铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202110336665.XA priority Critical patent/CN112948260A/en
Publication of CN112948260A publication Critical patent/CN112948260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a test data storage method, a test data storage device, a test data storage system, electronic equipment and a test data storage medium, which are applied to the technical field of testing, wherein the method comprises the following steps: if the user needs to modify the source test data in the shared database, target test data for replacing the source test data is generated and stored in a private database corresponding to the user, and the index pointing to the source test data in the user data pool is modified into the pointing target test data, so that effective isolation of the data is realized, the private data of the user exists in the target test data for replacing the source test data by the user, the source test data in the shared database cannot be modified, the influence on the utilization of the source test data in the shared database by other users is avoided, and the test efficiency can be improved.

Description

Test data storage method, device, system, electronic equipment and medium
Technical Field
The present application relates to the field of information security technologies, and in particular, to a test data storage method, apparatus, system, electronic device, and medium.
Background
In the test work of software, test data are usually stored in the same database, that is, different users need to use the common test data of the operation part in the test work, and there is no effective isolation mechanism between the test data. At present, when a certain user needs to modify common test data, other users using the data are generally notified in a manual manner, and the data can be modified after the data are mutually confirmed to be capable of being modified. In order to prevent that test data modification information among users is not synchronized in place, some existing schemes perform centralized management on common test data, only give an administrator user the right to modify the test data, and a common user can perform data change after the administrator reviews the common user only by means of submitting an application. Therefore, the existing test data storage method has the problems of poor test data use flexibility and influence on test working efficiency.
Disclosure of Invention
The application provides a test data storage method, a test data storage device, a test data storage system, an electronic device and a test data storage medium, which are used for improving the flexibility of test data storage and further improving the efficiency of test work, and the technical scheme adopted by the application is as follows:
in a first aspect, a test data storage method is provided, including:
the method comprises the steps of writing a modification instruction into a user data list corresponding to a user when the modification instruction of the user on source test data in a shared database is received, generating target test data based on a preset data generation rule, and storing the target test data in a private database corresponding to the user, wherein the modification instruction is used for modifying the source test data into the target test data
When the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user.
Optionally, the method further comprises:
acquiring data storage states of private databases of a plurality of users;
and determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
Optionally, after generating target test data based on a predetermined data generation rule and storing the target test data in a private database corresponding to the user, the method further includes:
adding the state of target test data in a user data list corresponding to the user;
when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, including:
and when the state of the target test data in the user data list corresponding to the user is successful in addition, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user.
Optionally, comprising:
receiving a test data calling request of a user;
and respectively calling test data from a shared database and a private database corresponding to the target user based on the index relation prestored in the data pool of the user.
Optionally, the method further comprises:
receiving a data calling instruction of a user to source test data in a shared database, and judging whether the shared database contains data called by the data calling instruction;
and if the shared database does not contain the data called by the data calling instruction, prompting a user to send a data modification instruction.
Optionally, the method further comprises:
and if the shared database contains the data called by the data calling instruction, caching the data called by the data calling instruction to a data pool corresponding to the user.
In a second aspect, there is provided a test data storage device comprising:
a writing module, configured to, when a modification instruction of a user on source test data in a shared database is received, write the modification instruction into a user data list corresponding to the user, generate target test data based on a predetermined data generation rule, and store the target test data in a private database corresponding to the user, where the modification instruction is used to modify the source test data into the target test data
And the modification module is used for modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user when the data pool of the user monitors that the user data list corresponding to the user is modified, wherein the index calling the data of the shared database is stored in the data pool of the user.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the data storage states of private databases of a plurality of users;
and the determining module is used for determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
Optionally, the apparatus further comprises:
the adding module is used for adding the state of the target test data in a user data list corresponding to the user after the target test data is generated based on a preset data generation rule and is stored in a private database corresponding to the user;
the modification module is specifically configured to modify, when the state of the target test data in the user data list corresponding to the user is that the addition is successful, the index pointing to the source test data in the data pool of the user to be an index pointing to the target test data in the private database corresponding to the user.
Optionally, the apparatus comprises:
the first receiving module is used for receiving a test data calling request of a user;
and the calling module is used for calling the test data from the shared database and the private database corresponding to the target user respectively based on the index relation prestored in the data pool of the user.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a data calling instruction of a user for source test data in a shared database and judging whether the shared database contains data called by the data calling instruction;
and the prompting module is used for prompting a user to send a data modification instruction if the shared database does not contain the data called by the data calling instruction.
Optionally, the apparatus further comprises:
and the cache module is used for caching the data called by the data calling instruction to a data pool corresponding to the user if the shared database contains the data called by the data calling instruction.
In a third aspect, an electronic device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the test data storage method shown in the first aspect is performed.
In a fourth aspect, there is provided a computer-readable storage medium for storing computer instructions which, when run on a computer, cause the computer to perform the test data storage method of the first aspect.
The application provides a test data storage method, a device, a system, an electronic device and a medium, in contrast to the prior art, where test data is stored in only one common database, the present application is configured to, upon receiving a user's modification instruction for source test data in the shared database, writing the modification instruction into a user data list corresponding to the user, generating target test data based on a preset data generation rule, and storing the target test data into a private database corresponding to the user, wherein the modification instruction is used for modifying the source test data into the target test data, and when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user. That is, if a user needs to modify source test data in the shared database, target test data for replacing the source test data is generated and stored in a private database corresponding to the user, and an index pointing to the source test data in the user data pool is modified to point to the target test data, so that effective isolation of data is realized.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a test data storage method according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a test data storage device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example one
An embodiment of the present application provides a test data storage method, as shown in fig. 1, including:
step S101, when a modification instruction of a user on source test data in a shared database is received, writing the modification instruction into a user data list corresponding to the user, generating target test data based on a preset data generation rule, and storing the target test data into a private database corresponding to the user, wherein the modification instruction is used for modifying the source test data into the target test data;
step S102, when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user.
Compared with the prior art that test data are only stored in a public database, when a modification instruction of a user on source test data in a shared database is received, the modification instruction is written into a user data list corresponding to the user, target test data are generated based on a preset data generation rule, the target test data are stored in a private database corresponding to the user, and the modification instruction is used for modifying the source test data into the target test data; when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user. That is, if a user needs to modify source test data in the shared database, target test data for replacing the source test data is generated and stored in a private database corresponding to the user, and an index pointing to the source test data in the user data pool is modified to point to the target test data, so that effective isolation of data is realized.
Optionally, the method further comprises:
acquiring data storage states of private databases of a plurality of users;
and determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
Optionally, after generating target test data based on a predetermined data generation rule and storing the target test data in a private database corresponding to the user, the method further includes:
adding the state of target test data in a user data list corresponding to the user;
when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, including:
and when the state of the target test data in the user data list corresponding to the user is successful in addition, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user.
Optionally, comprising:
receiving a test data calling request of a user;
and respectively calling test data from a shared database and a private database corresponding to the target user based on the index relation prestored in the data pool of the user.
Further, the method further comprises:
receiving a data calling instruction of a user to source test data in a shared database, and judging whether the shared database contains data called by the data calling instruction;
and if the shared database does not contain the data called by the data calling instruction, prompting a user to send a data modification instruction.
Further, the method further comprises:
and if the shared database contains the data called by the data calling instruction, caching the data called by the data calling instruction to a data pool corresponding to the user.
Illustratively, the implementation principle of the present application is as follows:
in the invention, an independent data pool is established for each user, and each data pool establishes indexes with a data source central warehouse and a user private data warehouse by reading a user data list. When a user x needs to modify a certain piece of test data or has personalized requirements on a certain piece of test data, data cloning can be performed through a customized data production factory according to a generation rule of the piece of data A to generate test data A ' required by the user, the A ' is stored in a private data warehouse of the user x, and meanwhile, a record pointing to the A ' is added in a data list of the user x. The user data pool X monitors the record content in the user list at regular time, and when the newly added A 'record is monitored, the data pool X establishes an index pointing to A' in the private database X and simultaneously covers the index pointing to A. The multi-user data management device realizes the modification of the test data A to A' by the user x through the steps, the test data A in the central data source is not changed, and the test data A used by other users is not influenced by the user x.
Multi-user data pool
If the users a, b and c need to use the test data through the device, the system can establish corresponding data pools a, b and c for the users. The data pools are controlled by software to realize virtual space isolation, and no transverse communication mechanism exists among the data pools. The users a, b and c can only access and operate the test data through the respective data pools a, b and c, so that the data pools not only isolate the operation among the users in the transverse direction, but also separate the users and the database in the longitudinal direction, and the users are prevented from directly operating a common central test data warehouse. The phenomenon that other users needing to rely on the test data B to perform test tasks cannot perform follow-up work after a certain user modifies the public data B is avoided, and therefore the safety of the public test data is improved. If the test task performed by the user c needs to use a specified piece of test data F' and the test data F in the entry in the data pool does not meet the specified requirement, the user c needs to modify the data F in the data pool c. The modification of the data is based on the generation rule F of the type of data and the newly added modification condition F ', and the mirror processing of the data F- > F' is performed in the data factory. Represented in data pool c, F' covers the original test data F. In the data pools of other users, test data F remains unchanged. Because the change is only the user data list used by the data pool c, and the data in the user data list and the data in the database used by other data pools are changed.
User data list
The user data list is a link between the connection database and the data pool. And the data pools a, b and c regularly monitor the change of the user data lists La, Lb and Lc, so that the modification synchronization of the user test data is realized. The operation that the user c modifies F into F 'in the data pool c is synchronized to the user data list Lc, and a toDo record of F- > F' is formed in Lc. And after the data factory finishes the processing of F ' and stores the F ' in the user private data warehouse Dc, changing the state of F- > F ' in Lc into done, and indicating that the data modification operation is successful. And after monitoring that the list records in the Lc are changed, the data pool generates a new index of the private test data F ', and automatically covers the original index from the private test data F'. The user data list can store user modification records in a first-in last-out mode, and the user can conveniently back off the test data operation. While the manifest implements a back-to-back prioritization principle, i.e., new data records are prioritized over old data records.
And when the user c needs to modify the test data F into F', the modified data F is stored in the private data warehouse Dc under the name of the user c. In the device of the invention, the size of the storage space of the user private data warehouse can be dynamically adjusted. And according to the ratio of the private data quantity of each user, dynamically dividing a corresponding private data warehouse from the total private data storage resources. If the private data volume ratio of users a, b, and c is 1:2:1, and the required occupied storage space is D, 2D, and D, then according to the user private data warehouse dynamic allocation algorithm, the total private data storage volume is D4D/0.8, and the storage space allocated to users a, b, and c is D/0.9, 2D/0.9, and D/0.9. The algorithm ensures the relative redundancy of the private data warehouse of the user and reasonably distributes the resources, thereby avoiding the overflow and waste of the storage resources.
Exemplarily, taking the test data of the certificate number required by the user to modify the bank card for opening an account as an example:
1. the public test data warehouse stores the certificate number test data IDx used for bank card account opening test, and the batch of data is simulated identity card number data. The testing task performed by user y requires the use of passport number for the opening procedure test, so the identity card number IDx in the test data needs to be modified to change IDx to passport number IDy.
2. Logging in a data pool management system of a user y, selecting a test data item to be modified, namely a certificate number, changing the type of the certificate number into a passport number, and determining to execute the operation.
The system receives the modification execution instruction, and writes a todo record in the data list Ly of the user y: the type of the identification number is changed from the identification number to a passport number, and the identification number is marked as IDx- > IDy. And meanwhile, calling a data factory, generating a batch of test data IDy according to the passport number generation rule, storing the data IDy into a private data warehouse of the user y, and then calling and increasing the IDx- > IDy state in the data list to done.
3. And monitoring the change of the data list by the user y data pool, discarding an index originally pointing to the IDx data set under the certificate number data item, newly adding an index pointing to the data set IDy in the private data warehouse, and finishing the modification of the test data.
Example two
Another test data storage device is provided in an embodiment of the present application, as shown in fig. 2, including;
a writing module 201, configured to, when a modification instruction of a user for source test data in a shared database is received, write the modification instruction into a user data list corresponding to the user, generate target test data based on a predetermined data generation rule, and store the target test data in a private database corresponding to the user, where the modification instruction is used to modify the source test data into the target test data;
a modifying module 202, configured to modify, when the data pool of the user monitors that a user data list corresponding to the user is modified, an index pointing to source test data in the data pool of the user to be an index pointing to target test data in a private database corresponding to the user, where the data pool of the user stores an index for calling shared database data.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the data storage states of private databases of a plurality of users;
and the determining module is used for determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
Optionally, the apparatus further comprises:
the adding module is used for adding the state of the target test data in a user data list corresponding to the user after the target test data is generated based on a preset data generation rule and is stored in a private database corresponding to the user;
the modification module is specifically configured to modify, when the state of the target test data in the user data list corresponding to the user is that the addition is successful, the index pointing to the source test data in the data pool of the user to be an index pointing to the target test data in the private database corresponding to the user.
Optionally, comprising:
the first receiving module is used for receiving a test data calling request of a user;
and the calling module is used for calling the test data from the shared database and the private database corresponding to the target user respectively based on the index relation prestored in the data pool of the user.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a data calling instruction of a user for source test data in a shared database and judging whether the shared database contains data called by the data calling instruction;
and the prompting module is used for prompting a user to send a data modification instruction if the shared database does not contain the data called by the data calling instruction.
Optionally, the apparatus further comprises:
and the cache module is used for caching the data called by the data calling instruction to a data pool corresponding to the user if the shared database contains the data called by the data calling instruction.
Compared with the prior art that test data are only stored in one public database, the test data storage device has the advantages that when a modification instruction of a user on source test data in a shared database is received, the modification instruction is written into a user data list corresponding to the user, and the modification instruction is used for modifying the source test data into target test data; generating target test data based on a preset data generation rule, and storing the target test data to a private database corresponding to the user; when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user. That is, if a user needs to modify source test data in the shared database, target test data for replacing the source test data is generated and stored in a private database corresponding to the user, and an index pointing to the source test data in the user data pool is modified to point to the target test data, so that effective isolation of data is realized.
EXAMPLE III
An embodiment of the present application provides an electronic device, as shown in fig. 3, an electronic device 30 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein processor 301 is coupled to memory 303, such as via bus 302. Further, the electronic device 30 may also include a transceiver 304. It should be noted that the transceiver 304 is not limited to one in practical applications, and the structure of the electronic device 30 is not limited to the embodiment of the present application. The processor 301 is applied to the embodiment of the present application, and is used to implement the functions of the modules shown in fig. 2. The transceiver 304 includes a receiver and a transmitter.
The processor 301 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 301 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 302 may include a path that transfers information between the above components. The bus 302 may be a PCI bus or an EISA bus, etc. The bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
Memory 303 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the scheme of the application, and the processor 301 controls the execution. The processor 301 is configured to execute application program code stored in the memory 303 to implement the functions of the apparatus provided by the embodiment shown in fig. 2.
The embodiment of the present application provides an electronic device suitable for the above method embodiment, and specific implementation manners and technical effects are not described herein again.
Example four
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the test data storage method shown in the above embodiment.
The embodiment of the present application provides a computer-readable storage medium suitable for the above method embodiment, and specific implementation manners and technical effects are not described herein again.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A method for storing test data, comprising:
when a modification instruction of a user for source test data in a shared database is received, writing the modification instruction into a user data list corresponding to the user, generating target test data based on a preset data generation rule, and storing the target test data into a private database corresponding to the user, wherein the modification instruction is used for modifying the source test data into the target test data;
when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, wherein the index calling the shared database data is stored in the data pool of the user.
2. The method of claim 1, further comprising:
acquiring data storage states of private databases of a plurality of users;
and determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
3. The method of claim 1, wherein after generating the target test data based on a predetermined data generation rule and storing the target test data in a private database corresponding to the user, the method further comprises:
adding the state of target test data in a user data list corresponding to the user;
when the data pool of the user monitors that the user data list corresponding to the user is modified, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user, including:
and when the state of the target test data in the user data list corresponding to the user is successful in addition, modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user.
4. A method according to any one of claims 1 to 3, comprising:
receiving a test data calling request of a user;
and respectively calling test data from a shared database and a private database corresponding to the target user based on the index relation prestored in the data pool of the user.
5. The method according to any one of claims 1-4, characterized in that the method further comprises:
receiving a data calling instruction of a user to source test data in a shared database, and judging whether the shared database contains data called by the data calling instruction;
and if the shared database does not contain the data called by the data calling instruction, prompting a user to send a data modification instruction.
6. The method of claim 5, further comprising:
and if the shared database contains the data called by the data calling instruction, caching the data called by the data calling instruction to a data pool corresponding to the user.
7. A test data storage device, comprising:
the writing module is used for writing a modification instruction into a user data list corresponding to a user when the modification instruction of the user on source test data in a shared database is received, generating target test data based on a preset data generation rule, and storing the target test data into a private database corresponding to the user, wherein the modification instruction is used for modifying the source test data into the target test data;
and the modification module is used for modifying the index pointing to the source test data in the data pool of the user into the index pointing to the target test data in the private database corresponding to the user when the data pool of the user monitors that the user data list corresponding to the user is modified, wherein the index calling the data of the shared database is stored in the data pool of the user.
8. The apparatus of claim 7, further comprising:
the acquisition module is used for acquiring the data storage states of private databases of a plurality of users;
and the determining module is used for determining the memory size of the private database distributed by each user based on the data storage state of the private database of each user.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing a test data storage method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the test data storage method of any one of claims 1 to 7.
CN202110336665.XA 2021-03-29 2021-03-29 Test data storage method, device, system, electronic equipment and medium Pending CN112948260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336665.XA CN112948260A (en) 2021-03-29 2021-03-29 Test data storage method, device, system, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336665.XA CN112948260A (en) 2021-03-29 2021-03-29 Test data storage method, device, system, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN112948260A true CN112948260A (en) 2021-06-11

Family

ID=76227363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336665.XA Pending CN112948260A (en) 2021-03-29 2021-03-29 Test data storage method, device, system, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112948260A (en)

Similar Documents

Publication Publication Date Title
KR102121159B1 (en) Event-driven blockchain workflow processing
US8443373B2 (en) Efficient utilization of idle resources in a resource manager
CN106802939B (en) Method and system for solving data conflict
CN113900598B (en) Data storage method, device, equipment and storage medium based on block chain
CN102362281A (en) Policy generation and conversion system, policy distribution system, and method and program therefor
CN103559319A (en) Cache synchronization method and equipment for distributed cluster file system
CN106951795A (en) A kind of application data access partition method and device
CN109358874A (en) Business rule update method, device, computer equipment and storage medium
CN112217774A (en) Authority control system and method, server and storage medium
JPH01144152A (en) Control of data processing system
CN112948260A (en) Test data storage method, device, system, electronic equipment and medium
CN111352706A (en) Data access method, device, equipment and storage medium
CN109711193B (en) Storage space sharing method and device
CN111324906A (en) Automatic access method and device based on data interface and electronic equipment
CN114095200B (en) Resource access authority management method and device, electronic equipment and medium
CN113722729B (en) Authority management method, device, terminal, server and storage medium
CN102868594B (en) Method and device for message processing
CN106844036A (en) The access method and device of physical equipment
CN113553264A (en) Test data generation method, test data generation device, electronic device and medium
CN110175037B (en) Method and system for updating hardware fingerprint bound by soft lock permission
US9898702B2 (en) Method, computer program product, and apparatus for managing decision support related event information
CN113515387A (en) Data processing method and device and electronic device
CN110175036B (en) Upgrading method and device for soft lock permission
CN113626220A (en) Micro-service control method and system
CN112988888A (en) Key management method, key management device, electronic equipment and 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