Data Processing Method, Apparatus, Electronic Device, and Computer Readable Medium

By querying the project database, filtering the pending test data and importing it into the project simulator when receiving the project test query request, the problem of not being able to obtain the overall test effect of the data project in the existing technology is solved, and efficient data project testing is achieved.

CN113778850BActive Publication Date: 2025-06-17BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110295676.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-19
Publication Date
2025-06-17
Estimated Expiration
2041-03-19

AI Technical Summary

Technical Problem

The prior art is difficult to test applications as a whole, resulting in the inability to obtain the overall testing effect of data items.

Method used

By receiving project test query requests, querying the project database, filtering out the pending test data, and setting it as the target test data, importing it into the project simulator to obtain test results.

Benefits of technology

The test effect of data items is realized as a whole, and the testing efficiency of data items is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778850B_ABST
    Figure CN113778850B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a data processing method, apparatus, electronic device, and computer-readable medium. A specific implementation of the method includes: in response to receiving a project test query request, querying a project database corresponding to the project test query request; screening at least one to-be-processed test data from at least one piece of test data in the project database; setting the test data in the at least one piece of test data other than the at least one to-be-processed test data as at least one target test data; importing the at least one target test data into a project simulator to obtain a test result corresponding to the project test query request, where the project simulator is used to simulate the operation of a data project through test data. This implementation can overall reflect the test effect of the data project and improve the test efficiency of the data project.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technologies, and more particularly, to data processing methods, apparatuses, electronic devices, and computer-readable media. Background Art

[0002] With the development of technology, a variety of application programs (which may also be intelligent devices, etc.) have provided convenience for users' work and life. Before an application program is released, technicians need to conduct various tests on the application program, and the application program can be released when the test requirements are met.

[0003] The existing testing of application programs has the following deficiencies:

[0004] First, each module or function included in an application program is relevant. Usually, a certain technician tests a certain module or function of the application program. Therefore, the test results cannot be obtained as a whole.

[0005] Second, even if the test effects of each module or function meet the test requirements, there may still be a result that the application program as a whole does not meet the release requirements. Summary of the Invention

[0006] The content part of the present disclosure is used to introduce concepts in a brief form, and these concepts will be described in detail in the following detailed implementation part. The content part of the present disclosure is not intended to identify the key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0007] Some embodiments of the present disclosure propose data processing methods, apparatuses, electronic devices, and computer-readable media to solve the technical problems mentioned in the above background art part.

[0008] In a first aspect, some embodiments of the present disclosure provide a data processing method, the method including: in response to receiving a project test query request, querying a project database corresponding to the project test query request; screening at least one piece of to-be-processed test data from at least one piece of test data in the project database; setting the test data other than the at least one piece of to-be-processed test data in the at least one piece of test data as at least one piece of target test data; importing the at least one piece of target test data into a project simulator to obtain a test result corresponding to the project test query request, where the project simulator is used to simulate the operation of a data project through test data.

[0009] Second aspect, some embodiments of the present disclosure provide a data processing device, the device comprising: a project database query unit configured to query a project database corresponding to the above-mentioned project test query request in response to receiving the project test query request; a to-be-processed test data screening unit configured to screen at least one to-be-processed test data from at least one test data in the above-mentioned project database; a target test data determination unit configured to set the test data other than the at least one to-be-processed test data among the at least one test data as at least one target test data; a data processing unit configured to import the at least one target test data into a project simulator to obtain a test result corresponding to the above-mentioned project test query request, and the above-mentioned project simulator is used to simulate the operation of a data project through test data.

[0010] Third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having stored thereon one or more programs, which when executed by the one or more processors cause the one or more processors to implement the method described in any implementation manner of the first aspect above.

[0011] Fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method described in any implementation manner of the first aspect above.

[0012] The above various embodiments of the present disclosure have the following beneficial effects: The test result is obtained through the data processing method of some embodiments of the present disclosure, which is beneficial to obtaining the overall test effect of the data project. Specifically, the reason for the inability to obtain the overall test effect of the data project is that: technicians usually only test a certain module or function of the data project. Based on this, the data processing method of some embodiments of the present disclosure, after receiving the project test query request, can first query the project database corresponding to the above-mentioned project test query request; then determine at least one to-be-processed test data among at least one test data in the project database through various methods to determine the test data that may need to be adjusted; then set the test data other than the at least one to-be-processed test data among the at least one test data as at least one target test data; finally, import the at least one target test data into the project simulator to obtain a test result corresponding to the above-mentioned project test query request. In this way, the test effect of the data project can be reflected as a whole, and the test efficiency of the data project is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In conjunction with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that the elements and elements are not necessarily drawn to scale.

[0014] Figure 1 It is a schematic diagram of an application scenario of a data processing method according to some embodiments of the present disclosure;

[0015] Figure 2 It is a flowchart according to some embodiments of the data processing method of the present disclosure;

[0016] Figure 3 It is a flowchart according to other embodiments of the data processing method of the present disclosure;

[0017] Figure 4 It is a flowchart according to still other embodiments of the data processing method of the present disclosure;

[0018] Figure 5 It is a schematic structural diagram of a data processing apparatus according to some embodiments of the present disclosure;

[0019] Figure 6 It is a schematic structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. Specific Embodiments

[0020] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0021] In addition, it should be noted that for the sake of convenience of description, only the parts related to the relevant invention are shown in the drawings. Without conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other.

[0022] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules, or units, and are not used to limit the order or interdependence relationship of the functions performed by these devices, modules, or units.

[0023] It should be noted that the modifications of "one" and "plural" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly stated in the context, it should be understood as "one or more".

[0024] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

[0025] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0026] Figure 1 FIG. is a schematic diagram of an application scenario of a data processing method according to some embodiments of the present disclosure. The electronic device 101 can receive a project test query request. The electronic device 101 can store multiple project databases and query the project database corresponding to the project test query request. Each project database can contain multiple pieces of test data. The test data can be the test data of a certain module in the application program corresponding to the project database. The electronic device 101 can screen at least one piece of to-be-processed test data from at least one piece of test data through various conditions (such as thresholds, time, etc.). Here, it can be considered that the to-be-processed test data does not meet the corresponding test conditions, and the parameters of the corresponding module need to be adjusted. The electronic device 101 can set the data other than the to-be-processed test data in the project database as target test data. That is, the target test data can be considered as data that meets the corresponding test conditions. The electronic device 101 can import the target test data into the project simulator of the application program corresponding to the project database. The project simulator can simulate the running state of the data project (i.e., the application program). The electronic device 101 can obtain a test result according to the running result of the project simulator, and the test result can reflect the modification direction of the to-be-processed test data. In this way, the running effect of the data project can be reflected as a whole through the test result.

[0027] It should be understood that Figure 1 the number of the electronic devices 101 in is only illustrative. According to the implementation requirements, there can be any number of electronic devices 101.

[0028] Continue to refer to Figure 2 , Figure 2 shows a process 200 according to some embodiments of the data processing method of the present disclosure. The data processing method includes the following steps:

[0029] Step 201, in response to receiving a project test query request, query the project database corresponding to the project test query request.

[0030] In some embodiments, the execution subject of the data processing method (such as Figure 1The electronic device shown (101) can receive a project test query request through a wired connection or a wireless connection. It should be noted that the above wireless connection methods can include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections, and other currently known or future-developed wireless connection methods.

[0031] The execution entity can be a device such as a project server, which is used to store the test data of multiple data projects (for example, it can be an application). The project test query request can be a request sent by a technician or a device installed with the corresponding data project to the execution entity. After receiving the project test query request, the execution entity can query whether there is a project database corresponding to the project test query request.

[0032] Step 202: Screen out at least one piece of test data to be processed from at least one piece of test data in the above project database.

[0033] In some embodiments, each piece of test data in the project database can be considered to be obtained by separately testing the relevant modules. The execution entity can screen out at least one piece of test data to be processed from at least one piece of test data in the project database through various conditions. The execution entity can use the test data whose amplitude exceeds the set threshold as the test data to be processed. That is, the test data to be processed can be considered as the data that needs to be adjusted. For example, the test data can be the processor temperature information of the device running the data project. When the processor temperature information exceeds the set temperature threshold, it indicates that the data project occupies a large amount of data processing capacity. Then the execution entity can set the processor temperature information as the test data to be processed.

[0034] Step 203: Set the test data other than the at least one piece of test data to be processed in the above at least one piece of test data as at least one piece of target test data.

[0035] The execution entity can set the test data other than the test data to be processed in the at least one piece of test data as the target test data. That is, the target test data can be considered as the test data that meets the corresponding test requirements.

[0036] Step 204: Import the above at least one piece of target test data into the project simulator to obtain the test result corresponding to the above project test query request.

[0037] The execution entity can import the target test data into the project simulator to obtain the test result corresponding to the above project test query request. The test result can characterize the overall running state of the data project when the test data that meets the corresponding test requirements is running. Among them, the above project simulator can be used to simulate the running of the data project through the test data.

[0038] The data processing method disclosed in some embodiments of the present disclosure obtains a test result, which is beneficial to obtaining the overall test effect of the data project. Specifically, the reason for the inability to obtain the overall test effect of the data project is that technicians usually only test a certain module or function of the data project. Based on this, the data processing method of some embodiments of the present disclosure, after receiving the project test query request, can first query the project database corresponding to the above project test query request; then determine at least one piece of to-be-processed test data in at least one piece of test data in the project database in various ways to determine the test data that may need to be adjusted; then set the test data other than the at least one piece of to-be-processed test data in the above at least one piece of test data as at least one piece of target test data; finally, import the above at least one piece of target test data into the project simulator to obtain the test result corresponding to the above project test query request. In this way, the test effect of the data project can be reflected as a whole, and the test efficiency of the data project is improved.

[0039] Continue to refer to Figure 3 , Figure 3 shows a flow 300 according to some embodiments of the data processing method of the present disclosure. The data processing method includes the following steps:

[0040] Step 301, in response to receiving a project test query request, query the project database corresponding to the above project test query request.

[0041] The content of step 301 is the same as that of step 201, and will not be elaborated here one by one.

[0042] Step 302, screen out at least one piece of to-be-processed test data from at least one piece of test data in the above project database.

[0043] In some optional implementation manners of some embodiments, the above test data may include a data threshold; and, the screening out at least one piece of to-be-processed test data from at least one piece of test data in the above project database may include: setting the test data with a value greater than the corresponding data threshold in the above at least one piece of test data as the to-be-processed test data.

[0044] When a technician conducts module testing on a data project, the test data obtained may include data thresholds. The data thresholds can be used to identify whether the test data for module testing is normal or not. Correspondingly, the executing entity can set the test data with a value greater than the corresponding data threshold as the test data to be processed.

[0045] In some alternative implementation manners of some embodiments, the above-mentioned test data may include a call count threshold; and, screening at least one test data to be processed from at least one test data in the project database may include: setting the test data with a call count greater than the corresponding call count threshold in the at least one test data as the test data to be processed.

[0046] Generally, the modules of a data project can be called by other modules or the operating system, etc., and the normal calls usually do not exceed a set number of times. For this reason, the test data may include a call count threshold. The call count threshold can be used to identify whether the call count for module testing is normal or not. Correspondingly, the executing entity can set the test data with a call count greater than the corresponding call count threshold as the test data to be processed.

[0047] Step 303: Set the test data among the at least one test data, except for the at least one test data to be processed, as at least one target test data.

[0048] The content of Step 303 is the same as that of Step 203, and will not be elaborated here one by one.

[0049] Step 304: Import the at least one target test data into the project simulator to obtain at least one predicted data corresponding to the at least one test data to be processed.

[0050] After the executing entity imports the at least one target test data into the project simulator, the project simulator can generate predicted data for the corresponding test data to be processed based on the at least one target test data. Then the predicted data can be used to characterize the possible test results of the test data to be processed when other test data are all normal, and can also reflect the running situation of the data project as a whole when other test data are all normal.

[0051] Step 305: For the predicted data among the at least one predicted data, compare the predicted data with the corresponding test data to be processed to obtain the test result of the predicted data.

[0052] After obtaining the prediction data, the execution entity can compare the prediction data with the corresponding test data to be processed, and then obtain the test result of the prediction data. For example, the test result can be: the temperature is 56 degrees. The test data to be processed can be: the temperature is 120 degrees. Then the corresponding test result can be: the temperature is abnormal. In this way, the test result of each test data to be processed can be given, not only obtaining the overall operation situation of the data item, but also pointing out the modification direction for the test data to be processed, which is beneficial to the normal release of the data item.

[0053] Further referring to Figure 4 , which shows the flow 400 of some other embodiments of the data processing method. The flow 400 of the data processing method includes the following steps:

[0054] Step 401, in response to receiving a project test query request, query the project database corresponding to the project test query request.

[0055] Step 402, screen at least one test data to be processed from at least one test data in the project database.

[0056] Step 403, set the test data other than the at least one test data to be processed in the at least one test data as at least one target test data.

[0057] Step 404, import the at least one target test data into the project simulator to obtain the test result corresponding to the project test query request.

[0058] The content of steps 401 to 404 is the same as that of steps 201 to 204, and will not be elaborated here one by one.

[0059] Step 405, modify the parameters of the at least one test data according to the test result.

[0060] After obtaining the test result, the execution entity can modify the parameters of at least one test data in the project database of the data project according to the test result. It should be noted here that the test data to be modified can be the test data to be processed or the target test data. For example, the execution entity can import the test result and at least one test data into the intelligent algorithm. The intelligent algorithm can set the corresponding value range for each test data and make each test data after modifying the parameters meet the corresponding test conditions.

[0061] In some optional implementation manners of some embodiments, the modifying the parameters of the at least one test data according to the test result may include the following steps:

[0062] The first step, determine the coupling relationship between the at least one test data based on the test result.

[0063] In practice, there are correlations between multiple modules of data items, and some correlations may not be reflected by the mutual calls between data. Therefore, the execution entity can determine the coupling relationship between the at least one piece of test data based on the above test results. The coupling relationship can reflect the mutual relationship of the value sizes between the test data. For example, when the value of test data A is adjusted to be less than a certain value, the value of test data B increases and the value of test data C decreases; when the value of test data A is greater than the fixed value, the value of test data B increases and the value of test data C also increases.

[0064] In the second step, modify the parameters of the at least one piece of test data according to the above coupling relationship.

[0065] The execution entity can perform a large number of tests on the parameters of the at least one piece of test data according to the coupling relationship. When it is determined that each piece of test data meets the corresponding test conditions, modify the corresponding parameters according to the value of each piece of test data.

[0066] In some optional implementation manners of some embodiments, the above test data includes at least one test parameter; and, modifying the parameters of the at least one piece of test data according to the above coupling relationship may include: for the test data in the at least one piece of test data, modify at least one test parameter of the test data based on the above coupling relationship.

[0067] In practice, each piece of test data is usually the result of the combined action of multiple test parameters of the corresponding module. Therefore, the execution entity can modify at least one test parameter of the test data according to the coupling relationship. For example, according to the coupling relationship, it is necessary to reduce the value of test data B, and the module corresponding to test data B contains 2 test parameters. Then the execution entity can adjust these 2 test parameters respectively to control the reduction of the value of test data B.

[0068] In some optional implementation manners of some embodiments, modifying at least one test parameter of the test data based on the above coupling relationship may include the following steps:

[0069] In the first step, set the test parameters corresponding to the other test data in the at least one piece of test data to static values, and modify at least one test parameter of the test data.

[0070] When adjusting the test parameters, the execution entity can first control the test parameters corresponding to the other test data to be set to static values (i.e., the values remain unchanged), and obtain the corresponding modification results by modifying at least one test parameter of the test data.

[0071] Second, in response to the test data meeting the set conditions, complete the parameter modification.

[0072] When the modification of the test parameters can make the test data meet the set conditions, it can be considered that the parameter modification is completed. Among them, the above set conditions include at least one of the following: data maximum value, data minimum value. After that, the execution entity can adjust the test parameters of other test data. In this way, the test parameters corresponding to the test data can be adjusted one by one, thereby ensuring the normal operation of the data item as a whole and facilitating the improvement of the test efficiency and effectiveness of the data item.

[0073] In some alternative implementation manners of some embodiments, the above item database can be constructed through the following steps:

[0074] First, in response to receiving a test data storage request, query the first item information corresponding to the above test data storage request.

[0075] Before the overall test of the data item through the item database, it is necessary to first construct the item database. The execution entity can first receive a test data storage request, and then query the first item information corresponding to the above test data storage request. Among them, the above test data storage request may include test data.

[0076] Second, in response to the existence of the above first item information, store the test data included in the above test data storage request into the first item database corresponding to the above first item information.

[0077] When the above first item information exists, it means that the execution entity has constructed the corresponding item database. At this time, the execution entity can store the test data included in the test data storage request into the first item database corresponding to the above first item information. When the first item information does not exist, the execution entity can construct the corresponding item database according to the test data storage request.

[0078] In some alternative implementation manners of some embodiments, the above method may further include the following steps:

[0079] First, in response to receiving a data call request, query the second item information corresponding to the above data call request.

[0080] The execution entity can also allow the test data in the item database to be accessed. The execution entity can receive a data call request, and then query the second item information corresponding to the above data call request.

[0081] Second, in response to the existence of the above second item information, retrieve the target test data from the second item database corresponding to the above second item information, and send the above target test data to the data interface corresponding to the above data call request.

[0082] When there is second project information, the execution entity can retrieve corresponding target test data from the second project database corresponding to the above-mentioned second project information, and send the above-mentioned target test data to the data interface corresponding to the above-mentioned data call request. In this way, technicians with the same data project can retrieve relevant test data of other technicians, or the test data of different data projects can be mutually called, realizing the sharing of test data, which is beneficial to improving the test efficiency of the data project.

[0083] Further referring to Figure 5 , as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data processing device. These device embodiments correspond to Figure 2 the method embodiments shown, and the device can be specifically applied to various electronic devices.

[0084] As Figure 5 shown, in some embodiments, the data processing device 500 includes: a project database query unit 501, a to-be-processed test data screening unit 502, a target test data determination unit 503, and a data processing unit 504. Among them, the project database query unit 501 is configured to query the project database corresponding to the above-mentioned project test query request in response to receiving the project test query request; the to-be-processed test data screening unit 502 is configured to screen out at least one to-be-processed test data from at least one test data in the above-mentioned project database; the target test data determination unit 503 is configured to set the test data other than the at least one to-be-processed test data in the above-mentioned at least one test data as at least one target test data; the data processing unit 504 is configured to import the above-mentioned at least one target test data into a project simulator to obtain a test result corresponding to the above-mentioned project test query request, and the above-mentioned project simulator is used to simulate the operation of a data project through test data.

[0085] In an alternative implementation manner of some embodiments, the above-mentioned test data includes a data threshold; and, the to-be-processed test data screening unit 502 may include: a first to-be-processed test data screening subunit (not shown in the figure), which is configured to set the test data with a value greater than the corresponding data threshold in the above-mentioned at least one test data as to-be-processed test data.

[0086] In an alternative implementation manner of some embodiments, the above-mentioned test data includes a call count threshold; and, the to-be-processed test data screening unit 502 may include: a second to-be-processed test data screening subunit (not shown in the figure), which is configured to set the test data with a call count greater than the corresponding call count threshold in the above-mentioned at least one test data as to-be-processed test data.

[0087] In an alternative implementation of some embodiments, the above data processing unit 504 may include: a prediction data acquisition subunit (not shown in the figure) and a data processing subunit (not shown in the figure). Among them, the prediction data acquisition subunit is configured to import the above at least one target test data into the project simulator to obtain at least one prediction data corresponding to the above at least one test data to be processed; the data processing subunit is configured to compare the prediction data in the above at least one prediction data with the corresponding test data to be processed to obtain the test result of the prediction data.

[0088] In an alternative implementation of some embodiments, the above data processing device 500 may further include: a parameter modification unit (not shown in the figure), configured to modify the parameters of the above at least one test data according to the above test result.

[0089] In an alternative implementation of some embodiments, the above parameter modification unit may include a coupling relationship determination subunit (not shown in the figure) and a parameter modification subunit (not shown in the figure). Among them, the coupling relationship determination subunit is configured to determine the coupling relationship between the above at least one test data based on the above test result; the parameter modification subunit is configured to modify the parameters of the above at least one test data through the above coupling relationship.

[0090] In an alternative implementation of some embodiments, the above test data includes at least one test parameter; and, the above parameter modification subunit may include: a parameter modification module (not shown in the figure), configured to modify at least one test parameter of the above test data in the above at least one test data based on the above coupling relationship.

[0091] In an alternative implementation of some embodiments, the above parameter modification module may include: a parameter modification sub-module (not shown in the figure) and a modification completion sub-module (not shown in the figure). Among them, the parameter modification sub-module is configured to set the test parameters corresponding to other test data in the above at least one test data to static values and modify at least one test parameter of the test data; the modification completion sub-module is configured to complete the parameter modification in response to the test data meeting the set conditions, and the above set conditions include at least one of the following: data maximum value, data minimum value.

[0092] In an alternative implementation of some embodiments, the above data processing device 500 may include a project database construction unit (not shown in the figure), which is configured to construct a project database. The above project database construction unit may include: a first project information query subunit (not shown in the figure) and a data storage subunit (not shown in the figure). Among them, the first project information query subunit is configured to query the first project information corresponding to the above test data storage request in response to receiving the test data storage request, and the above test data storage request includes test data; the data storage subunit is configured to store the test data included in the above test data storage request into the first project database corresponding to the above first project information in response to the existence of the above first project information.

[0093] In an alternative implementation of some embodiments, the above data processing device 500 may further include: a second project information query unit (not shown in the figure) and a data sending unit (not shown in the figure). Among them, the second project information query unit is configured to query the second project information corresponding to the above data call request in response to receiving the data call request; the data sending unit is configured to retrieve the target test data from the second project database corresponding to the above second project information and send the above target test data to the data interface corresponding to the above data call request in response to the existence of the above second project information.

[0094] It can be understood that the various units described in this device 500 correspond to the respective steps in the method described with reference to Figure 2 Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 500 and the units included therein, and will not be elaborated here.

[0095] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage device 608 into the random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.

[0096] Typically, the following devices can be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 can allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 the electronic device 600 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices can be alternatively implemented or had. Figure 6 Each block shown in

[0097]

[0098] can represent one device or, as needed, multiple devices. In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program code for performing the methods shown in the flowcharts. In such some embodiments, the computer program can be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above functions defined in the methods of some embodiments of the present disclosure are performed.It should be noted that, in some embodiments of the present disclosure, the above-mentioned computer-readable medium may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0099] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0100] The above computer-readable medium may be included in the above electronic device; or may exist separately without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to: in response to receiving a project test query request, query a project database corresponding to the project test query request; screen at least one piece of to-be-processed test data from at least one piece of test data in the project database; set the test data other than the at least one piece of to-be-processed test data in the at least one piece of test data as at least one piece of target test data; import the at least one piece of target test data into a project simulator to obtain a test result corresponding to the project test query request, and the project simulator is used to simulate the operation of a data project through test data.

[0101] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0103] The units described in some embodiments of the present disclosure can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes an item database query unit, a to-be-processed test data screening unit, a target test data determination unit, and a data processing unit. Among them, the names of these units do not constitute a limitation to the unit itself in some cases. For example, the data processing unit can also be described as "a unit for obtaining test results according to target test data".

[0104] The functions described above herein can be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.

[0105] The above description is only some preferred embodiments of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features having similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A data processing method, comprising: In response to receiving a project test query request, query the project database corresponding to the project test query request; Filter at least one piece of to-be-processed test data from at least one piece of test data in the project database, and each piece of test data in the project database is obtained by separately testing related modules; Set the test data other than the at least one piece of to-be-processed test data in the at least one piece of test data as at least one piece of target test data; Import the at least one piece of target test data into a project simulator to obtain at least one piece of predicted data corresponding to the at least one piece of to-be-processed test data, where the project simulator is used to simulate the operation of a data project through test data; For the predicted data in the at least one piece of predicted data, compare the predicted data with the corresponding to-be-processed test data to obtain the test result of the predicted data.

2. The method according to claim 1, wherein, The test data includes data thresholds; And The filtering of at least one piece of to-be-processed test data from at least one piece of test data in the project database includes: Set the test data with a value greater than the corresponding data threshold in the at least one piece of test data as to-be-processed test data.

3. The method according to claim 1, wherein, The test data includes call count thresholds; And The filtering of at least one piece of to-be-processed test data from at least one piece of test data in the project database includes: Set the test data with a call count greater than the corresponding call count threshold in the at least one piece of test data as to-be-processed test data.

4. The method according to any one of claims 1 to 3, wherein, The method further includes: Modify the parameters of the at least one piece of test data according to the test result.

5. The method according to claim 4, wherein, The modifying the parameters of the at least one piece of test data according to the test result includes: Determine the coupling relationship between the at least one piece of test data based on the test result; Modify the parameters of the at least one piece of test data through the coupling relationship.

6. The method according to claim 5, wherein, The test data includes at least one test parameter; And The modifying the parameters of the at least one piece of test data through the coupling relationship includes: For the test data in the at least one piece of test data, modify at least one test parameter of the test data based on the coupling relationship.

7. The method according to claim 6, wherein, The modifying at least one test parameter of the test data based on the coupling relationship includes: Set the test parameters corresponding to other test data in the at least one piece of test data as static values, and modify at least one test parameter of the test data; In response to the test data satisfying the set conditions, complete the parameter modification, where the set conditions include at least one of the following: data maximum value, data minimum value.

8. The method according to claim 1, wherein, The project database is constructed through the following steps: In response to receiving a test data storage request, query the first project information corresponding to the test data storage request, where the test data storage request includes test data; In response to the existence of the first project information, store the test data included in the test data storage request into the first project database corresponding to the first project information.

9. The method according to claim 1, wherein, The method further includes: In response to receiving a data call request, query the second project information corresponding to the data call request; In response to the existence of the second item information, retrieve target test data from the second item database corresponding to the second item information, and send the target test data to the data interface corresponding to the data call request.

10. A data processing apparatus, comprising: An item database query unit, configured to query the item database corresponding to the item test query request in response to receiving the item test query request; A to-be-processed test data screening unit, configured to screen out at least one to-be-processed test data from at least one test data in the item database, and each piece of test data in the item database is obtained by separately testing the relevant module; A target test data determination unit, configured to set the test data other than the at least one to-be-processed test data in the at least one test data as at least one target test data; A data processing unit, configured to import the at least one target test data into an item simulator to obtain at least one predicted data corresponding to the at least one to-be-processed test data, and the item simulator is used to simulate the operation of a data item through the test data; A comparison unit, configured to compare the predicted data in the at least one predicted data with the corresponding to-be-processed test data to obtain the test result of the predicted data.

11. An electronic device, comprising: One or more processors; A storage device having stored thereon one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.

12. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Logic verification method of information processing device and program

    JP2015114923A