Mobile terminal test method and test equipment

The mobile terminals are bound by the AT port to the serial number and identification code, which realizes simultaneous testing and flexible control of multiple mobile terminals, solves the problems of high cost and low efficiency in the existing technology, and ensures that each mobile terminal is test logging.

CN118964104APending Publication Date: 2024-11-15SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410941851.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing mobile terminal testing method is cost-effective and inefficient. It is impossible to test multiple mobile terminals simultaneously, and the test process of each mobile terminal cannot be controlled separately, resulting in the inability to record the test logs effectively.

Method used

Connect multiple mobile terminals to test devices through the AT port, obtain the serial number of each mobile terminal and the identification code of the AT port, bind one by one, and send test instructions through the bound AT port to achieve multi-purpose Simultaneous testing and flexible control of mobile terminals.

Benefits of technology

It realizes that a test device tests multiple mobile terminals at the same time, which can flexibly control the test process of each mobile terminal, solves the problems of high cost and low efficiency, and can effectively record the test logs of each mobile terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964104A_ABST
    Figure CN118964104A_ABST
Patent Text Reader

Abstract

The invention provides a mobile terminal test method and test equipment, a computer storage medium and a chip or a chip module, and the method comprises the steps: enabling a plurality of mobile terminals to be in communication connection with the test equipment through AT ports; obtaining a first identification code of each mobile terminal; reading a second identification code at each AT port; according to the first identification code and the second identification code, binding the serial number of the mobile terminal with the AT port one by one; and sending a test instruction to the mobile terminal through the bound AT port so as to carry out testing. The serial numbers of the mobile terminals and the AT ports are bound one by one through the first identification codes and the second identification codes, so that the test equipment can identify different connected mobile terminals through the AT ports, the mobile terminals can be independently controlled through the AT ports, one test equipment can test multiple mobile terminals at the same time, and the test efficiency is improved. And the test process of each mobile terminal can be flexibly controlled, so that the problems of high cost and low efficiency of the existing mobile terminal test mode are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to a mobile terminal testing method and testing equipment, a computer storage medium, and a chip or a chip module. Background Art

[0002] With the development of science and technology, wireless communication technology has been widely used in various scenarios, and the carriers for wireless communication are various mobile terminals. In order to ensure the performance of mobile terminals, they usually need to undergo multiple tests before leaving the factory. Among them, call tests can conduct comprehensive functional and performance tests on mobile terminals through test programs, thereby ensuring that the functions and performance of mobile terminals meet the requirements.

[0003] During the call test, it is necessary to prepare a test device with a test program burned in it, connect the mobile terminal to the test device through the AT port, and then test the mobile terminal with the test device. However, in the existing call test, one test device is only equipped with one AT port, so it can only test one mobile terminal; when multiple mobile terminals need to be tested at the same time to improve the test efficiency, multiple test devices can only be configured, which undoubtedly wastes the test hardware cost.

[0004] In order to reduce the testing cost, the R&D personnel configured multiple AT ports on the test equipment so that one test equipment can connect to multiple mobile terminals. However, the multiple AT ports of the existing test equipment cannot correspond to the mobile terminals one by one, resulting in that during the test, the test equipment can only test multiple connected mobile terminals at the same time, and cannot control the test process of each mobile terminal individually, which greatly limits the flexibility of the test. In addition, since the existing test equipment cannot correspond the AT ports to the mobile devices one by one, the test logs generated can only correspond to the test equipment, but not to each mobile device, so the test logs of the mobile devices cannot be effectively recorded. Summary of the invention

[0005] The object of the present invention is to provide a mobile terminal testing method and testing equipment, a computer storage medium and a chip or a chip module to solve the problem of high cost and low efficiency of existing mobile terminal testing methods.

[0006] In order to solve the above technical problems, the present invention provides a mobile terminal testing method, which is applied to a testing device. The mobile terminal testing method comprises:

[0007] Connect multiple mobile terminals to the test equipment through the AT port;

[0008] Obtaining the serial number of each mobile terminal to obtain a first identification code;

[0009] Read the identification code at each AT port and record it as the second identification code;

[0010] Binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code;

[0011] A test command is sent to the mobile terminal through the bound AT port to test the mobile terminal.

[0012] Optionally, in the mobile terminal testing method, multiple AT ports have port numbers, and different AT ports have different port numbers.

[0013] Optionally, in the mobile terminal testing method, the testing device is burned with a first identification program; the method of obtaining the serial number of each mobile terminal to obtain the first identification code includes:

[0014] Read the serial number of the mobile terminal by scanning the serial barcode attached to the outside of the mobile terminal;

[0015] Enter the serial number into the test equipment;

[0016] A first identification code corresponding to the serial number is obtained by using a first identification program in the test device.

[0017] Optionally, in the mobile terminal testing method, the method of obtaining the first identification code corresponding to the serial number by using the first identification program in the testing device includes:

[0018] Obtain a first identification code corresponding to the serial number through adb;

[0019] Or, obtain the first identification code corresponding to the serial number through ssh.

[0020] Optionally, in the mobile terminal testing method, the testing device is burned with a second identification program; the method of reading the identification code at each AT port and recording it as the second identification code includes:

[0021] Using the second identification program in the test equipment, automatically identifying the identification code stored in the mobile terminal connected to the AT port for communication, and recording it as the second identification code;

[0022] Match the second identification code to the port number one by one and enter it into the test device.

[0023] Optionally, in the mobile terminal testing method, the method of binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code includes:

[0024] Obtain the serial number of the mobile terminal;

[0025] Compare all first identification codes with all second identification codes one by one;

[0026] If the first identification code and the second identification code are the same, the serial number corresponding to the first identification code and the port number corresponding to the second identification code are bound.

[0027] Optionally, in the mobile terminal testing method, the method of sending a test instruction to the mobile terminal through the bound AT port includes:

[0028] Specify the serial number of the mobile terminal to be tested;

[0029] Confirm the AT port according to the specified serial number;

[0030] Send a test command to the mobile terminal through the confirmed AT port.

[0031] Optionally, in the mobile terminal testing method, the method for confirming the AT port according to the specified serial number includes:

[0032] confirming the corresponding first identification code according to the specified serial number;

[0033] comparing all second identification codes with the first identification code corresponding to the specified serial number;

[0034] If the second identification code is the same as the first identification code, the port number corresponding to the second identification code is obtained, and the AT port corresponding to the port number is confirmed as the AT port to which the test instruction is to be sent.

[0035] Optionally, in the mobile terminal testing method, the mobile terminal testing method further includes:

[0036] Obtain the test log of the mobile terminal connected to it through the AT port;

[0037] Bind the test log to the serial number and store it in the test device.

[0038] In order to solve the above technical problems, the present invention further provides a testing device for implementing the mobile terminal testing method as described in any one of the above items, the testing device comprising:

[0039] The communication module is provided with a plurality of AT ports, each of the AT ports is used for communication connection with a mobile terminal;

[0040] A barcode scanning module, used to obtain a first identification code of the mobile terminal by scanning an identification barcode attached to the outside of the mobile terminal;

[0041] A reading module is provided with an automatic identification program, which is used to automatically identify the identification code stored in the mobile terminal that is connected to the AT port for communication through the automatic identification program, so as to read and obtain the second identification code;

[0042] A binding module, used for binding the serial number corresponding to the first identification code with the AT port corresponding to the second identification code when the first identification code and the second identification code are the same;

[0043] The test module is used to confirm the AT port according to the specified serial number and send a test instruction to the mobile terminal through the confirmed AT port.

[0044] Optionally, in the test device, the test device also includes a storage module; the storage module is used to store test instructions, the correspondence between the first identification code and the serial number, the correspondence between the second identification code and the port number of the AT port, and the test log of the mobile terminal.

[0045] In order to solve the above technical problems, the present invention further provides a computer storage medium, wherein the computer storage medium stores an executable program; when the executable program is executed, the mobile terminal testing method as described in any one of the above items is implemented.

[0046] In order to solve the above technical problems, the present invention also provides a chip or a chip module, wherein the chip or the chip module is coupled to a memory and is used to execute a computer program stored in the memory to execute the mobile terminal testing method as described in any one of the above items.

[0047] The mobile terminal testing method and testing equipment, computer storage medium and chip or chip module provided by the present invention include: connecting multiple mobile terminals to the testing equipment through the AT port; obtaining the serial number of each mobile terminal to obtain the first identification code; reading the identification code at each AT port and recording it as the second identification code; binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code; sending a test instruction to the mobile terminal through the bound AT port to test the mobile terminal. By obtaining the first identification code and the second identification code of the mobile terminal, and binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code, the testing equipment can identify different connected mobile terminals through the AT port, and then can control the mobile terminal individually through the AT port, which not only enables one testing equipment to test multiple mobile terminals at the same time, but also can flexibly control the test process of each mobile terminal, solving the problem of high cost and low efficiency of the existing mobile terminal testing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A flowchart of a mobile terminal testing method provided in this embodiment;

[0049] Figure 2 A process logic diagram of the mobile terminal testing method provided in this embodiment;

[0050] Figure 3 A schematic diagram of the structure of the test equipment provided in this embodiment. DETAILED DESCRIPTION

[0051] The mobile terminal testing method and testing equipment, computer storage medium and chip or chip module proposed in the present invention are further described in detail below in combination with the accompanying drawings and specific embodiments. It should be noted that the accompanying drawings are all in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In addition, the structure shown in the accompanying drawings is often part of the actual structure. In particular, the emphasis of each accompanying drawing is different, and sometimes different proportions are used.

[0052] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish similar objects in order to describe the embodiments of the present invention, rather than to describe a specific order or sequence. It should be understood that the structures used in this way can be interchanged under appropriate circumstances. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0053] Mobile terminals usually include mobile phones, laptops, tablet computers, and even smart watches, which provide great convenience for people's wireless communications. In order to identify different mobile terminals and provide accurate and secure wireless communication services, IMEI (International Mobile Equipment Identity) is usually set for the mobile terminal; at the same time, in order to confirm the legitimacy of the source of the mobile terminal, SN (Serial Number) is also set for it. Among them, IMEI is not only affixed to the surface of the mobile terminal body and the outer packaging, but also stored in the memory inside the mobile terminal, so that IMEI can be read from its memory; and SN is generally only set on the surface of the mobile terminal body or the outer packaging, and is not stored in the memory of the mobile terminal, but SN corresponds to IMEI one by one, and both are unique.

[0054] At present, when testing mobile terminals, the SN code is usually scanned and entered into the test equipment before testing. When the same test equipment tests multiple mobile terminals, the multiple SN codes scanned and entered cannot correspond to the multiple mobile terminals one by one, so it is impossible to obtain the test log of each mobile terminal, and it is also impossible to control the test process of the mobile terminal individually, which greatly limits the flexibility and efficiency of the test.

[0055] Based on this, this embodiment provides a mobile terminal testing method, which is applied to a testing device, such as Figure 1 As shown, the mobile terminal testing method includes:

[0056] S1, connect multiple mobile terminals to the test equipment through the AT port;

[0057] S2, obtaining the serial number of each mobile terminal to obtain a first identification code;

[0058] S3, reading the identification code at each AT port and recording it as the second identification code;

[0059] S4, binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code;

[0060] S5, sending a test instruction to the mobile terminal through the bound AT port to test the mobile terminal.

[0061] The mobile terminal testing method provided in this embodiment, since the first identification code is obtained through the serial number and the second identification code is obtained by reading the AT port, the serial number of the mobile terminal can be bound to the AT port one by one according to the first identification code and the second identification code, so that the testing device can identify different connected mobile terminals through the AT port, and then can control the mobile terminal individually through the AT port, which not only enables one testing device to test multiple mobile terminals at the same time, but also can flexibly control the testing process of each mobile terminal, thereby solving the problem of high cost and low efficiency of existing mobile terminal testing methods.

[0062] Specifically, in this embodiment, in step S1, when multiple mobile terminals are connected to the test device through the AT port, multiple AT ports are usually configured for the test device, and each AT port is connected to a mobile terminal to improve the test efficiency. In order to enable the test device to distinguish between multiple AT ports, in this embodiment, multiple AT ports have port numbers, and different AT ports have different port numbers.

[0063] Furthermore, in this embodiment, in step S2, the method of obtaining the serial number of each mobile terminal to obtain the first identification code includes:

[0064] S21, reading the serial number of the mobile terminal by scanning the serial barcode attached to the outside of the mobile terminal.

[0065] Specifically, the test device may be equipped with a barcode scanner so that the serial barcode attached to the outside of the mobile terminal can be read by the barcode scanner. The serial barcode is the SN barcode.

[0066] S22, entering the serial number into the test device.

[0067] Specifically, reading the SN by a barcode scanner and entering the read SN into the test equipment is an existing conventional technical means, which is consistent with the method of obtaining the SN during the existing test and will not be repeated here.

[0068] S23, using a first identification program in the test device to obtain a first identification code corresponding to the serial number.

[0069] Specifically, in this embodiment, a first identification program is burned into the test device, so that the read serial number SN can be converted into the first identification code IMEI by using the first identification program.

[0070] In practical applications, the first identification code corresponding to the serial number may be obtained through adb; or, the first identification code corresponding to the serial number may be obtained through ssh.

[0071] Among them, adb stands for Android Debug Bridge, which can be used to debug Android programs in Eclipse through DDMS. In the test of mobile terminals, the adb command can be used to implement device port mapping so that the corresponding first identification code IMEI can be obtained according to the known SN. ssh is a network protocol, through which the corresponding first identification code IMEI can be obtained according to the SN.

[0072] Of course, if the mobile device has an identification barcode (IMEI barcode) attached to its body, you can also directly use a barcode scanner to read the identification barcode, and use the read IMEI as the first identification code IMEI. In actual application, you can first read the serial barcode of the same mobile device to obtain the serial number SN, then read the identification barcode to obtain the IMEI, and bind the serial number SN and the first identification code IMEI.

[0073] In other embodiments, the first identification code corresponding to the SN code of the mobile terminal may be obtained by other means, and this application does not impose any limitation on this.

[0074] Furthermore, in this embodiment, in step S3, the method of reading the identification code at each AT port, recorded as the second identification code, includes:

[0075] S31, using a second identification program in the test device, automatically identifying an identification code stored in a mobile terminal that is communicatively connected to the AT port, and recording the identification code as a second identification code.

[0076] Specifically, in this embodiment, a second identification program is burned into the test device, so that the second identification program can be used to read the identification code IMEI stored in the mobile terminal from the AT port, thereby obtaining the second identification code. Among them, those skilled in the art can obtain the implementation method of the second identification program based on the prior art, so that the test device can read the IMEI stored in the mobile terminal, and this application will not repeat it in detail.

[0077] S32, the second identification code is matched with the port number one by one, and is input into the test device.

[0078] Specifically, since each AT port is connected to a mobile terminal, when the AT port has a port number, in order to facilitate the statistics of the second identification codes obtained from multiple AT ports, and to enable the test device to distinguish the mobile terminals connected to each AT port, in this embodiment, the second identification code is bound to the port number, so that the test device can obtain the correspondence between the AT port and the mobile terminal.

[0079] At this point, the serial number SN corresponds to the first identification code IMEI, and the port number of the AT port corresponds to the second identification code IMEI, but the serial number SN cannot be matched to the AT port, that is, the test equipment still cannot distinguish which mobile terminal is connected to each AT port.

[0080] In order to enable the test device to correctly match the serial number SN of the mobile terminal with the AT port, in this embodiment, step S4, according to the first identification code and the second identification code, bind the serial number of the mobile terminal with the AT port one by one, including:

[0081] S41, obtaining the serial number of the mobile terminal. The method of obtaining the serial number has been specifically described in the above step S2 and will not be repeated here.

[0082] S42, comparing all the first identification codes with all the second identification codes one by one.

[0083] Specifically, since the test device has obtained and stored the first identification code and the second identification code respectively, the test device can use a preset comparison algorithm to compare the first identification code and the second identification code. During the comparison process, all the first identification codes and the second identification codes need to be traversed to ensure the integrity of the comparison.

[0084] S43: If the first identification code and the second identification code are the same, binding the serial number corresponding to the first identification code and the port number corresponding to the second identification code.

[0085] Specifically, if the first identification code and the second identification code are the same, it means that the mobile terminal corresponding to the first identification code and the mobile terminal corresponding to the second identification code are the same mobile terminal. Therefore, binding the serial number corresponding to the first identification code and the port number corresponding to the second identification code can enable the test equipment to match the mobile terminal with the AT port one-to-one, thereby facilitating the control of the mobile terminal test process through the AT port.

[0086] Further, in this embodiment, in step S5, the method of sending a test instruction to the mobile terminal through the bound AT port to test the mobile terminal includes:

[0087] S51, specifying the serial number of the mobile terminal to be tested.

[0088] Specifically, since the serial numbers of all mobile terminals currently connected to the test device have been entered into the test device, the serial number SN of the mobile terminal to be tested can be selected from the test device.

[0089] S52, confirming the AT port according to the specified serial number.

[0090] Specifically, in this embodiment, first, the corresponding first identification code is confirmed according to the specified serial number. Since the first identification code corresponding to the serial number has been obtained through the first identification program in step S2, it is only necessary to retrieve the corresponding first identification code from it according to the specified serial number; then, all second identification codes are compared with the first identification code corresponding to the specified serial number. Since the second identification code stored inside the mobile terminal has been read from the AT port through the second identification program in step S3, all second identification codes read from the AT port are compared with the specified first identification code at this time; if the second identification code is the same as the first identification code, the port number corresponding to the second identification code is obtained, and the AT port corresponding to the port number is confirmed as the AT port to which the test instruction is to be sent. In this way, the AT port to which the mobile terminal to be tested is connected is confirmed.

[0091] S53, sending a test instruction to the mobile terminal through the confirmed AT port.

[0092] Specifically, the test device is burned with test instructions. After confirming the mobile terminal to be tested and the test items to be performed, the test device can send the test instructions corresponding to the test items to be tested to the mobile terminal through the corresponding AT port, thereby controlling the mobile terminal to perform the test.

[0093] Since the mobile terminal corresponding to each AT port is clear, different test instructions can be issued to different mobile terminals, so that multiple mobile terminals tested at the same time can perform tests of different items; in addition, when an abnormality occurs in the test of a mobile terminal, an instruction to suspend the test can be issued only to the mobile terminal without affecting the tests of other mobile terminals. In this way, the flexibility of the test is greatly improved.

[0094] Preferably, in order to obtain the test log of each mobile terminal so as to analyze and confirm the test result of each mobile terminal later, in this embodiment, the mobile terminal testing method further includes:

[0095] S61, obtaining the test log of the mobile terminal connected to the AT port through the AT port.

[0096] In the prior art, the test log is a test log generated by the test device, which cannot reflect the test results of each mobile terminal, and therefore cannot confirm the test results for a single mobile terminal; when an individual mobile terminal is abnormal during the test, personnel are required to confirm it in time and lock the abnormal mobile terminal, resulting in low test efficiency. In this embodiment, the test log is a log generated by the mobile terminal, which reflects the test results of each mobile terminal; when the test device obtains the test log of each mobile terminal through the AT port and summarizes and organizes it, the final test log can reflect the test results of each mobile terminal, without the need for personnel to confirm the test status in real time, thereby improving the test efficiency.

[0097] S62, binding the test log with the serial number and storing it in the test device.

[0098] Since the AT port corresponds to the serial number of the mobile terminal one by one, the test log obtained at the AT port can be bound to the serial number through the correspondence between the AT port and the serial number, so that when the test log is subsequently analyzed and processed, it can be matched with the mobile terminal through the serial number.

[0099] The following, combined Figure 2 , the main process of the mobile terminal testing method provided in this embodiment is described:

[0100] When conducting the test, first, multiple mobile terminals are connected to the test equipment through the AT port; then, the test equipment is controlled to run the pre-burned test program and specify the serial number SN of the mobile terminal to be tested; thereafter, the test program obtains the IMEI (first identification code) corresponding to it through the specified SN; then, the test program traverses all AT ports to read the IMEI (second identification code) stored inside the mobile terminal connected to the AT port; the first identification code and the second identification code are compared, and if the two are the same, the SN is bound to the AT port that obtains the second identification code; if the second identification code that is the same as the first identification code is not found after traversing all AT ports, the test equipment is controlled to report an abnormality to remind the staff to confirm in time; a test instruction is issued to the bound AT port, so that the mobile device connected to the AT port is tested; finally, a test log log is generated in real time during the test process, and the test log includes SN, AT port number, test time, test results, etc., until the test is completed and the final test log is obtained.

[0101] The mobile terminal testing method provided in this embodiment realizes binding of the AT port with the SN of the mobile terminal by comparing and binding the IMEI of the mobile terminal with the IMEI read at the AT port, so that the testing device can clearly identify the mobile terminal connected to each AT port, and can issue instructions to each mobile terminal through the AT port, thereby realizing individual control of the mobile terminal. Not only does one testing device realize testing of multiple mobile terminals at the same time, but it can also flexibly control the testing process of each mobile terminal, thus solving the problem of high cost and low efficiency of the existing mobile terminal testing method.

[0102] This embodiment also provides a testing device for implementing the mobile terminal testing method as described above. Figure 3 As shown, the test equipment includes:

[0103] The communication module is provided with a plurality of AT ports, each of the AT ports is used for communication connection with a mobile terminal;

[0104] A barcode scanning module, used to obtain a first identification code of the mobile terminal by scanning an identification barcode attached to the outside of the mobile terminal;

[0105] A reading module is provided with an automatic identification program, which is used to automatically identify the identification code stored in the mobile terminal that is connected to the AT port for communication through the automatic identification program, so as to read and obtain the second identification code;

[0106] A binding module, used for binding the serial number corresponding to the first identification code with the AT port corresponding to the second identification code when the first identification code and the second identification code are the same;

[0107] The test module is used to confirm the AT port according to the specified serial number and send a test instruction to the mobile terminal through the confirmed AT port.

[0108] Preferably, in order to effectively save various data generated during the test process and facilitate data retrieval and processing, in this embodiment, the test device also includes a storage module; the storage module is used to store test instructions, the correspondence between the first identification code and the serial number, the correspondence between the second identification code and the port number of the AT port, and the test log of the mobile terminal.

[0109] Furthermore, this embodiment further provides a computer storage medium, wherein the computer storage medium stores an executable program; when the executable program is executed, the mobile terminal testing method as described above is implemented.

[0110] Furthermore, this embodiment further provides a chip or a chip module, wherein the chip or the chip module is coupled to a memory and is used to execute a computer program stored in the memory to execute the mobile terminal testing method as described above.

[0111] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other. In addition, the different parts between the various embodiments can also be used in combination with each other, and the present invention is not limited to this.

[0112] The mobile terminal testing method and testing equipment, computer storage medium and chip or chip module provided in this embodiment include: connecting multiple mobile terminals to the testing equipment through the AT port; obtaining the serial number of each mobile terminal to obtain the first identification code; reading the identification code at each AT port and recording it as the second identification code; binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code; sending a test instruction to the mobile terminal through the bound AT port to test the mobile terminal. By obtaining the first identification code and the second identification code of the mobile terminal, and binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code, the testing equipment can identify different connected mobile terminals through the AT port, and then can control the mobile terminal individually through the AT port, which not only enables one testing equipment to test multiple mobile terminals at the same time, but also can flexibly control the test process of each mobile terminal, solving the problem of high cost and low efficiency of the existing mobile terminal testing method.

[0113] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A mobile terminal testing method, applied to a testing device, It is characterized in that The mobile terminal testing method comprises: Connect multiple mobile terminals to the test equipment through the AT port; Obtaining the serial number of each mobile terminal to obtain a first identification code; Read the identification code at each AT port and record it as the second identification code; Binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code; A test command is sent to the mobile terminal through the bound AT port to test the mobile terminal.

2. The mobile terminal testing method according to claim 1, It is characterized in that The plurality of AT ports have port numbers, and different AT ports have different port numbers.

3. The mobile terminal testing method according to claim 1, It is characterized in that The test device is burned with a first identification program; the method of obtaining the serial number of each mobile terminal to obtain the first identification code includes: Read the serial number of the mobile terminal by scanning the serial barcode attached to the outside of the mobile terminal; Enter the serial number into the test equipment; A first identification code corresponding to the serial number is obtained by using a first identification program in the test device.

4. The mobile terminal testing method according to claim 3, It is characterized in that The method of obtaining the first identification code corresponding to the serial number by using the first identification program in the test device includes: Obtain a first identification code corresponding to the serial number through adb; Or, obtain the first identification code corresponding to the serial number through ssh.

5. The mobile terminal testing method according to claim 2, It is characterized in that The test device is burned with a second identification program; the method of reading the identification code at each AT port and recording it as the second identification code includes: Using the second identification program in the test equipment, automatically identifying the identification code stored in the mobile terminal connected to the AT port for communication, and recording it as the second identification code; Match the second identification code to the port number one by one and enter it into the test device.

6. The mobile terminal testing method according to claim 2, It is characterized in that The method of binding the serial number of the mobile terminal to the AT port one by one according to the first identification code and the second identification code includes: Obtain the serial number of the mobile terminal; Compare all first identification codes with all second identification codes one by one; If the first identification code and the second identification code are the same, the serial number corresponding to the first identification code and the port number corresponding to the second identification code are bound.

7. The mobile terminal testing method according to claim 1, It is characterized in that The method of sending a test instruction to a mobile terminal through a bound AT port includes: Specify the serial number of the mobile terminal to be tested; Confirm the AT port according to the specified serial number; Send a test command to the mobile terminal through the confirmed AT port.

8. The mobile terminal testing method according to claim 7, It is characterized in that The method for confirming the AT port according to the specified serial number includes: confirming the corresponding first identification code according to the specified serial number; comparing all second identification codes with the first identification code corresponding to the specified serial number; If the second identification code is the same as the first identification code, the port number corresponding to the second identification code is obtained, and the AT port corresponding to the port number is confirmed as the AT port to which the test instruction is to be sent.

9. The mobile terminal testing method according to claim 1, It is characterized in that The mobile terminal testing method further includes: Obtain the test log of the mobile terminal connected to it through the AT port; Bind the test log to the serial number and store it in the test device.

10. A testing device, used to implement the mobile terminal testing method according to any one of claims 1 to 9, It is characterized in that The test equipment includes: A communication module, provided with a plurality of AT ports, each of the AT ports being used for communication connection with a mobile terminal; A barcode scanning module, used to obtain a first identification code of the mobile terminal by scanning an identification barcode attached to the outside of the mobile terminal; A reading module is provided with an automatic identification program, which is used to automatically identify the identification code stored in the mobile terminal that is connected to the AT port for communication through the automatic identification program, so as to read and obtain the second identification code; A binding module, used for binding the serial number corresponding to the first identification code with the AT port corresponding to the second identification code when the first identification code and the second identification code are the same; The test module is used to confirm the AT port according to the specified serial number and send a test instruction to the mobile terminal through the confirmed AT port.

11. The test device according to claim 10, It is characterized in that The test device also includes a storage module; the storage module is used to store test instructions, the correspondence between the first identification code and the serial number, the correspondence between the second identification code and the port number of the AT port, and the test log of the mobile terminal.

12. A computer storage medium, It is characterized in that The computer storage medium stores an executable program; when the executable program is executed, the mobile terminal testing method according to any one of claims 1 to 9 is implemented.

13. A chip module, It is characterized in that The chip module is coupled to the memory and is used to execute a computer program stored in the memory to execute the mobile terminal testing method according to any one of claims 1 to 9.