CN112948265A - Batch processing automatic verification method and device - Google Patents
Batch processing automatic verification method and device Download PDFInfo
- Publication number
- CN112948265A CN112948265A CN202110344611.8A CN202110344611A CN112948265A CN 112948265 A CN112948265 A CN 112948265A CN 202110344611 A CN202110344611 A CN 202110344611A CN 112948265 A CN112948265 A CN 112948265A
- Authority
- CN
- China
- Prior art keywords
- verification
- batch processing
- task
- target
- processing task
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012795 verification Methods 0.000 title claims abstract description 138
- 238000012545 processing Methods 0.000 title claims abstract description 127
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000008569 process Effects 0.000 claims abstract description 24
- 230000006870 function Effects 0.000 claims description 29
- 238000003860 storage Methods 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013522 software testing Methods 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 9
- 238000012360 testing method Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000010923 batch production Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 238000012419 revalidation Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the technical field of software testing, in particular to a batch processing automatic verification method and a batch processing automatic verification device. The method comprises the following steps: when the target batch processing task is monitored to be finished, driving a target process to execute a verification task of the target batch processing task; wherein the target batch processing task is the same as the data source read by the target process; and checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the check result. The scheme disclosed by the application can realize seamless automatic linkage of the batch processing task and the verification task.
Description
Technical Field
The invention relates to the technical field of software testing, in particular to a batch processing automatic verification method and a batch processing automatic verification device.
Background
At present, the general software test realizes the automatic test verification. However, the batch verification method mainly adopts a manual mode, and is started manually after the batch task is finished, and even if the batch verification method has individual functions and carries out automatic verification in a programming mode, a systematically reusable frame and flow are still not formed.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks. The technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application discloses a batch automatic verification method, where the method is applied to an intelligent terminal, and the method includes:
when the target batch processing task is monitored to be finished, driving a target process to execute a verification task of the target batch processing task; wherein the target batch processing task is the same as the data source read by the target process;
and checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the check result.
Further, the method further comprises: and configuring the verification task and the target batch processing task in the same scheduling plan.
Further, the data sources include, but are not limited to: online data, file data, and holdover data.
Further, the method further comprises: backing up the online data and the held data before the batch processing task is executed; and backing up the file data during the execution of the batch processing task.
Further, the method further comprises: and setting the execution time of the verification task according to the result return period of the target batch processing task.
Further, the method further comprises:
acquiring the execution times N of the target batch processing task in a preset time period, wherein N is a positive integer greater than 1;
driving N targets to execute verification tasks of the target batch processing tasks and acquiring verification results for N times;
when the verification of the Nth verification task result is consistent with the verification of the Nth target batch processing task result, verifying the consistency of the N verification task results and the N target batch processing task results; the Nth verification task is the same as the data source read by the Nth target batch processing task;
and when the verification of the N verification task results is consistent with the verification of the N target batch processing task results, the target batch processing function of the intelligent terminal is normal.
And further, when the verification task result is consistent with the verification of the target batch processing task result, the target batch processing function of the intelligent terminal is normal.
In a second aspect, an embodiment of the present application provides a batch automation verification apparatus, where the apparatus includes: the device comprises a monitoring module, an execution module, a storage module, a checking module and a judgment module;
the monitoring module is used for monitoring the target task execution process;
the execution module is used for driving a target process to execute a verification task of the target batch processing task when the monitoring module monitors that the target batch processing task is finished; wherein the target batch processing task is the same as the data source read by the target process;
the storage module is used for storing a data source;
the checking module is used for checking the consistency of the batch processing task result and the verification result;
and the judging module is used for judging whether the batch processing function of the intelligent terminal is normal or not according to the checking result.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing operation instructions;
the processor is configured to execute the method in any of the embodiments by calling the operation instruction.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method of any one of the above embodiments.
The embodiment of the application provides a batch processing automatic verification scheme to seamlessly connect a target batch processing task and a verification task, namely, a target process is driven to execute the verification task of the target batch processing task according to a monitored execution process of the target batch processing task. And then, checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the check result. The beneficial effects of the application include at least one of the following:
(1) the embodiment of the application provides a data basis for the verification task after batch processing through the data source backup power;
(2) the embodiment of the application supports the selected conventional verification point, and improves the speed of batch processing function verification;
(3) according to the method and the device, the batch processing tasks and the verification tasks are configured in one scheduling plan, so that seamless transition connection of the batch processing tasks and the verification tasks can be achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flow chart of a batch automatic verification method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an apparatus for batch process automated verification according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
It will be understood by those skilled in the art that, unless otherwise specified, the singular forms "a", "an", "the" and "the" may include the plural forms, and the plural forms "a", "an", "a", and "the" are merely intended to illustrate the object definition for clarity and do not limit the object itself, and certainly, the object definition for "a" and "an" may be the same terminal, device, user, etc., and may also be the same terminal, device, user, etc. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items. In addition, it is to be understood that "at least one" in the embodiments of the present application means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b and c can be single or multiple.
In addition to the lack of a high-reusability scheme for batch processing task automated verification mentioned in the background art, the conventional automated testing tool mainly provides trigger data for processing of a system under test, does not provide powerful support for verification assertion, does not analyze a conventional architecture of a batch processing task to provide a batch processing specific verification scheme, does not further automatically process an abnormal verification result, and replaces manual tracing. Based on the verification method, the batch processing automatic verification scheme at least realizes automatic verification of batch processing tasks and task results. Meanwhile, the batch processing automatic verification scheme provided by the following embodiment of the application can also analyze a common batch processing task framework, provide a framework and an interface suitable for batch processing automatic verification, and provide a function of tracing an abnormal result.
Fig. 1 shows a schematic flow diagram of batch automated verification provided in an embodiment of the present application, and as shown in fig. 1, the method is applied to an intelligent terminal, and the method mainly includes:
s101, when the end of a target batch processing task is monitored, driving a target process to execute a verification task of the target batch processing task; wherein the target batch processing task is the same as the data source read by the target process;
in the embodiment of the present application, the verification task and the target batch processing task may be configured in the same dispatch plan. The advantage of this approach is that the validation and test tasks can be seamlessly joined without concern for when the test environment is performing batch tasks. However, in order to ensure consistency with production and avoid interference, a general test environment maintainer cannot provide support for scheduling plan change for a verification program. Therefore, the batch control table of the target task needs to be monitored, and the verification task is invoked immediately after the scanning finds that the batch control table is completed. In addition, to avoid unnecessary waste of resources, the test tasks of the scan batch control table may start at an estimated time without monitoring all day.
In the embodiment of the present application, the data sources include, but are not limited to: online data, file data, and holdover data. Typical data sources for batch tasks include, but are not limited to, several:
(1) online data: recording business data into a database table of a background system through operation of a client or business personnel, and uniformly processing timed tasks, which are referred to as 'online data' for short;
(2) file data: the external system gives the data files, and processes the data files after the batch processing is started;
(3) the data is preserved: and processing the data stored in the tested system after the batch processing is started.
In a further embodiment, the data source of the batch task needs to be backed up prior to the re-validation task execution to prepare the execution data for the validation task execution. In a specific embodiment, the online data and the held data are backed up before the batch processing task is executed, and in actual execution, the appropriate task in the batch processing control table can be monitored, so that the missed transaction cannot be backed up too early, and the task to be tested cannot be run due to too late backup. And backing up the file data in the batch processing task execution, so that the backup task is started immediately after the warehousing task is monitored and warehoused because the data is not warehoused before batch processing. In practical embodiments, the backup ranges from the database where these data sources are located to the library tables contained in some special verification points.
In an optional embodiment, the scheme may further set an execution time of the verification task according to a result return period of the target batch processing task. The reason is that partial business data does not generate results on the day of warehousing, a base table for containing data to be verified needs to be established, and one key field is verification date or verification time so that a verification task can be screened. For example, if a batch job is started and a processing result can not be returned until day 3, the verification job for the batch function may be set to day 3 after the end of the batch job or to a time point or a condition point of returning a result.
S102, checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the verification result. And when the verification task result is consistent with the verification of the target batch processing task result, the target batch processing function of the intelligent terminal is normal.
In a further embodiment, the data source to be verified needs to be stored by taking the verification point as a unit, so as to achieve the purpose that different verification points of the same service data verify at different dates, and the implementation of the verification scheme on this basis may include the following:
step 1, acquiring the execution times N of the target batch processing task in a preset time period, wherein N is a positive integer greater than 1;
step 2, driving N targets to execute verification tasks of the target batch processing tasks and acquiring verification results for N times;
step 3, when the verification of the Nth verification task result is consistent with the verification of the Nth target batch processing task result, verifying the consistency of the N verification task results and the N target batch processing task results; the Nth verification task is the same as the data source read by the Nth target batch processing task;
and 4, when the verification of the N verification task results is consistent with the verification of the N target batch processing task results, the target batch processing function of the intelligent terminal is normal.
This is because, unlike on-line transactions, batch processing automation is difficult to achieve the effect of processing one verification session, and there is a possibility that data changes may occur many times in a certain verification unit, and therefore, a collective verification method needs to be adopted: and checking the details, summarizing the details from the backup to the verification time period, and comparing the summarized details with the final change result.
On the basis of the above embodiment, in an optional embodiment, each batch processing function has a data stream processed by it, for example, from an a file to a B table, and after logical processing, data of a C table is generated, and the data stream is a basis for tracing and positioning. When the abnormal result is that the corresponding record cannot be found, a forward data flow tracing method is generally adopted to check the result of each node in the aspect of data flow; when the abnormal result is "inconsistent", a reverse tracing method is generally adopted.
On the basis of the above embodiment, in an optional embodiment, not only the database of the batch processing task function of the intelligent terminal itself needs to be accessed, but also the database of the system or the system group to be tested needs to be accessed. For a database table of a certain business function, the currently common database architecture includes: single-table multi-library, multi-table single-library, and single-table single-library. For the situation of multiple data sources and non-uniform architecture, data needs to be extracted from a service layer, and a flexible data source sub-module is separately established: and the data source configuration and the data source switching realize the flexible matching of the data source and the switching of the thread access database at any time.
The embodiment of the application can be suitable for common modules of common architectures: the database aspect can support different types and single/multi-library architecture requirements; the data source aspect can support different sources, such as online transaction, batch file loading and the like, and also has different data backup methods; the verification object aspect can support conventional verification objects such as accounts, product shares, accounts and the like; the verification time aspect may be verified after the actual batch process occurs based on the measured system parameters. In addition, the above embodiment of the present application needs a low-coupling layered structure for supporting the system architecture, and the layered structure specifically includes: the scheduling layer comprises timing scheduling, target task monitoring and the like; the business layer comprises backup, logic calculation, verification, abnormal tracing, result derivation and information transmission; the data layer comprises an access entity, access logic, access operation, data source switching and data source configuration. Based on the reasonable division, the coupling of the system can be effectively reduced, and the maintenance cost is greatly reduced when the tested function is newly added/modified.
Based on the batch automatic verification method shown in fig. 1, another aspect of the present application provides a batch automatic verification apparatus, which is shown in fig. 2, and may include: a 201 monitoring module, a 202 executing module, a 203 storing module, a 204 verifying module and a 205 judging module;
the 201 monitoring module is configured to monitor the target task execution process;
the 202 executing module is configured to drive the target process to execute a verification task on the target batch processing task when the 201 monitoring module monitors that the target batch processing task is finished; wherein the target batch processing task is the same as the data source read by the target process;
the 203 storage module is used for storing a data source;
the 204 checking module is used for checking the consistency of the batch processing task result and the verification result;
and the 205 judgment module is used for judging whether the batch processing function of the intelligent terminal is normal or not according to the verification result.
It is understood that the above-mentioned respective constituent devices of the batch process automation verification apparatus in the present embodiment have functions of implementing the respective steps of the method in the embodiment shown in fig. 1. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules or systems corresponding to the above-described functions. The modules and systems can be software and/or hardware, and the modules and systems can be realized independently or integrated by a plurality of modules and systems. For the functional description of each module and system, reference may be specifically made to the corresponding description of the method in the embodiment shown in fig. 1, and therefore, the beneficial effects that can be achieved by the method may refer to the beneficial effects in the corresponding method provided above, which are not described again here.
It is to be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation to the specific structure of the batch process automation verification apparatus. In other embodiments of the present application, the batch automation verification device may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The embodiment of the application provides an electronic device, which comprises a processor and a memory;
a memory for storing operating instructions;
and the processor is used for executing the batch automatic verification method provided by any embodiment of the application by calling the operation instruction.
As an example, fig. 3 shows a schematic structural diagram of an electronic device to which the embodiment of the present application is applied, and as shown in fig. 3, the electronic device 300 includes: a processor 301 and a memory 303. Wherein processor 301 is coupled to memory 303, such as via bus 302. Optionally, the electronic device 300 may further include a transceiver 304. It should be noted that the practical application of the transceiver 304 is not limited to one. It is to be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation to the specific structure of the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Optionally, the electronic device may further include a display screen 305 for displaying images or receiving operation instructions of a user as needed.
The processor 301 is applied to the embodiment of the present application, and is configured to implement the method shown in the foregoing method embodiment. The transceiver 304 may include a receiver and a transmitter, and the transceiver 304 is applied in the embodiment of the present application and is used for implementing the function of the electronic device of the embodiment of the present application to communicate with other devices when executed.
The Processor 301 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 301 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
The processor 301 may run the batch processing automatic verification method provided by the embodiment of the present application, so as to reduce the operation complexity of the user, improve the intelligent degree of the terminal device, and improve the experience of the user. The processor 301 may include different devices, for example, when the CPU and the GPU are integrated, the CPU and the GPU may cooperate to execute the batch automatic verification method provided in the embodiment of the present application, for example, part of the algorithm in the batch automatic verification method is executed by the CPU, and another part of the algorithm is executed by the GPU, so as to obtain faster processing efficiency.
The Memory 303 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
Optionally, the memory 303 is used for storing application program codes for executing the scheme of the present application, and is controlled by the processor 301 to execute. The processor 301 is configured to execute application program code stored in the memory 303 to implement the batch automated verification method provided in any of the embodiments of the present application.
Of course, the code of the batch automatic verification method provided by the embodiment of the present application may also be stored in the external memory. In this case, the processor 301 may execute the code of the batch automated verification method stored in the external memory through the external memory interface, and the processor 301 may control the execution of the batch automated verification process.
The display screen 305 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 300 may include 1 or N display screens 305, N being a positive integer greater than 1.
The electronic device provided by the embodiment of the present application is applicable to any embodiment of the above method, and therefore, the beneficial effects that can be achieved by the electronic device can refer to the beneficial effects in the corresponding method provided above, and are not described again here.
The embodiment of the application provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the batch automatic verification method shown in the method embodiment is realized.
The computer-readable storage medium provided in the embodiments of the present application is applicable to any embodiment of the foregoing method, and therefore, the beneficial effects that can be achieved by the computer-readable storage medium can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute the above related steps to implement the method in the above embodiment. The computer program product provided in the embodiments of the present application is applicable to any of the embodiments of the method described above, and therefore, the beneficial effects that can be achieved by the computer program product can refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
According to the batch processing automatic verification scheme disclosed by the embodiment of the application, the target batch processing task and the verification task are seamlessly connected through the batch processing automatic verification scheme provided by the embodiment of the application, namely, the target process is driven to execute the verification task of the target batch processing task according to the monitored execution process of the target batch processing task. And then, checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the check result.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and can make several modifications and decorations, and these changes, substitutions, improvements and decorations should also be considered to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A batch automatic verification method is applied to an intelligent terminal and comprises the following steps:
when the target batch processing task is monitored to be finished, driving a target process to execute a verification task of the target batch processing task; wherein the target batch processing task is the same as the data source read by the target process;
and checking the consistency of the batch processing task result and the verification result, and judging whether the batch processing function of the intelligent terminal is normal or not according to the check result.
2. The batch automated verification method of claim 1, further comprising:
and configuring the verification task and the target batch processing task in the same scheduling plan.
3. The batch automated verification method according to claim 1 or 2, wherein the data sources include, but are not limited to:
online data, file data, and holdover data.
4. The batch automated verification method of claim 3, further comprising:
backing up the online data and the held data before the batch processing task is executed; and backing up the file data during the execution of the batch processing task.
5. The batch automated verification method according to claim 1 or 4, further comprising:
and setting the execution time of the verification task according to the result return period of the target batch processing task.
6. The batch automated verification method of claim 5, further comprising:
acquiring the execution times N of the target batch processing task in a preset time period, wherein N is a positive integer greater than 1;
driving N targets to execute verification tasks of the target batch processing tasks and acquiring verification results for N times;
when the verification of the Nth verification task result is consistent with the verification of the Nth target batch processing task result, verifying the consistency of the N verification task results and the N target batch processing task results; the Nth verification task is the same as the data source read by the Nth target batch processing task;
and when the verification of the N verification task results is consistent with the verification of the N target batch processing task results, the target batch processing function of the intelligent terminal is normal.
7. The batch processing automatic verification method according to claim 1 or 6, wherein verifying consistency of a batch processing task result and a verification result, and judging whether the batch processing function of the intelligent terminal is normal according to the verification result comprises:
and when the verification task result is in accordance with the verification of the target batch processing task result, the target batch processing function of the intelligent terminal is normal.
8. An apparatus for batch automation verification, the apparatus comprising: the device comprises a monitoring module, an execution module, a storage module, a checking module and a judgment module;
the monitoring module is used for monitoring the target task execution process;
the execution module is used for driving a target process to execute a verification task of the target batch processing task when the monitoring module monitors that the target batch processing task is finished; wherein the target batch processing task is the same as the data source read by the target process;
the storage module is used for storing a data source;
the checking module is used for checking the consistency of the batch processing task result and the verification result;
and the judging module is used for judging whether the batch processing function of the intelligent terminal is normal or not according to the checking result.
9. An electronic device comprising a processor and a memory;
the memory is used for storing operation instructions;
the processor is used for executing the method of any one of claims 1-7 by calling the operation instruction.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110344611.8A CN112948265B (en) | 2021-03-30 | Batch automatic verification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110344611.8A CN112948265B (en) | 2021-03-30 | Batch automatic verification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112948265A true CN112948265A (en) | 2021-06-11 |
CN112948265B CN112948265B (en) | 2024-06-07 |
Family
ID=
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115858372A (en) * | 2022-12-19 | 2023-03-28 | 上海浦东发展银行股份有限公司 | OLAP system-based batch data construction and automatic verification method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115858372A (en) * | 2022-12-19 | 2023-03-28 | 上海浦东发展银行股份有限公司 | OLAP system-based batch data construction and automatic verification method and system |
CN115858372B (en) * | 2022-12-19 | 2024-04-26 | 上海浦东发展银行股份有限公司 | Batch data construction and automatic verification method and system based on OLAP system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634728B (en) | Job scheduling method and device, terminal equipment and readable storage medium | |
CN106663021A (en) | Intelligent gpu scheduling in a virtualization environment | |
CN111400011B (en) | Real-time task scheduling method, system, equipment and readable storage medium | |
CN107450971A (en) | Task processing method and device | |
US20220207341A1 (en) | Neural network processor and control method therefor | |
CN111651471A (en) | Target data query method and device, electronic equipment and storage medium | |
US20200379748A1 (en) | Upgrading method and apparatus | |
CN112015663A (en) | Test data recording method, device, equipment and medium | |
CN111538573A (en) | Asynchronous task processing method and device and computer readable storage medium | |
CN111625404B (en) | Method, system storage medium and electronic equipment for testing NVMe hard disk based on Jenkins | |
CN111983412A (en) | Monitoring system, monitoring method, monitoring terminal and storage medium | |
CN111459629A (en) | Azkaban-based project operation method and device and terminal equipment | |
CN113658351A (en) | Product production method and device, electronic equipment and storage medium | |
CN112948265B (en) | Batch automatic verification method and device | |
CN112948265A (en) | Batch processing automatic verification method and device | |
US11861214B2 (en) | Memory device forensics and preparation | |
CN111179369B (en) | GPU rendering method and device based on android system | |
CN111367799B (en) | Method, device, medium and electronic equipment for locating source code breakdown position | |
CN112633850A (en) | Method for realizing service flow automation by managing, calling and monitoring RPA robot | |
CN103631594A (en) | Asynchronous scheduling method and asynchronous scheduling system for general flow | |
CN115344370A (en) | Task scheduling method, device, equipment and storage medium | |
CN114896164A (en) | Interface optimization method and device, electronic equipment and storage medium | |
CN103902268A (en) | ETL process execution system and method | |
CN113515265A (en) | Site configuration method, device, equipment and computer readable storage medium | |
US11720395B1 (en) | Cloud thread synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |