A method, device, terminal equipment and medium for testing a smart terminal

By starting and testing the target system at the same time after the basic system of the smart terminal is started, the problem of long test time for smart terminals is solved and the testing efficiency is improved.

CN112199272BActive Publication Date: 2024-10-01SHENZHEN CULTRAVIEW DIGITAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010933935.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-08
Publication Date
2024-10-01
Estimated Expiration
2040-09-08

AI Technical Summary

Technical Problem

Smart terminals need to wait for the Android system to start before testing, resulting in long testing time and low efficiency.

Method used

After the basic system startup of the smart terminal is completed, basic startup information is sent to the test terminal, and the target system is started while the basic system function test is being performed, so that the target system function test is performed after the basic function test is completed.

Benefits of technology

It shortens the testing time of smart terminals, improves testing efficiency, and significantly reduces the time waiting for the Android system to start.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112199272B_ABST
    Figure CN112199272B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of testing technology, and provides a testing method, device, terminal equipment and medium for a smart terminal, the method comprising: when the basic system of the smart terminal is started, sending basic startup information to the test end, the smart terminal is installed with a target system developed based on the basic system; receiving the basic test command returned by the test end for the basic startup information, the basic test command is used to test the basic system function of the smart terminal; while testing the basic system function, starting the target system; when receiving the target test command sent by the test end, testing the target system function of the smart terminal according to the target test command. Through the above method, the test time can be reduced and the test speed can be accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of testing technology, and in particular, relates to a testing method, apparatus, terminal equipment and medium for a smart terminal. Background Art

[0002] Before a smart terminal leaves the factory, its functions need to be tested. Usually, the test of the smart terminal can only be carried out after the system program of the smart terminal is started. Taking the smart terminal running the Android system as an example, at present, the test of such smart terminals must be started after the Android system is started. However, the startup time of the Android system is relatively long. If the smart terminal is tested after waiting for the Android system to start, the entire test process will take a long time and the test efficiency will be low. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, terminal device and medium for testing a smart terminal, which can reduce the time spent on testing the smart terminal and improve testing efficiency.

[0004] In a first aspect, an embodiment of the present application provides a method for testing a smart terminal, which is applied to a smart terminal, and the method includes:

[0005] When the basic system of the intelligent terminal is started, basic startup information is sent to the test end, and the target system developed based on the basic system is installed in the intelligent terminal;

[0006] Receiving a basic test command returned by the test end in response to the basic startup information, where the basic test command is used to test a basic system function of the smart terminal;

[0007] While testing the basic system function, starting the target system;

[0008] When the target test command sent by the test end is received, the target system function of the smart terminal is tested according to the target test command.

[0009] In a second aspect, an embodiment of the present application provides a method for testing a smart terminal, which is applied to a test terminal device, and the method includes:

[0010] When receiving basic startup information from the smart terminal, sending a basic test command to the smart terminal, the basic test command is used to test the basic system function of the smart terminal, and the target system developed depending on the basic system is installed in the smart terminal;

[0011] Receiving a basic test result returned by the intelligent terminal in response to the basic test command;

[0012] After the basic test command is sent, a target test command is sent to the smart terminal, where the target test command is used to test the target system function of the smart terminal;

[0013] Receiving a target test result returned by the intelligent terminal in response to the base target test command;

[0014] A test report of the smart terminal is generated according to the basic test result and the target test result.

[0015] In a third aspect, an embodiment of the present application provides a testing device for a smart terminal, which is applied to a smart terminal, and the device includes:

[0016] An information sending module, configured to send basic startup information to the test end after the basic system of the smart terminal is started, wherein the target system developed depending on the basic system is installed in the smart terminal;

[0017] A receiving module, configured to receive a basic test command returned by the test end in response to the basic startup information, wherein the basic test command is used to test a basic system function of the smart terminal;

[0018] A target system startup module, used to start the target system while testing the basic system function;

[0019] The test execution module is used to test the target system function of the smart terminal according to the target test command when receiving the target test command sent by the test end.

[0020] In a fourth aspect, an embodiment of the present application provides a testing device for an intelligent terminal, which is applied to a testing terminal device, and the device includes:

[0021] A basic test command sending module, used for sending a basic test command to the smart terminal when receiving basic startup information from the smart terminal, wherein the basic test command is used for testing the basic system function of the smart terminal, and the target system developed depending on the basic system is installed in the smart terminal;

[0022] A basic test result receiving module, used to receive the basic test result returned by the intelligent terminal in response to the basic test command;

[0023] A target test command sending module, used for sending a target test command to the smart terminal after the basic test command is sent, wherein the target test command is used to test the target system function of the smart terminal;

[0024] A target test result receiving module, used to receive the target test result returned by the intelligent terminal for the base target test command;

[0025] A test report generating module is used to generate a test report of the smart terminal according to the basic test result and the target test result.

[0026] In a fifth aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.

[0027] In a sixth aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the second aspect above when executing the computer program.

[0028] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0029] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the second aspect is implemented.

[0030] In a ninth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the first aspect above.

[0031] In a ninth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the second aspect above.

[0032] Compared with the prior art, the embodiments of the present application have the following beneficial effects: in the embodiments of the present application, the intelligent terminal includes a target system, which is developed based on the basic system. After the basic system of the intelligent terminal is started, the basic startup information is sent to the test end; after receiving the basic startup information, the test end sends a basic test command to the intelligent terminal; after receiving the basic test command, the intelligent terminal tests the basic system function according to the basic test command and returns the test result to the test end; while performing the basic test, the intelligent terminal starts the target system; after the test end sends multiple basic test commands to the intelligent terminal, the intelligent terminal completes the target system startup after executing multiple basic system function tests, and the target system function of the intelligent terminal can be tested; when the intelligent terminal receives the target test command sent by the test end, the target system function of the intelligent terminal is tested according to the target test command. In the present application, the intelligent terminal starts the target system while performing the basic function test, thereby shortening the test time of the intelligent terminal and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 It is a flowchart of a testing method for a smart terminal provided in Embodiment 1 of the present application;

[0035] Figure 2 It is a flowchart of a testing method for a smart terminal provided in Embodiment 2 of the present application;

[0036] Figure 3 It is a flow chart of a testing method of an intelligent terminal provided by the prior art;

[0037] Figure 4 This is a flow chart of a method for testing a smart terminal provided in Example 3 of the present application.

[0038] Figure 5 It is a structural schematic diagram of a testing device for a smart terminal provided in Embodiment 4 of the present application;

[0039] Figure 6 This is a structural diagram of a testing device for a smart terminal provided in Embodiment 5 of the present application;

[0040] Figure 7 This is a structural diagram of a terminal device provided in Example 6 of the present application. DETAILED DESCRIPTION

[0041] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0042] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0043] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0044] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0045] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0046] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0047] Figure 1is a flow chart of a testing method for a smart terminal provided in Embodiment 1 of the present application, such as Figure 1 As shown, the method includes:

[0048] S101, when the basic system of the smart terminal is started, basic startup information is sent to the test end, and the target system developed depending on the basic system is installed in the smart terminal;

[0049] The execution subject of this embodiment is a smart terminal, which may specifically be a mainboard of a smart TV.

[0050] The above-mentioned basic system can be a Linux system, and the above-mentioned target system can be an Android system. When the smart terminal is started, because the Android system is based on Linux, the Android system can only be started after the Linux system is started. When the smart terminal is started, the Linux system will be started first. After the Linux system is started, the smart terminal can send Linux system startup information to the test end. After the test end receives the Linux system startup information, it can start testing.

[0051] S102, receiving a basic test command returned by the test end in response to the basic startup information, where the basic test command is used to test a basic system function of the smart terminal;

[0052] The testing of a smart terminal requires testing of multiple functions. When testing one of the functions, the test end sends a test command to the smart terminal. After receiving the test command, the smart terminal collects corresponding information according to the test command, and then sends this information to the test end. After receiving this information, the test end continues to send the next test command to the smart terminal until all functions of the smart terminal are tested.

[0053] Specifically, after receiving the Linux system startup information, the test end can send basic test commands to the smart terminal. These basic test commands are used to test the Linux functions of the smart terminal. When the smart terminal receives the basic test command, it calls the corresponding test program, collects the corresponding information and sends it to the test end. This information is used by the test end to judge the function of the smart terminal.

[0054] S103, starting the target system while testing the basic system function;

[0055] Specifically, after the Linux system is started, the smart terminal starts the Android system immediately, which is equivalent to starting the Android system while the smart terminal is testing the Linux function.

[0056] S104, when receiving the target test command sent by the test end, testing the target system function of the smart terminal according to the target test command.

[0057] Specifically, after the test end sends all the basic test commands, it will then send the target test command to test the Android function of the smart terminal. While the smart terminal is testing the basic functions, the Android system can be started at the same time. Therefore, after the basic function test is completed, the Android system has also been started, and the Android function can be tested immediately.

[0058] In this embodiment, the smart terminal tests the Linux function while the Android system is started, which is equivalent to saving the same amount of time as the Android system startup during the test process, thereby improving the test efficiency.

[0059] Figure 2 is a flow chart of a method for testing a smart terminal provided in Embodiment 2 of the present application, such as Figure 2 As shown, the method includes:

[0060] S201, when receiving basic startup information from the smart terminal, sending a basic test command to the smart terminal, the basic test command is used to test the basic system function of the smart terminal, and the smart terminal is installed with a target system developed based on the basic system;

[0061] The execution subject of this embodiment is a test end device, which can be a computing device such as a computer.

[0062] Specifically, the above-mentioned basic startup information can be Linux system startup information. When the smart terminal starts, it will first start the Linux system. When the Linux system starts, the smart terminal can send the Linux system startup information to the test end. After the test end receives the Linux system startup information, it sends basic test commands to the smart terminal. These basic test commands are used to test the Linux functions of the smart terminal.

[0063] S202, receiving a basic test result returned by the smart terminal in response to the basic test command;

[0064] Specifically, when the smart terminal receives a basic test command, it calls the corresponding test program, obtains the test result, and sends the test result to the test end. After the test end receives a test result, it sends the next basic test command to the smart terminal.

[0065] S203, after the basic test command is sent, sending a target test command to the smart terminal, the target test command is used to test the target system function of the smart terminal;

[0066] Specifically, the test end first sends a Linux system test command to the smart terminal, and then sends an Android system test command to the smart terminal after sending the Linux system test command. Because during the Linux function test process, the smart terminal is also starting the Android system, so the Android function can be tested next.

[0067] S204, receiving a target test result returned by the smart terminal in response to the base target test command;

[0068] Specifically, when the smart terminal receives a target test command, it calls the corresponding test program, obtains the test result, and sends the test result to the test end. After the test end receives a test result, it then sends the next target test command to the smart terminal.

[0069] S205: Generate a test report for the smart terminal according to the basic test result and the target test result.

[0070] Specifically, the test end determines whether various functions of the smart terminal are normal according to the information returned by the smart terminal, and generates corresponding test commands.

[0071] In this embodiment, the test end first sends basic test commands to the smart terminal in sequence to test the Linux function of the terminal. After the Linux function test is completed, the test end sends target test commands to the smart terminal in sequence, which is equivalent to allowing the smart terminal to start the Android system during the basic function test, thereby saving test time.

[0072] Figure 3 It is a flow chart of the testing method of the intelligent terminal provided by the prior art, such as Figure 3 As shown, in the prior art, after the bootloader (BootLoader) is started, the smart terminal loads the Linux system, and after the Linux system is started, the Android system is started, and after the Android system is started, the test is performed.

[0073] Figure 4 is a flow chart of a method for testing a smart terminal provided in Embodiment 3 of the present application, such as Figure 4 As shown in the figure, after the BootLoader is started, the smart terminal loads the Linux system. After the Linux system is started, the Android system is started. While the Android system is started, the Linux function is tested. After the Android system is started, the Android function is tested. Figure 3 Compared with the method in the embodiment, the time consumed by the method in the present embodiment is shorter.

[0074] Taking the test of smart TV motherboard as an example, we mainly test whether the ports of smart TV motherboard work normally. Most of these ports are used for the input and output of TV channel signals. Therefore, when testing, it is necessary to ensure that the TV-related core programs in the system can work normally. The core programs related to TV happen to be written by Linux applications and Linux drivers, and do not need to rely on Android. Therefore, the written test program can control the TV-related functions as long as it communicates with the core programs related to TV. When testing, because the smart TV motherboard is based on the Android system, and the Android system is based on the Linux system, it is necessary to start the Android system after the Linux system is started. Therefore, some functions that do not need to rely on the Android system can be tested first using the Linux c / c++ program; some test functions that must rely on the Android system must wait for the Android system to start before testing. The Linux system startup time of the smart terminal motherboard is generally within 10 seconds, while the smart TV motherboard takes about 30 seconds from power-on to Android system startup. Through this method, it is equivalent to reducing the test time by about 20 seconds, greatly shortening the test time, thereby significantly improving the efficiency of the test.

[0075] Figure 5 Schematic diagram of a test device for a smart terminal provided in Embodiment 4 of the present application, which is applied to a smart terminal such as Figure 5 As shown, the device comprises:

[0076] An information sending module 51 is used to send basic startup information to the test end after the basic system of the smart terminal is started up, and the target system developed depending on the basic system is installed in the smart terminal;

[0077] A receiving module 52, configured to receive a basic test command returned by the test end in response to the basic startup information, wherein the basic test command is used to test a basic system function of the smart terminal;

[0078] A target system startup module 53, used to start the target system while testing the basic system function;

[0079] The test execution module 54 is used to test the target system function of the smart terminal according to the target test command when receiving the target test command sent by the test end.

[0080] The receiving module 52 includes:

[0081] A basic test command receiving submodule, configured to receive a plurality of basic test commands sequentially returned by the test end in response to the basic startup information, wherein the plurality of basic test commands include a first basic test command;

[0082] A basic function test submodule, used to test the first basic system function of the smart terminal according to the first basic test command;

[0083] The basic test result sending submodule is used to send the first basic system function test result to the test end after the first basic system function test is completed. The test end is used to send a second basic test command to the smart terminal after receiving the first basic system function test result.

[0084] The above basic function test sub-modules include:

[0085] The testing unit is used to call a basic system testing program pre-stored in the smart terminal according to the first basic test command, and use the basic system testing program to test the first basic system function of the smart terminal, wherein the basic system testing program is a testing program developed based on the programming language of the basic system.

[0086] The test execution module 54 includes:

[0087] The target function test submodule is used to test the target system function of the smart terminal in sequence according to a plurality of target test commands, each target test command being used to test a target system function of the smart terminal.

[0088] Figure 6 Schematic diagram of a test device for a smart terminal provided in Embodiment 5 of the present application, which is applied to a test terminal device, such as Figure 6 As shown, the device 6 comprises:

[0089] A basic test command sending module 61 is used to send a basic test command to the smart terminal when receiving basic startup information from the smart terminal, wherein the basic test command is used to test the basic system function of the smart terminal, and the target system developed based on the basic system is installed in the smart terminal;

[0090] A basic test result receiving module 62, configured to receive a basic test result returned by the intelligent terminal in response to the basic test command;

[0091] A target test command sending module 63, configured to send a target test command to the smart terminal after the basic test command is sent, wherein the target test command is used to test a target system function of the smart terminal;

[0092] A target test result receiving module 64 is used to receive the target test result returned by the intelligent terminal for the base target test command;

[0093] The test report generating module 65 is used to generate a test report of the smart terminal according to the basic test result and the target test result.

[0094] The target test command sending module 63 includes:

[0095] A first basic test command sending submodule, used to send a first basic test command to the smart terminal;

[0096] The second basic test command sending submodule is used to send a second basic test command to the smart terminal when receiving the test result returned by the smart terminal for the first basic test command.

[0097] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 7 As shown, the terminal device 7 of this embodiment includes: at least one processor 70 ( Figure 7 Only one is shown in the figure) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, and the processor 70 implements the steps in any of the above-mentioned method embodiments when executing the computer program 72. For example, the terminal device may be an intelligent terminal or a test terminal device in the above-mentioned embodiment. When the terminal device is an intelligent terminal in the above-mentioned embodiment, the terminal device may implement the method of steps S101-S104, and when the terminal device is a test terminal device in the above-mentioned embodiment, the terminal device may implement the method of steps S201-S205.

[0098] The terminal device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0099] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0100] In some embodiments, the memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or memory of the terminal device 7. In other embodiments, the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 7. 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 to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0101] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0102] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0103] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0104] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0106] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0107] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0108] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.

[0110] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for testing an intelligent terminal, characterized in that: Applied to a smart terminal, the method comprises: When the basic system of the intelligent terminal is started, basic startup information is sent to the test end, and the target system developed based on the basic system is installed in the intelligent terminal; Receiving a basic test command returned by the test end in response to the basic startup information, where the basic test command is used to test a basic system function of the smart terminal; While testing the basic system function, starting the target system; When the target test command sent by the test end is received, the target system function of the smart terminal is tested according to the target test command.

2. The method according to claim 1, characterized in that The basic test command includes a plurality of commands, and the receiving the basic test command returned by the test end in response to the basic startup information includes: receiving a plurality of basic test commands sequentially returned by the test end in response to the basic startup information, the plurality of basic test commands including a first basic test command; Testing a first basic system function of the smart terminal according to the first basic test command; When the first basic system function test is completed, the first basic system function test result is sent to the test end, and the test end is used to send a second basic test command to the smart terminal after receiving the first basic system function test result.

3. The method according to claim 2, characterized in that The step of testing the first basic system function of the smart terminal according to the first basic test command includes: According to the first basic test command, a basic system test program pre-stored in the smart terminal is called, and the first basic system function of the smart terminal is tested using the basic system test program, where the basic system test program is a test program developed based on the programming language of the basic system.

4. The method according to claim 1, characterized in that The target test command includes a plurality of commands, and the target system function of the smart terminal is tested according to the target test command, including: The target system functions of the smart terminal are tested in sequence according to a plurality of target test commands, each target test command being used to test a target system function of the smart terminal.

5. The method according to any one of claims 1 to 4, characterized in that: The basic system is a Linux system, and the target system is an Android system.

6. A method for testing an intelligent terminal, characterized in that: Applied to a test end device, the method comprises: When receiving basic startup information from the smart terminal, sending a basic test command to the smart terminal, the basic test command is used to test the basic system function of the smart terminal, and the target system developed depending on the basic system is installed in the smart terminal; Receiving a basic test result returned by the intelligent terminal in response to the basic test command; After the basic test command is sent, a target test command is sent to the smart terminal, where the target test command is used to test the target system function of the smart terminal; Receiving a target test result returned by the intelligent terminal in response to the target test command; A test report of the smart terminal is generated according to the basic test result and the target test result.

7. The method according to claim 6, characterized in that The basic test command includes a plurality of commands, and sending the basic test command to the smart terminal includes: Sending a first basic test command to the intelligent terminal; When receiving the test result returned by the smart terminal for the first basic test command, a second basic test command is sent to the smart terminal.

8. A testing device for an intelligent terminal, characterized in that: Applied to a smart terminal, the device comprises: An information sending module, configured to send basic startup information to the test end after the basic system of the smart terminal is started, wherein the target system developed depending on the basic system is installed in the smart terminal; A receiving module, configured to receive a basic test command returned by the test end in response to the basic startup information, wherein the basic test command is used to test a basic system function of the smart terminal; A target system startup module, used to start the target system while testing the basic system function; The test execution module is used to test the target system function of the smart terminal according to the target test command when receiving the target test command sent by the test end.

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: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.