CN113933627A - Method for automatically testing and verifying electronic product and related product - Google Patents

Method for automatically testing and verifying electronic product and related product Download PDF

Info

Publication number
CN113933627A
CN113933627A CN202111171812.9A CN202111171812A CN113933627A CN 113933627 A CN113933627 A CN 113933627A CN 202111171812 A CN202111171812 A CN 202111171812A CN 113933627 A CN113933627 A CN 113933627A
Authority
CN
China
Prior art keywords
test
electronic product
task
package
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111171812.9A
Other languages
Chinese (zh)
Inventor
林文岑
刘哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Youdao Hangzhou Intelligent Technology Co ltd
Original Assignee
Netease Youdao Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Youdao Information Technology Beijing Co Ltd filed Critical Netease Youdao Information Technology Beijing Co Ltd
Priority to CN202111171812.9A priority Critical patent/CN113933627A/en
Publication of CN113933627A publication Critical patent/CN113933627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Abstract

The embodiment of the invention provides a method for automatically testing and verifying an electronic product and a related product thereof. The method for automatically testing and verifying the electronic product comprises the following steps: acquiring a monitoring task related to an electronic product to be tested, wherein the monitoring task comprises a compiling task and a testing task related to the electronic product to be tested; generating a firmware package about the electronic product to be tested in response to the compiling task; and programming the test package into the test equipment so as to enable the test equipment to execute the automatic test on the firmware package based on the test script. According to the method provided by the invention, the test on the electronic product can be separated from manual intervention so as to improve the test efficiency, and potential hazards and loopholes possibly existing in the electronic product can be detected as early as possible, so that the continuous improvement of the quality of the electronic product is facilitated.

Description

Method for automatically testing and verifying electronic product and related product
Technical Field
Embodiments of the present invention relate to the field of testing technology, and more particularly, embodiments of the present invention relate to a method for automatically testing and authenticating an electronic product, an apparatus and a computer program product for performing the aforementioned method, and a system.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein may include concepts that could be pursued, but are not necessarily ones that have been previously conceived or pursued. Thus, unless otherwise indicated herein, what is described in this section is not prior art to the description and claims in this application and is not admitted to be prior art by inclusion in this section.
The test verification of the electronic product is an important part in the whole development and production cycle of the electronic product. The traditional test mode of electronic products usually depends on manual intervention, and multiple steps involved in the test process need to be monitored and debugged manually, so that the whole test process is not only low in efficiency, but also unsatisfactory in test effect.
Disclosure of Invention
Known test verification of electronic products typically requires human intervention in various parts of the test process, which is a very annoying process.
Therefore, an improved method for automatically testing and verifying electronic products and related products thereof are needed, which can replace manual work to complete automatic testing of electronic products, and can detect potential hazards and bugs as soon as possible while improving testing efficiency, so as to improve testing effect.
In this context, embodiments of the present invention are intended to provide a method for automatically testing and verifying an electronic product and related products.
In a first aspect of embodiments of the present invention, there is provided a method for automatically testing and verifying an electronic product, comprising: acquiring a monitoring task about an electronic product to be tested, wherein the monitoring task comprises a compiling task and a testing task about the electronic product to be tested; generating a firmware package about the electronic product to be tested in response to the compilation task; responding to the test task, building a test package based on the firmware package, wherein the test package comprises the firmware package and a test script, and burning the test package into test equipment to enable the test equipment to execute automatic test on the firmware package based on the test script.
In one embodiment of the invention, constructing a test package based on the firmware package comprises: obtaining a test script about the firmware package; and pushing the test script to a specified position in the firmware package by using a preset script to obtain the test package.
In another embodiment of the present invention, generating a firmware package for the electronic product to be tested comprises: acquiring the latest firmware code of the electronic product to be tested; and determining the firmware package based on the updated firmware code.
In another embodiment of the present invention, the test task includes a burning script for burning firmware, wherein burning the test package into the test device includes: and burning the firmware package and the test script in the test package into the test equipment by using the burning script.
In a further embodiment of the present invention, the test script comprises a central control script, wherein the method further comprises: and burning the central control script into the test equipment so as to poll and detect the execution condition of the automatic test based on the central control script.
In one embodiment of the invention, the method further comprises: and responding to the acquired test data fed back by the test equipment, and generating a test report based on the test data.
In another embodiment of the present invention, the method further comprises: judging whether the electronic product to be tested passes the test according to the test data; and in response to the test of the tested electronic product being passed, burning the firmware package into the electronic product to be tested.
In a second aspect of embodiments of the present invention, there is provided an apparatus comprising: a processor; and a memory storing computer instructions for automatic test validation of an electronic product, which when executed by the processor, cause the apparatus to perform a method according to the preceding and following embodiments.
In a third aspect of embodiments of the present invention, there is provided a computer program product comprising program instructions for automatically testing and verifying an electronic product, which program instructions, when executed by a processor, cause the apparatus to perform a method according to the preceding and following embodiments.
In a fourth aspect of embodiments of the present invention, there is provided a system for automatically testing and verifying an electronic product, comprising: the server comprises a task issuing module and a task packaging module, wherein the task issuing module is configured to issue a monitoring task related to the electronic product to be tested, and the task packaging module executes the method according to the foregoing embodiments and the following embodiments so as to respond to the monitoring task, generate a test package related to the electronic product to be tested and burn the test package into the test equipment; the testing equipment is connected to the task packaging module and configured to finish automatic testing of the electronic product to be tested according to the testing package.
According to the method for automatically testing and verifying the electronic product and the related product thereof, the automatic test of the electronic product can be completed based on the response to the monitoring task of the electronic product without excessive human intervention, so that the labor cost in the test process is remarkably reduced, and the test efficiency can be improved. In addition, the method does not depend on an artificial automatic testing mode, and can also detect the potential risks and bugs of the electronic products as early as possible, so that the potential risks of the electronic products are exposed as early as possible, and the quality of the electronic products is promoted to be improved continuously.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates a block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present invention;
FIG. 2 schematically illustrates a flow diagram of a method for automatically testing and verifying an electronic product, in accordance with an embodiment of the present invention;
FIG. 3 schematically shows a schematic block diagram of an apparatus according to an embodiment of the invention;
FIG. 4 schematically shows a schematic block diagram of a system for automatically testing and verifying electronic products, in accordance with an embodiment of the present invention; and
fig. 5 schematically shows a schematic architecture diagram of a system for automatic test validation of electronic products according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 illustrates a block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present invention. As shown in fig. 1, computing system 100 may include: a Central Processing Unit (CPU)101, a Random Access Memory (RAM)102, a Read Only Memory (ROM)103, a system bus 104, a hard disk controller 105, a keyboard controller 106, a serial interface controller 107, a parallel interface controller 108, a display controller 109, a hard disk 110, a keyboard 111, a serial external device 112, a parallel external device 113, and a display 114. Among these devices, coupled to the system bus 104 are a CPU 101, a RAM 102, a ROM 103, a hard disk controller 105, a keyboard controller 106, a serial controller 107, a parallel controller 108, and a display controller 109. The hard disk 110 is coupled to the hard disk controller 105, the keyboard 111 is coupled to the keyboard controller 106, the serial external device 112 is coupled to the serial interface controller 107, the parallel external device 113 is coupled to the parallel interface controller 108, and the display 114 is coupled to the display controller 109. It should be understood that the block diagram of the architecture depicted in FIG. 1 is for purposes of illustration only and is not intended to limit the scope of the present invention. In some cases, certain devices may be added or subtracted as the case may be.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, method or computer program product. Accordingly, the present disclosure may be embodied in the form of: the term "computer readable medium" as used herein refers to any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Furthermore, in some embodiments, the invention may also be embodied in the form of a computer program product in one or more computer-readable media having computer-readable program code embodied in the medium.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive example) of the computer readable storage medium may include, for example: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Embodiments of the present invention will be described below with reference to flowchart illustrations of methods and block diagrams of apparatuses (or systems) of embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
According to the embodiment of the invention, a method for automatically testing and verifying an electronic product and a related product are provided.
In this context, it is to be understood that the term firmware package referred to may refer to an installation package relating to the underlying system and application layer functionality of the electronic product. Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that, in a testing stage after the research and development of electronic products are finished, after some testing processes (for example, manually setting a firmware package, manually burning the firmware package and a testing script to a testing device through a burning device, etc.) which usually need to be executed by manual supervision are converted into automatic execution, the whole testing period can be greatly shortened, and the problem of irrational testing result caused by human factors can be avoided.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Exemplary method
A method for automatically testing and verifying an electronic product according to an exemplary embodiment of the present invention is described below with reference to fig. 2. It should be noted that the embodiments of the present invention can be applied to any applicable scenarios.
FIG. 2 schematically illustrates a flow diagram of a method 200 for automatically testing a verified electronic product, in accordance with one embodiment of the present invention. As shown in fig. 2, method 200 may include: at step S201, a monitoring task regarding an electronic product to be tested may be acquired. In some embodiments, the electronic product to be tested may include a dictionary pen, a scan pen, a hearing learning machine, a point-and-read pen, a recording pen, or other electronic products requiring manual testing as described above.
In some embodiments, the aforementioned monitoring tasks may be generated by a task publication tool. For example, the monitoring task may be issued based on Jenkins tools. Specifically, the Jenkins tool can be installed in a server to run, and the monitoring task can be created by the Jenkins tool based on the testing requirements of different electronic products to be tested. In one embodiment, the aforementioned monitoring task may include a compiling task and a testing task regarding the electronic product to be tested, so as to automatically perform corresponding operations based on the compiling task and the testing task.
In some embodiments, after the aforementioned monitoring task is obtained, then, at step S202, a firmware package about the electronic product to be tested may be generated in response to the aforementioned compiling task. In some embodiments, as described above, the compiling task may be issued by a task issuing tool, for example, related information options of the electronic product to be tested (for example, a software library option, a current version number setting option to be packaged, a historical configuration clearing option, and the like) may be displayed on a task compiling interface of the Jenkins tool, and a user may set the foregoing options according to a test requirement for the electronic product to be tested, and trigger the task issuing after the setting is completed (for example, a virtual button may also be set on the task compiling interface, and the user may trigger the issuing of the task by clicking the virtual button).
In some embodiments, the aforementioned process of generating the firmware package may specifically involve obtaining the latest firmware code about the electronic product to be tested, and then determining the firmware package based on the aforementioned latest firmware code. As described above, the compiling task may set options of the software library, a version number to be packaged currently, and the like. Based on the above, the related firmware codes can be called from the corresponding software library according to the compiling task to be packaged, so as to obtain the required firmware package. It is to be understood that the description of the generation process of the firmware package is only an exemplary illustration, and the scheme of the present invention is not limited thereto.
In some implementation scenarios, after completing the packaging of the firmware package, a compilation task result may also be pushed to the user, which may include information such as packager information, package name, and download path. And the pushing manner of the editing task result may include sending the editing task result to a specified terminal, so as to be presented to the user based on the specified terminal (for example, presented in the form of a short message or a floating window).
Next, at step S203, a test package may be constructed based on the firmware package in response to the aforementioned test task. In some embodiments, as described above, the task editing may be performed by a Jenkins tool, for example, the related information options of the electronic product to be tested displayed on the task compiling interface of the Jenkins tool may further include whether to run an automated test option, and when it is determined that the automated test is selected to be run, the release of the test task may be triggered. It is to be understood that the description herein of the release of test tasks is merely an exemplary illustration and that the inventive arrangements are not so limited.
In some embodiments, the building process of the test package may specifically involve obtaining a test script of the firmware package, and then pushing the test script to a specified position in the firmware package by using a predetermined script to complete the building of the test package. In some implementation scenarios, the aforementioned test scripts may include a test script for testing functions of the firmware package base layer and the application layer, a burning script for burning firmware, a central control script for monitoring a test execution condition, and the like. The predetermined script may include a Shell script, a BAT script, or the like, which may be specifically set according to an editing script of the underlying code of the firmware package, and this is for exemplary purposes only and is not intended to limit the type of the predetermined script. In some implementations, the aforementioned specified location in the firmware package may comprise a specified directory of the firmware package.
After the building of the test package is completed, at step S204, the aforementioned test script may be burned into the test equipment, and the test equipment may perform an automated test on the firmware package based on the test pins in the test package. In some embodiments, as described above, the test script may include a burning script, and the burning script may be used to burn the firmware package and the test script in the test package into the test device, so as to achieve automatic burning of the test package.
In some embodiments, after the burning of the test packet is completed, the execution status of the automated test can be polled and detected through the central control script, so that the whole automated test process can be separated from manual supervision, and the labor cost is saved. In some implementation scenarios, after detecting that the test on the test packet is completed based on the central control script, test data fed back by the test equipment may be acquired, and a test report may be generated based on the test data. The test report may include a test version number, test device identification information, success or failure times of OTA loop test, success or failure times of Reset loop test, UI test information, an address of the details of the test report, and the like. In some embodiments, the test report may also be sent to the designated terminal for presentation to the user based on the designated terminal, thereby forming a complete automated test closed loop for the electronic product under test.
Further, in some embodiments, after the test data is obtained, whether the test on the electronic product to be tested passes or not can be judged according to the test data, and after the test is determined to pass, the firmware package is burned into the electronic product to be tested to replace manual flashing to complete the release of the product, so that the labor cost is further reduced, and the time efficiency of the product from the test stage to the release stage is improved.
Exemplary device
Having described the method of the exemplary embodiment of the present invention, next, a description will be given of a related product for automatic test validation of electronic products of the exemplary embodiment of the present invention with reference to fig. 3 to 5.
Fig. 3 schematically shows a schematic block diagram of an apparatus 300 according to an embodiment of the present invention. As shown in fig. 3, device 300 may include a processor 301 and a memory 302. In which the memory 302 stores computer instructions for automatic test validation of an electronic product, which, when executed by the processor 301, cause the apparatus 300 to perform the method according to the preceding description in connection with fig. 2. For example, in some embodiments, the apparatus 300 may perform editing of compilation tasks and test tasks, automated packaging of firmware packages, automated creation of test packages, automated monitoring of test processes, generation and pushing of test reports, and the like. Based on this, the device 300 can detect the hidden danger and the leak possibly existing in the electronic product as early as possible, so that the potential risk of the electronic product is exposed as early as possible, thereby facilitating the continuous improvement of the quality of the electronic product.
In some implementation scenarios, device 300 may comprise a server or a terminal device (e.g., a personal PC, a computer, etc.).
FIG. 4 schematically shows a schematic block diagram of a system 400 for automatically testing and verifying electronic products, in accordance with an embodiment of the present invention. As shown in fig. 4, system 400 may include a server and a testing device. In some embodiments, the aforementioned server may include a task publishing module and a task packaging module. The task issuing module may be configured to perform issuing of a monitoring task related to an electronic product to be tested, for example, issuing of a compiling task and issuing of a testing task may be included, and a specific process of the task issuing module may refer to the task issuing process described in conjunction with fig. 2, which will not be described herein again. The task packaging module is configured to perform the steps described in conjunction with fig. 2, and may generate a test package for an electronic product to be tested in response to the monitoring task, and may burn the test package into the testing device. In some implementation scenarios, the aforementioned testing device may be a computer device, a terminal, or an electronic product to be tested, which supports the operation of the test package.
In some embodiments, the aforementioned testing device may establish a connection (including a wired communication connection or a wireless communication connection) with the task packaging module, and after the task packaging module burns the test package into the testing device, the testing device may activate and run the test script by self-starting, and then complete an automatic verification test (for example, a test verification on basic functions, critical functions and performance of version iteration) on the firmware package based on the test script, so that some potential risks that may exist in the product can be discovered early without manual work, thereby promoting the quality of the product to be improved continuously.
Fig. 5 schematically shows a schematic architecture diagram of a system 500 for automatic test validation of electronic products according to an embodiment of the present invention. It is to be appreciated that fig. 5 can be an exemplary implementation of the system 400 of fig. 4, wherein the Jenkins service of fig. 5 corresponds to the task publishing module of fig. 4, and the Repo software library and task packaging service of fig. 5 correspond to the task packaging module of fig. 4. Therefore, the same details as described above in connection with fig. 4 apply to fig. 5. In addition, fig. 5 also shows an instant messaging device to complete the specific application scenario of the system 500.
As shown in fig. 5, when there is a test demand for the electronic product to be tested, the task may be issued based on Jenkins, and specifically, the task may be issued on a task compiling interface of Jenkins, for example, a packing task may be initiated to a task packing service. And when receiving the packaging task, the task packaging service requests the Repo software library to synchronize the latest firmware code, completes packaging of the firmware package based on the latest firmware code, and feeds back the packaging result to Jenkins service after completing packaging of the firmware package. And when the Jenkins service receives the packaging result, the packaging result can be sent to the instant messaging equipment so as to be displayed by the instant messaging equipment.
In some embodiments, when the task packaging service receives a test task, a predetermined script (e.g., a Shell script or BAT script) may be utilized to push the relevant test script into the specified directory of the aforementioned firmware package in response to the test task to complete the construction of the test package. The test package may then be burned into the test equipment using the burn script. In some embodiments, the test task may be a subtask of the aforementioned packaging task, and the test task may be automatically invoked after the completion of the task. In other embodiments, the test task may be invoked separately from the packaging task. And when the test task is called independently, the version number to be tested needs to be set, and information such as whether the test needs to be run or not needs to be set.
In some embodiments, a copy of the formal package may also be backed up at the same time as the test package is constructed. So that the formal package can be directly burned into the electronic product to be tested after the test is passed. Alternatively, the firmware package packed in the testing stage can be directly burned into the electronic product to be tested after the test is passed without backing up the formal package, so as to replace manual automatic flashing.
In some embodiments, after burning the test packet to the test device, the test device may launch and run a test script through self-booting to perform test verification of the firmware packet based on the test script. And in the whole test and verification process, the task packaging service can monitor the test process through the central control script. In some implementations, the test device may send a notification to the Jenkins service and send test data to the task packaging service after completing the test. In this scenario, the Jenkins service may request test data from the task packaging server, and edit a test report based on the test data fed back by the task packaging server, and send the test report to the instant messaging device. And the instant messaging device displays the test report after receiving the test report so as to facilitate the user to visually check the test report.
Based on the cooperation between the parts in the system 500, a completed test closed loop is formed. In the test closed loop, through automatic test verification of the test script, the basic function after version iteration can be ensured to be available, and the key function and performance can be effectively and reliably verified, so that the whole test process can be separated from manual work, the whole test period is shortened, and the problem of irrational test result caused by human factors can be avoided.
It should be noted that although in the above detailed description several means or sub-means of a device for automatic test validation of electronic products are mentioned, such division is not mandatory only. Indeed, the features and functions of two or more of the devices described above may be embodied in one device, according to embodiments of the invention. Conversely, the features and functions of one apparatus described above may be further divided into embodiments by a plurality of apparatuses.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Use of the verbs "comprise", "comprise" and their conjugations in this application does not exclude the presence of elements or steps other than those stated in this application. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims (10)

1. A method for automatically testing and authenticating an electronic product, comprising:
acquiring a monitoring task about an electronic product to be tested, wherein the monitoring task comprises a compiling task and a testing task about the electronic product to be tested;
generating a firmware package about the electronic product to be tested in response to the compilation task;
in response to the test task, building a test package based on the firmware package, wherein the test package includes the firmware package and a test script, an
Burning the test package into test equipment so as to enable the test equipment to execute automatic test on the firmware package based on the test script.
2. The method of claim 1, wherein constructing a test package based on the firmware package comprises:
obtaining a test script about the firmware package; and
and pushing the test script to a specified position in the firmware package by using a preset script to obtain the test package.
3. The method of claim 1, wherein generating a firmware package for the electronic product to be tested comprises:
acquiring the latest firmware code of the electronic product to be tested; and
determining the firmware package based on the updated firmware code.
4. The method of claim 1, wherein the test task comprises a burn script for burning firmware, wherein burning the test package into a test device comprises:
and burning the firmware package and the test script in the test package into the test equipment by using the burning script.
5. The method of claim 4, wherein the test script comprises a central control script, and wherein the method further comprises:
and burning the central control script into the test equipment so as to poll and detect the execution condition of the automatic test based on the central control script.
6. The method according to any one of claims 1 to 5, wherein the method further comprises:
and responding to the acquired test data fed back by the test equipment, and generating a test report based on the test data.
7. The method of claim 6, wherein the method further comprises:
judging whether the electronic product to be tested passes the test according to the test data; and
and in response to the test of the tested electronic product being passed, burning the firmware package into the electronic product to be tested.
8. An apparatus, comprising:
a processor; and
memory storing computer instructions for automatic test validation of an electronic product, which when executed by the processor, cause the apparatus to perform the method according to any of claims 1-7.
9. A computer program product comprising program instructions for automatically testing and verifying an electronic product, which program instructions, when executed by a processor, cause the method according to any one of claims 1-7 to be carried out.
10. A system for automatically testing and verifying electronic products, comprising:
a server, comprising a task issuing module and a task packaging module, wherein the task issuing module is configured to issue a monitoring task related to an electronic product to be tested, and the task packaging module executes the method according to any one of claims 1 to 7 to generate a test package related to the electronic product to be tested and burn the test package into test equipment in response to the monitoring task;
the testing equipment is connected to the task packaging module and configured to finish automatic testing of the electronic product to be tested according to the testing package.
CN202111171812.9A 2021-10-08 2021-10-08 Method for automatically testing and verifying electronic product and related product Pending CN113933627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111171812.9A CN113933627A (en) 2021-10-08 2021-10-08 Method for automatically testing and verifying electronic product and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111171812.9A CN113933627A (en) 2021-10-08 2021-10-08 Method for automatically testing and verifying electronic product and related product

Publications (1)

Publication Number Publication Date
CN113933627A true CN113933627A (en) 2022-01-14

Family

ID=79278108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111171812.9A Pending CN113933627A (en) 2021-10-08 2021-10-08 Method for automatically testing and verifying electronic product and related product

Country Status (1)

Country Link
CN (1) CN113933627A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168745A1 (en) * 2005-11-29 2007-07-19 Alam Mohammed D Automation test systems
US20080077821A1 (en) * 2006-09-22 2008-03-27 Shenzhen Futaihong Precision Industrial Co.,Ltd. Testing system and testing method thereof
JP2008097086A (en) * 2006-10-06 2008-04-24 Yamatake Corp Firmware test automation method
CN101995546A (en) * 2010-11-16 2011-03-30 复旦大学 Automatic test system and method of programmable logic device on basis of boundary scan
KR20110116300A (en) * 2010-04-19 2011-10-26 주식회사 인피닉 Apparatus and method for automatic testing for electronic product
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment
CN106597250A (en) * 2016-11-24 2017-04-26 深圳市紫光同创电子有限公司 Programmable logic device (PLD) test method and device
CN109141588A (en) * 2018-09-05 2019-01-04 上海飞奥燃气设备有限公司 Gas meter, flow meter automatic analog test system
CN109213680A (en) * 2018-08-28 2019-01-15 康烁 Automated testing method based on embedded system simulation device
WO2019056475A1 (en) * 2017-09-21 2019-03-28 平安科技(深圳)有限公司 Automated test task management method and apparatus, device, and storage medium
CN110568345A (en) * 2019-09-27 2019-12-13 北京中电华大电子设计有限责任公司 automatic test equipment and control method thereof
CN110618903A (en) * 2018-06-19 2019-12-27 北京忆恒创源科技有限公司 Electronic equipment testing method and device
CN111142011A (en) * 2020-02-28 2020-05-12 深圳市丰巢科技有限公司 Express delivery cabinet test fixture
CN111382084A (en) * 2020-05-08 2020-07-07 北京金山云网络技术有限公司 Test method and device and electronic equipment
CN113010188A (en) * 2021-02-09 2021-06-22 广州思林杰科技股份有限公司 Modular measurement and control system generation method and device, computer equipment and memory
CN113138927A (en) * 2021-04-30 2021-07-20 北京沃东天骏信息技术有限公司 Software function testing method and device
CN113407451A (en) * 2021-06-23 2021-09-17 深圳市商汤科技有限公司 Test method, device, equipment, storage medium and program product

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168745A1 (en) * 2005-11-29 2007-07-19 Alam Mohammed D Automation test systems
US20080077821A1 (en) * 2006-09-22 2008-03-27 Shenzhen Futaihong Precision Industrial Co.,Ltd. Testing system and testing method thereof
JP2008097086A (en) * 2006-10-06 2008-04-24 Yamatake Corp Firmware test automation method
KR20110116300A (en) * 2010-04-19 2011-10-26 주식회사 인피닉 Apparatus and method for automatic testing for electronic product
CN101995546A (en) * 2010-11-16 2011-03-30 复旦大学 Automatic test system and method of programmable logic device on basis of boundary scan
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment
CN106597250A (en) * 2016-11-24 2017-04-26 深圳市紫光同创电子有限公司 Programmable logic device (PLD) test method and device
WO2019056475A1 (en) * 2017-09-21 2019-03-28 平安科技(深圳)有限公司 Automated test task management method and apparatus, device, and storage medium
CN110618903A (en) * 2018-06-19 2019-12-27 北京忆恒创源科技有限公司 Electronic equipment testing method and device
CN109213680A (en) * 2018-08-28 2019-01-15 康烁 Automated testing method based on embedded system simulation device
CN109141588A (en) * 2018-09-05 2019-01-04 上海飞奥燃气设备有限公司 Gas meter, flow meter automatic analog test system
CN110568345A (en) * 2019-09-27 2019-12-13 北京中电华大电子设计有限责任公司 automatic test equipment and control method thereof
CN111142011A (en) * 2020-02-28 2020-05-12 深圳市丰巢科技有限公司 Express delivery cabinet test fixture
CN111382084A (en) * 2020-05-08 2020-07-07 北京金山云网络技术有限公司 Test method and device and electronic equipment
CN113010188A (en) * 2021-02-09 2021-06-22 广州思林杰科技股份有限公司 Modular measurement and control system generation method and device, computer equipment and memory
CN113138927A (en) * 2021-04-30 2021-07-20 北京沃东天骏信息技术有限公司 Software function testing method and device
CN113407451A (en) * 2021-06-23 2021-09-17 深圳市商汤科技有限公司 Test method, device, equipment, storage medium and program product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张小国 等: "采用JavaME测试Agent的嵌入式设备自动测试框架", 计算机工程与应用, vol. 46, no. 31, 1 November 2010 (2010-11-01), pages 5 - 9 *
朱凌 等: "电子产品自动测试技术", 电子技术与软件工程, no. 115, 1 September 2017 (2017-09-01), pages 89 *

Similar Documents

Publication Publication Date Title
US9846638B2 (en) Exposing method related data calls during testing in an event driven, multichannel architecture
US9940225B2 (en) Automated error checking system for a software application and method therefor
US10042744B2 (en) Adopting an existing automation script to a new framework
CN111767208B (en) Automatic test method and device
CN107896244B (en) Version file distribution method, client and server
US20190087310A1 (en) Mobile application program testing method, server, terminal, and storage medium
CN109388569B (en) Method for remotely detecting environmental anomaly of client, test server and storage medium
CN112416318B (en) Micro-service development method and device, storage medium and electronic equipment
CN107025168B (en) Vulnerability detection method and device
US10579513B2 (en) Test run control method and apparatus
US11586433B2 (en) Pipeline release validation
CN109902005A (en) A kind of method and system of automatic test
CN110795353B (en) Quick application debugging method, device, equipment and storage medium
CN103049374B (en) Automatic testing method and device
CN110727575B (en) Information processing method, system, device and storage medium
CN114297056A (en) Automatic testing method and system
CN112527312B (en) Test method and test device for embedded system
CN108509346B (en) Dual-system BIOS continuous integration platform and method
CN113933627A (en) Method for automatically testing and verifying electronic product and related product
CN115599645A (en) Method and device for testing stability of linux drive module
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
US20160275002A1 (en) Image capture in application lifecycle management for documentation and support
CN115168175A (en) Program error solving method, device, electronic equipment and storage medium
CN114564230B (en) One-key uploading realization method and device of hong Monte-go system, electronic equipment and medium
JP2013218664A (en) Product collection device for software execution result

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220607

Address after: 310052 room 509, building 3, No. 399, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Netease Youdao (Hangzhou) Intelligent Technology Co.,Ltd.

Address before: 100094 1st floor, block a, building 7, West Zhongguancun Software Park, yard 10, northwest Wangdong Road, Haidian District, Beijing

Applicant before: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.