Functional module testing system and method for mobile device

Through the design of the mobile device functional module test system, the problem of low efficiency of functional test error repair in the existing technology is solved, automated analysis and simulated repair are realized, equipment damage is avoided and the maintenance speed is improved.

CN114510385BActive Publication Date: 2024-09-24STATE GRID QINGHAI ELECTRIC POWER COMPANY +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111654627.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-24
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

When errors occur after functional testing of existing mobile devices, simulated repair cannot be effectively performed after modifying the data, which can easily lead to equipment damage. Moreover, it is impossible to quickly verify whether the data is correct after modification, resulting in slow maintenance.

Method used

A mobile device functional module testing system is designed, including a test initiation module, a test execution module, an error analysis module, a virtual repair module, a manual repair module and a test result display module. Test commands are input and stored through the test initiation module, and error analysis is used The module locates errors, the virtual repair module performs data repair, and verifies and transmits it in the manual repair module.

Benefits of technology

It realizes automated analysis and simulation repair when errors occur in functional tests, avoids equipment damage, improves testing efficiency and repair speed, and ensures data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114510385B
    Figure CN114510385B
Patent Text Reader

Abstract

The present invention relates to a functional module testing system for a mobile device, comprising a test initiating module, a test executing module, a test feedback module, an error analyzing module, a virtual repair module, a manual repair module, a next functional testing module and a test result display module; when the present invention is in use, the test initiating module stores the functional command of the test for the function input of the test, and realizes fast input through association when the test is performed next time. If an error occurs, the manual repair module is entered to check the repaired data, otherwise the repaired data is transmitted to the mobile device, and the function of the mobile device is tested again, thereby avoiding the disadvantage that after an error occurs during testing in the existing method, a simulator cannot be used for simulation repair, resulting in damage to the mobile device caused by the modification of data errors, and the data cannot be tested to see if it is correct after modification, so repeated operation is required after each modification, resulting in a slow maintenance speed for the function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of functional testing, and in particular to a functional module testing system and method for a mobile device. Background Art

[0002] Mobile devices, also known as mobile devices, mobile devices, handheld devices, etc., are pocket-sized computing devices that usually have a small display screen, touch input, or a small keyboard. Because they can access various information anytime and anywhere, this type of device quickly became popular. As mobile device platforms become more and more complex, people's demands are also getting higher and higher. More beautiful interfaces, simpler and faster operations, more convenient controls, and more controls on mobile devices make development and programming on mobile devices an easy task, effectively helping users create mobile applications.

[0003] However, as more and more functions of mobile devices are developed, in order to ensure that users can use the functions normally, the developed functions need to be tested. However, if an error occurs after the function test, the data needs to be modified and retested. However, if there are still problems with the modified data, the mobile device is easily damaged. Summary of the invention

[0004] In view of the defects of the background technology, the present invention provides a functional module testing system for a mobile device in a first aspect, including a test initiation module, a test execution module, a test feedback module, an error analysis module, a virtual repair module, a manual repair module, a next functional test module, and a test result display module;

[0005] The output end of the test initiating module is electrically connected to the test executing module;

[0006] The output end of the test execution module is electrically connected to a test feedback module, and an actuator that matches the mobile device executes the test command issued by the test initiation module, and then the actuator performs a corresponding functional test on the mobile device;

[0007] The first output end of the test feedback module is electrically connected to the next functional test module, and the second output end thereof is electrically connected to the error analysis module, which feeds back the result of the functional test after executing the test command on the test execution module;

[0008] The first output terminal of the next functional test module is electrically connected to the test result display module, and the second output terminal thereof is electrically connected to the test execution module;

[0009] The output end of the error analysis module is electrically connected to a virtual repair module, which is used to analyze and locate the cause of the error fed back during the test process, and find out the step where the error occurred and the position in the execution process;

[0010] The output end of the virtual repair module is electrically connected to a manual repair module, which is used to synchronize the function error information tested, modify the error when the function is running, and then perform a second operation;

[0011] The output end of the manual repair module is electrically connected to a test execution module, which checks the data repaired by the virtual repair module and performs calculations through an artificial algorithm.

[0012] Further, the test initiation module includes a test command input unit, a test command storage unit and a test command transmission module;

[0013] The test command input unit inputs the function to be tested;

[0014] The test command storage unit is used to store the input commands, and is used to provide commands identical to the keyword after only a part of the keyword is input when the same command is input, so as to provide the tester with a choice and improve the input efficiency;

[0015] The test command transmitting module transmits the test command remotely through the network.

[0016] Furthermore, the test execution module has a built-in command receiving unit to receive commands issued by the command transmitting module.

[0017] Furthermore, the input mode of the test command input unit is any one of keyboard input, handwriting input, and voice input.

[0018] In a second aspect, the present invention provides a method for testing a functional module of a mobile device, comprising the following steps:

[0019] Start: prepare the functional module of the mobile device to be tested, and import the functional module testing system of the mobile device, and execute step S1;

[0020] S1, test initiation: input the test command preset in the test command storage unit, initiate the test of the functional module of the mobile device through the test command transmission module, and execute step S2;

[0021] S2, test execution: the executor matched with the mobile device executes the test command, and then the executor performs corresponding functional test on the mobile device, and executes step S3;

[0022] S3, test feedback: after the test execution module executes the test command, the result of the function test is fed back; if a function can run normally after the test, step S7 is executed, otherwise step S4 is executed;

[0023] S4, error analysis: Analyze and locate the cause of the error reported during the test, find out the step where the error occurred and the position in the execution process, and then execute step S5;

[0024] S5, virtual repair: synchronize the function error information tested, modify the error when the function is running, and then run it again;

[0025] S6, manual repair: manually check the virtual repair data and calculate it through a manual algorithm; if the modified data is found to have problems, modify it through manual repair, otherwise execute step S2;

[0026] S7, next function module test: test all data of the function modules of the mobile device to be tested in sequence. If the test is complete, the test ends. Otherwise, execute step S1;

[0027] End of test: storage of functional modules of qualified mobile devices.

[0028] Beneficial effects of implementing the present invention: the present invention inputs the test function through the test initiation module, and stores the test function command, so that the next time the test is performed, the test function can be conveniently input through association, and when an error occurs in the test function, the error analysis module will analyze the error encountered in the execution of the function, and then the virtual repair module will create the same information based on the analysis result, and the erroneous data will be repaired in the virtual repair module. After the repair is completed, a simulation operation will be performed in the virtual repair module. If there is no error, the manual repair module will be entered to check the repaired data. If there is no error, the repaired data will be transmitted to the mobile device, and then the function of the mobile device will be tested again, avoiding the existing test. If an error occurs, the simulator cannot be used for simulated repair, which easily leads to errors in modifying the data and damages the mobile device. At the same time, after the modification, it is impossible to test whether the corrected data is correct, so it is necessary to run after each modification. Repeated operation will result in a slow maintenance speed for the function. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 : Structural diagram;

[0031] Figure 2 : Schematic diagram of the steps. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] In one embodiment of the present invention, please refer to the attached Figure 1 As shown:

[0034] A functional module testing system for a mobile device, comprising a test initiation module, a test execution module, a test feedback module, an error analysis module, a virtual repair module, a manual repair module, a next functional test module, and a test result display module;

[0035] The output end of the test initiating module is electrically connected to the test executing module;

[0036] The output end of the test execution module is electrically connected to a test feedback module, and an actuator that matches the mobile device executes the test command issued by the test initiation module, and then the actuator performs a corresponding functional test on the mobile device;

[0037] The first output end of the test feedback module is electrically connected to the next functional test module, and the second output end thereof is electrically connected to the error analysis module, which feeds back the result of the functional test after executing the test command on the test execution module;

[0038] The first output terminal of the next functional test module is electrically connected to the test result display module, and the second output terminal thereof is electrically connected to the test execution module;

[0039] The output end of the error analysis module is electrically connected to a virtual repair module, which is used to analyze and locate the cause of the error fed back during the test process, and find out the step where the error occurred and the position in the execution process;

[0040] The output end of the virtual repair module is electrically connected to a manual repair module, which is used to synchronize the function error information tested, modify the error when the function is running, and then perform a second operation;

[0041] The output end of the manual repair module is electrically connected to a test execution module, which checks the data repaired by the virtual repair module and performs calculations through an artificial algorithm.

[0042] Preferably, the test initiation module includes a test command input unit, a test command storage unit and a test command transmission module;

[0043] The test command input unit inputs the function to be tested;

[0044] The test command storage unit is used to store the input commands, and is used to provide commands identical to the keyword after only a part of the keyword is input when the same command is input, so as to provide the tester with a choice and improve the input efficiency;

[0045] The test command transmitting module transmits the test command remotely through the network.

[0046] Preferably, the test execution module has a built-in command receiving unit to receive commands issued by the command transmission module.

[0047] Preferably, the input mode of the test command input unit is any one of keyboard input, handwriting input, and voice input.

[0048] Please see attached Figure 2 As shown, the testing method of the above embodiment comprises the following steps:

[0049] Start: prepare the functional module of the mobile device to be tested, and import the functional module testing system of the mobile device, and execute step S1;

[0050] S1, test initiation: input the test command preset in the test command storage unit, initiate the test of the functional module of the mobile device through the test command transmission module, and execute step S2;

[0051] S2, test execution: the executor matched with the mobile device executes the test command, and then the executor performs corresponding functional test on the mobile device, and executes step S3;

[0052] S3, test feedback: after the test execution module executes the test command, the result of the function test is fed back; if a function can run normally after the test, step S7 is executed, otherwise step S4 is executed;

[0053] S4, error analysis: Analyze and locate the cause of the error reported during the test, find out the step where the error occurred and the position in the execution process, and then execute step S5;

[0054] S5, virtual repair: synchronize the function error information tested, modify the error when the function is running, and then run it again;

[0055] S6, manual repair: manually check the virtual repair data and calculate it through a manual algorithm; if the modified data is found to have problems, modify it through manual repair, otherwise execute step S2;

[0056] S7, next function module test: test all data of the function modules of the mobile device to be tested in sequence. If the test is complete, the test ends. Otherwise, execute step S1;

[0057] End of test: storage of functional modules of qualified mobile devices.

[0058] The present invention inputs the test function through the test initiation module, and stores the test function command, so that the next time the test is performed, the test function can be conveniently input through association, and when an error occurs in the test function, the error analysis module will analyze the error encountered in the execution of the function, and then the virtual repair module will create the same information based on the analysis result, and the erroneous data will be repaired in the virtual repair module. After the repair is completed, a simulation operation will be performed in the virtual repair module. If there is no error, the manual repair module will be entered to check the repaired data. If there is no error, the repaired data will be transmitted to the mobile device, and then the function of the mobile device will be tested again, avoiding the existing test. If an error occurs, the simulator cannot be used for simulated repair, which easily leads to errors in modifying data and damages the mobile device. At the same time, after the modification, it is impossible to test whether the corrected data is correct, so it is necessary to run after each modification. Repeated operation will result in a slow maintenance speed for the function.

[0059] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A functional module testing system for a mobile device, comprising a test initiation module, a test execution module, a test feedback module, an error analysis module, a virtual repair module, a manual repair module, a next functional test module, and a test result display module; It is characterized in that The output end of the test initiating module is electrically connected to the test executing module; The output end of the test execution module is electrically connected to a test feedback module, and an actuator that matches the mobile device executes the test command issued by the test initiation module, and then the actuator performs a corresponding functional test on the mobile device; The first output terminal of the test feedback module is electrically connected to the next functional test module, and the second output terminal thereof is electrically connected to the error analysis module, which feeds back the result of the functional test after executing the test command on the test execution module; The first output terminal of the next functional test module is electrically connected to the test result display module, and the second output terminal thereof is electrically connected to the test execution module; The output end of the error analysis module is electrically connected to a virtual repair module, which is used to analyze and locate the cause of the error fed back during the test process, and find out the step where the error occurred and the position in the execution process; The output end of the virtual repair module is electrically connected to a manual repair module, which is used to synchronize the function error information tested, modify the error when the function is running, and then perform a second operation; The output end of the manual repair module is electrically connected to a test execution module, which checks the data repaired by the virtual repair module and performs calculations through an artificial algorithm.

2. A functional module testing system for a mobile device according to claim 1, characterized in that: The test initiation module includes a test command input unit, a test command storage unit and a test command transmission module; The test command input unit inputs the function to be tested; The test command storage unit is used to store the input commands, and is used to provide commands identical to the keyword after only a part of the keyword is input when the same command is input, so as to provide the tester with a choice and improve the input efficiency; The test command transmitting module transmits the test command remotely through the network.

3. A functional module testing system for a mobile device according to claim 2, characterized in that: The test execution module has a built-in command receiving unit to receive commands sent by the command transmission module.

4. A function module testing system for a mobile device according to claim 2, characterized in that: The input mode of the test command input unit is any one of keyboard input, handwriting input, and voice input; 5. A method for testing a functional module of a mobile device, characterized in that: The following steps are involved: Start: prepare the functional module of the mobile device to be tested, and import the functional module testing system of the mobile device, and execute step S1; S1, test initiation: input the test command preset in the test command storage unit, initiate the test of the functional module of the mobile device through the test command transmission module, and execute step S2; S2, test execution: the executor matched with the mobile device executes the test command, and then the executor performs corresponding functional test on the mobile device, and executes step S3; S3, test feedback: after the test execution module executes the test command, the result of the function test is fed back; if a function can run normally after the test, step S7 is executed, otherwise step S4 is executed; S4, error analysis: Analyze and locate the cause of the error reported during the test, find out the step where the error occurred and the position in the execution process, and then execute step S5; S5, virtual repair: synchronize the function error information tested, modify the error when the function is running, and then run it again; S6, manual repair: manually check the virtual repair data and calculate it through a manual algorithm; if the modified data is found to have problems, modify it through manual repair, otherwise execute step S2; S7, next function module test: test all data of the function modules of the mobile device to be tested in sequence. If the test is complete, the test ends. Otherwise, execute step S1; End of test: storage of functional modules of qualified mobile devices.