A data management method, device, apparatus and storage medium
By automatically extracting and encapsulating data based on preset keyword information in the software testing environment and entering it into the data management system, the problem of low efficiency in manual data entry is solved, and the accuracy and efficiency of data entry are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA AUTOMOTIVE INNOVATION CORP
- Filing Date
- 2023-02-13
- Publication Date
- 2026-05-12
AI Technical Summary
In software testing environments, manually entering data into management systems is inefficient and inaccurate, leading to wasted human resources and data inconsistencies.
By acquiring updated data, matching and extracting target data based on preset keyword information, encapsulating the data, and automatically entering it into the data management system, the data format is ensured to be consistent.
It improves the accuracy and efficiency of data entry, and reduces the time wasted and errors caused by repetitive manual entry.
Smart Images

Figure CN116303492B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing, specifically to a data management method, apparatus, device, and storage medium. Background Technology
[0002] In some software testing environments, due to objective reasons such as the working environment and network environment, data recording requires manual statistics to be recorded in local documents, and then manually entered into the management system when returning to the office environment.
[0003] Manually entering data into the management system takes a lot of time, leading to reduced work efficiency and wasted human resources. At the same time, due to the large amount of data, inconsistencies may occur between local documents and the corresponding data in the management system when manually entering data, resulting in a decrease in the accuracy of data entry. Summary of the Invention
[0004] In view of the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is to improve the efficiency and accuracy of data entry.
[0005] To address at least one of the aforementioned technical problems, this invention discloses a data management method, apparatus, device, and storage medium.
[0006] According to one aspect of this disclosure, a data management method is provided, comprising:
[0007] Get updated data;
[0008] Based on preset keyword information, keyword matching is performed on the updated data to obtain keyword matching results;
[0009] If the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information, then the target data corresponding to the preset keyword information is extracted from the updated data.
[0010] The target data is encapsulated to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system.
[0011] The encapsulated data is entered into the data management system.
[0012] In some possible embodiments, prior to obtaining the updated data, the process includes:
[0013] Get the full test data corresponding to the current moment;
[0014] Data detection is performed on the full set of test data corresponding to the current moment to obtain the data detection results;
[0015] If the data detection result indicates that the full test data corresponding to the current time has been updated, the updated data is determined to be the updated data.
[0016] In some possible embodiments, the updated data is obtained based on testing the software under test;
[0017] The step of performing keyword matching on the updated data based on preset keyword information to obtain keyword matching results includes:
[0018] Based on the test attribute information of the software under test, generate preset keyword information corresponding to the software under test;
[0019] Based on the preset keyword information, the updated data is matched with keywords to obtain the keyword matching result.
[0020] In some possible embodiments, the target data includes test result data of various test types;
[0021] The process of encapsulating the target data to obtain encapsulated data includes:
[0022] Based on data classification information, the test result data of the various test types are classified to obtain classified data; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test.
[0023] The classified data is encapsulated to obtain the encapsulated data.
[0024] In some possible embodiments, the data management system includes fields to be filled corresponding to the plurality of preset keyword information;
[0025] The step of inputting the packaged data into the data management system includes:
[0026] The encapsulated data is then filled into the field to be filled.
[0027] In some possible embodiments, the encapsulated data includes multiple pieces of data to be entered;
[0028] The step of inputting the packaged data into the data management system includes:
[0029] Iterate through all the data to be entered;
[0030] Perform the data entry operation on the data management system to input the current data to be entered, and obtain the data entry result;
[0031] If the data entry result indicates that the current data to be entered has been successfully entered into the data management system, the entry identifier of the current data is determined to be successfully entered;
[0032] If the data entry result indicates that the current data to be entered has not been successfully entered into the data management system, the entry identifier of the current data to be entered is determined as an entry failure, and a failure feedback message is generated.
[0033] In some possible embodiments, after determining that the entry identifier of the currently entered data is an entry failure and generating failure feedback information, the method further includes:
[0034] Based on the failure feedback information, data analysis is performed to determine the reasons for the data entry failure.
[0035] Based on the reasons for the input failure, the data input operation is re-executed for the data to be entered that is marked as input failure.
[0036] In some possible embodiments, after the encapsulated data is entered into the data management system, the method further includes:
[0037] The data classification information corresponding to the software under test is displayed; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test.
[0038] In response to a trigger operation on the data classification information, the data identifiers of multiple data entries to be entered corresponding to the data classification information, as well as the entry identifiers corresponding to the multiple data entries to be entered, are displayed.
[0039] In response to a data identifier trigger operation based on at least one piece of data to be entered, the at least one piece of data to be entered is displayed.
[0040] According to a second aspect of this disclosure, a data management apparatus is provided, comprising:
[0041] The data acquisition module is used to acquire updated data; the updated data is the data updated after the previous data entry operation was completed.
[0042] The data matching module is used to perform keyword matching on the updated data based on preset keyword information to obtain keyword matching results;
[0043] The data extraction module is used to extract target data corresponding to the preset keyword information from the updated data when the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information;
[0044] A data encapsulation module is used to encapsulate the target data to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system.
[0045] The data entry module is used to enter the packaged data into the data management system.
[0046] According to a third aspect of this disclosure, an electronic device is provided, the device including a processor and a memory, the memory storing 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 data management method as described above.
[0047] According to a fourth aspect of this disclosure, a computer storage medium is provided that stores 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 a processor to implement the data management method described above.
[0048] Implementing this invention has the following beneficial effects:
[0049] This invention extracts target data corresponding to preset keyword information from updated data, thereby improving the accuracy of target data acquisition. It also classifies and summarizes the target data to generate encapsulated data, and automatically enters the encapsulated data into the data management system. This reduces the waste of repetitive work time caused by manual data entry and avoids errors caused by manual data entry, thereby effectively improving the accuracy and efficiency of data entry. Attached Figure Description
[0050] To more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a flowchart illustrating the data management method provided in this embodiment of the invention.
[0052] Figure 2 This is a schematic diagram of the process for obtaining updated data provided in an embodiment of the present invention;
[0053] Figure 3 This is a schematic diagram of the keyword matching process provided in an embodiment of the present invention;
[0054] Figure 4 This is a schematic diagram of the data encapsulation process provided in the embodiments of the present invention;
[0055] Figure 5 This is a flowchart illustrating the data entry process provided in this embodiment of the invention.
[0056] Figure 6 This is a schematic diagram of the process for re-entering failed data provided in an embodiment of the present invention.
[0057] Figure 7 The data provided in the embodiments of the present invention are illustrated in the corresponding flowcharts.
[0058] Figure 8 This is a diagram of a data classification information viewing interface provided in an embodiment of the present invention;
[0059] Figure 9 This is a diagram of the data identifier and entry identifier viewing interface provided in an embodiment of the present invention;
[0060] Figure 10 This is a diagram of the data viewing interface provided in an embodiment of the present invention;
[0061] Figure 11 A schematic diagram of the structure of a data management device provided in an embodiment of the present invention. Detailed Implementation
[0062] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0063] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0064] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0065] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0066] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0067] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.
[0068] Figure 1 The diagram shows a flowchart of the data management method provided in this embodiment of the invention. The executing entity can be any terminal capable of running the data management method; specifically, any terminal can be a server terminal, a test terminal, etc.
[0069] like Figure 1 As shown, a data management method includes:
[0070] Step S101: Obtain updated data;
[0071] In this embodiment of the invention, the user can define the data reading cycle, which corresponds to the data update cycle. After the data reading cycle, the document storing the data is read to obtain the updated data. The updated data can be the data updated after the previous data entry operation is completed. The updated data can be stored in any document on the local end.
[0072] Step S102: Perform keyword matching on the updated data based on preset keyword information to obtain keyword matching results;
[0073] In this embodiment of the invention, based on the test attribute information of the software under test, the user defines preset keyword information; the updated data may include various types of data, such as voice, text and other information formats, wherein the various types of data can be divided into valid data and invalid data; valid data is target data, indicating data that is related to the test data and needs to be entered into the data management system; invalid data indicates data that is unrelated to the test data, or data that is related to the test data but does not need to be entered into the data management system.
[0074] Therefore, keyword matching is required before data extraction to distinguish between valid and invalid data in the updated data.
[0075] Step S103: If the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information, extract the target data corresponding to the preset keyword information from the updated data;
[0076] In this embodiment of the invention, keyword matching results are obtained after keyword matching. In the keyword matching results, when there is data to be extracted in the updated data that matches the preset keyword information, the target data corresponding to the preset keyword information is extracted, and the target data is determined based on the preset keyword information.
[0077] If no data matching the preset keyword information is found in the updated data of the keyword matching results, keyword matching is performed on the updated data again after one data reading cycle to obtain the keyword matching results, until the updated data of the keyword matching results indicates that there is data matching the preset keyword information.
[0078] In one specific embodiment, keyword matching has at least two termination mechanisms, and the triggering conditions include: when data to be extracted is matched with preset keyword information, keyword matching ends; during the keyword matching detection process, an interrupt command is received from the keyboard, and keyword matching ends.
[0079] Step S104: Encapsulate the target data to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system;
[0080] In this embodiment of the invention, after extracting the target data, the target data is encapsulated to obtain encapsulated data that is consistent with the data format of the data management system, so as to ensure that the target data can be viewed after it is entered into the data management system.
[0081] Step S105: Enter the encapsulated data into the data management system.
[0082] In this embodiment of the invention, target data corresponding to preset keyword information is extracted from the updated data based on preset keyword information, which can improve the accuracy of target data acquisition; target data is classified and summarized to generate packaged data, and the packaged data is automatically entered into the data management system, which can reduce the waste of repetitive work time caused by manual data entry and avoid errors caused by manual data entry, thereby effectively improving the accuracy and efficiency of data entry.
[0083] Figure 2 This diagram illustrates the process for obtaining updated data according to an embodiment of the present invention. Figure 2 As shown, before obtaining the updated data, the process includes:
[0084] Step S201: Obtain the full test data corresponding to the current moment;
[0085] In this embodiment of the invention, the document storing updated data includes full test data, which is used to store data corresponding to each data update cycle during the software testing process.
[0086] Step S202: Perform data detection on the full set of test data corresponding to the current moment to obtain the data detection result;
[0087] In this embodiment of the invention, updated data needs to be entered into the data management system. After a data update cycle, the current full test data has two sets of situations: updated and not updated. Therefore, before obtaining the updated data, it is necessary to perform data detection on the full test data corresponding to the current moment to determine whether there is updated data in the full test data corresponding to the current moment.
[0088] Step S203: If the data detection result indicates that the full test data corresponding to the current time has been updated, determine the updated data as the updated data.
[0089] In this embodiment of the invention, the system determines whether the full test data corresponding to the current moment has been updated based on the data detection results; if the data has been updated, the updated data is determined to be updated data; if the data has not been updated, the system waits for one data update cycle and then checks again to see if there is any updated data.
[0090] In this embodiment of the invention, the updated data is the data updated after the last data entry was completed. Therefore, when obtaining the updated data, it is necessary to first check whether there is updated data, so as to ensure the accuracy and real-time nature of the updated data acquisition.
[0091] The updated data is obtained based on testing the software under test;
[0092] In this embodiment of the invention, the data management method can be applied to software testing scenarios, and the updated data can be test data generated after the software to be tested has undergone software testing.
[0093] Figure 3 This illustrates a flowchart of keyword matching provided in an embodiment of the present invention, such as... Figure 3 As shown, the step of performing keyword matching on the updated data based on preset keyword information to obtain keyword matching results includes:
[0094] Step S301: Based on the test attribute information of the software under test, generate preset keyword information corresponding to the software under test;
[0095] In this embodiment of the invention, the preset keyword information is determined based on the test attribute information of the actual software to be tested, or it can be determined based on the test cases corresponding to the software to be tested. For example, when testing music playback software, the preset keyword information can be set to information corresponding to music playback software, such as music playback, account information, playlist, and musician information. When testing video playback software, the preset keyword information can be set to information corresponding to video playback software, such as drama playlist playback, account information, and movie type.
[0096] Step S302: Perform keyword matching on the updated data based on the preset keyword information to obtain the keyword matching result.
[0097] In this embodiment of the invention, the updated data includes valid data and invalid data, where valid data is the target data; keyword matching can determine whether the updated data includes valid data, and further, distinguish between valid and invalid data in the updated data.
[0098] In this embodiment of the invention, target data is determined by keyword matching, and target data can be extracted based on preset keyword information, which improves the accuracy of data extraction. At the same time, different preset keyword information corresponds to different target data, which expands the types of data extraction and increases flexibility.
[0099] The target data includes test result data for various test types;
[0100] In this embodiment of the invention, target data is extracted based on preset keyword information. The preset keyword information can be determined based on the test attribute information corresponding to the software under test, or it can be determined based on the test cases corresponding to the software under test. Since the test attribute information and test cases corresponding to the software under test include multiple test types, the preset keyword information also includes multiple test types. Furthermore, the target data includes test result data including multiple test types.
[0101] Figure 4This is a schematic diagram of the data encapsulation process provided in the embodiments of the present invention, such as... Figure 4 As shown, the process of encapsulating the target data to obtain encapsulated data includes:
[0102] Step S401: Based on data classification information, classify the test result data of the various test types to obtain classified data; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test;
[0103] In this embodiment of the invention, since the target data includes test result data corresponding to various test types, it is necessary to classify the target data according to the data classification information to obtain regular classified data.
[0104] In a specific embodiment, users can customize data classification information based on the test type and test attribute information corresponding to the software under test. For example, when testing game software, the test type may include scene settings, equipment settings, matching mechanisms, etc., and the test attribute information may include requirements analysis, defect records, etc. Combining the specific test type and test attribute information, the data classification information is obtained, including: requirements analysis and defect records under scene settings, requirements analysis and defect records under equipment settings, and requirements analysis and defect records under matching mechanism settings.
[0105] Step S402: Encapsulate the classification data to obtain the encapsulated data.
[0106] In this embodiment of the invention, the data is classified and packaged based on the test type and test attribute information of the software under test, so that the data format of the packaged data is the same as the data format of the data management system, which can improve the efficiency of data entry.
[0107] The data management system includes fields to be filled corresponding to the multiple preset keyword information;
[0108] The step of inputting the packaged data into the data management system includes:
[0109] The encapsulated data is then filled into the field to be filled.
[0110] In this embodiment of the invention, the field to be filled in the data management system is matched with preset keyword information, and the field to be filled changes according to the setting of the preset keyword information; the encapsulated data is filled into the field to be filled to realize the entry of the encapsulated data into the data management system.
[0111] In this embodiment of the invention, by setting the field to be filled to realize the corresponding entry of encapsulated data, the efficiency of data entry can be improved; at the same time, the field to be filled changes according to the preset keyword information, which can improve the adaptability of the data management system.
[0112] The encapsulated data includes multiple pieces of data to be entered;
[0113] Figure 5 This diagram illustrates the data entry process provided in an embodiment of the present invention. Figure 5 As shown, the step of inputting the packaged data into the data management system includes:
[0114] Step S501: Traverse the multiple records of data to be entered;
[0115] In this embodiment of the invention, the packaged data includes multiple pieces of data to be entered. In order to avoid missing one or more pieces of data to be entered in the packaged data during data entry, it is necessary to traverse each piece of data to be entered in the packaged data.
[0116] Step S502: Perform the data entry operation on the data management system to obtain the data entry result;
[0117] In this embodiment of the invention, when performing the encapsulated data entry system operation, each piece of data in the encapsulated data may be successfully entered or fail to be entered. In order to ensure the accuracy and completeness of data entry, it is necessary to determine whether each piece of data in the encapsulated data has been successfully entered, and mark the entry result of each piece of data according to the determination result.
[0118] Step S503: If the data entry result indicates that the current data to be entered has been successfully entered into the data management system, determine that the entry identifier of the current data to be entered is successful;
[0119] Step S504: If the data entry result indicates that the current data to be entered has not been successfully entered into the data management system, determine that the entry identifier of the current data to be entered is an entry failure and generate failure feedback information.
[0120] In this embodiment of the invention, the entry identifier can be 0 or 1, used to indicate whether the data entry was successful or failed. Specifically, the entry identifier corresponding to successful data entry can be set to 1, and the entry identifier corresponding to failed data entry can be set to 0.
[0121] Furthermore, in the data entry results, data that has been successfully entered into the data management system is marked with a success indicator; data that has not been successfully entered into the data management system is marked with a failure indicator. At the same time, failure feedback information corresponding to the failed data will be generated to enable the failed data to be re-entered into the data management system. The failure feedback information may include the data identifier of the data to be entered and the reason for the failure.
[0122] In this embodiment of the invention, traversing multiple data entries to be entered in the encapsulated data ensures the integrity of the data entry; the data to be entered into the data management system generates an entry identifier, which makes it easier for users to view the data, thereby improving the convenience of data viewing.
[0123] Figure 6 This diagram illustrates the process for re-entering failed data according to an embodiment of the present invention. Figure 6 As shown, after determining that the entry identifier of the currently entered data is an entry failure and generating failure feedback information, the method further includes:
[0124] Step S601: Perform data analysis based on the failure feedback information to obtain the reason for the input failure;
[0125] In this embodiment of the invention, in order to ensure the integrity of data entry, at least one piece of data to be entered that failed to be entered generates a failure feedback information at the same time as generating an entry failure identifier; the reason for the entry failure of at least one piece of data to be entered is obtained by analyzing the failure feedback information.
[0126] Step S602: Based on the reason for the input failure, re-execute the data input operation on the data to be entered that is marked as input failure.
[0127] In this embodiment of the invention, by analyzing and resolving the reasons for the failure to enter the data, and re-executing the data entry operation for the reasons for the failure to enter the data, the integrity of the entered data can be guaranteed, thereby improving the accuracy of software test result analysis.
[0128] Figure 7 The data display provided in the embodiments of the present invention is illustrated in the corresponding flowchart, such as... Figure 7 As shown, after the encapsulated data is entered into the data management system, the method further includes:
[0129] Step S701: Display the data classification information corresponding to the software under test; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test;
[0130] In this embodiment of the invention, the data management system is equipped with an information display interface. After multiple pieces of data to be entered from the encapsulated data are entered into the data management system, the information display page allows users to view the data to be entered. The information display page has at least three levels of menus to display data classification information, data identifiers and entry identifiers, and at least one piece of data to be entered.
[0131] In one specific embodiment, the data classification information is determined based on the test type corresponding to the actual software under test and the test attribute information of the software under test. Different data classification information can be viewed for different software under test.
[0132] Step S702: In response to the trigger operation on the data classification information, display the data identifiers of multiple data entries to be entered corresponding to the data classification information, and the entry identifiers corresponding to the multiple data entries to be entered;
[0133] In this embodiment of the invention, the data identifier is used to identify the specific data to be entered, and each piece of data to be entered is assigned a unique identifier; through the data identifier and the entry identifier, the entry status of each piece of data to be entered can be understood in detail.
[0134] Step S703: In response to a data identifier trigger operation based on at least one piece of data to be entered, display the at least one piece of data to be entered.
[0135] In one specific embodiment Figure 8 This is a diagram of a data classification information viewing interface provided in an embodiment of the present invention, such as... Figure 8 As shown, the information display interface contains multiple menu bars, which are used to display different data classification information respectively; Figure 9 This is a diagram of the data identifier and entry identifier viewing interface provided in the embodiments of the present invention, such as... Figure 9 As shown, the next level menu bar corresponding to the data classification information is used to display data identifiers and their corresponding entry identifiers; Figure 10 This is a diagram of the data viewing interface provided in an embodiment of the present invention, such as... Figure 10 As shown, the next level menu bar corresponding to the data identifier is used to display the specific data to be entered.
[0136] Specifically, such as Figure 9As shown, clicking on data category information 1 expands the next-level menu bar, displaying the data identifiers and entry identifiers corresponding to the data to be entered stored under data category information 1. The entry identifier includes either 0 or 1; the entry identifier for successfully entered data is 1, and when the data to be entered is successfully entered into the data management system after one data entry operation, the corresponding entry identifier is displayed as 1; the entry identifier for failed data entry is 0, and the number of 0s represents the number of times the data to be entered into the data management system, and the entry result is the number of times the data entry failed.
[0137] In this embodiment of the invention, the user can view the data to be entered into the data management system and the corresponding entry identifiers through the information display interface, which can effectively grasp the data entry status and improve the convenience of data reading for the user.
[0138] This invention also provides a data management apparatus, such as... Figure 11 As shown, the device includes:
[0139] The data acquisition module 1110 is used to acquire updated data; the updated data is the data updated after the previous data entry operation was completed.
[0140] The data matching module 1120 is used to perform keyword matching on the updated data based on preset keyword information to obtain keyword matching results;
[0141] The data extraction module 1130 is used to extract target data corresponding to the preset keyword information from the updated data when the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information;
[0142] Data encapsulation module 1140 is used to encapsulate the target data to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system.
[0143] The data entry module 1150 is used to enter the packaged data into the data management system.
[0144] In other embodiments, the device further includes:
[0145] The failure reason analysis module is used to perform data analysis based on the failure feedback information to obtain the reason for the input failure.
[0146] The failed data entry module is used to re-execute the data entry operation on the data to be entered that is marked as having failed entry, based on the reason for the entry failure.
[0147] In other embodiments, the device further includes:
[0148] The classification information display module is used to display the data classification information corresponding to the software under test; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test.
[0149] The identification information display module is used to respond to the trigger operation of the data classification information to display the data identifiers of multiple data to be entered corresponding to the data classification information, as well as the entry identifiers corresponding to the multiple data to be entered;
[0150] The data entry and display module is used to display the at least one piece of data to be entered in response to a data identifier trigger operation based on at least one piece of data to be entered.
[0151] The apparatus and method embodiments described above are based on the same inventive concept and are used to implement the above-described data management method.
[0152] Embodiments of the present invention also provide a data management device, the device comprising: a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, wherein the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement a data management method as described in the method embodiment.
[0153] Embodiments of the present invention also provide a storage medium, which may be disposed in a server to store at least one instruction, at least one program, code set, or instruction set for implementing a data management method in the method embodiments, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement any of the data management methods described herein.
[0154] Optionally, in embodiments of the present invention, the storage medium may be located at at least one of a plurality of network servers in a computer network. Optionally, in embodiments of the present invention, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0155] As can be seen from the embodiments provided by the present invention above, the present invention extracts target data corresponding to preset keyword information from the updated data based on preset keyword information, which can improve the accuracy of target data acquisition; classifies and summarizes the target data to generate packaged data, and automatically enters the packaged data into the data management system, which can reduce the waste of repetitive work time caused by manual data entry and avoid errors caused by manual data entry, thereby effectively improving the accuracy and efficiency of data entry.
[0156] It should be noted that the embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technological improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A data management method, characterized in that, The method includes: Get the full test data corresponding to the current moment; Data detection is performed on the full set of test data corresponding to the current moment to obtain the data detection results; If the data detection result indicates that the full test data corresponding to the current time has been updated, the updated data is determined to be the updated data; Obtain updated data, which is test data generated after software testing of the software to be tested; Based on preset keyword information, keyword matching is performed on the updated data to obtain keyword matching results; If the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information, the target data corresponding to the preset keyword information is extracted from the updated data. The target data is the data in the updated data that needs to be entered into the data management system. The target data is encapsulated to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system. The encapsulated data is entered into the data management system.
2. The data management method according to claim 1, characterized in that, The document storing updated data includes full test data, which is used to store data corresponding to each data update cycle during the software testing process.
3. The data management method according to claim 1, characterized in that, The updated data is obtained based on testing the software under test; The step of performing keyword matching on the updated data based on preset keyword information to obtain keyword matching results includes: Based on the test attribute information of the software under test, generate preset keyword information corresponding to the software under test; Based on the preset keyword information, the updated data is matched with keywords to obtain the keyword matching result.
4. The data management method according to claim 3, characterized in that, The target data includes test result data for various test types; The process of encapsulating the target data to obtain encapsulated data includes: Based on data classification information, the test result data of the various test types are classified to obtain classified data; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test. The classified data is encapsulated to obtain the encapsulated data.
5. The data management method according to claim 1, characterized in that, The data management system includes fields to be filled corresponding to the multiple preset keyword information; The step of inputting the packaged data into the data management system includes: The encapsulated data is then filled into the field to be filled.
6. The data management method according to claim 1, characterized in that, The encapsulated data includes multiple pieces of data to be entered; The step of inputting the packaged data into the data management system includes: Iterate through all the data to be entered; Perform the data entry operation on the data management system to obtain the data entry result; If the data entry result indicates that the current data to be entered has been successfully entered into the data management system, the entry identifier of the current data to be entered is determined to be successfully entered; If the data entry result indicates that the current data to be entered has not been successfully entered into the data management system, the entry identifier of the current data to be entered is determined as an entry failure, and a failure feedback message is generated.
7. The data management method according to claim 6, characterized in that, After determining that the entry identifier of the current data to be entered is an entry failure and generating failure feedback information, the method further includes: Based on the failure feedback information, data analysis is performed to determine the reasons for the data entry failure. Based on the reasons for the input failure, the data input operation is re-executed for the data to be entered that is marked as input failure.
8. The data management method according to claim 6, characterized in that, After the encapsulated data is entered into the data management system, the method further includes: The data classification information corresponding to the software under test is displayed; the data classification information is determined based on the test type corresponding to the software under test and the test attribute information of the software under test. In response to a trigger operation on the data classification information, the data identifiers of multiple data entries to be entered corresponding to the data classification information, as well as the entry identifiers corresponding to the multiple data entries to be entered, are displayed. In response to a data identifier trigger operation based on at least one piece of data to be entered, the at least one piece of data to be entered is displayed.
9. A data management device, characterized in that, The device includes: The data acquisition module is used to acquire updated data, which is test data generated after software testing of the software to be tested. The data matching module is used to perform keyword matching on the updated data based on preset keyword information to obtain keyword matching results; The data extraction module is used to extract target data corresponding to the preset keyword information from the updated data when the keyword matching result indicates that there is data to be extracted in the updated data that corresponds to the preset keyword information. The target data is the data in the updated data that needs to be entered into the data management system. A data encapsulation module is used to encapsulate the target data to obtain encapsulated data; the data format of the encapsulated data is consistent with the data format of the data management system. A data entry module is used to enter the packaged data into the data management system; Before obtaining the updated data, the following steps are included: Get the full test data corresponding to the current moment; Data detection is performed on the full set of test data corresponding to the current moment to obtain the data detection results; If the data detection result indicates that the full test data corresponding to the current time has been updated, the updated data is determined to be the updated data.
10. An electronic device comprising a processor and a memory, the memory storing 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 data management method as claimed in any one of claims 1-8.
11. A computer storage medium storing 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 a processor to implement the data management method as claimed in any one of claims 1-8.