CN115219252A - Test system, test method, terminal and storage medium - Google Patents

Test system, test method, terminal and storage medium Download PDF

Info

Publication number
CN115219252A
CN115219252A CN202110424270.5A CN202110424270A CN115219252A CN 115219252 A CN115219252 A CN 115219252A CN 202110424270 A CN202110424270 A CN 202110424270A CN 115219252 A CN115219252 A CN 115219252A
Authority
CN
China
Prior art keywords
folding
terminal
controller
interface
test
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
CN202110424270.5A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110424270.5A priority Critical patent/CN115219252A/en
Publication of CN115219252A publication Critical patent/CN115219252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/005Testing of complete machines, e.g. washing-machines or mobile phones
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The disclosure relates to a test system, a test method, a terminal and a storage medium. The test system includes: the device comprises a main control device, a controller, a driver and a folding assembly; the main control equipment can generate operation information according to the input operation of the interactive interface of the test software and send the operation information to the controller through the control interface; the controller can generate an operation instruction which can be recognized by the driver according to the operation information; the driver can generate a driving signal corresponding to the operation instruction according to the received operation instruction; the folding assembly can fold the terminal fixed on the folding assembly according to the received driving signal, so that the terminal to be tested is in a corresponding folding state, the testing system can test the terminal in different folding states, in the whole process, only the related testing requirements are input at the interactive interface, and the testing system can automatically complete the testing in the specific folding state, so that a large amount of human resources can be saved, and the automation is realized.

Description

Test system, test method, terminal and storage medium
Technical Field
The present disclosure relates to the field of automation technologies, and in particular, to a test system, a test method terminal, and a storage medium.
Background
With the development of display technology, the types of display screens of terminal devices become more and more, and increasingly thinner and larger display screens are continuously generated. However, the display screen is too large, so that the display screen is inconvenient to carry, and the use effect is influenced when the display screen is too small. However, the terminal device with the foldable display screen is still immature in technology, and is prone to performance instability, and a large number of tests need to be performed on the terminal device, especially tests under different folding states.
Disclosure of Invention
The present disclosure provides a test system, a test method terminal and a storage medium.
In a first aspect of the embodiments of the present disclosure, a test system is provided, including:
the device comprises a main control device, a controller, a driver and a folding assembly;
the master control device includes: a control interface; the main control equipment is used for generating operation information according to the input operation of the interactive interface of the test software and sending the operation information to the controller through the control interface;
the controller is connected with the main control equipment and used for generating an operation instruction which can be identified by the driver according to the operation information;
the driver is electrically connected with the controller and used for generating a driving signal corresponding to the operation instruction according to the received operation instruction;
the folding assembly is connected with the driver and used for folding the terminal fixed on the folding assembly according to the received driving signal, wherein the test system is used for testing the terminal in different folding states.
In some embodiments, the control interface comprises:
the driving interface is used for being connected with the controller;
and the secondary packaging interface is connected with the driving interface and used for calling the driving interface by the test software running in the main control equipment and sending the operation information to the controller.
In some embodiments, the operation information includes at least one of the following information:
a port number of the controller;
folding parameters; wherein the folding parameters include at least one of: the number of folds, the angle of the folds and the time interval between two adjacent folds.
In some embodiments, the folding assembly comprises: a motor and a clamp connected with the motor, wherein,
the clamp is used for clamping a folding screen of the terminal;
the motor is used for driving the clamp to fold the folding screen of the terminal.
In some embodiments, the clamp comprises: the foldable screen comprises a first clamp and a second clamp which is rotationally connected with the first clamp, wherein the first clamp is used for fixing a first screen area of the foldable screen, and the second clamp is used for fixing a second screen area of the foldable screen;
the motor is used for driving the second clamp to rotate relative to the first clamp so as to drive the second screen area to rotate relative to the first screen area.
In some embodiments of the present invention, the,
the motor is a stepping motor;
wherein the operating phase of the stepper motor comprises:
a starting stage, namely accelerating the rotating speed of the stepping motor to a preset rotating speed;
a constant speed stage, namely maintaining the preset rotating speed of the stepping motor;
and a termination stage, namely, a stage of reducing the rotating speed of the stepping motor from the preset rotating speed.
In some embodiments of the present invention, the,
the driving signal of the stepping motor is a pulse signal;
the driver is used for outputting a first pulse signal with a first frequency at the constant speed stage;
outputting a second pulse signal obtained after adding a delay value with a first step length decreasing before each pulse of the first pulse signal is output at the starting stage;
adding a delay value with a second step length increasing gradually before each pulse of the first pulse signal is output at the termination stage to obtain a third pulse signal;
and the signal frequency of the third pulse signal and the signal frequency of the second pulse signal are both lower than the signal frequency of the first pulse signal.
In some embodiments of the present invention, the,
a plurality of controllers are simultaneously connected with one main control device;
the main control device is further configured to instruct, through the control interface, the plurality of controllers to simultaneously generate operation instructions for executing different operation information.
In some embodiments, one said controller is connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
In some embodiments, the operating instructions are used to control the direction of rotation of a motor in the folding assembly and/or the rate of rotation of the motor.
In a second aspect of the embodiments of the present disclosure, a testing method is provided, including:
detecting input operation on an interactive interface of the test software;
generating operation information according to the input operation;
based on the operation information, sending the operation information to the controller through a control interface; wherein the operation information is used for the controller to generate an operation instruction which can be recognized by the driver; the operation instruction is used for the driver to generate a driving signal for controlling a folding component of the folding terminal.
In some embodiments of the present invention, the,
the control interface includes: a secondary packaging interface and a driving interface;
the sending the operation information to the controller through a control interface based on the operation information includes:
and calling the driving interface through the secondary packaging interface based on the operation information, and sending the operation information to the controller.
In some embodiments, the operation information includes at least one of the following information:
generating a port number of a controller of the operation instruction, an identification ID of the folded terminal and a folding parameter; wherein the folding parameters include at least one of: the number of folds, the angle of the folds and the time interval between two adjacent folds.
In some embodiments, said sending said operational information to said controller via a control interface comprises:
sending different operation information to the controllers through the control interface, and instructing the controllers to respectively generate operation instructions for executing the different operation information; and the plurality of controllers are simultaneously connected with one main control device.
In some embodiments, the operating instructions for the driver to generate a drive signal to control a folding assembly of a folding terminal include:
an operation instruction of the controller, for simultaneously generating driving signals for controlling the folding components of the folding terminal by a plurality of drivers connected with the controller; wherein,
one said controller connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
In some embodiments, the operation instruction is for
Controlling a direction of rotation of a motor in the folding assembly and/or a rate of rotation of the motor.
In a third aspect of the embodiments of the present disclosure, a terminal is provided, including: a main control device and a memory for storing a computer program capable of running on the main control device, wherein the main control device is configured to execute the steps of the method according to the second aspect when running the computer program.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, where the computer program is executed by a master control device to implement the steps of the method in the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the test system provided by the embodiment of the disclosure comprises a main control device, a controller, a driver and a folding assembly; a master device, comprising: a control interface; the main control equipment can generate operation information according to the input operation of the interactive interface of the test software and send the operation information to the controller through the control interface; the controller is connected with the main control equipment and can generate an operation instruction which can be identified by the driver according to the operation information; the driver is electrically connected with the controller and can generate a driving signal corresponding to the operation instruction according to the received operation instruction; the folding assembly is connected with the driver, and can fold the terminal fixed on the folding assembly according to the received driving signal, so that the tested terminal is in a corresponding folding state, and the testing system can test the terminal in different folding states. When operation information is used for instructing to test the terminal in this application, the terminal needs the concrete fold state that satisfies. The operation information related to the folding state meeting the test requirement of the terminal is sent to the controller through the control interface, and the controller generates a specific operation instruction to indicate the folding assembly to perform related folding operation on the terminal, so that the terminal is in the folding state meeting the test requirement. In the whole process, only the input operation related to the test needs to be carried out on the interactive interface, and the test system can automatically complete the test under a specific folding state, so that a large amount of human resources can be saved, and the automation is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a first diagram illustrating a test system architecture according to an exemplary embodiment.
Fig. 2 is a second schematic diagram of a test system according to an exemplary embodiment.
FIG. 3 is a test diagram illustrating a test system according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating a testing method according to an example embodiment.
Fig. 5 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
With the development of display technology, the types of display screens of terminal devices become more and more, and increasingly thinner and larger display screens are continuously generated. However, the display screen is too large, which is very easy to cause inconvenience in carrying, and the use effect is affected by too small, and the foldable display screen appears in the market in the face of the problems. However, the terminal device with the foldable display screen is not mature in technology, and unstable performance is easy to occur, so that a large number of tests are required to be performed on the terminal device, especially tests under different folding states.
To this end, the present disclosure provides a test system. FIG. 1 is a first diagram illustrating a test system architecture according to an exemplary embodiment. As shown in fig. 1, the test system includes: the device comprises a main control device, a controller, a driver and a folding assembly;
the master control device includes: a control interface; the main control equipment is used for generating operation information according to the input operation of the interactive interface of the test software and sending the operation information to the controller through the control interface;
the controller is connected with the main control equipment and used for generating an operation instruction which can be identified by the driver according to the operation information;
the driver is electrically connected with the controller and used for generating a driving signal corresponding to the operation instruction according to the received operation instruction;
the folding assembly is connected with the driver and used for folding the terminal fixed on the folding assembly according to the received driving signal, wherein the test system is used for testing the terminal in different folding states.
In the embodiment of the present disclosure, the master control device may be a computer with test software installed. The computer end has an interactive interface which can be operated. The staff can input the control information related to the folding operation of the control terminal on the interactive interface. For example, it is necessary to determine which terminal is to be subjected to a folding operation, determine which controller is to control which operation is performed, and control which folding operation the terminal is to be specifically subjected to, what folding state the terminal is finally in, and the like.
The main control equipment can generate specific operation information according to the input operation of the interactive interface. The input operation may be a test instruction for starting or stopping the test, or may be specific test content for which terminal is specifically set, for example, inputting a stability test on the terminal a for the number of folding times B. The specific input parameters may include test targets: terminal a, folding parameters: folding times B, test contents: stability testing, and the like. The operation information may be used to indicate folding information indicating a specific situation of the folded terminal when the terminal is tested. According to the input operation, the generated operation information at least comprises: the identifier ID of the terminal a indicates folding information such as the number of times of folding B. Wherein the folding information is usable to determine at least one of: number of folds, angle and/or direction of folds, time interval between two adjacent folds, etc. In the embodiment of the disclosure, the operation information may be automatically generated into corresponding operation information based on the input parameters in combination with the test configuration file in the input operation of the interactive interface. The test configuration file at least comprises equipment identification IDs corresponding to all the terminals.
In the embodiment of the present disclosure, the control interface may be various program interfaces, and the control interface at least can be used for communication between the main control device and the controller, and drives the controller to control the driver to complete the folding operation of the folding assembly on the terminal.
In the embodiment of the disclosure, the controller may be a control device such as a single chip microcomputer which can control the driver to issue the driving signal. The operation instruction generated by the controller may be a hexadecimal control instruction, which is specifically embodied as hexadecimal issued data. And the driver drives the folding assembly to complete the folding operation of the terminal equipment according to the received operation instruction.
In the embodiment of the disclosure, the driving signal output by the driver to the folding assembly may be a high-low level signal, which is directly output to the folding assembly to control the folding operation of the folding assembly to the terminal. For example, the folding assembly may include a motor, and the motor is controlled to rotate by a high-low level signal, so as to drive an included angle connected with the motor to complete the folding operation of the terminal.
In the embodiment of the disclosure, the terminal can be fixed on the folding assembly, and the folding screen of the terminal can be folded. When the terminal is in a folded state (namely, the folded state determined by the input operation of the interactive interface) meeting the test requirements on the folding assembly, the test system performs performance test on the terminal to acquire performance data of the terminal in the current folded state.
The operation information in the test system provided by the embodiment of the disclosure is used for indicating the specific folding state that the terminal needs to meet when the terminal is tested. The operation information related to the folding state meeting the testing requirements of the terminal is sent to the controller through the control interface, and the controller generates a specific operation instruction to indicate the folding assembly to perform related folding operation on the terminal, so that the terminal is in the folding state meeting the testing requirements. In the whole process, only relevant test requirements are input on the interactive interface, and the test system can automatically complete the test under a specific folding state, so that a large amount of human resources can be saved, and automation is realized.
In some embodiments, the control interface comprises:
the driving interface is used for being connected with the controller;
and the secondary packaging interface is connected with the driving interface and used for calling the driving interface by the test software running in the main control equipment and sending the operation information to the controller.
In the embodiment of the present disclosure, the control interface may be composed of two parts, including a driving interface connected with the controller for driving the controller, and a secondary packaging interface capable of communicating with the driving interface.
In some embodiments, the secondary packaging interface may include one or more application program interfaces, and different secondary packaging interfaces may call the controller to send operation information to a driver of the folding component through the same driving interface between the main control device and the controller.
In the embodiment of the disclosure, the secondary sealing interface may be packaged with operation logic such as a specific operation mode or a step for specifically controlling the controller. For example, the port number of the single chip microcomputer is obtained, the connection state of the single chip microcomputer is determined, whether the connection is successful or not is determined, the port is closed after the test is finished, and the like. The main control device directly calls the packaged operation logics to directly establish connection with a controller to be controlled through a driving interface, and the driving controller completes operation instruction generation.
For example, when the operation information is to implement the number of times of folding the terminal, an operation logic for loading a port number of a controller corresponding to the terminal, an operation logic for establishing connection with the controller, an operation logic for shutting down a port of the controller after the number of times of folding is completed, and the like, and an operation logic for acquiring operation data in an operation process, and the like, may be encapsulated in the secondary encapsulation port. The main control equipment can execute relevant operation logic by directly calling the secondary packaging interface to finish the operation.
In the embodiment of the disclosure, the driving interface is an interface for directly driving the controller to perform data processing, the controller can analyze the received operation information under the driving of the driving interface, generate an operation instruction, and issue the operation instruction to the connected driver, so as to control the driver to complete the control operation on the folding assembly. For example, when the controller is a single chip microcomputer, the driving interface can drive the controller to issue an operation instruction to the driver through the I/O pin.
In the embodiment of the disclosure, the secondary packaging interface may communicate with the driving interface, the main control device establishes communication with the controller through the secondary packaging interface and the driving interface, and sends the operation information to the controller for the controller to analyze, and generates an operation instruction for completing the terminal folding state indicated by the operation information. The operation instruction may be a hexadecimal control instruction, and is specifically embodied as hexadecimal issued data.
In the embodiment of the disclosure, the communication between the main control device and the controller is realized through the communication connection between the secondary packaging interface and the driving interface, so that the main control device can conveniently send the operation information to the controller which needs to perform control operation. Meanwhile, after the operation information is generated, the secondary packaging interface can be directly called to complete subsequent logic operation according to the folding operation required to be completed by the operation information due to the existence of the secondary packaging interface, and the driving interface is called to send the operation information. Meanwhile, when other systems need to control the controller to control the folding assembly, the secondary packaging interface can be directly called to execute relevant logic operation, and therefore the testing efficiency of the whole system can be improved.
In some embodiments, the operation information includes at least one of the following information:
a port number of the controller;
folding parameters; wherein the folding parameters include at least one of: the number of folds, the angle of the folds, and the time interval between two adjacent folds.
In this embodiment of the present disclosure, when testing the terminal as an instruction, the operation information of the specific folding state that the terminal needs to satisfy at least includes: port number of the controller; determining folding parameters of the terminal folding state, and the like. The port number of the controller included in the operation information at least includes the port number of the controller to be generated with the operation instruction, so that the main control device can establish a connection with the controller according to the port number of the controller in the operation information, and further instruct the controller to generate the operation instruction.
In the embodiment of the present disclosure, the folding times in the folding parameters refer to times of a folding process from closing to unfolding of a folding screen of the terminal device. That is, the folding times are one time when the folding is performed once from the closing to the unfolding, and the folding times are two times when the folding is performed again. The folding angle is the angle of a folding included angle between a first screen area and a second screen area in the folding screen. Fully closed is 0 degrees and fully open is 180 degrees. The interval time between two adjacent folds is the time between the completion of the first fold and the completion of the second fold. A fold completion may be understood as a completion of a test task. The first fold is completed based on the first test task. And after the first test task is finished, performing a second test task and performing second folding.
In the embodiment of the present disclosure, when the folding terminal is specifically folded by the folding assembly, the folding terminal is mounted on the folding assembly. Each of the folder terminals has a corresponding identification ID. When the controller is needed to control which folding terminal is to be folded, the identification ID corresponding to the folding terminal can be written in the operation information. The controller can determine the driver which needs to send the operation instruction according to the identification ID of the folded terminal, and determine the folding state of the folded terminal through the folding parameters, thereby generating the specific operation instruction which is identified by the driver. The driver controls the folding component to complete the folding operation according to the operation instruction. For example, when the controller is a single chip microcomputer, the driver controls the motor of the folding assembly, and at this time, the folding parameter is a folding angle (for example, an angle between folding screens of the folding terminal is 30 degrees), the controller generates an operation instruction on how to specifically implement the folding angle being 30 degrees, for example, the motor is controlled to turn left by N steps, so that the folding angle of the folding screen driven by the folding assembly is 30 degrees. The driver controls the motor to perform a left-turn N steps to make the folding angle of the folding screen 30 degrees.
In the embodiment of the disclosure, the folding state required by the terminal to complete the test can be directly determined through the operation information, so that the subsequent folding operation on the terminal is facilitated, and the test requirement is met.
In some embodiments, the folding assembly comprises: a motor and a clamp connected with the motor, wherein,
the clamp is used for clamping a folding screen of the terminal;
the motor is used for driving the clamp to fold the folding screen of the terminal.
In the embodiment of the present disclosure, the folding assembly for folding the terminal device may include a motor and a clamp rotationally connected to the motor. The clamp is used for clamping a folded screen of the terminal. When the motor rotates, the clamp can be driven to rotate, and therefore the screen fixed on the clamp is driven to be folded. The specific folding angle and number of folds can be controlled based on rotational control of the motor. Meanwhile, the rotation angle of the motor can be directly and accurately controlled through the driver, and compared with manual bending, the terminal device is beneficial to saving manpower resources and realizing accurate control on folding of the terminal device.
In some embodiments, the clamp comprises: the foldable screen comprises a first clamp and a second clamp which is rotationally connected with the first clamp, wherein the first clamp is used for fixing a first screen area of the foldable screen, and the second clamp is used for fixing a second screen area of the foldable screen;
the motor is used for driving the second clamp to rotate relative to the first clamp so as to drive the second screen area to rotate relative to the first screen area.
In the embodiment of the disclosure, the clamp specifically used for folding the terminal screen may include a first clamp and a second clamp, and the first clamp may rotate relative to the second clamp. When the foldable screen is applied, the first clamp fixes a first screen area of the foldable screen, and the second clamp fixes a second screen area of the foldable screen. The first clamp can be fixed on the platform, the motor can drive the second clamp to rotate relative to the first clamp so as to bend the second screen region relative to the first screen region, the clamp is driven to rotate through the motor to realize screen bending, manpower resource saving is facilitated, and accurate control over terminal equipment folding is facilitated.
In some embodiments of the present invention, the,
the motor is a stepping motor;
wherein the operating phase of the stepper motor comprises:
the initial stage, the rotational speed of the said stepping motor accelerates to the stage of the preset rotational speed;
a constant speed stage, namely maintaining the preset rotating speed of the stepping motor;
and a termination stage, namely, a stage of reducing the rotating speed of the stepping motor from the preset rotating speed.
In the disclosed embodiment, the motor in the folding assembly may be a stepper motor. The process of folding the terminal by driving the clamp by the motor can be divided into three stages, including an initial stage, a constant speed stage and a termination stage. The initial stage is the process that the motor starts to rotate from a static state to a constant speed state. The termination stage is the process that the motor is continuously decelerated from a constant speed state to stop rotating. In the uniform speed stage, the motor can rotate at a constant speed with a preset rotating speed. The specific speed of the preset rotating speed can be set according to specific needs, for example, if the motor is required to rotate faster, the preset rotating speed can be set to be larger. The motor rotation process is divided into different stages, so that the motor rotation control is facilitated. The reasonable planning of the three stages and the rotating speeds of the stages is beneficial to better finishing the folding operation of the terminal equipment and the protection of the folding screen. For example, rotating too fast may cause damage to the folded screen, etc.
In some embodiments of the present invention, the,
the driving signal of the stepping motor is a pulse signal;
the driver is used for outputting a first pulse signal with a first frequency at the constant speed stage;
outputting a second pulse signal obtained after adding a delay value with a first step length decreasing before each pulse of the first pulse signal is output at the starting stage;
adding a delay value with a second step length increasing gradually before each pulse of the first pulse signal is output at the termination stage to obtain a third pulse signal;
and the signal frequency of the third pulse signal and the signal frequency of the second pulse signal are both lower than the signal frequency of the first pulse signal.
In the embodiment of the disclosure, when the controller is a single chip microcomputer, when the single chip microcomputer is set to cyclically set a high level and a low level, a delay time is added between the high level and the low level to control the power-on frequency in a unit time, so as to ensure that the motor rotates at the maximum stepping speed in a uniform speed state while not losing steps. The delay time at the maximum stepping speed of the motor in the self-set constant speed state can be taken as Sy, and the delay time between circulating high and low level power-on signals can be counted as S. In the uniform speed stage, the pulse frequency of the first pulse signal formed by the delay time Sy is the first frequency. The driver outputs a first pulse signal of a first frequency to the motor.
In the initial stage, starting to a uniform speed process: setting the maximum delay time S1 corresponding to the minimum stepping speed (corresponding to the first step length) as initial pulse delay time, and setting a time reduction constant Sb (a delay value with the first step length decreasing), wherein the delay time S is initially S1 when starting, and S = S-Sb processing is carried out on the delay time after high and low level electrifying signals are given each time until S = Sy, and then uniform rotation is carried out by the delay of Sy.
In the termination stage, the process from uniform speed to stop is as follows: setting the maximum delay time S1 corresponding to the minimum stepping speed (corresponding to the second step length) as the delay time of the termination pulse, setting a time-adding constant Sb (a delay value with the second step length increasing), wherein when the delay time S is terminated, the delay time S is initially Sy, and after a high-low level power-on signal is given each time, processing S = S + Sb is carried out on the delay time until the light-sensitive potential signal changes, and the rotation is stopped.
Through reasonable time delay setting, the motor can be controlled to operate at a fixed acceleration or deceleration in the initial stage and the final stage, so that the control of the rotating speed of the motor is facilitated, and the time consumed from starting to constant speed and from constant speed to termination is reduced as much as possible.
In the embodiment disclosed by the disclosure, a pulse circuit and a delay circuit are built in the driver. The pulse circuit is used for outputting a pulse signal. The pulse circuit and the delay circuit are matched with each other and can be used for outputting pulse signals with delay characteristics so as to realize the generation of pulse signals of three frequencies. The pulse circuit and the delay circuit are matched to output pulse signals with different frequencies in a time-sharing mode, and compared with the mode that a plurality of pulse circuits are adopted to independently output pulse signals with different frequencies, the pulse frequency adjusting device has better flexibility in the aspect of adjusting the pulse frequency, only software is needed to adjust delay parameters, and meanwhile, the pulse frequency adjusting device is beneficial to reducing circuit modules in hardware and reducing power consumption of a driver.
In some embodiments, a plurality of said controllers are connected to one said master device at the same time;
the main control device is further configured to instruct, through the control interface, the plurality of controllers to simultaneously generate an operation instruction for executing different operation information.
In the embodiment of the disclosure, in the test system, the main control device may be connected to a plurality of controllers, and send the operation information to the plurality of controllers through the control interface. When the operation information is different, the controller can be simultaneously indicated to generate corresponding different operation instructions so as to control different folding assemblies to carry out different folding operations, thereby being beneficial to realizing the simultaneous execution of different test tasks of a plurality of terminals and being beneficial to the asynchronous management of a plurality of controllers.
In some embodiments, one said controller is connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
In the disclosed embodiment, one controller can be connected with a plurality of drivers simultaneously, and one driver drives one folding component to fold the terminal. Under one controller, the operation instructions can be issued to a plurality of drivers simultaneously, so that the unified test task can be performed on a plurality of terminals simultaneously. Meanwhile, in combination with a plurality of controllers, each controller controls a plurality of drivers, and each driver is connected with one folding assembly, so that integrated control of a large number of folding assemblies can be formed.
In some embodiments, the operating instructions are used to control the direction of rotation of a motor in the folding assembly and/or the rate of rotation of the motor.
In this embodiment, the operation instruction issued by the controller to the driver may be used to control the rotation direction of the motor and/or the rotation speed of the motor in the folding assembly, and the rotation time, so that the driver issues a driving signal to the folding assembly to implement the rotation direction, the rotation speed, and the rotation time under the control of the operation instruction, thereby completing the bending control of the terminal device.
FIG. 2 is a second block diagram of a test system according to an exemplary embodiment. As shown in fig. 2, the test system includes a hardware layer, a driver layer, a software layer, a service layer, and an interaction layer.
Hardware layer: the hardware layer is mainly the physical devices and physical links to which the system applies. The folding device is mainly formed by networking a folding component, a driver and a controller (singlechip). The terminal equipment (for example, a mobile phone) in the automatic folding terminal test system is automatically folded together with the driving layer.
A driving layer: the driving layer is mainly an interface (a driving interface and a secondary packaging interface) between upper layer testing software and the folding component and is mainly responsible for receiving the calling of the upper layer software to drive the folding component to automatically execute. And the terminal automatic folding in the folding terminal automatic testing system is ensured together with the hardware layer.
Software layer: the system mainly comprises a code layer for control and execution and a core automation logic of each test module of an automation test system layer. The system comprises an upper connection service layer and a lower connection drive layer, and mainly comprises the realization of the automatic test of a test scene of the service layer and the interface call of the drive layer. The automatic test system has the advantages of strong code logic and rich language types, and supports the automatic test of the integral automatic test system of the folding terminal. Including a stability test automation test app. The app can be automatically executed, does not depend on system software of a PC, and is randomly executed through a Monkey (Monkey is a command line tool in Android and can run in a simulator or actual equipment). And monitoring the stability problem in the background, and testing the terminal until the terminal is completed as long as the charging state is ensured.
The code logic depends on automatic testing system software, can simulate a user UI operation terminal to realize a specific user scene, and can detect screen black, screen shaking, screen flashing and other abnormalities in the testing process by screenshot and video recording, picture and video analysis to realize the automatic testing requirement of a service layer.
And (4) a service layer: the automatic testing system mainly comprises all modules of the automatic testing system of the folded terminal which is put into use at present, and is the core of the automatic testing system of the folded terminal. The method is the core support of the automatic test of the software layer, and is the test direction and the test power of the automatic test system of the folding terminal. The method mainly comprises the steps of testing the stability of the folding terminal, testing the functionality of the folding terminal and testing the folding service life of the folding terminal. Wherein:
the stability test is to detect whether the phenomena of orange screen, dead halt and restart exist in the test process through a random pressure test.
The folding service life test of the folding terminal is mainly used for testing whether a terminal screen is aged and damaged in the process of folding the terminal for tens of thousands of times;
the functional test of the folding terminal mainly comprises the steps of testing whether a UI is abnormal, whether the functions of a small screen and a main screen are effective or not when the main screen and the small screen are folded and switched, and whether the functions of the small screen and the main screen are different from those of the large screen and the small screen in the same scene or not, and whether the screen is shaken or blacked in the test process and the like.
And a UI layer: the UI layer is an upper interaction layer of the automatic test system of the folding terminal and is responsible for interaction with testers, wherein the UI layer comprises an operation page, data result processing and mail sending. The method is mainly an important interface for starting tests, distributing test resources and acquiring test data by testers.
The operation page refers to performing input operation on a page; and data result processing, namely acquiring test data, and judging whether the terminal equipment has functional problems or not through the data. And the mail sending refers to that the system sends the test result to other control ends in a mail mode for the testers to obtain.
FIG. 3 is a test diagram illustrating a test system according to an exemplary embodiment. As shown in fig. 3, the folding terminal automation test system applies the following processes:
and the secondary packaging interface and the driving interface are called through upper-layer control automatic test software, and the singlechip in the system is connected through the port number of the singlechip. Then, the device number of the terminal is obtained through the usb or the mobile network, and the test module (different test modules may correspond to different test services, such as a life test, a stability test, a functionality test, etc.), the port number, and the test terminal in the test software are matched. And setting automatic test parameters in the corresponding test module, and clicking to start testing. The automatic test system can automatically match corresponding codes or software according to the modules, if the automatic test software of the modules can independently run, namely, the corresponding terminals directly start the test, and the single chip microcomputer of the corresponding port automatically starts according to the set folding times and the set interval time; if the automatic test software of the module needs to control the folding assembly to be matched with the test in real time, the single chip microcomputer of the corresponding port can be directly controlled by the automatic test software of the module through the interface to do fixed action at the corresponding time. In the whole test system, the folding assembly under each single chip serves one test module, and each test module runs in one thread or process and runs simultaneously, but performs respective test asynchronously until the test is finished. The data processing generates reports and sends mail to inform the tester. Wherein, a singlechip can connect a plurality of drivers simultaneously, and folding subassembly is driven to a driver.
The embodiment of the disclosure also provides a test method. FIG. 4 is a flowchart illustrating a testing method according to an exemplary embodiment. As shown in fig. 4, the test method includes:
step 40, detecting input operation on an interactive interface of the test software;
step 41, generating operation information according to the input operation;
step 42, based on the operation information, sending the operation information to the controller through a control interface; wherein the operation information is used for the controller to generate an operation instruction which can be recognized by the driver; the operation instruction is used for the driver to generate a driving signal for controlling a folding component of the folding terminal.
In the embodiment of the present disclosure, the interactive interface may be on the master control device. The master device may be a computer. The staff can input the control information related to the folding operation of the control terminal on the interactive interface. For example, it is necessary to determine which terminal is to be subjected to a folding operation, determine which controller is to control execution of the relevant operation, and control which folding operation the terminal is to be specifically subjected to, what folding state the terminal is to be finally in, and the like.
The main control equipment can generate specific operation information according to the input operation of the interactive interface. The input operation may be a test instruction for starting or stopping the test, or may be specific test content for which terminal is specifically set, for example, inputting a stability test on the terminal a for the number of folding times B. The specific input parameters may include a test target: terminal a, folding parameters: folding times B, test contents: stability testing, and the like. The operation information may be used to indicate folding information indicating a specific situation of the folded terminal when the terminal is tested. According to the input operation, the generated operation information at least comprises the following components: the identifier ID of the terminal a indicates folding information such as the number of times of folding B. Wherein the folding information is usable to determine at least one of: number of folds, angle and/or direction of folds, time interval between two adjacent folds, etc. In the embodiment of the disclosure, the operation information may be automatically generated into corresponding operation information based on the input parameters in combination with the test configuration file in the input operation of the interactive interface. The test configuration file at least comprises equipment identification IDs corresponding to the terminals.
In the embodiment of the present disclosure, the control interface may be various program interfaces, and the control interface can be at least used for communication between the main control device and the controller, and drives the controller to control the driver to complete the folding operation of the folding assembly on the terminal.
In the embodiment of the present disclosure, the controller may be a control device such as a single chip microcomputer that can control the driver to issue the driving signal. The operation instruction generated by the controller may be a hexadecimal control instruction, which is specifically embodied as hexadecimal issued data. And the driver drives the folding assembly to complete the folding operation of the terminal equipment according to the received operation instruction.
In the embodiment of the disclosure, the driving signal output by the driver to the folding assembly may be a high-low level signal, which is directly output to the folding assembly to control the folding operation of the folding assembly to the terminal. For example, the folding assembly may include a motor, and the motor is controlled to rotate by a high-low level signal, so as to drive an included angle connected with the motor to complete the folding operation of the terminal.
In the embodiment of the disclosure, the terminal can be fixed on the folding assembly, and the folding screen of the terminal can be folded. When the terminal is in a folded state (namely, the folded state determined by the input operation of the interactive interface) meeting the test requirements on the folding assembly, the test system performs performance test on the terminal to acquire performance data of the terminal in the current folded state.
The operation information in the test system provided by the embodiment of the disclosure is used for indicating the specific folding state that the terminal needs to meet when the terminal is tested. The operation information related to the folding state meeting the test requirement of the terminal is sent to the controller through the control interface, and the controller generates a specific operation instruction to indicate the folding assembly to perform related folding operation on the terminal, so that the terminal is in the folding state meeting the test requirement. In the whole process, only relevant test requirements are input on the interactive interface, and the test system can automatically complete the test under a specific folding state, so that a large amount of human resources can be saved, and automation is realized.
In some embodiments of the present invention, the,
the control interface includes: a secondary packaging interface and a driving interface;
the sending the operation information to the controller through a control interface based on the operation information includes:
and calling the driving interface through the secondary packaging interface based on the operation information, and sending the operation information to the controller.
In the embodiment of the disclosure, the secondary sealing interface may be packaged with operation logic such as a specific operation mode or a step for specifically controlling the controller. For example, the port number of the single chip microcomputer is obtained, the connection state of the single chip microcomputer is determined, whether the connection is successful or not is determined, the port is closed after the test is finished, and the like. The main control equipment directly calls the packaged operation logics to directly establish connection with a controller needing to be controlled through a driving interface, and the driving controller completes operation instruction generation.
For example, when the operation information is to implement the number of times of folding the terminal, the secondary encapsulation interface may encapsulate, in the secondary encapsulation interface, an operation logic for loading a port number of a controller corresponding to the terminal, an operation logic for establishing a connection with the controller, an operation logic for turning off a port of the controller after the number of times of folding is completed, and the like, and an operation logic for acquiring operation data during an operation process. The main control device can execute relevant operation logic by directly calling the secondary packaging interface to complete the operation.
In the embodiment of the disclosure, the driving interface is an interface for directly driving the controller to perform data processing, the controller can analyze the received operation information under the driving of the driving interface, generate an operation instruction and issue the operation instruction to the connected driver, and the driver is controlled to complete the control operation on the folding assembly. For example, when the controller is a single chip microcomputer, the driving interface can drive the controller to issue an operation instruction to the driver through the I/O pin.
In the embodiment of the disclosure, the secondary packaging interface may communicate with the driving interface, the main control device establishes communication with the controller through the secondary packaging interface and the driving interface, and sends the operation information to the controller for the controller to analyze, and generates an operation instruction for completing the terminal folding state indicated by the operation information. The operation instruction may be a hexadecimal control instruction, and is specifically embodied as hexadecimal issued data.
In the embodiment of the present disclosure, the communication between the main control device and the controller is realized through the communication connection between the secondary packaging interface and the driving interface, so that the main control device is convenient to send the operation information to the controller which needs to perform control operation. Meanwhile, after the operation information is generated, the secondary packaging interface can be directly called to complete subsequent logic operation according to the folding operation required to be completed by the operation information due to the existence of the secondary packaging interface, and the driving interface is called to send the operation information. Meanwhile, when other systems need to control the controller to control the folding assembly, the secondary packaging interface can be directly called to execute relevant logic operation, and therefore the testing efficiency of the whole system can be improved.
In some embodiments, the operation information includes at least one of the following information:
generating a port number of a controller of the operation instruction, an identification ID of the folded terminal and a folding parameter; wherein the folding parameters include at least one of: the number of folds, the angle of the folds and the time interval between two adjacent folds.
In this embodiment of the present disclosure, when testing the terminal as an instruction, the operation information of the specific folding state that the terminal needs to satisfy at least includes: generating a port number of a controller of an operation instruction; an identification ID of the folded terminal; and determining folding parameters of the folded state of the terminal, and the like.
In this embodiment, the master control device may establish a connection with the controller according to the port number of the controller that generates the operation instruction in the operation information. The controller can determine the driver which needs to send the operation instruction according to the identification ID of the folded terminal, and determine the folding state of the folded terminal through the folding parameters, thereby generating the specific operation instruction which is identified by the driver. The driver controls the folding component to complete the folding operation according to the operation instruction. For example, when the controller is a single chip microcomputer, the driver controls the motor of the folding assembly, and at this time, the folding parameter is a folding angle (for example, an angle between folding screens of the folding terminal is 30 degrees), the controller generates an operation instruction on how to specifically implement the folding angle being 30 degrees, for example, the motor is controlled to turn left by N steps, so that the folding angle of the folding screen driven by the folding assembly is 30 degrees. The driver controls the motor to perform a left-turn N steps to make the folding angle of the folding screen 30 degrees.
In the embodiment of the disclosure, the folding state required by the terminal to complete the test can be directly determined through the operation information, so that the subsequent folding operation on the terminal is facilitated, and the test requirement is met.
In some embodiments, said sending said operational information to said controller via a control interface comprises:
sending different operation information to the plurality of controllers through the control interface, and instructing the controllers to respectively generate operation instructions for executing the different operation information; and the plurality of controllers are simultaneously connected with one main control device.
In the embodiment of the disclosure, in the test system, the main control device may be connected to a plurality of controllers, and send the operation information to the plurality of controllers through the control interface. When the operation information is different, the controllers can be respectively instructed to generate corresponding different operation instructions to control different folding assemblies to perform different folding operations, so that the simultaneous implementation of different test tasks on a plurality of terminals is facilitated, and the asynchronous management of the plurality of controllers is facilitated.
In some embodiments, the operating instructions for the driver to generate a drive signal to control a folding assembly of a folding terminal include:
an operation instruction of the controller, which is used for simultaneously generating driving signals for controlling the folding component of the folding terminal by a plurality of drivers connected with the controller; wherein,
one said controller connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
In the disclosed embodiment, one controller can be connected with a plurality of drivers simultaneously, and one driver drives one folding component to fold the terminal. Under one controller, the operation instructions can be issued to a plurality of drivers simultaneously, so that the unified test task can be performed on a plurality of terminals simultaneously.
In some embodiments, the operation instruction is for
Controlling a direction of rotation of a motor in the folding assembly and/or a rate of rotation of the motor.
In the embodiment of the present disclosure, the operation instruction issued by the controller to the driver may be used to control a rotation direction of a motor in the folding assembly and/or a rotation rate of the motor, and rotation time, so that the driver issues a driving signal to the folding assembly to realize the rotation direction, the rotation rate, and the rotation time under the control of the operation instruction, thereby completing the bending control of the terminal device.
An embodiment of the present disclosure further provides a terminal, including: the test system comprises a main control device and a memory for storing a computer program capable of running on the main control device, wherein the main control device is used for executing the steps of the test method provided by each embodiment when running the computer program.
The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a main control device to implement the steps of the test method provided in each of the above embodiments.
Fig. 5 is a block diagram illustrating a terminal device according to an example embodiment. For example, the terminal device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 5, the terminal device may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 typically controls overall operation of the terminal device, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 806 provides power to various components of the terminal device. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia component 808 includes a screen that provides an output interface between the terminal device and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the terminal device is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the terminal device. For example, sensor assembly 814 may detect an open/closed state of the terminal device, the relative positioning of components, such as a display and keypad of the terminal device, the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration/deceleration of the terminal device, and temperature changes of the terminal device. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. A test system, comprising: the device comprises a main control device, a controller, a driver and a folding assembly;
the master control device includes: a control interface; the main control equipment is used for generating operation information according to the input operation of the interactive interface of the test software and sending the operation information to the controller through the control interface;
the controller is connected with the main control equipment and used for generating an operation instruction which can be identified by the driver according to the operation information;
the driver is electrically connected with the controller and used for generating a driving signal corresponding to the operation instruction according to the received operation instruction;
the folding assembly is connected with the driver and used for folding the terminal fixed on the folding assembly according to the received driving signal, wherein the test system is used for testing the terminal in different folding states.
2. The test system of claim 1, wherein the control interface comprises:
the driving interface is used for being connected with the controller;
and the secondary packaging interface is connected with the driving interface and used for calling the driving interface by the test software running in the main control equipment and sending the operation information to the controller.
3. The test system of claim 1, wherein the operational information includes at least one of:
a port number of the controller;
folding parameters; wherein the folding parameters include at least one of: the number of folds, the angle of the folds, and the time interval between two adjacent folds.
4. The test system of claim 1, wherein the folding assembly comprises: a motor and a clamp connected with the motor, wherein,
the clamp is used for clamping a folding screen of the terminal;
the motor is used for driving the clamp to fold the folding screen of the terminal.
5. The test system of claim 4,
the jig includes: the foldable screen comprises a first clamp and a second clamp which is rotationally connected with the first clamp, wherein the first clamp is used for fixing a first screen area of the foldable screen, and the second clamp is used for fixing a second screen area of the foldable screen;
the motor is used for driving the second clamp to rotate relative to the first clamp so as to drive the second screen area to rotate relative to the first screen area.
6. The test system of claim 4,
the motor is a stepping motor;
wherein the operating phase of the stepper motor comprises:
the initial stage, the rotational speed of the said stepping motor accelerates to the stage of the preset rotational speed;
a constant speed stage, namely maintaining the preset rotating speed of the stepping motor;
and a step of stopping, namely reducing the rotating speed of the stepping motor from the preset rotating speed.
7. The test system of claim 6,
the driving signal of the stepping motor is a pulse signal;
the driver is used for outputting a first pulse signal with a first frequency at the constant speed stage;
outputting a second pulse signal obtained after adding a delay value with a first step length decreasing before each pulse of the first pulse signal is output at the starting stage;
adding a delay value with a second step length increasing gradually before each pulse of the first pulse signal is output at the termination stage to obtain a third pulse signal;
wherein the signal frequency of the third pulse signal and the second pulse signal is lower than the signal frequency of the first pulse signal.
8. The test system according to any one of claims 1 to 7,
the plurality of controllers are simultaneously connected with one main control device;
the main control device is further configured to instruct, through the control interface, the plurality of controllers to simultaneously generate an operation instruction for executing different operation information.
9. The test system of claim 8, wherein one of said controllers is connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
10. The test system according to any one of claims 1 to 7, wherein the operating instructions are for controlling a direction of rotation of a motor in the folding assembly and/or a rate of rotation of the motor.
11. A method of testing, comprising:
detecting input operation on an interactive interface of the test software;
generating operation information according to the input operation;
based on the operation information, sending the operation information to the controller through a control interface; wherein the operation information is used for the controller to generate an operation instruction which can be recognized by the driver; the operation instruction is used for the driver to generate a driving signal for controlling a folding component of the folding terminal.
12. The test method according to claim 11,
the control interface includes: a secondary packaging interface and a driving interface;
the sending the operation information to the controller through a control interface based on the operation information includes:
and calling the driving interface through the secondary packaging interface based on the operation information, and sending the operation information to the controller.
13. The testing method of claim 11, wherein the operation information comprises at least one of the following information:
generating a port number of a controller of the operation instruction, an identification ID of the folded terminal and a folding parameter; wherein the folding parameters include at least one of: the number of folds, the angle of the folds and the time interval between two adjacent folds.
14. The method of claim 11, wherein sending the operational information to the controller via a control interface comprises:
sending different operation information to the controllers through the control interface, and instructing the controllers to respectively generate operation instructions for executing the different operation information; and the plurality of controllers are simultaneously connected with one main control device.
15. The method for testing according to claim 11, wherein the operation instruction for the driver to generate a driving signal for controlling a folding component of a folding terminal comprises:
an operation instruction of the controller, for simultaneously generating driving signals for controlling the folding components of the folding terminal by a plurality of drivers connected with the controller; wherein,
one said controller connected to a plurality of said drivers;
one said actuator for actuating one said folding assembly to fold said terminal.
16. The test method according to any one of claims 11 to 15, wherein the operating instructions are for controlling a direction of rotation of a motor in the folding assembly and/or a rate of rotation of the motor.
17. A terminal, comprising: a master device and a memory for storing a computer program operable on the master device, wherein the master device is configured to perform the steps of the method of claims 11 to 16 when executing the computer program.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a master device, carries out the steps of the method of claims 11 to 16.
CN202110424270.5A 2021-04-20 2021-04-20 Test system, test method, terminal and storage medium Pending CN115219252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110424270.5A CN115219252A (en) 2021-04-20 2021-04-20 Test system, test method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110424270.5A CN115219252A (en) 2021-04-20 2021-04-20 Test system, test method, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115219252A true CN115219252A (en) 2022-10-21

Family

ID=83604331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110424270.5A Pending CN115219252A (en) 2021-04-20 2021-04-20 Test system, test method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115219252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116398781A (en) * 2023-06-08 2023-07-07 荣耀终端有限公司 Control platform, test system and test method of folding terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116398781A (en) * 2023-06-08 2023-07-07 荣耀终端有限公司 Control platform, test system and test method of folding terminal
CN116398781B (en) * 2023-06-08 2023-10-20 荣耀终端有限公司 Control platform, test system and test method of folding terminal

Similar Documents

Publication Publication Date Title
EP3116165B1 (en) Method and device for testing a terminal
CN111273899A (en) Code processing method and device, electronic equipment and storage medium
CN110781080B (en) Program debugging method and device and storage medium
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN112597051A (en) Method and device for obtaining test result, electronic equipment and storage medium
CN115219252A (en) Test system, test method, terminal and storage medium
CN106612149B (en) Radio frequency circuit testing method, device and system and mobile terminal
CN215599311U (en) Chip testing device
CN113377664A (en) Model testing method and device, electronic device and storage medium
CN111596980B (en) Information processing method and device
CN110989883B (en) Recording method and device for data transfer mode, storage medium and terminal
WO2023221941A1 (en) Image processing method and apparatus, device, and storage medium
CN104239202A (en) Non-Root testing method and system of interactive intelligent equipment
CN112395192A (en) Information processing method and device
CN110851370A (en) Program testing method and device, and storage medium
CN103294493A (en) Method and device for initializing peripheral equipment, and camera
CN116224974A (en) Cloud pipe end-based vehicle body controller in-loop testing method, platform and storage medium
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium
CN115033469A (en) Website system performance test method and device, equipment and storage medium
CN114860358A (en) Object processing method and device, electronic equipment and storage medium
CN110309056B (en) Cross-platform simulation system for testing software input and output functions
CN115494369A (en) Chip testing device
CN113626321A (en) Bridging test method, device, system and storage medium
CN116401017B (en) Method, device, equipment and storage medium for realizing virtual display card
CN109739763B (en) Code segment operation method, device, terminal and storage medium

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