Search

CN-116303492-B - Data management method, device, equipment and storage medium

CN116303492BCN 116303492 BCN116303492 BCN 116303492BCN-116303492-B

Abstract

The invention discloses a method, a device, equipment and a storage medium for data management, wherein the method comprises the steps of obtaining updated data; the method comprises the steps of carrying out keyword matching on update data based on preset keyword information to obtain a keyword matching result, extracting target data corresponding to the preset keyword information from the update data when the keyword matching result indicates that the update data contains data to be extracted corresponding to the preset keyword information, carrying out data encapsulation on the target data to obtain encapsulated data, enabling the data format of the encapsulated data to be consistent with that of a data management system, and inputting the encapsulated data into the data management system. The invention can realize automatic data input to the data management system by extracting and classifying and summarizing the keyword information in the updated data, thereby improving the data input efficiency, avoiding errors caused by manual data input and improving the accuracy.

Inventors

  • ZHANG ZHENLIN
  • ZHANG XIAOSONG

Assignees

  • 中汽创智科技有限公司

Dates

Publication Date
20260512
Application Date
20230213
Priority Date
20221208

Claims (11)

  1. 1. A method of data management, the method comprising: acquiring full test data corresponding to the current moment; performing data detection on the full test data corresponding to the current moment to obtain a data detection result; Determining that the updated data is updated data under the condition that the data detection result indicates that the total test data corresponding to the current moment is updated; acquiring update data, wherein the update data is test data generated after software testing is performed on software to be tested; Performing keyword matching on the updated data based on preset keyword information to obtain a keyword matching result; Extracting target data corresponding to the preset keyword information from the update data under the condition that the keyword matching result indicates that the update data contains data to be extracted corresponding to the preset keyword information, wherein the target data is data which needs to be input into a data management system in the update data; the data format of the packaged data is consistent with the data format of a data management system; and inputting the encapsulated data into the data management system.
  2. 2. The method of claim 1, wherein the document storing the updated data includes a total amount of test data, the total amount of test data being used to store data corresponding to each data update period during the software test.
  3. 3. A method of data management according to claim 1, wherein the updated data is based on testing the software under test; The keyword matching is performed on the update data based on preset keyword information to obtain a keyword matching result, including: Generating preset keyword information corresponding to the software to be tested based on the test attribute information of the software to be tested; And carrying out keyword matching on the updated data based on the preset keyword information to obtain the keyword matching result.
  4. 4. A method of data management according to claim 3, wherein said target data comprises test result data of a plurality of test types; the data encapsulation of the target data to obtain encapsulated data includes: classifying the test result data of the multiple test types based on data classification information to obtain classification data, wherein the data classification information is determined based on the test type corresponding to the software to be tested and the test attribute information of the software to be tested; and packaging the classified data to obtain the packaged data.
  5. 5. The method according to claim 1, wherein the data management system includes fields to be filled corresponding to the plurality of preset key information; the entering the encapsulated data into the data management system comprises: and filling the encapsulation data into the field to be filled.
  6. 6. A method of data management according to claim 1, wherein the encapsulated data comprises a plurality of pieces of data to be entered; the entering the encapsulated data into the data management system comprises: traversing the pieces of data to be input; the operation of inputting the current data to be input into the data management system is carried out, and a data input result is obtained; Determining that the input identification of the current data to be input is successful when the data input result indicates that the current data to be input is successfully input into the data management system; And under the condition that the data input result indicates that the current data to be input is not successfully input into the data management system, determining the input identification of the current data to be input as input failure, and generating failure feedback information.
  7. 7. The method for data management according to claim 6, wherein said determining that the entry of the current data to be entered is identified as an entry failure, and after generating failure feedback information, the method further comprises: carrying out data analysis based on the failure feedback information to obtain an input failure reason; And re-executing data input operation on the data to be input, which is input by the input identification, based on the input failure reason.
  8. 8. A method of data management according to claim 6, wherein after said entering said encapsulated data into said data management system, said method further comprises: Displaying data classification information corresponding to the software to be tested, wherein the data classification information is determined based on the test type corresponding to the software to be tested and the test attribute information of the software to be tested; responding to the triggering operation of the data classification information, displaying data identifiers of a plurality of pieces of data to be recorded corresponding to the data classification information and recording identifiers corresponding to the plurality of pieces of data to be recorded; And responding to a data identification triggering operation based on at least one piece of data to be input, and displaying the at least one piece of data to be input.
  9. 9. An apparatus for data management, the apparatus comprising: the data acquisition module is used for acquiring update data, wherein the update data is test data generated after software testing is carried out on software to be tested; The data matching module is used for carrying out keyword matching on the updated data based on preset keyword information to obtain a keyword matching result; The data extraction module is used for extracting target data corresponding to the preset keyword information from the updated data when the keyword matching result indicates that the data to be extracted corresponding to the preset keyword information exists in the updated data, wherein the target data is data which needs to be input into a data management system in the updated data; The data packaging module is used for carrying out data packaging on the target data to obtain packaged data, wherein the data format of the packaged data is consistent with that of the data management system; the data input module is used for inputting the encapsulated data into the data management system; Before the update data is acquired, the method comprises the following steps: acquiring full test data corresponding to the current moment; performing data detection on the full test data corresponding to the current moment to obtain a data detection result; And under the condition that the data detection result indicates that the total test data corresponding to the current moment is updated, determining the updated data as the updated data.
  10. 10. An electronic device comprising a processor and a memory having stored therein at least one instruction and at least one program, the at least one instruction and the at least one program being loaded and executed by the processor to implement the method of data management of any of claims 1-8.
  11. 11. A computer storage medium having at least one instruction and at least one program stored therein, the at least one instruction and the at least one program loaded and executed by a processor to implement the method of data management of any of claims 1-8.

Description

Data management method, device, equipment and storage medium Technical Field The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for data management. Background In some software testing environments, due to objective reasons such as working environments and network environments, when data is recorded, the data is recorded in a local document in a manual statistics mode, and is manually recorded into a management system after the data is returned to an office environment. The manual data entry method has the advantages that a large amount of time is required to be spent on manually entering the data into the management system, so that the work efficiency is reduced, the manpower resource is wasted, and meanwhile, due to the huge data volume, the problem that corresponding data are inconsistent in a local document and the management system during the manual data entry can occur, so that the accuracy of data entry is reduced. Disclosure of Invention In view of the above-mentioned drawbacks of the prior art, the present invention aims to improve the efficiency and accuracy of data entry. In order to at least one technical problem presented above, the present invention discloses a method, an apparatus, a device and a storage medium for data management. According to an aspect of the present disclosure, there is provided a method of data management, comprising: Acquiring update data; Performing keyword matching on the updated data based on preset keyword information to obtain a keyword matching result; extracting target data corresponding to the preset keyword information from the update data under the condition that the keyword matching result indicates that the update data contains data to be extracted corresponding to the preset keyword information; the data format of the packaged data is consistent with the data format of a data management system; and inputting the encapsulated data into the data management system. In some possible embodiments, before the acquiring the update data, the method includes: acquiring full test data corresponding to the current moment; performing data detection on the full test data corresponding to the current moment to obtain a data detection result; And under the condition that the data detection result indicates that the total test data corresponding to the current moment is updated, determining the updated data as the updated data. In some possible embodiments, the update data is obtained based on testing the software to be tested; The keyword matching is performed on the update data based on preset keyword information to obtain a keyword matching result, including: Generating preset keyword information corresponding to the software to be tested based on the test attribute information of the software to be tested; And carrying out keyword matching on the updated data based on the preset keyword information to obtain the keyword matching result. In some possible embodiments, the target data includes test result data for a plurality of test types; the data encapsulation of the target data to obtain encapsulated data includes: classifying the test result data of the multiple test types based on data classification information to obtain classification data, wherein the data classification information is determined based on the test type corresponding to the software to be tested and the test attribute information of the software to be tested; and packaging the classified data to obtain the packaged data. In some possible embodiments, the data management system includes fields to be filled corresponding to the plurality of preset key information; the entering the encapsulated data into the data management system comprises: and filling the encapsulation data into the field to be filled. In some possible embodiments, the encapsulated data includes a plurality of pieces of data to be entered; the entering the encapsulated data into the data management system comprises: traversing the pieces of data to be input; the operation of inputting the current data to be input into the data management system is carried out, and a data input result is obtained; determining that the input identification of the current input data is input successfully under the condition that the data input result indicates that the current data to be input is input successfully into the data management system; And under the condition that the data input result indicates that the current data to be input is not successfully input into the data management system, determining the input identification of the current input data as input failure, and generating failure feedback information. In some possible embodiments, the determining that the current entry data is identified as failed in entry, after generating failure feedback information, the method further includes: carrying out data analysis based on the failure feedback informa