CN108920205A - A kind of control method, device and computer storage medium - Google Patents

A kind of control method, device and computer storage medium Download PDF

Info

Publication number
CN108920205A
CN108920205A CN201810597810.8A CN201810597810A CN108920205A CN 108920205 A CN108920205 A CN 108920205A CN 201810597810 A CN201810597810 A CN 201810597810A CN 108920205 A CN108920205 A CN 108920205A
Authority
CN
China
Prior art keywords
test
measured terminal
instruction
control equipment
touch
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
CN201810597810.8A
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.)
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 CN201810597810.8A priority Critical patent/CN108920205A/en
Publication of CN108920205A publication Critical patent/CN108920205A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses a kind of control method, device and computer storage medium, applied to the measured terminal with touch screen, the method includes:When the test starting of the measured terminal, the first instruction sent by control equipment is executed;Wherein, first instruction is used to indicate the touch-responsive function of closing the touch screen;When the test of the measured terminal is completed, the second instruction sent by the control equipment is executed;Wherein, second instruction is used to indicate the touch-responsive function of opening the touch screen;The touch screen of measured terminal can be made to be not responding to external any touch operation during the test, to effectively prevent the generation of mistaken touch, and then avoided in test process due to accidentally surveying phenomenon caused by mistaken touch.

Description

A kind of control method, device and computer storage medium
Technical field
This application involves terminal test technical fields more particularly to a kind of control method, device and computer storage to be situated between Matter.
Background technique
With the rapid development of mobile terminal, the indexs such as stability, reliability of program of mobile terminal have become people In terms of the main consideration for selecting mobile terminal;Therefore, it before mobile terminal publication, needs to carry out a system to mobile terminal product Column test.Currently in the production test link of mobile terminal, in automated test device, the test of mobile terminal is all front Downward, there will be very big contact area between the touch screen and test fixture of such mobile terminal, survey during the test Touch effect will be formed to the touch screen of mobile terminal by trying jig, to cause mistaken touch and cause to occur accidentally surveying phenomenon.Base In this, existing solution is to be come by change test fixture come the touch screen contact portion of empty avoiding and mobile terminal with this The generation of mistaken touch is prevented, but also brings some inevitable defects simultaneously:First against the different machines of mobile terminal Type needs frequently change test fixture;Secondly, the change of test fixture cannot prevent completely not for the mobile terminal shielded comprehensively It is in contact with the touch screen of mobile terminal;Therefore, existing solution not can effectively prevent the generation of mistaken touch.
Summary of the invention
In view of this, the main purpose of the application is to provide a kind of control method, device and computer storage medium, The touch screen of measured terminal can be made to be not responding to external any touch operation during the test, to effectively prevent missing The generation of touch, and then avoid in test process due to accidentally surveying phenomenon caused by mistaken touch.
In order to achieve the above objectives, the technical solution of the application is realized in:
In a first aspect, the embodiment of the present application provides a kind of control method, the method is applied to the quilt with touch screen Terminal is surveyed, the method includes:
When the test starting of the measured terminal, the first instruction sent by control equipment is executed;Wherein, described first Instruction is used to indicate the touch-responsive function of closing the touch screen;
When the test of the measured terminal is completed, the second instruction sent by the control equipment is executed;Wherein, described Second instruction is used to indicate the touch-responsive function of opening the touch screen.
Second aspect, the embodiment of the present application provide a kind of control method, and the method is applied to control equipment, the side Method includes:
When the test starting of measured terminal, the first instruction is sent to the measured terminal;Wherein, first instruction is used The touch-responsive function of the touch screen of the measured terminal is closed in instruction;
When the test of the measured terminal is completed, the second instruction is sent to the measured terminal;Wherein, described second refers to Enable the touch-responsive function of being used to indicate the touch screen for opening the measured terminal.
The third aspect, the embodiment of the present application provide a kind of measured terminal, and the measured terminal includes:First network connects Mouthful, first memory and first processor;Wherein,
The first network interface, for control equipment between received and sent messages during, the reception of signal and It sends;
The first memory, for storing the computer program that can be run on the processor;
The first processor, the method for executing control described in first aspect when running the computer program The step of.
Fourth aspect, the embodiment of the present application provide a kind of control equipment, and the control equipment includes:Second network connects Mouthful, second memory and second processor;Wherein,
Second network interface, during for being received and sent messages between measured terminal, the reception of signal and It sends;
The second memory, for storing the computer program that can be run on the processor;
The second processor, the method for executing control described in second aspect when running the computer program The step of.
5th aspect, the embodiment of the present application provide a kind of computer storage medium, the computer storage medium storage There is control program, realizes when the control program is executed by least one processor and controlled described in first aspect or second aspect Method the step of.
The embodiment of the present application provides a kind of control method, device and computer storage medium, is applied to have and touches The measured terminal of screen executes the first instruction sent by control equipment when the test starting of the measured terminal;Wherein, institute It states the first instruction and is used to indicate the touch-responsive function of closing the touch screen;When the test of the measured terminal is completed, hold The second instruction that row is sent by the control equipment;Wherein, second instruction is used to indicate the touch for opening the touch screen Response function;The touch screen of measured terminal can be made to be not responding to external any touch operation during the test, to have Effect prevents the generation of mistaken touch, and then avoids in test process due to accidentally surveying phenomenon caused by mistaken touch.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of mobile terminal test application scenarios provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of control method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another control method provided by the embodiments of the present application;
Fig. 4 is a kind of detailed process schematic diagram of control method provided by the embodiments of the present application;
Fig. 5 is a kind of composed structure schematic diagram of measured terminal provided by the embodiments of the present application;
Fig. 6 is the composed structure schematic diagram of another measured terminal provided by the embodiments of the present application;
Fig. 7 is the composed structure schematic diagram of another measured terminal provided by the embodiments of the present application;
Fig. 8 is the composed structure schematic diagram of another measured terminal provided by the embodiments of the present application;
Fig. 9 is a kind of specific hardware structure schematic diagram of measured terminal provided by the embodiments of the present application;
Figure 10 is a kind of composed structure schematic diagram for controlling equipment provided by the embodiments of the present application;
Figure 11 is the composed structure schematic diagram of another control equipment provided by the embodiments of the present application;
Figure 12 is the composed structure schematic diagram of another control equipment provided by the embodiments of the present application;
Figure 13 is the composed structure schematic diagram of another control equipment provided by the embodiments of the present application;
Figure 14 is a kind of specific hardware structure schematic diagram for controlling equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
Illustratively, referring to Fig. 1, it illustrates a kind of mobile terminal test application scenarios provided by the embodiments of the present application to show Example;In the test application scene, mainly include:Mobile terminal 101, test fixture 102 and control equipment 103;Wherein, mobile Terminal 101 includes touch screen 1011, and touch screen 1011 is the external inputs signals such as finger, the stylus of a kind of receivable user Induction type liquid crystal display, the external inputs such as finger, stylus of user signal is by can with the contact of touch screen 1011 To generate operational order and execute the corresponding function of the operation;Android debugging bridge (Android is built-in in mobile terminal 101 Debug Bridge, ADB), ADB is the critically important debugging tool that Google provides, it is to realize mobile terminal 101 The bridge connected between control equipment 103;Mobile terminal 101 can be smart phone, tablet computer, laptop, the palm Upper computer, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, the measured terminal with touch screen such as wearable device and Intelligent bracelet;Test Jig 102 refers to the test fixture for fixed and holding movable terminal 101, convenient to test mobile terminal 101;Control Equipment 103 can have the equipment for issuing test instruction for personal computer, test special equipment etc., and control equipment 103 can be with Information exchange is carried out by ADB and mobile terminal 101.
In mobile terminal test application scenarios shown in Fig. 1, mobile terminal 101 is used as equipment under test, is placed on test Jig 102 is above and touch screen 1011 is contacted with 102 surface of test fixture, and control equipment 103 passes through ADB to mobile terminal 101 send test request and other instructions, and control the test process of mobile terminal 101, after testing is complete, mobile whole Test result can be fed back to control equipment 103 by ADB by end 101.It should be noted that mobile terminal shown in FIG. 1 is surveyed Examination application scenarios are used for the purpose of more clearly illustrating the technical solution of the application, do not constitute the restriction to the application.Base In the example of above-mentioned mobile terminal test application scenarios, describe in detail with reference to the accompanying drawing to the embodiment of the present application.
Embodiment one
Referring to fig. 2, it illustrates a kind of control method provided by the embodiments of the present application, this method is applied to have touch screen Measured terminal, this method may include:
S201:When the test starting of the measured terminal, the first instruction sent by control equipment is executed;Wherein, institute It states the first instruction and is used to indicate the touch-responsive function of closing the touch screen;
S202:When the test of the measured terminal is completed, the second instruction sent by the control equipment is executed;Its In, second instruction is used to indicate the touch-responsive function of opening the touch screen.
Based on technical solution shown in Fig. 2, applied to the measured terminal with touch screen, when the test of the measured terminal When starting, the first instruction sent by control equipment is executed;Wherein, first instruction, which is used to indicate, closes the touch screen Touch-responsive function;The touch screen of measured terminal can be made to be not responding to external any touch operation during the test, from And effectively prevent the generation of mistaken touch;When the test of the measured terminal is completed, execute by the control equipment transmission Second instruction;Wherein, second instruction is used to indicate the touch-responsive function of opening the touch screen;It can make tested whole The touch screen at end restores touch-responsive function after testing is complete, and the user of measured terminal can be tested eventually with normal operating End;And then measured terminal is avoided during the test due to accidentally surveying phenomenon caused by mistaken touch.
For technical solution shown in Fig. 2, in one possible implementation, in the test starting of the measured terminal Before, the method also includes:
When detecting has communication link between the control equipment, receives the test that the control equipment is sent and ask It asks;
The test link between the control equipment is established based on the test request.
It should be noted that control equipment first requires connect to measured terminal before the test starting of measured terminal ADB;Specifically, the ADB for controlling equipment and measured terminal can be attached by USB data line, is then ordered by adb Enable confirmation both whether successful connection;That is, it is assumed that the IP address for obtaining measured terminal is " 172.29.75.21 ", at this time " adb connect 172.29.75.21 " is inputted in the command window of control equipment, command window returns after carriage return "connected to 172.29.75.21:5555";Then input " adb is further continued in the command window of control equipment Devices ", if command window returns to " List of devices attached (carriage return) 172.29.75.21 after carriage return: 5555device " then illustrates that measured terminal has been successfully accessed control equipment, illustrates between measured terminal and control equipment With communication link;In this way, control equipment can pass through ADB when having communication link between measured terminal and control equipment Test request is sent to measured terminal, after measured terminal receives the test request, measured terminal can be based on the test request Establish the test link between control equipment.
It is to be appreciated that when the test starting of measured terminal, it is described to execute the first instruction sent by control equipment, tool Body includes:
Receive the first instruction that the control equipment is sent;
In response to first instruction, the touch-responsive function of the touch screen is closed.
That is, being connect during the test due to being formed between test fixture and the touch screen of measured terminal in order to prevent Contacting surface is long-pending and generates and accidentally touches, and accidentally surveys phenomenon to cause, needs before the test of measured terminal starts, by measured terminal The touch-responsive function of touch screen is closed;Namely when measured terminal starts test, measured terminal receiving control apparatus institute First sent instructs and is responded for the first instruction, and the touch-responsive function of measured terminal touch screen can be made to be closed It closes;So during the test, the touch screen of measured terminal would not response external any touch operation, so as to effective Phenomenon is accidentally surveyed caused by preventing due to mistaken touch.
It is to be appreciated that when the test of measured terminal is completed, it is described to execute the second instruction sent by control equipment, tool Body includes:
Receive the second instruction that the control equipment is sent;
In response to second instruction, the touch-responsive function of the touch screen is opened.
That is, the touch-responsive function of measured terminal touch screen is closed due to during the test, so that tested The touch screen of terminal will not response external any touch operation;But after the test of measured terminal is completed, at this time Need to open the touch-responsive function of measured terminal touch screen, so that the touch screen of measured terminal can work normally;Namely work as When measured terminal completes test, measured terminal needs the second of receiving control apparatus transmission to instruct and rung for the second instruction It answers, so that the touch-responsive function of measured terminal touch screen is turned on;So after testing is complete, it needs measured terminal Various functions restore normal, the touch-responsive function including touch screen, so that the user of measured terminal can normally grasp Make measured terminal.
It is to be appreciated that during the test, due to the unstability of communication link, when measured terminal and control equipment it Between interrupted communication link when, control equipment without normal direction measured terminal send instruct, at this time can pass through receive third instruction Corresponding predetermined registration operation restores the touch-responsive function of measured terminal touch screen;Therefore, for technical solution shown in Fig. 2, In one possible implementation, before the test of the measured terminal is completed, the method also includes:
When detecting the interrupted communication link between the control equipment, the survey between the control equipment is disconnected Try link;
It receives third and instructs corresponding predetermined registration operation, and execute the corresponding third instruction of the predetermined registration operation;Wherein, described Third instruction is used to indicate the touch-responsive function of restoring the touch screen.
It should be noted that due to the unstability of communication link, during the test, measured terminal and control equipment it Between communication link it is possible that interrupt situation, at this time control equipment just without normal direction measured terminal send instruction, in order to make The user for obtaining measured terminal can need to instruct corresponding predetermined registration operation come extensive by receiving third with normal operating measured terminal The touch-responsive function of multiple measured terminal touch screen;Third instruction refers to that tester is directed to the key or key group of measured terminal The predetermined registration operation of conjunction instruction generated, wherein predetermined registration operation can be tester continuous 3 times and press " volume+" key, can also To be the tester continuous 2 times combination buttons for pressing " volume-" and " power supply ", can also be tester for other keys or Operation performed by key combination;Here, it for the particular content of predetermined registration operation, in the embodiment of the present application and is not construed as limiting. As an example it is assumed that predetermined registration operation corresponding to third instruction is:Press the group of " volume-" and " power supply " for tester continuous 2 times Key is closed, when the interrupted communication link between measured terminal and control equipment, equipment is controlled at this time and is sent out without normal direction measured terminal Instruction is sent, the combination button of " volume-" and " power supply " can be at this time pressed by tester continuous 2 times, by executing the operation Corresponding third instruction, can make the touch-responsive function of measured terminal touch screen be restored, so that measured terminal makes User can be with normal operating measured terminal.
It is to be appreciated that after testing is complete, the test result of measured terminal can be obtained, which can be sent out It is sent to control equipment, so that tester can analyze for the test result;Therefore, for technical solution shown in Fig. 2, In one possible implementation, after the test of the measured terminal is completed, the method also includes:
Obtain the test result of the measured terminal;
The test result is sent to the control equipment.
It should be noted that measured terminal can connect after foundation has communication link between measured terminal and control equipment Test request transmitted by control equipment is received, measured terminal parses the available test pair by carrying out to the test request The test information answered;In this way, measured terminal can be carried out corresponding based on the test information when the test starting of measured terminal Test, thus after completion of testing, the available test result to for the test information of measured terminal;In order to facilitate survey Examination person is checked and is analyzed that after completion of testing, measured terminal can send the test result for the test result Give control equipment;To which tester can check and analyze for the test result on the control device, so as to for quilt The abnormality test situation for surveying terminal is handled in time.
A kind of control method is present embodiments provided, this method is applied to the measured terminal with touch screen, when the quilt When surveying the test starting of terminal, the first instruction sent by control equipment is executed;Wherein, first instruction is used to indicate closing The touch-responsive function of the touch screen;When the test of the measured terminal is completed, execute by the control equipment transmission Second instruction;Wherein, second instruction is used to indicate the touch-responsive function of opening the touch screen;It can make tested whole The touch screen at end is not responding to external any touch operation during the test, so that the generation of mistaken touch is effectively prevented, into And it avoids in test process due to accidentally surveying phenomenon caused by mistaken touch.
Embodiment two
Referring to Fig. 3, it illustrates a kind of control method provided by the embodiments of the present application, this method is applied to control equipment, This method may include:
S301:When the test starting of measured terminal, the first instruction is sent to the measured terminal;Wherein, described first Instruction is used to indicate the touch-responsive function for the touch screen for closing the measured terminal;
S302:When the test of the measured terminal is completed, the second instruction is sent to the measured terminal;Wherein, described Second instruction is used to indicate the touch-responsive function for the touch screen for opening the measured terminal.
Based on technical solution shown in Fig. 3, it is applied to control equipment, when the test starting of measured terminal, to tested end End sends the first instruction;Wherein, first instruction is used to indicate the touch-responsive function of closing the touch screen of measured terminal;When When the test of measured terminal is completed, the second instruction is sent to measured terminal;Wherein, it is tested to be used to indicate unlatching for second instruction The touch-responsive function of the touch screen of terminal;The touch screen of measured terminal can be made to be not responding to external appoint during the test What touch operation, to effectively prevent the generation of mistaken touch, and then caused by avoiding in test process due to mistaken touch Accidentally survey phenomenon.
For technical solution shown in Fig. 3, in one possible implementation, in the test starting of the measured terminal Before, the method also includes:
When detecting has communication link between the measured terminal, test request is sent to the measured terminal;
The test link between the measured terminal is established based on the test request.
It should be noted that can be built by ADB between measured terminal and control equipment in the testing process of measured terminal Vertical communication link;When control equipment detect between measured terminal have communication link when, control equipment can by ADB to Measured terminal sends test request and establishes control based on the test request after measured terminal receives the test request Test link between equipment and measured terminal.
It is to be appreciated that during the test, due to the unstability of communication link, when measured terminal and control equipment it Between interrupted communication link when, control equipment sends without normal direction measured terminal and instructs, and at this time test link between the two is just It will disconnect;Therefore, for technical solution shown in Fig. 3, in one possible implementation, in the test of the measured terminal Before completion, the method also includes:
When detecting the interrupted communication link between the measured terminal, the survey between the measured terminal is disconnected Try link.
It should be noted that due to the unstability of communication link, during the test, measured terminal and control equipment it Between communication link it is possible that interrupt situation, at this time control equipment just without normal direction measured terminal send instruct, and control Terminal processed is also disconnected the test link between measured terminal;At this time in order to enable the user of measured terminal can normally grasp Make measured terminal, needs third of the measured terminal received by itself that corresponding predetermined registration operation is instructed to restore measured terminal The touch-responsive function of touch screen, so that the user of measured terminal can be with normal operating measured terminal.
It is to be appreciated that measured terminal can obtain corresponding test result after completing for the test of measured terminal, The test result is analyzed in order to facilitate tester, the test result can be sent to control equipment;Therefore, for figure Technical solution shown in 3, in one possible implementation, after the test of the measured terminal is completed, the method Further include:
Receive the test result that the measured terminal is sent.
It should be noted that measured terminal is available to arrive the test pair after completing for the test of measured terminal The test result answered;It is checked in order to facilitate tester and analyzes the test result, after completion of testing, measured terminal will be tested As a result it is sent to control equipment;To which tester can check and analyze for the test result on the control device, with Just the abnormality test situation of measured terminal is handled in time.
A kind of control method is present embodiments provided, this method is applied to control equipment, when the test starting of measured terminal When, the first instruction is sent to the measured terminal;Wherein, first instruction is used to indicate the touch for closing the measured terminal The touch-responsive function of screen;When the test of the measured terminal is completed, the second instruction is sent to the measured terminal;Wherein, Second instruction is used to indicate the touch-responsive function for the touch screen for opening the measured terminal;It can make measured terminal Any touch operation of touch screen response external during the test, to effectively prevent the generation of mistaken touch, and then avoids Due to accidentally surveying phenomenon caused by mistaken touch in test process.
Embodiment three
Based on the identical inventive concept of previous embodiment, referring to fig. 4, it illustrates a kind of controls provided by the embodiments of the present application The exemplary scene of the detailed process of method processed, this method may refer to Fig. 1, be based on mobile terminal test application shown in FIG. 1 Sample Scenario, the detailed process may include:
S401:Whether control between equipment detection and mobile terminal has communication link;
S402:When control equipment, which is detected, has communication link between mobile terminal, equipment is controlled to mobile terminal Send test request;
S403:Mobile terminal receives the test request and establishes the test link between control equipment;
For example, by taking mobile terminal test application scenarios shown in FIG. 1 as an example, mobile terminal 101 is placed on test Jig 102 is above and the touch screen 1011 of mobile terminal 101 is contacted with 102 surface of test fixture, and tester passes through usb data Line will control equipment 103 and the ADB of mobile terminal 101 is attached, and then whether tester confirms the two by adb order Successful connection;For example the IP address of mobile terminal 101 is " 172.29.75.21 ", tester is in the life for controlling equipment 103 at this time Input " adb connect 172.29.75.21 " in window is enabled, command window returns to " connected to after carriage return 172.29.75.21:5555";Then input " adb devices " is further continued in the command window of control equipment 103, if Command window returns to " List of devices attached (carriage return) 172.29.75.21 after carriage return:5555device ", Then illustrate mobile terminal 101 to be successfully accessed between control equipment 103 namely mobile terminal 101 and control equipment 103 to have had There is communication link;In this way, control equipment can pass through when having communication link between mobile terminal 101 and control equipment 103 ADB sends test request to mobile terminal 101, after mobile terminal 101 receives the test request, is built based on the test request It has found mobile terminal 101 and has controlled the test link between equipment 103.
S404:When the test starting of mobile terminal, control equipment sends the first instruction to mobile terminal;Wherein, described First instruction is used to indicate the touch-responsive function of closing touch screen;
S405:The first instruction that mobile terminal receiving control apparatus is sent;
S406:Mobile terminal closes the touch-responsive function of touch screen in response to the first instruction, mobile terminal;
S407:In the test process of mobile terminal, whether the communication link between mobile terminal Detection & Controling equipment It interrupts;
S408:When the interrupted communication link, mobile terminal disconnects the test link between control equipment;
S409:Mobile terminal, which receives third and instructs corresponding predetermined registration operation and execute the corresponding third of the predetermined registration operation, to be referred to It enables;Wherein, the third instruction is used to indicate the touch-responsive function of restoring the touch screen;
S410:Mobile terminal is instructed in response to third, and mobile terminal restores the touch-responsive function of touch screen;
S411:When the communication link does not interrupt, when the test of mobile terminal is completed, equipment is controlled to mobile terminal Send the second instruction;Wherein, second instruction is for executing the touch-responsive function of opening touch screen;
S412:Mobile terminal opens the touch-responsive function of touch screen in response to the second instruction, mobile terminal;
It should be noted that be directed to step S407, the communication link between mobile terminal Detection & Controling equipment whether in It is disconnected;When the interrupted communication link between mobile terminal and control equipment, S408 is thened follow the steps;When mobile terminal and control are set When communication link between standby does not interrupt, S411 is thened follow the steps.
For example, by taking mobile terminal test application scenarios shown in FIG. 1 as an example, in conjunction with examples detailed above, work as mobile terminal After test link establishment between 101 and control equipment 103, mobile terminal 101 starts starting test;Due to mobile terminal 101 touch screen 1011 is in contact with 102 surface of test fixture, in order to avoid during the test due to mistaken touch caused by Phenomenon is accidentally surveyed, when test starting, control equipment 103 sends the first instruction to mobile terminal 101, and mobile terminal 101 receives After first instructs and responded, the touch-responsive function of touch screen 1011 is closed;But it is unstable due to communication link Property, during the test, the communication link between mobile terminal 101 and control equipment 103 is it is possible that interrupt situation;When logical When believing link down, at this time controls equipment 103 and just send instruction without normal direction mobile terminal 101, mobile terminal 101 needs basis Third received by itself instructs corresponding predetermined registration operation to restore the touch-responsive function of touch screen 1011;Assuming that third refers to Enabling corresponding predetermined registration operation is " continuous 3 times press " volume+" key ", that is, tester is directed to mobile terminal 101 continuous 3 times " volume+" key is pressed, mobile terminal 101 can respond the corresponding third instruction of the predetermined registration operation, the at this time touching of touch screen 1011 Touching response function will be resumed;If the communication link between mobile terminal 101 and control equipment 103 does not interrupt, when When test is completed, control equipment 103 can send the second instruction to mobile terminal 101, and mobile terminal 101 receives the second instruction simultaneously After being responded, the touch-responsive function of touch screen 1011 will be turned on;So that the touch screen 1011 of mobile terminal 101 External any touch operation is not responding in entire test process, but the touch of touch screen 1011 is rung after testing is complete Answer functional rehabilitation normal, tester can be with normal operating mobile terminal 101.
S413:The corresponding test result of test described in acquisition for mobile terminal;
S414:The test result is sent to control equipment by mobile terminal.
For example, by taking mobile terminal test application scenarios shown in FIG. 1 as an example, in conjunction with examples detailed above, work as mobile terminal After 101 test is completed, is checked in order to facilitate tester and analyze the corresponding test result of the test, when mobile terminal 101 After getting test result, which can be sent to control equipment 103 by mobile terminal 101, so that tester can To be checked and be analyzed for the test result in control equipment 103, so as to the abnormality test situation to mobile terminal 101 It is handled in time.
Through the foregoing embodiment, the specific implementation of previous embodiment is elaborated, there it can be seen that passing through The technical solution of above-described embodiment can make the touch screen of mobile terminal be not responding to external any touch during the test Operation, effectively prevents the generation of mistaken touch, and then avoids in test process due to accidentally surveying phenomenon caused by mistaken touch.
Example IV
Based on the identical inventive concept of previous embodiment, referring to Fig. 5, it illustrates a kind of quilts provided by the embodiments of the present application The composition of terminal 50 is surveyed, the measured terminal 50 may include:First, which closes part 501 and first, opens part 502;Wherein,
Described first closes part 501, is configured to when the test starting of the measured terminal, and execution is sent out by control equipment The first instruction sent;Wherein, first instruction is used to indicate the touch-responsive function of closing the touch screen;
Described first opens part 502, is configured to execute and set by the control when the test of the measured terminal is completed The second instruction that preparation is sent;Wherein, second instruction is used to indicate the touch-responsive function of opening the touch screen.
In the above scheme, referring to Fig. 6, the measured terminal 50 further includes first establishing part 503, is configured to:
When detecting has communication link between the control equipment, receives the test that the control equipment is sent and ask It asks;
The test link between the control equipment is established based on the test request.
In the above scheme, referring to Fig. 7, the measured terminal 50 further includes the first breaking part 504, is configured to:
When detecting the interrupted communication link between the control equipment, the survey between the control equipment is disconnected Try link;
It receives third and instructs corresponding predetermined registration operation, and execute the corresponding third instruction of the predetermined registration operation;Wherein, described Third instruction is used to indicate the touch-responsive function of restoring the touch screen.
In the above scheme, referring to Fig. 8, the measured terminal 50 further includes transmitting portion 505, is configured to:
Obtain the test result of the measured terminal;
The test result is sent to the control equipment.
It is to be appreciated that in the present embodiment, " part " can be partial circuit, segment processor, subprogram or soft Part etc., naturally it is also possible to be unit, can also be that module is also possible to non-modularization.
In addition, each component part in the present embodiment can integrate in one processing unit, it is also possible to each list Member physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can be with Using formal implementation of hardware, can also be realized in the form of software function module.
If the integrated unit realizes that being not intended as independent product is sold in the form of software function module Or in use, can store in a computer readable storage medium, based on this understanding, the technical side of the present embodiment Substantially all or part of the part that contributes to existing technology or the technical solution can be produced case in other words with software The form of product embodies, which is stored in a storage medium, including some instructions are used so that one Platform computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute sheet The all or part of the steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
Therefore, a kind of computer storage medium is present embodiments provided, which is stored with control program, The step of control program realizes the method for control described in above-described embodiment one when being executed by least one processor.
Based on the composition and computer storage medium of above-mentioned measured terminal 50, referring to Fig. 9, it illustrates the application implementations Example provide measured terminal 50 specific hardware structure, may include:First network interface 901, first memory 902 and first Processor 903;Various components are coupled by the first bus system 904.It is understood that the first bus system 904 is for real Connection communication between these existing components.First bus system 904 further includes power bus, control in addition to including data/address bus Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as the first bus system in Fig. 9 904.Wherein,
First network interface 901, during for being received and sent messages between control equipment, the reception of signal and hair It send;
First memory 902, for storing the computer program that can be run on first processor 903;
First processor 903, for executing when running the computer program:
When the test starting of the measured terminal, the first instruction sent by control equipment is executed;Wherein, described first Instruction is used to indicate the touch-responsive function of closing the touch screen;
When the test of the measured terminal is completed, the second instruction sent by the control equipment is executed;Wherein, described Second instruction is used to indicate the touch-responsive function of opening the touch screen.
It is appreciated that the first memory 902 in the embodiment of the present application can be volatile memory or non-volatile deposit Reservoir, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The first memory 902 of system and method described herein is intended to include but is not limited to The memory of these and any other suitable type.
And first processor 903 may be a kind of IC chip, the processing capacity with signal.In the process of realization In, each step of the above method can pass through the integrated logic circuit of the hardware in first processor 903 or software form Instruction is completed.Above-mentioned first processor 903 can be general processor, digital signal processor (Digital Signal Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing At programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.May be implemented or execute each method disclosed in the embodiment of the present application, Step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processor Deng.Hardware decoding processor can be embodied directly in the step of method in conjunction with disclosed in the embodiment of the present application and executes completion, or With in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, flash memory, only Memory is read, the storage of this fields such as programmable read only memory or electrically erasable programmable memory, register maturation is situated between In matter.The storage medium is located at first memory 902, and first processor 903 reads the information in first memory 902, in conjunction with Its hardware completes the step of method described in above-described embodiment one.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, as another embodiment, first processor 903 is additionally configured to when running the computer program, The step of executing method described in above-described embodiment one.
Referring to Figure 10, it illustrates a kind of compositions for controlling equipment 100 provided by the embodiments of the present application, may include:The Two, which close part 1001 and second, opens part 1002;Wherein,
Described second closes part 1001, is configured to when the test starting of measured terminal, sends to the measured terminal First instruction;Wherein, first instruction is used to indicate the touch-responsive function for the touch screen for closing the measured terminal;
Described second opens part 1002, is configured to when the test of the measured terminal is completed, to the measured terminal Send the second instruction;Wherein, second instruction is used to indicate the touch-responsive function for the touch screen for opening the measured terminal.
In the above scheme, referring to Figure 11, the control equipment 100 further includes second establishing part 1003, is configured to:
When detecting has communication link between the measured terminal, test request is sent to the measured terminal;
The test link between the measured terminal is established based on the test request.
In the above scheme, referring to Figure 12, the control equipment 100 further includes the second breaking part 1004, is configured to:
When detecting the interrupted communication link between the measured terminal, the survey between the measured terminal is disconnected Try link.
In the above scheme, referring to Figure 13, the control equipment 100 further includes receiving portion 1005, is configured to:
Receive the test result that the measured terminal is sent.
A kind of computer storage medium is present embodiments provided, which is stored with control program, described The step of control program realizes method described in above-described embodiment two when being executed by least one processor.
Based on the composition and computer storage medium of above-mentioned control equipment 100, referring to Figure 14, it illustrates the application realities Apply example offer control equipment 100 specific hardware structure, may include:Second network interface 1401, second memory 1402 With second processor 1403;Various components are coupled by the second bus system 1404.It is understood that the second bus system 1404 for realizing the connection communication between these components.Second bus system 1404 except include data/address bus in addition to, further include Power bus, control bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as in Figure 14 Second bus system 1404.Wherein,
Second network interface 1401, during for being received and sent messages between measured terminal, the reception of signal and It sends;
Second memory 1402, for storing the computer program that can be run in second processor 1403;
Second processor 1403, for executing when running the computer program:
When the test starting of measured terminal, the first instruction is sent to the measured terminal;Wherein, first instruction is used The touch-responsive function of the touch screen of the measured terminal is closed in instruction;
When the test of the measured terminal is completed, the second instruction is sent to the measured terminal;Wherein, described second refers to Enable the touch-responsive function of being used to indicate the touch screen for opening the measured terminal.
It should be noted that the composed structure of second memory 1402, second processor 1403 in the embodiment of the present application Similar with aforementioned first memory 902, the composed structure of first processor 903 and function with function, which is not described herein again.
Optionally, as another embodiment, second processor 1403 is additionally configured to when running the computer program, The step of executing method described in above-described embodiment two.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (11)

1. a kind of control method, which is characterized in that the method is applied to the measured terminal with touch screen, the method packet It includes:
When the test starting of the measured terminal, the first instruction sent by control equipment is executed;Wherein, first instruction It is used to indicate the touch-responsive function of closing the touch screen;
When the test of the measured terminal is completed, the second instruction sent by the control equipment is executed;Wherein, described second Instruction is used to indicate the touch-responsive function of opening the touch screen.
2. control method according to claim 1, which is characterized in that before the test starting of the measured terminal, institute The method of stating further includes:
When detecting has communication link between the control equipment, the test request that the control equipment is sent is received;
The test link between the control equipment is established based on the test request.
3. control method according to claim 1, which is characterized in that before the test of the measured terminal is completed, institute The method of stating further includes:
When detecting the interrupted communication link between the control equipment, the test chain between the control equipment is disconnected Road;
It receives third and instructs corresponding predetermined registration operation, and execute the corresponding third instruction of the predetermined registration operation;Wherein, the third Instruction is used to indicate the touch-responsive function of restoring the touch screen.
4. control method according to claim 1, which is characterized in that after the test of the measured terminal is completed, institute The method of stating further includes:
Obtain the test result of the measured terminal;
The test result is sent to the control equipment.
5. a kind of control method, which is characterized in that the method is applied to control equipment, the method includes:
When the test starting of measured terminal, the first instruction is sent to the measured terminal;Wherein, first instruction is for referring to Show the touch-responsive function of closing the touch screen of the measured terminal;
When the test of the measured terminal is completed, the second instruction is sent to the measured terminal;Wherein, second instruction is used The touch-responsive function of the touch screen of the measured terminal is opened in instruction.
6. control method according to claim 5, which is characterized in that before the test starting of the measured terminal, institute The method of stating further includes:
When detecting has communication link between the measured terminal, test request is sent to the measured terminal;
The test link between the measured terminal is established based on the test request.
7. control method according to claim 5, which is characterized in that before the test of the measured terminal is completed, institute The method of stating further includes:
When detecting the interrupted communication link between the measured terminal, the test chain between the measured terminal is disconnected Road.
8. control method according to claim 5, which is characterized in that after the test of the measured terminal is completed, institute The method of stating further includes:
Receive the test result that the measured terminal is sent.
9. a kind of measured terminal, which is characterized in that the measured terminal includes:First network interface, first memory and first Processor;Wherein,
The first network interface, during for being received and sent messages between control equipment, signal is sended and received;
The first memory, for storing the computer program that can be run on the processor;
The first processor, for when running the computer program, perform claim to require any one of 1 to 4 control Method the step of.
10. a kind of control equipment, which is characterized in that the control equipment includes:Second network interface, second memory and second Processor;Wherein,
Second network interface, during for being received and sent messages between measured terminal, signal is sended and received;
The second memory, for storing the computer program that can be run on the processor;
The second processor, for when running the computer program, perform claim to require any one of 5 to 8 controls Method the step of.
11. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with control program, the control The side of any one of any one of Claims 1-4 or 5 to 8 control is realized when processing procedure sequence is executed by least one processor The step of method.
CN201810597810.8A 2018-06-11 2018-06-11 A kind of control method, device and computer storage medium Pending CN108920205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810597810.8A CN108920205A (en) 2018-06-11 2018-06-11 A kind of control method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810597810.8A CN108920205A (en) 2018-06-11 2018-06-11 A kind of control method, device and computer storage medium

Publications (1)

Publication Number Publication Date
CN108920205A true CN108920205A (en) 2018-11-30

Family

ID=64418850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810597810.8A Pending CN108920205A (en) 2018-06-11 2018-06-11 A kind of control method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN108920205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214392A (en) * 2019-07-10 2021-01-12 腾讯科技(深圳)有限公司 JS code debugging method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard
CN104731505A (en) * 2015-03-31 2015-06-24 上海盈方微电子有限公司 Method for controlling touch screen operation response of terminal
CN107329865A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Open debugging bridge adb functional methods, mobile terminal and computer-readable medium
CN107506086A (en) * 2017-09-08 2017-12-22 广东欧珀移动通信有限公司 Touch-screen control method, device, mobile terminal and storage medium
CN108039141A (en) * 2017-12-29 2018-05-15 广东欧珀移动通信有限公司 The test fixture of electronic device display screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607492A (en) * 2013-08-26 2014-02-26 上海斐讯数据通信技术有限公司 Test system and test method for functions of mobile phone mainboard
CN104731505A (en) * 2015-03-31 2015-06-24 上海盈方微电子有限公司 Method for controlling touch screen operation response of terminal
CN107329865A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Open debugging bridge adb functional methods, mobile terminal and computer-readable medium
CN107506086A (en) * 2017-09-08 2017-12-22 广东欧珀移动通信有限公司 Touch-screen control method, device, mobile terminal and storage medium
CN108039141A (en) * 2017-12-29 2018-05-15 广东欧珀移动通信有限公司 The test fixture of electronic device display screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张志,陈小艳,王鹏: "《高职高专国家示范性学校"十三五"规划教材 Android移动应用测试实战》", 30 September 2017, 西安电子科技大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214392A (en) * 2019-07-10 2021-01-12 腾讯科技(深圳)有限公司 JS code debugging method, device, terminal and storage medium
CN112214392B (en) * 2019-07-10 2024-01-30 腾讯科技(深圳)有限公司 JS code debugging method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
WO2020253225A1 (en) Enterprise authentication and authentication tracing methods, apparatuses and devices based on block chain
JP4616308B2 (en) Method and apparatus for data protection of mobile devices
CN104571693B (en) Information processing method and electronic equipment
CN106357866B (en) A kind of book management method and mobile intelligent terminal
CN110493812B (en) Distribution network test processing method, device and system, processor and master control equipment
CN107783898A (en) The method of testing and test equipment of Mobile solution
CN106372470B (en) A kind of method and mobile terminal for reminding input password
CN106714206A (en) Method and device for detecting network connection by wireless network access point
CN105930076B (en) The display methods of mobile communication terminal and its hiding selected object
CN108228444A (en) A kind of test method and device
US20150039988A1 (en) Form processing
CN108737638A (en) Application control method, apparatus, mobile terminal and computer-readable medium
CN110351672A (en) Information-pushing method, device and electronic equipment
CN107025024B (en) A kind of method preventing mobile terminal maloperation and mobile terminal
CN109769243A (en) SIM card register method, device, computer equipment and storage medium
CN107656870A (en) Using adjustment method and device
CN108920205A (en) A kind of control method, device and computer storage medium
CN106201865A (en) A kind of application programming interface API method of testing, device and terminal unit
CN108388513B (en) Automatic testing method and device
CN111414309B (en) Automatic test method of application program, computer equipment and storage medium
CN105335088A (en) File sharing method and device
CN107783867A (en) Gesture method of testing, device, computer equipment and storage medium
CN106529257B (en) A kind of information processing method and mobile terminal
CN111343294A (en) Network environment switching method, device, equipment and computer readable storage medium
CN106385493A (en) Gravity sensor registration method and device, and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130