CN109709923B - Test control method, device, system and computer readable storage medium - Google Patents

Test control method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN109709923B
CN109709923B CN201811623321.1A CN201811623321A CN109709923B CN 109709923 B CN109709923 B CN 109709923B CN 201811623321 A CN201811623321 A CN 201811623321A CN 109709923 B CN109709923 B CN 109709923B
Authority
CN
China
Prior art keywords
test
tested
testing procedure
identification information
procedure
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.)
Active
Application number
CN201811623321.1A
Other languages
Chinese (zh)
Other versions
CN109709923A (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811623321.1A priority Critical patent/CN109709923B/en
Publication of CN109709923A publication Critical patent/CN109709923A/en
Application granted granted Critical
Publication of CN109709923B publication Critical patent/CN109709923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application relates to a test control method, a test control device, a test control system and a computer-readable storage medium. The method comprises the following steps: when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is the next testing procedure cascaded with the current testing procedure; receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure; when the first identification information is consistent with the second identification information, the object to be tested is controlled to enter the second testing procedure, so that the object to be tested can be prevented from being tested according to the specified testing flow in the testing process, and the testing reliability is improved.

Description

Test control method, device, system and computer readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a test control method, an apparatus, a system, and a computer-readable storage medium.
Background
With the rapid development of the internet, the smart terminal has become the most common electronic device for many users, such as a smart phone, a tablet, and the like. The market also presents greater challenges to the throughput of smart terminals. The manufacturing and production of the product are realized through corresponding process flows according to different process requirements, each process flow is as long as thousands of steps, each step is bound with a plurality of information including equipment, programs, process data specifications and the like, and in order to obtain a better yield in terms of process, the product is tested after the production and assembly are finished.
Conventionally, Manufacturing Execution System (MES) is applied in a product testing process to improve testing efficiency, but reliability of testing cannot be guaranteed in the testing process.
Disclosure of Invention
The embodiment of the application provides a test control method, a test control device, a test control system and a computer readable storage medium, which can improve the reliability of a test and further improve the production quality.
The embodiment of the application provides a test control method, which is applied to a manufacturing execution system to test and control an object to be tested, and comprises the following steps:
when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure;
receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure;
and when the first identification information is consistent with the second identification information, controlling the object to be tested to enter the second testing procedure.
The embodiment of the present application further provides a test control apparatus, which is applied to a manufacturing execution system to perform test control on an object to be tested, and the apparatus includes:
the first obtaining module is used for obtaining first identification information of a first testing procedure when the object to be tested is in the current testing procedure, and the first testing procedure is the next testing procedure cascaded with the current testing procedure;
the second acquisition module is used for receiving an instruction of entering a second testing procedure so as to enable the object to be tested to enter the second testing procedure and acquire second identification information of the second testing procedure;
and the control module is used for controlling the object to be tested to enter the second test procedure when the first identification information is consistent with the second identification information.
The embodiment of the invention also provides a test control system, which comprises a server, a client and a test station, wherein the server stores a computer program, and the computer program is executed by the test station, so that the test station executes the following steps:
when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure;
receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure;
and when the first identification information is consistent with the second identification information, controlling the object to be tested to enter the second testing procedure.
An embodiment of the present invention further provides a non-volatile computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure;
receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure;
and when the first identification information is consistent with the second identification information, controlling the object to be tested to enter the second testing procedure.
According to the test control method, the test control device, the test control system and the computer readable storage medium, when the object to be tested is in the current test procedure, first identification information of a first test procedure is obtained, wherein the first test procedure is a next test procedure cascaded with the current test procedure; receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure; when the first identification information is consistent with the second identification information, the object to be tested is controlled to enter the second testing procedure, so that the object to be tested can be prevented from being tested according to a specified testing flow in the testing process, and the testing reliability is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a test system in one embodiment;
FIG. 2 is a block diagram of the internal structure of a server provided in one embodiment;
FIG. 3 is a flow diagram of a test control method provided in one embodiment;
FIG. 4 is a flow chart of a test control method provided in yet another embodiment;
FIG. 5 is a flowchart of a test control method provided in yet another embodiment;
fig. 6 is a schematic structural diagram of a test control apparatus provided in an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first acquisition module may be referred to as a second acquisition module, and similarly, a second acquisition module may be referred to as a first acquisition module, without departing from the scope of the present application. The first acquisition module and the second acquisition module are both acquisition modules, but they are not the same acquisition module.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
FIG. 1 is a block diagram of a test system according to an embodiment. As shown in fig. 1, the test system includes: server 110, client 120, and test station 130.
Server 110, which comprises a SQL Server based TPOK central database Server. The TPOK central database server is used for storing relevant data information of each testing procedure, including identification information of the testing procedure and the like.
The client 120 is connected to the server 110, and the client 120 is connected to an acquisition workstation, a maintenance workstation, a packaging workstation and a station-crossing device, and is used for information acquisition, device maintenance, product packaging and station-crossing of products.
And the test station 130 is arranged in the central computer room and connected to the client 120 and is used for processing the test program according to the transmitted instruction of the client 120. The test station comprises test equipment and test tables, and each test table corresponds to one test procedure and is used for testing the performance of the object to be tested.
The server 110 has stored therein a computer program which, when executed by the test station 130, causes the test station 130 to perform the steps of:
when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure;
receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure;
and when the first identification information is consistent with the second identification information, controlling the object to be tested to enter the second testing procedure.
Fig. 2 is a schematic diagram of an internal structure of the server in one embodiment. As shown in fig. 2, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected through a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory is used for storing data, programs and the like, and the memory stores at least one computer program which can be executed by the processor to realize the wireless network communication method suitable for the electronic device provided by the embodiment of the application. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a test control method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, etc. for communicating with an external electronic device. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers. Those skilled in the art will appreciate that the architecture shown in fig. 2 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 3 is a flow diagram of a test control method in one embodiment. As shown in fig. 3, the test control method includes steps 310 to 330.
Step 310, when the object to be tested is in the current testing procedure, obtaining first identification information of a first testing procedure, where the first testing procedure is a next testing procedure cascaded with the current testing procedure.
The object to be measured may be an electronic device, for example, a terminal device such as a Personal Computer (PC), a tablet computer, a smart phone, and a Personal Digital Assistant (PDA). The above are merely examples, and the type of analyte is not limited in this application. In all embodiments of the present application, the object to be measured is illustrated by taking a mobile phone as an example.
The test station 130 may include a plurality of test flows, each test flow including a plurality of test stations. Each test bench corresponds to one test procedure, each test procedure is connected with corresponding test equipment, and different performances of the mobile phone are tested in each test procedure. For example, the whole test flow includes 5 test processes, i.e., test process 1, test process 2, test process 3, test process 4, and test process 5. The method comprises the following steps of testing a loudspeaker of the mobile phone in a testing procedure 1, testing a camera of the mobile phone in a testing procedure 2, testing a battery of the mobile phone in a testing procedure 3, testing whether relevant parameters of the mobile phone are all within a preset parameter range in a testing procedure 4, and testing the starting time of the mobile phone in a testing procedure 5.
In the embodiment of the application, each testing procedure carries corresponding identification information, and the identification information uniquely identifies the sequence of the testing procedures in the testing process. The MES can store the identification information of each test procedure in the database, and can quickly acquire which test procedure of the test flow the object to be tested should enter by directly acquiring the identification information in the database.
Before testing the mobile phone, each testing procedure in the testing process can be identified according to the actual process sequence of the mobile phone, the identification information of two adjacent testing procedures meets the preset condition, and the identification information of each testing procedure is stored in a TPOK central database server of the MES. The actual process sequence of the mobile phone can be the assembly sequence of the mobile phone, and the corresponding test procedures are identified according to the sequence of assembly of the mobile phone parts. In the embodiment of the application, the assembly sequence of the mobile phone is a testing procedure 1, a testing procedure 2, a testing procedure 3, a testing procedure 4 and a testing procedure 5.
Optionally, the presentation form of the identification information is not unique, and may be in the form of a number, a serial number, a barcode, or the like. In one embodiment, the identification information of the testing process is bar code information, and the identification information can be quickly acquired through the information scanning device. The information scanning device can specifically adopt a PDA bar code scanner, and the bar code of the testing procedure is scanned by the PDA bar code scanner to obtain the bar code information of the testing procedure. The specific form of the barcode information is not unique, and in this embodiment, the barcode information is two-dimensional code information. The identification information of the testing process is obtained through two-dimensional code scanning, and the operation is simple, convenient, rapid and reliable. Or by a reading device with a camera device, such as a camera. It should be understood that after the camera device captures the image of the two-dimensional code, the related information recorded by the two-dimensional code can be interpreted and displayed. The identification information may be provided at any position of the testing process, and optionally, the two-dimensional code or the bar code is attached to a testing board of the testing process in a printing manner or provided on the testing board in an imprinting manner.
In one embodiment, the identification information may be a number, and the numbering rule of the test procedure is numbered according to the actual process sequence of the mobile phone. For example, the test procedures may be in a sequence from large to small and from small to large, and the numbers of two adjacent test procedures satisfy the preset condition. The preset condition may be a preset functional relationship, and the embodiment of the present application is not limited in any way. For example, the test processes are numbered from small to large, that is, the identification information corresponding to test process 1, test process 2, test process 3, test process 4, and test process 5 is 1, 2, 3, 4, and 5, respectively.
Taking the identification information as a number as an example, after the testing procedures in the testing flow are identified, the server 110 of the MES system stores the number corresponding to each testing procedure in the mobile phone testing flow according to the serial number sequence. After the test station 130 receives the test starting command, the mobile phone enters a test flow. The test command may be that in the client 120, the user presses the open test button; the server 110 may also start the test flow in a software manner, and the embodiment of the present application is not limited in any way in the specific manner of starting the test flow. For example, after receiving the test starting command, the mobile phone enters the first step of the test process, i.e., the test step 1, and may obtain the first identification information of the first test step after entering the test step 1 or after the test of the test step 1 is completed, where the first test step is a next test step of the test step where the current mobile phone is stored in the manufacturing execution system.
In one embodiment, the first identification information of the first testing procedure may be acquired when the object to be tested enters the current testing procedure; the first identification information of the first test procedure can also be acquired when the object to be tested enters the test state in the current test procedure or when the object to be tested passes the test in the current test procedure. Specifically, the time for acquiring the first identification information of the first test procedure is selected according to actual conditions, and the requirement is met only before the object to be tested enters the next test procedure.
And 320, receiving a control instruction for entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure.
The identification information can be arranged at any position corresponding to the test procedure in the form of a key. In the testing process, the control instruction may be a number corresponding to a key pressed by a user in the client 120, and the object to be tested is indicated to enter a testing procedure corresponding to the number according to the number; or indicating the object to be tested to enter the corresponding testing procedure according to the number selected by the system program. And the second testing procedure is a testing procedure corresponding to the number. And when a control instruction for entering a second testing procedure is received, second identification information of the second testing procedure is obtained.
And 330, controlling the object to be tested to enter the second test procedure when the first identification information is consistent with the second identification information.
And comparing the acquired first identification information with the acquired second identification information, and if the first identification information is consistent with the second identification information, indicating that the test procedure to be entered by the object to be tested is correct, namely testing according to the sequence of the test procedure, so that the object to be tested is controlled to enter the second test procedure and testing is carried out.
In the test control method in this embodiment, first identification information of an object to be tested in a first test procedure is obtained, where the first test procedure is a next test procedure of a current test procedure stored in the manufacturing execution system; receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure; when the first identification information is consistent with the second identification information, the object to be tested is controlled to enter the second testing procedure, so that the phenomenon of station jump caused by the fact that the object to be tested is not tested according to a specified testing flow in the testing process can be prevented, and the testing reliability is improved.
FIG. 4 is a flow diagram of a test control method in one embodiment. As shown in fig. 4, the test control method includes steps 410 to 430.
Step 410, when the object to be tested is in the current testing procedure, obtaining first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure.
Step 420, receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, where the control instruction is used to instruct the object to be tested to enter the second testing procedure.
Step 410 and step 420 correspond to step 310 and step 320 in the above embodiments one to one, and are not described herein again.
And 430, locking the object to be tested when the first identification information is inconsistent with the second identification information so as to prevent the object to be tested from entering a second testing procedure.
For example, the object under test is currently tested in the second testing procedure, the identification information of the second testing procedure is obtained as 2, and the first identification information 3 of the third testing procedure (the first testing procedure) is obtained. And when an instruction for entering a second testing procedure is received, second identification information of the second testing procedure is obtained. If the second identification information is 4, the second identification information is inconsistent with the first identification information, which indicates that the test procedure to be entered selected by the control instruction is wrong, and the test is not performed according to the sequence of the test procedure, i.e. the station jump occurs. At this time, the object to be tested is prevented from entering the second testing procedure, and the object to be tested is locked in the current testing procedure. Therefore, the phenomenon of station jump caused by the fact that the object to be tested is not tested according to the test route in the test process can be prevented, and the object to be tested with the station jump can be timely processed.
In an embodiment, the object to be tested may be controlled to exit after the object to be tested is locked, and then the object to be tested is placed in the first test procedure to restart the test, or the second test procedure is reselected according to the identification information, and how to process the object to be tested after the object to be tested is locked may be selected according to an actual situation, which is not limited in the embodiment of the present application.
FIG. 5 is a flow diagram of a test control method in one embodiment. Including step 510 and step 520.
And 510, performing a function test on the object to be tested based on the test equipment of the current test procedure.
And step 520, controlling the object to be tested to enter the second testing procedure if the function test is qualified.
In one embodiment, before determining that the second testing procedure to be entered is the next testing procedure of the current testing procedure cascade, that is, before the second testing procedure conforms to the testing procedure, the function of the object to be tested is further tested; or after the second testing procedure is determined to be in accordance with the testing process, further testing the function of the object to be tested. And if the second test procedure accords with the test flow and the function test of the object to be tested in the current test procedure is qualified, controlling the object to be tested to enter the second test procedure, thereby improving the test reliability.
In an embodiment, taking a mobile phone as an example, the current mobile phone is in the testing process 4, after the second testing process is judged to conform to the testing flow, whether the relevant parameters of the mobile phone are all within the predetermined parameter range is tested, and if the relevant parameters are all within the predetermined parameter range, in the testing process 4, the corresponding function of the mobile phone is qualified, and the mobile phone is controlled to enter the second testing process, that is, the mobile phone enters the testing process 5 for testing.
In one embodiment, the test control method further includes step 530, if the functional test fails, performing fault detection on the test equipment tested by the current test procedure.
Specifically, if the test equipment fails, stopping testing the object to be tested, and generating a fault report; and if the test equipment is normal, controlling the object to be tested to enter a maintenance procedure.
When the function test is abnormal, the function of the mobile phone itself may be abnormal, and the test equipment for testing the mobile phone may also be failed (for example, the connection between the mobile phone and the test equipment is interrupted or the test program on the test equipment is abnormal). In the present embodiment, in order to prevent erroneous judgment of the mobile phone itself, when the mobile phone function test is abnormal, first, the fault detection is performed on the test equipment, that is, the influence of the peripheral test device on the mobile phone function test is eliminated. The fault detection can be response of a test program on the test equipment, connection smoothness of the test equipment and the mobile phone and the like, and an operator can perform corresponding setting on the fault detection according to common faults of the peripheral test device. If the test equipment fails, the fault of the test equipment is cleared, the fault clearing can be reset after the test equipment is restarted or a test program in the test equipment is reloaded, and the specific fault clearing method can be set correspondingly according to common faults of the peripheral test device. And after the fault clearing processing, carrying out fault detection on the test equipment again to ensure that the test equipment is normal. If the fault of the test equipment cannot be automatically repaired, the function test of the mobile phone is suspended, and the fault alarm of the test equipment is carried out; if the test equipment is normal, the function of the object to be tested is abnormal, and the abnormal function of the object to be tested is processed. The object to be tested can be controlled to enter a maintenance procedure so as to eliminate the function abnormity of the object to be tested, and therefore the testing accuracy is improved.
In one embodiment, if the testing equipment is normal, the function of the object to be tested can be tested for a preset number of times, so that misjudgment is prevented. Taking a mobile phone as an example, the current mobile phone is in the testing process 4, and the testing process 4 tests whether the relevant parameters of the mobile phone are all within the predetermined parameter range, and if the function test in the process is abnormal, the function test may fail due to static electricity or instability of a mobile phone testing program, so that the function test can be performed on the mobile phone for a predetermined number of times. If the functional tests fail within the preset times, the functional tests are processed to fail. Therefore, the influence of recoverable peripheral factors on the function test can be avoided, the cost of the function test is further reduced, and the accuracy of the mobile phone function test is improved.
In one embodiment, the method further comprises sending a prompt message, wherein the prompt message is used for prompting the abnormal test information of the object to be tested in the current test procedure.
In one embodiment, the object under test has a test abnormality in the current test procedure, which may be that the object under test is not tested according to the test flow, or that the object under test has a function test abnormality. The prompt information can call a corresponding processing strategy according to the type of the abnormity so as to prompt a user to carry out targeted processing on the fault. For example, the object is currently tested in the test step 2, the identification information of the test step 2 is obtained as 2, and the first identification information 3 of the test step 3 (first test step) is obtained. And when a control instruction for entering a second testing procedure is received, second identification information of the second testing procedure is obtained. If the second identification information is 4, the second identification information is inconsistent with the first identification information, the test procedure to be entered selected by the control instruction is wrong, namely the test is not performed according to the sequence of the test procedure, and the station jump occurs, the user is prompted that the object to be tested is not tested according to the procedure, and the test procedure to be entered is the test procedure 3. If the second identification information is 3, the second identification information is consistent with the first identification information, and the functional fault of the mobile phone or the fault of the corresponding test equipment is indicated. At this time, it is possible to further detect whether or not the test device corresponding to the test process has a failure. If the test equipment is normal, prompting the user that the function of the mobile phone corresponding to the test procedure is abnormal, and displaying and recommending a corresponding processing strategy aiming at the mobile phone function tested by the test function.
In an embodiment, the prompt information may generate a test exception report, or may be in a voice broadcast manner, and a specific form of the prompt information is selected according to an actual situation, which is not limited in the embodiment of the present application.
In the embodiment of the application, when the object to be tested is abnormal, prompt information can be sent to prompt the object to be tested to be abnormal in the current testing process, so that the abnormality can be timely processed in the testing process, and the testing efficiency is improved.
It should be understood that, although the respective steps in the flowcharts of fig. 3 to 5 are sequentially shown as indicated by arrows, the steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 3-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 6 is a block diagram of a test control apparatus according to an embodiment. The test control device 60 is used to execute a test control method. As shown in fig. 6, the test control device 60 includes: a first acquisition module 61, a second acquisition module 62, and a control module 63.
The first obtaining module 61 is configured to obtain first identification information of a first testing process when the object to be tested is in a current testing process, where the first testing process is a next testing process cascaded with the current testing process.
The second obtaining module 62 is configured to receive a control instruction entering a second testing procedure, and obtain second identification information of the second testing procedure, where the control instruction is used to instruct the object to be tested to enter the second testing procedure.
And the control module 63 is configured to control the object to be tested to enter the second testing procedure when the first identification information is consistent with the second identification information.
In this embodiment, the test control apparatus 60 obtains, by a first obtaining module 61, first identification information of an object to be tested in a first test process, where the first test process is a next test process of a current test process stored in the manufacturing execution system; the second obtaining module 62 receives an instruction of entering a second testing procedure, so that the object to be tested enters the second testing procedure, and obtains second identification information of the second testing procedure; when the first identification information is consistent with the second identification information, the control module 63 controls the object to be tested to enter the second testing procedure, so that the object to be tested can be prevented from jumping in the testing process, and the testing reliability is improved.
In one embodiment, when the first identification information is inconsistent with the second identification information, the object to be tested is locked to prevent the object to be tested from entering the second testing procedure.
In one embodiment, the test control device 60 further comprises an identification module (not shown) for:
identifying each testing procedure according to the process sequence of the object to be tested, wherein the identification information of two adjacent testing procedures meets a preset condition;
and storing the identification information of each test procedure in the manufacturing execution system.
In one embodiment, when the object under test is in the current testing procedure, acquiring first identification information of a first testing procedure includes:
and when the object to be tested enters the current testing procedure or when the object to be tested enters the testing state in the current testing procedure, acquiring first identification information of a first testing procedure.
In one embodiment, the test control device 60 further comprises a functional test module (not shown in the figures) for:
performing a function test on the object to be tested based on the test equipment of the current test procedure;
and if the function test is qualified, controlling the object to be tested to enter the next test procedure.
If the function test is unqualified, fault detection is carried out on the test equipment tested in the current test procedure;
if the test equipment fails, stopping testing the object to be tested and generating a fault report;
and if the test equipment is normal, controlling the object to be tested to enter a maintenance procedure.
In one embodiment, the test control device 60 further includes a prompt module (not shown in the figure) for sending a prompt message, where the prompt message is used to prompt the abnormal test information of the object under test in the current test procedure.
The division of the modules in the test control apparatus 60 is only for illustration, and in other embodiments, the test control apparatus 60 may be divided into different modules as needed to complete all or part of the functions of the test control apparatus 60.
For the specific definition of the test control device 60, reference may be made to the above definition of the test control method, which is not described herein again. The various modules in the test control apparatus 60 described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the test control apparatus 60 provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the test control method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of a test control method.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A test control method is applied to a manufacturing execution system to test and control an object to be tested, and is characterized by comprising the following steps:
when the object to be tested is in the current testing procedure, acquiring first identification information of a first testing procedure, wherein the first testing procedure is a next testing procedure cascaded with the current testing procedure;
receiving a control instruction entering a second testing procedure, and acquiring second identification information of the second testing procedure, wherein the control instruction is used for indicating the object to be tested to enter the second testing procedure;
when the first identification information is consistent with the second identification information, controlling the object to be tested to enter the second testing procedure;
and when the first identification information is inconsistent with the second identification information, locking the object to be tested to prevent the object to be tested from entering the second testing procedure.
2. The method of claim 1, further comprising:
identifying each testing procedure according to the process sequence of the object to be tested, wherein the identification information of two adjacent testing procedures meets a preset condition;
and storing the identification information of each test procedure in the manufacturing execution system.
3. The method of claim 1, wherein the obtaining first identification information of a first testing procedure when the object under test is in a current testing procedure comprises:
and when the object to be tested enters the current testing procedure, or when the object to be tested enters the testing state in the current testing procedure, acquiring the first identification information of the first testing procedure.
4. The method of claim 1, wherein before controlling the test object to enter the second testing procedure, the method further comprises:
performing a function test on the object to be tested based on the test equipment of the current test procedure;
and if the function test is qualified, controlling the object to be tested to enter the next test procedure.
5. The method of claim 4, further comprising:
if the function test is unqualified, fault detection is carried out on the test equipment tested in the current test procedure;
if the test equipment fails, stopping testing the object to be tested and generating a fault report;
and if the test equipment is normal, controlling the object to be tested to enter a maintenance procedure.
6. The method according to any one of claims 1-5, further comprising:
and sending prompt information, wherein the prompt information is used for prompting the abnormal test information of the object to be tested in the current test procedure.
7. A test control device is applied to a manufacturing execution system to test and control an object to be tested, and is characterized by comprising:
the first obtaining module is used for obtaining first identification information of a first testing procedure when the object to be tested is in the current testing procedure, and the first testing procedure is the next testing procedure cascaded with the current testing procedure;
the second acquisition module is used for receiving an instruction of entering a second testing procedure so as to enable the object to be tested to enter the second testing procedure and acquire second identification information of the second testing procedure;
the control module is used for controlling the object to be tested to enter the second test procedure when the first identification information is consistent with the second identification information;
and when the first identification information is inconsistent with the second identification information, locking the object to be tested to prevent the object to be tested from entering the second testing procedure.
8. A test control system comprising a server, a client and a test station, the server having stored therein a computer program which, when executed by the test station, causes the test station to carry out the steps of the test control method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201811623321.1A 2018-12-28 2018-12-28 Test control method, device, system and computer readable storage medium Active CN109709923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811623321.1A CN109709923B (en) 2018-12-28 2018-12-28 Test control method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811623321.1A CN109709923B (en) 2018-12-28 2018-12-28 Test control method, device, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109709923A CN109709923A (en) 2019-05-03
CN109709923B true CN109709923B (en) 2020-05-26

Family

ID=66259140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811623321.1A Active CN109709923B (en) 2018-12-28 2018-12-28 Test control method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109709923B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502383A (en) * 2019-08-27 2019-11-26 Oppo(重庆)智能科技有限公司 The test method and device of terminal device
TWI748300B (en) * 2019-12-09 2021-12-01 新唐科技股份有限公司 Testing system and method
CN111142954B (en) * 2019-12-30 2023-06-23 Oppo(重庆)智能科技有限公司 Startup control method and device and computer readable storage medium
CN113433921A (en) * 2020-03-23 2021-09-24 北京新能源汽车股份有限公司 Method and device for testing real vehicle function and control equipment
CN116820863A (en) * 2023-07-10 2023-09-29 北京鲲鹏凌昊智能技术有限公司 Cascade test method, cascade test device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634961A (en) * 2009-08-12 2010-01-27 方正科技集团苏州制造有限公司 Self-checking method of computer finished product production line
CN104951380A (en) * 2014-03-24 2015-09-30 环旭电子股份有限公司 Test method and system used for testing on-line products
CN105975370A (en) * 2015-07-23 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for testing
CN107390658A (en) * 2017-08-01 2017-11-24 西安易朴通讯技术有限公司 The management-control method and system of intelligent terminal production process
CN108490337A (en) * 2018-03-14 2018-09-04 广州视源电子科技股份有限公司 Board test method, system, readable storage medium storing program for executing and computer equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR1152543A (en) * 1954-11-18 1958-02-19 Ibm Translation device associated with a printing machine
CN105137925B (en) * 2015-07-23 2018-02-16 上海极熵数据科技有限公司 The job scheduling method of automatic industrial equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634961A (en) * 2009-08-12 2010-01-27 方正科技集团苏州制造有限公司 Self-checking method of computer finished product production line
CN104951380A (en) * 2014-03-24 2015-09-30 环旭电子股份有限公司 Test method and system used for testing on-line products
CN105975370A (en) * 2015-07-23 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for testing
CN107390658A (en) * 2017-08-01 2017-11-24 西安易朴通讯技术有限公司 The management-control method and system of intelligent terminal production process
CN108490337A (en) * 2018-03-14 2018-09-04 广州视源电子科技股份有限公司 Board test method, system, readable storage medium storing program for executing and computer equipment

Also Published As

Publication number Publication date
CN109709923A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN109709923B (en) Test control method, device, system and computer readable storage medium
CN110908909B (en) Automatic test method, device, storage medium and equipment
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
CN112486749B (en) Test method and device based on 5G communication terminal and readable storage medium
CN110750441A (en) Automatic testing method and device, computer equipment and storage medium
CN111143163B (en) Data monitoring method, device, computer equipment and storage medium
CN109656205B (en) Defective product control method and device, electronic device and readable storage medium
CN109784502B (en) On-site maintenance processing method and system based on fault equipment
CN111666743A (en) Report automatic generation method and device, computer equipment and storage medium
CN110762769A (en) Unit debugging method and device, debugging equipment, medium and air conditioning system
CN110874691A (en) General assembly offline control method and system
CN110008204A (en) Detection method, device, computer equipment and the storage medium of the quality of data
CN110908702A (en) Version switching method, version switching device, computer equipment and storage medium
CN112000582A (en) Server-side automatic test early warning method, device, equipment and storage medium
CN108920357A (en) Operation system detection method, device, computer equipment and storage medium
CN110262978B (en) Interface retry method and device based on long-flow automatic test
CN110874295B (en) Test method and system for boot verification after abnormal shutdown
CN115048257A (en) System service function verification method and device, computer equipment and storage medium
CN111177488B (en) Metering equipment maintenance processing method and device, computer equipment and storage medium
CN112612706A (en) Automated testing method, computer device and storage medium
CN109739194B (en) Method and device for verifying golden machine, control system and computer readable storage medium
CN115276844B (en) Communication module testing method and device, storage medium and electronic equipment
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN110309057B (en) Automatic script-based flow project testing method and related equipment
CN105740114B (en) Fault tolerance test method and device for mobile terminal

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
GR01 Patent grant