CN112199272B - Intelligent terminal testing method and device, terminal equipment and medium - Google Patents
Intelligent terminal testing method and device, terminal equipment and medium Download PDFInfo
- Publication number
- CN112199272B CN112199272B CN202010933935.0A CN202010933935A CN112199272B CN 112199272 B CN112199272 B CN 112199272B CN 202010933935 A CN202010933935 A CN 202010933935A CN 112199272 B CN112199272 B CN 112199272B
- Authority
- CN
- China
- Prior art keywords
- basic
- intelligent terminal
- test
- testing
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 261
- 238000013142 basic testing Methods 0.000 claims abstract description 93
- 230000006870 function Effects 0.000 claims abstract description 80
- 238000000034 method Methods 0.000 claims abstract description 46
- 230000033772 system development Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application is applicable to the technical field of testing, and provides a testing method and device of an intelligent terminal, terminal equipment and a medium, wherein the method comprises the following steps: after the basic system of the intelligent terminal is started, basic starting information is sent to a testing end, and a target system which depends on the basic system development is installed in the intelligent terminal; receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal; starting the target system while testing the basic system function; and when a target test command sent by the test end is received, testing the target system function of the intelligent terminal according to the target test command. By the method, the test time can be reduced, and the test speed can be increased.
Description
Technical Field
The application belongs to the technical field of testing, and particularly relates to a testing method and device of an intelligent terminal, terminal equipment and a medium.
Background
Before the intelligent terminal leaves the factory, the function of the intelligent terminal needs to be tested. In general, testing of an intelligent terminal needs to be performed after a system program of the intelligent terminal is started. Taking an intelligent terminal running an android system as an example, at present, testing of the intelligent terminal must be started after the android system is started. However, the starting time of the android system is longer, if the intelligent terminal is tested after the android system is started, the time spent in the whole testing process is longer, and the testing efficiency is lower.
Disclosure of Invention
The embodiment of the application provides a testing method, a testing device, terminal equipment and a medium for an intelligent terminal, which can reduce the time spent by testing the intelligent terminal and improve the testing efficiency.
In a first aspect, an embodiment of the present application provides a method for testing an intelligent terminal, which is applied to the intelligent terminal, where the method includes:
After the basic system of the intelligent terminal is started, basic starting information is sent to a testing end, and a target system which depends on the basic system development is installed in the intelligent terminal;
Receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal;
starting the target system while testing the basic system function;
and when a target test command sent by the test end is received, testing the target system function of the intelligent terminal according to the target test command.
In a second aspect, an embodiment of the present application provides a testing method of an intelligent terminal, applied to a testing end device, where the method includes:
when basic starting information from the intelligent terminal is received, a basic test command is sent to the intelligent terminal, the basic test command is used for testing basic system functions of the intelligent terminal, and a target system depending on basic system development is installed in the intelligent terminal;
receiving a basic test result returned by the intelligent terminal aiming at the basic test command;
After the basic test command is sent, a target test command is sent to the intelligent terminal, wherein the target test command is used for testing a target system function of the intelligent terminal;
receiving a target test result returned by the intelligent terminal aiming at the basic target test command;
and generating a test report of the intelligent terminal according to the basic test result and the target test result.
In a third aspect, an embodiment of the present application provides a testing device for an intelligent terminal, which is applied to the intelligent terminal, and the device includes:
the information sending module is used for sending basic starting information to the testing end after the basic system of the intelligent terminal is started, and a target system which depends on the basic system development is installed in the intelligent terminal;
The receiving module is used for receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal;
the target system starting module is used for starting the target system while testing the basic system function;
and the test execution module is used for testing the target system function of the intelligent terminal according to the target test command when receiving the target test command sent by the test terminal.
In a fourth aspect, an embodiment of the present application provides a testing apparatus for an intelligent terminal, which is applied to a testing end device, where the apparatus includes:
The intelligent terminal comprises a basic test command sending module, a basic test command sending module and a basic test control module, wherein the basic test command sending module is used for sending a basic test command to the intelligent terminal when receiving basic starting information from the intelligent terminal, the basic test command is used for testing basic system functions of the intelligent terminal, and a target system depending on basic system development is installed in the intelligent terminal;
The basic test result receiving module is used for receiving a basic test result returned by the intelligent terminal aiming at the basic test command;
The target test command sending module is used for sending a target test command to the intelligent terminal after the basic test command is sent, wherein the target test command is used for testing a target system function of the intelligent terminal;
the target test result receiving module is used for receiving a target test result returned by the intelligent terminal aiming at the basic target test command;
And the test report generating module is used for generating a test report of the intelligent terminal according to the basic test result and the target test result.
In a fifth aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method according to the second aspect.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method according to the first aspect.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method according to the second aspect.
In a ninth aspect, an embodiment of the present application provides a computer program product for causing a terminal device to carry out the method of the first aspect described above when the computer program product is run on the terminal device.
In a ninth aspect, embodiments of the present application provide a computer program product for causing a terminal device to carry out the method of the second aspect described above when the computer program product is run on the terminal device.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the embodiment of the application, the intelligent terminal comprises a target system, the target system is developed by relying on a basic system, and after the basic system of the intelligent terminal is started, basic starting information is sent to a testing end; after receiving the basic starting information, the testing end sends a basic testing command to the intelligent terminal; after receiving the basic test command, the intelligent terminal tests basic system functions according to the basic test command and returns test results to the test end; the intelligent terminal starts a target system while performing basic test; the testing terminal sends a plurality of basic testing commands to the intelligent terminal, and after the intelligent terminal performs testing of a plurality of basic system functions, the target system of the intelligent terminal is started and finished, so that the target system functions of the intelligent terminal can be tested; and when the intelligent terminal receives the target test command sent by the test terminal, testing the target system function of the intelligent terminal according to the target test command. In the application, the intelligent terminal starts the target system while performing basic function test, thereby shortening the test time of the intelligent terminal and improving the test efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a testing method of an intelligent terminal according to a first embodiment of the present application;
fig. 2 is a flow chart of a testing method of an intelligent terminal according to a second embodiment of the present application;
FIG. 3 is a flow chart of a method for testing an intelligent terminal provided in the prior art;
fig. 4 is a flow chart of a testing method of an intelligent terminal according to a third embodiment of the present application
Fig. 5 is a schematic structural diagram of a testing device for an intelligent terminal according to a fourth embodiment of the present application;
Fig. 6 is a schematic structural diagram of a testing device for an intelligent terminal according to a fifth embodiment of the present application;
Fig. 7 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Fig. 1 is a flow chart of a testing method of an intelligent terminal according to a first embodiment of the present application, as shown in fig. 1, the method includes:
s101, after the basic system of the intelligent terminal is started, basic starting information is sent to a testing end, and a target system which depends on the basic system development is installed in the intelligent terminal;
The execution subject of this embodiment is an intelligent terminal, which may be a motherboard of an intelligent television.
The basic system may be a Linux system, and the target system may be an android system. When the intelligent terminal is started, the android system is started only after the Linux system is started because the android system is based on Linux. When the intelligent terminal is started, the Linux system is started first, after the Linux system is started, the intelligent terminal can send Linux system starting information to the testing end, and after the testing end receives the Linux system starting information, the testing end can start to test.
S102, receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal;
the testing of the intelligent terminal needs to test a plurality of functions of the intelligent terminal, when one of the functions is tested, the testing terminal sends a testing command to the intelligent terminal, after receiving the testing command, the intelligent terminal collects corresponding information according to the testing command, then sends the information to the testing terminal, after receiving the information, the testing terminal sends a next testing command to the intelligent terminal until all the functions of the intelligent terminal are tested.
Specifically, after receiving the Linux system starting information, the test end can send basic test commands to the intelligent terminal, wherein the basic test commands are used for testing the Linux functions of the intelligent terminal. When receiving the basic test command, the intelligent terminal calls a corresponding test program, collects corresponding information and sends the information to the test terminal, wherein the information is used for judging the functions of the intelligent terminal by the test terminal.
S103, starting the target system while testing the basic system function;
specifically, after the Linux system is started, the intelligent terminal starts the android system immediately. The method is equivalent to the steps that the intelligent terminal starts the android system while testing the Linux function.
And S104, when a target test command sent by the test end is received, testing the target system function of the intelligent terminal according to the target test command.
Specifically, after all basic test commands are sent by the test end, a target test command is sent next to test the android function of the intelligent terminal. The android system can be started simultaneously when the intelligent terminal performs basic function test, so that after the basic function test is completed, the android system is started and completed, and the android function can be tested immediately.
In the embodiment, the intelligent terminal tests the Linux function while the android system is started, which is equivalent to saving the time of starting the android system for the same time in the test process, and improving the test efficiency.
Fig. 2 is a flow chart of a testing method of an intelligent terminal according to a second embodiment of the present application, as shown in fig. 2, where the method includes:
S201, when basic starting information from the intelligent terminal is received, a basic test command is sent to the intelligent terminal, the basic test command is used for testing basic system functions of the intelligent terminal, and a target system which depends on basic system development is installed in the intelligent terminal;
the execution body of the embodiment is a test end device, and may be a computing device such as a computer.
Specifically, the basic starting information may be Linux system starting information, when the intelligent terminal is started, the intelligent terminal starts the Linux system first, after the Linux system is started, the intelligent terminal may send the Linux system starting information to the test terminal, after the test terminal receives the Linux system starting information, the test terminal sends basic test commands to the intelligent terminal, and the basic test commands are used for testing Linux functions of the intelligent terminal.
S202, receiving a basic test result returned by the intelligent terminal aiming at the basic test command;
specifically, when receiving a basic test command, the intelligent terminal calls a corresponding test program to obtain a test result, sends the test result to the test terminal, and then sends a next basic test command to the intelligent terminal after receiving a test result.
S203, after the basic test command is sent, a target test command is sent to the intelligent terminal, wherein the target test command is used for testing target system functions of the intelligent terminal;
Specifically, the test terminal firstly transmits a Linux system test command to the intelligent terminal, and then transmits an android system test command to the intelligent terminal after the Linux system test command is transmitted. Because the intelligent terminal starts the android system at the same time in the Linux function test process, the android function can be tested next.
S204, receiving a target test result returned by the intelligent terminal aiming at the basic target test command;
specifically, when the intelligent terminal receives a target test command, a corresponding test program is called to obtain a test result, the test result is sent to the test end, and after the test end receives one test result, the intelligent terminal sends a next target test command.
S205, generating a test report of the intelligent terminal according to the basic test result and the target test result.
Specifically, the testing terminal judges whether each function of the intelligent terminal is normal according to the information returned by the intelligent terminal, and generates a corresponding testing command.
In this embodiment, the test terminal sequentially sends the basic test command to the intelligent terminal, and the Linux function of the disabled terminal is tested, and after the Linux function test is completed, the test terminal sequentially sends the target test command to the intelligent terminal, which is equivalent to enabling the intelligent terminal to start the android system in the time of the basic function test, thereby saving the test time.
Fig. 3 is a flowchart of a testing method of an intelligent terminal provided in the prior art, as shown in fig. 3, in the prior art, after a boot loader (BootLoader) is started, the intelligent terminal loads a Linux system, after the Linux system is started, an android system is started, and after the android system is started, testing is performed.
Fig. 4 is a flow chart of a testing method of an intelligent terminal according to a third embodiment of the present application, as shown in fig. 4, after BootLoader is started, the intelligent terminal loads a Linux system, after the Linux system is started, continues to start an android system, and tests Linux functions while the android system is started; and after the android system is started, testing the android function. The method of the present embodiment consumes less time than the method of fig. 3.
Taking the test of the intelligent television main board as an example, we mainly test whether the port of the intelligent television main board works normally. While most of these ports are channel signal inputs and outputs for televisions. Therefore, during testing, the core program related to the television in the system can work normally. The television related kernel program is just written by Linux application and Linux drive, and does not need to depend on android. Therefore, the written test program can control the functions related to the television only by performing process communication with the core program related to the television. When the test is performed, the intelligent television main board is based on the android system, the android system is based on the Linux system, and the android system is required to be started after the Linux system is started. Therefore, some functions which do not need to depend on an android system can be tested firstly by using a Linux c/c++ program; some test functions of the android system are required to be relied on, and the android system is waited for starting and finishing to conduct testing. The starting time of the Linux system of the intelligent terminal main board is generally within 10 seconds, and the starting time of the intelligent television main board from power-on to android system is more than 30 seconds.
Fig. 5 is a schematic structural diagram of a testing device for an intelligent terminal according to a fourth embodiment of the present application, which is applied to the intelligent terminal, as shown in fig. 5, and the device includes:
The information sending module 51 is configured to send basic start information to a test end after the basic system of the intelligent terminal is started, where a target system that depends on the development of the basic system is installed in the intelligent terminal;
The receiving module 52 is configured to receive a basic test command returned by the test end for the basic start information, where the basic test command is used to test a basic system function of the intelligent terminal;
A target system starting module 53, configured to start the target system while testing the basic system function;
And the test execution module 54 is configured to, when receiving a target test command sent by the test end, test a target system function of the intelligent terminal according to the target test command.
The receiving module 52 includes:
The basic test command receiving sub-module is used for receiving a plurality of basic test commands which are returned by the test terminal in sequence aiming at the basic starting information, wherein the plurality of basic test commands comprise a first basic test command;
The basic function test sub-module is used for testing a first basic system function of the intelligent terminal according to the first basic test command;
The basic test result sending sub-module is used for sending a first basic system function test result to the test terminal after the first basic system function test is completed, and the test terminal is used for sending a second basic test command to the intelligent terminal after receiving the first basic system function test result.
The basic function test submodule includes:
And the testing unit is used for calling a basic system testing program stored in the intelligent terminal in advance according to the first basic testing command, and testing the first basic system function of the intelligent terminal by adopting the basic system testing program, wherein the basic system testing program is a testing program developed based on the programming language of the basic system.
The test execution module 54 includes:
and the target function test sub-module is used for sequentially testing the target system functions of the intelligent terminal according to a plurality of target test commands, wherein each target test command is used for testing one project label system function of the intelligent terminal.
Fig. 6 is a schematic structural diagram of a testing device of an intelligent terminal according to a fifth embodiment of the present application, which is applied to a testing end device, as shown in fig. 6, where the device 6 includes:
A basic test command sending module 61, configured to send a basic test command to the intelligent terminal when receiving basic start information from the intelligent terminal, where the basic test command is used to test a basic system function of the intelligent terminal, and a target system that depends on basic system development is installed in the intelligent terminal;
A basic test result receiving module 62, configured to receive a basic test result returned by the intelligent terminal for the basic test command;
A target test command sending module 63, configured to send a target test command to the intelligent terminal after the basic test command is sent, where the target test command is used to test a target system function of the intelligent terminal;
The target test result receiving module 64 is configured to receive a target test result returned by the intelligent terminal for the base target test command;
and the test report generating module 65 is configured to generate a test report of the intelligent terminal according to the basic test result and the target test result.
The target test command transmitting module 63 includes:
The first basic test command sending submodule is used for sending a first basic test command to the intelligent terminal;
And the second basic test command sending sub-module is used for sending a second basic test command to the intelligent terminal when receiving a test result returned by the intelligent terminal aiming at the first basic test command.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 7, the terminal device 7 of this embodiment includes: at least one processor 70 (only one shown in fig. 7), a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, the processor 70 implementing the steps in any of the various method embodiments described above when executing the computer program 72. For example, the terminal device may be an intelligent terminal in the foregoing embodiment, or a test end device. When the terminal device is the intelligent terminal in the foregoing embodiment, the terminal device may implement the methods of steps S101 to S104, and when the terminal device is the test terminal device in the foregoing embodiment, the terminal device may implement the methods of steps S201 to S205.
The terminal device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of the terminal device 7 and is not limiting of the terminal device 7, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The Processor 70 may be a central processing unit (Central Processing Unit, CPU), and the Processor 70 may be any other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may in some embodiments be an internal storage unit of the terminal device 7, such as a hard disk or a memory of the terminal device 7. The memory 71 may in other embodiments also be an external storage device of the terminal device 7, such as a plug-in hard disk provided on the terminal device 7, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs, etc., such as program codes of the computer program. The memory 71 may also be used for temporarily storing data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application provide a computer program product enabling a terminal device to carry out the steps of the method embodiments described above when the computer program product is run on the terminal device.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference may be made to related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (10)
1. The method for testing the intelligent terminal is characterized by being applied to the intelligent terminal, and comprises the following steps:
After the basic system of the intelligent terminal is started, basic starting information is sent to a testing end, and a target system which depends on the basic system development is installed in the intelligent terminal;
Receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal;
starting the target system while testing the basic system function;
and when a target test command sent by the test end is received, testing the target system function of the intelligent terminal according to the target test command.
2. The method of claim 1, wherein the basic test command includes a plurality of basic test commands, and the receiving the basic test command returned by the test terminal for the basic start information includes:
Receiving a plurality of basic test commands which are returned by the test terminal in sequence aiming at the basic starting information, wherein the plurality of basic test commands comprise a first basic test command;
Testing a first basic system function of the intelligent terminal according to the first basic test command;
And after the first basic system function test is completed, sending a first basic system function test result to the test end, wherein the test end is used for sending a second basic test command to the intelligent terminal after receiving the first basic system function test result.
3. The method of claim 2, wherein testing the first underlying system functionality of the intelligent terminal according to the first underlying test command comprises:
And calling a basic system test program pre-stored in the intelligent terminal according to the first basic test command, and testing a first basic system function of the intelligent terminal by adopting the basic system test program, wherein the basic system test program is a test program developed based on a program language of the basic system.
4. The method of claim 1, wherein the target test command includes a plurality of target system functions of the intelligent terminal according to the target test command, comprising:
And testing the target system functions of the intelligent terminal in sequence according to a plurality of target test commands, wherein each target test command is used for testing one project label system function of the intelligent terminal.
5. The method of any one of claims 1-4, wherein the base system is a Linux system and the target system is an Android system.
6. The method for testing the intelligent terminal is characterized by being applied to testing terminal equipment, and comprises the following steps:
when basic starting information from the intelligent terminal is received, a basic test command is sent to the intelligent terminal, the basic test command is used for testing basic system functions of the intelligent terminal, and a target system depending on basic system development is installed in the intelligent terminal;
receiving a basic test result returned by the intelligent terminal aiming at the basic test command;
After the basic test command is sent, a target test command is sent to the intelligent terminal, wherein the target test command is used for testing a target system function of the intelligent terminal;
receiving a target test result returned by the intelligent terminal aiming at the target test command;
and generating a test report of the intelligent terminal according to the basic test result and the target test result.
7. The method of claim 6, wherein the basic test command includes a plurality of basic test commands, and the sending the basic test command to the intelligent terminal includes:
sending a first basic test command to the intelligent terminal;
And when a test result returned by the intelligent terminal aiming at the first basic test command is received, sending a second basic test command to the intelligent terminal.
8. A test device for an intelligent terminal, the device being applied to the intelligent terminal, the device comprising:
the information sending module is used for sending basic starting information to the testing end after the basic system of the intelligent terminal is started, and a target system which depends on the basic system development is installed in the intelligent terminal;
The receiving module is used for receiving a basic test command returned by the test terminal aiming at the basic starting information, wherein the basic test command is used for testing basic system functions of the intelligent terminal;
the target system starting module is used for starting the target system while testing the basic system function;
and the test execution module is used for testing the target system function of the intelligent terminal according to the target test command when receiving the target test command sent by the test terminal.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010933935.0A CN112199272B (en) | 2020-09-08 | 2020-09-08 | Intelligent terminal testing method and device, terminal equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010933935.0A CN112199272B (en) | 2020-09-08 | 2020-09-08 | Intelligent terminal testing method and device, terminal equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112199272A CN112199272A (en) | 2021-01-08 |
CN112199272B true CN112199272B (en) | 2024-10-01 |
Family
ID=74005455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010933935.0A Active CN112199272B (en) | 2020-09-08 | 2020-09-08 | Intelligent terminal testing method and device, terminal equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112199272B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112597067B (en) * | 2021-03-05 | 2021-09-03 | 湖南广播电视大学(湖南网络工程职业学院) | Test method, test system, electronic device and test medium |
CN113655503A (en) * | 2021-07-27 | 2021-11-16 | 西安广和通无线通信有限公司 | Method, device and system for testing positioning function and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649010A (en) * | 2016-11-29 | 2017-05-10 | 广东欧珀移动通信有限公司 | Terminal device testing method and terminal device |
CN107465572A (en) * | 2017-08-02 | 2017-12-12 | 华数传媒网络有限公司 | Intelligent terminal method of testing, apparatus and system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1914460A3 (en) * | 2006-10-18 | 2012-06-13 | AREVA NP GmbH | Method and a device for testing the operability of a valve system |
CN104123218B (en) * | 2013-04-23 | 2015-06-24 | 腾讯科技(深圳)有限公司 | Method, device and system for code coverage test |
CN106339309B (en) * | 2015-07-14 | 2020-01-31 | 腾讯科技(深圳)有限公司 | Application program testing method, client and system |
CN108874677B (en) * | 2018-06-27 | 2021-12-14 | 万达百汇科技(深圳)有限公司 | Android terminal and test method and system thereof |
CN109362017B (en) * | 2018-10-18 | 2021-08-17 | 科大讯飞股份有限公司 | Test method and test system of intelligent terminal |
CN109981410B (en) * | 2019-03-27 | 2020-11-03 | 北京经纬恒润科技有限公司 | Test system and method for vehicle-mounted intelligent terminal |
CN111371638B (en) * | 2020-02-18 | 2022-01-18 | 深圳市晨北科技有限公司 | Intelligent equipment testing method and device, server and storage medium |
CN111414285A (en) * | 2020-02-21 | 2020-07-14 | 苏州浪潮智能科技有限公司 | Test method, test device and test equipment for starting function of server system |
-
2020
- 2020-09-08 CN CN202010933935.0A patent/CN112199272B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649010A (en) * | 2016-11-29 | 2017-05-10 | 广东欧珀移动通信有限公司 | Terminal device testing method and terminal device |
CN107465572A (en) * | 2017-08-02 | 2017-12-12 | 华数传媒网络有限公司 | Intelligent terminal method of testing, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN112199272A (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8135945B2 (en) | Flexible boot methods for multi-processor devices | |
CN112996020B (en) | Bluetooth-based automatic test method and device and Bluetooth test terminal | |
CN108632533B (en) | Camera control method, mobile terminal and computer readable storage medium | |
CN112199272B (en) | Intelligent terminal testing method and device, terminal equipment and medium | |
CN113490192B (en) | Bluetooth connection method, device, terminal equipment and readable storage medium | |
CN111767056B (en) | Source code compiling method, executable file running method and terminal equipment | |
CN113489653B (en) | Message sending method and device and computer equipment | |
CN112235370B (en) | Equipment information synchronization method, synchronization device, main equipment and storage medium | |
CN115664953B (en) | Resource allocation method and related device of external equipment | |
CN112805691B (en) | Exception handling method, terminal device and storage medium | |
CN112035239B (en) | Task scheduling method, device, terminal equipment and storage medium | |
CN113672260A (en) | CPU initialization method for processor | |
CN111813596A (en) | Chip restarting method and device and computing equipment | |
CN113568349B (en) | Data processing method, device, terminal equipment and readable storage medium | |
CN111580847A (en) | GPU (graphics processing Unit) drive updating method and device, computer storage medium and electronic equipment | |
CN113342430B (en) | Fault code processing method and device, terminal equipment and readable storage medium | |
CN112673354B (en) | System state detection method, system state device and terminal equipment | |
CN115658152A (en) | Firmware upgrading method, firmware, electronic device and computer readable storage medium | |
CN117234764A (en) | Electronic system, exception handling method and device thereof and electronic equipment | |
CN113055250A (en) | Networking communication method, device, terminal equipment and storage medium | |
CN113656106B (en) | Plug-in loading method, device, electronic equipment and computer readable storage medium | |
CN111475488A (en) | Data processing method and device, terminal equipment and readable storage medium | |
CN114070659B (en) | Equipment locking method and device and terminal equipment | |
CN112631729B (en) | Intelligent contract deployment method, intelligent contract execution method, intelligent contract deployment device and terminal equipment | |
CN113656222B (en) | Serial port connection method, serial port connection device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |