Test system and test method
Patent Information
- Application Number
- CN202610889716.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-18
- Publication Date
- 2026-09-01
AI Technical Summary
[0005]本申请的目的在于,针对上述现有技术中的不足,提供一种测试系统及测试方法,以解决现有技术中针对蜂窝通讯模组的双卡槽测试存在一定局限性的实际需要的问题
本申请提供了一种测试系统及测试方法,测试系统包括待测蜂窝通讯模组、上位机、开关模块、信号切换模块及USIM卡槽,待测蜂窝通讯模组包括第一USIM接口及第二USIM接口,USIM卡槽中插入有USIM卡。待测蜂窝通讯模组分别与上位机、开关模块的第一端和第二端及信号切换模块的第一端和第二端连接,开关模块的第三端及信号切换模块的第三端分别与USIM卡槽连接。待测蜂窝通讯模组根据上位机发送的测试指令,向开关模块发送USIM电源控制信号,开关模块在USIM电源控制信号的作用下,通过第一USIM接口的第一USIM电源或第二USIM接口的第二USIM电源向USIM卡槽供电。待测蜂窝通讯模组还根据测试指令,向信号切换模块发送USIM切换信号,信号切换模块在USIM切换信号的作用下,通过第一USIM接口的第一USIM信号线或第二USIM接口的第二USIM信号线建立待测蜂窝通讯模组与USIM卡槽中的USIM卡的通信链路。待测蜂窝通讯模组通过通信链路识别USIM卡槽中的USIM卡,得到测试结果并发送至上位机。通过同一个USIM卡槽实现了对待测蜂窝通讯模组中两个USIM接口的测试,以便PCB上同时放置多个待测蜂窝通讯模组进行USIM接口的测试,提升测试效率,并降低测试成本,避免复杂测试导致的误测,实现高效率、低成本、高可靠性的批量测试。
Smart Images

Figure CN122679455A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of testing technology, and more specifically, to a testing system and testing method. Background Technology
[0002] A cellular communication module is a functional module that integrates chips for radio frequency front-end, baseband processing, power management, and storage, enabling cellular network communication. The baseband processing chip built into a cellular communication module typically provides two sets of Universal Mobile Telecommunications System Subscriber Identity Module (USIM) standard interfaces for connecting to an external USIM card slot to meet dual SIM dual standby requirements.
[0003] During the module production testing phase, it is necessary to verify the functionality of the two sets of USIM interfaces. Currently, each set of USIM interfaces is typically connected to a test USIM card slot, with one USIM card inserted into each slot. The functionality of the USIM interface is determined by whether the cellular communication module can correctly identify the USIM card in the corresponding USIM card slot.
[0004] However, the aforementioned dual-slot testing scheme has significant shortcomings. Firstly, the printed circuit board (PCB) area of production line testing equipment is limited, and the USIM card slots and related electronic components occupy considerable space. Arranging two independent USIM card slots would affect the testing space for cellular communication modules and reduce testing efficiency. Secondly, the dual-slot testing scheme makes the testing circuit more complex, increasing hardware production and maintenance costs. Furthermore, subtle differences between the two USIM card slots and their associated circuits may affect test consistency, easily introducing false tests during mass module testing and impacting the first-pass yield of production line module functional verification. Summary of the Invention
[0005] The purpose of this application is to provide a testing system and testing method to address the shortcomings of the prior art and solve the practical problem of the limitations of the existing technology in testing dual SIM card slots for cellular communication modules.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a testing system, the testing system comprising: a cellular communication module under test, a host computer, a switch module, a signal switching module, and a USIM card slot; the cellular communication module under test includes a first USIM interface and a second USIM interface, and a USIM card is inserted into the USIM card slot; The cellular communication module under test is connected to the host computer, the first and second terminals of the switch module, and the first and second terminals of the signal switching module, respectively. The third terminal of the switch module and the third terminal of the signal switching module are connected to the USIM card slot, respectively. The cellular communication module under test is used to send a USIM power control signal to the switch module according to the test command sent by the host computer; the switch module is used to supply power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface under the action of the USIM power control signal. The cellular communication module under test is also used to send a USIM switching signal to the signal switching module according to the test command; the signal switching module is used to establish a communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface under the action of the USIM switching signal. The cellular communication module under test is also used to identify the USIM card in the USIM card slot through the communication link, obtain the test results, and send the test results to the host computer.
[0007] As an optional implementation, the switch module includes a first switch unit and a second switch unit; The input terminal of the first switching unit is connected to the first USIM power supply of the first USIM interface, the control terminal of the first switching unit is connected to the first GPIO pin of the cellular communication module under test, and the output terminal of the first switching unit is connected to the first power supply terminal of the USIM card slot. The input terminal of the second switching unit is connected to the second USIM power supply of the second USIM interface, the control terminal of the second switching unit is connected to the second GPIO pin of the cellular communication module under test, and the output terminal of the second switching unit is connected to the second power supply terminal of the USIM card slot.
[0008] As an optional implementation, the signal switching module includes a USIM signal switching chip; The first signal terminal of the USIM signal switching chip can be switched to connect to the first USIM interface and the second USIM interface. The control terminal of the USIM signal switching chip is connected to the third GPIO pin of the cellular communication module under test. The second signal terminal of the USIM signal switching chip is connected to the signal terminal of the USIM card slot.
[0009] As an optional implementation, if the test command indicates that the interface under test is the first USIM interface, then the cellular communication module under test sends a first GPIO signal of a first level to the first switching unit, a second GPIO signal of a second level to the second switching unit, and a third GPIO signal of a third level to the USIM signal switching chip.
[0010] As an optional implementation, the first switching unit is used to be turned on under the action of the first GPIO signal at the first level, so as to supply power to the USIM card slot through the first USIM power supply of the first USIM interface; The second switching unit is used to turn off under the action of the second GPIO signal at the second level, stopping the second USIM power supply to the USIM card slot through the second USIM interface; The USIM signal switching chip is used to switch the first signal terminal of the USIM signal switching chip to the first USIM interface under the action of the third GPIO signal of the third level, so as to establish a first communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface.
[0011] As an optional implementation, the cellular communication module under test identifies the USIM card in the USIM card slot through the first communication link, obtains the test result of the first USIM interface, and sends the test result of the first USIM interface to the host computer.
[0012] As an optional implementation, if the test command indicates that the interface under test is the second USIM interface, then the cellular communication module under test sends a first GPIO signal of the second level to the first switching unit, sends a second GPIO signal of the first level to the second switching unit, and sends a third GPIO signal of the fourth level to the USIM signal switching chip.
[0013] As an optional implementation, the first switch unit is used to turn off under the action of the first GPIO signal at the second level, stopping the first USIM power supply to the USIM card slot through the first USIM interface; The second switching unit is used to be turned on under the action of the second GPIO signal at the first level, so as to supply power to the USIM card slot through the second USIM power supply of the second USIM interface; The USIM signal switching chip is used to switch the first signal terminal of the USIM signal switching chip to the second USIM interface under the action of the third GPIO signal of the fourth level, so as to establish a second communication link between the cellular communication module under test and the USIM card in the USIM card slot through the second USIM signal line of the second USIM interface.
[0014] As an optional implementation, the cellular communication module under test identifies the USIM card in the USIM card slot through the second communication link, obtains the test result of the second USIM interface, and sends the test result of the second USIM interface to the host computer.
[0015] Secondly, embodiments of this application provide a testing method applied to a cellular communication module under test in the testing system described in the first aspect above, the method comprising: The cellular communication module under test receives the test command sent by the host computer and sends a USIM power control signal to the switch module according to the test command, so that the switch module supplies power to the USIM card slot through the first USIM power of the first USIM interface or the second USIM power of the second USIM interface under the action of the USIM power control signal. According to the test command, the cellular communication module under test sends a USIM switching signal to the signal switching module, so that the signal switching module establishes a communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface under the action of the USIM switching signal. The cellular communication module under test identifies the USIM card in the USIM card slot through the communication link, obtains the test result, and sends the test result to the host computer.
[0016] The beneficial effects of this application are: This application provides a testing system and a testing method. The testing system includes a cellular communication module under test (DUT), a host computer, a switch module, a signal switching module, and a USIM card slot. The DUT includes a first USIM interface and a second USIM interface, and a USIM card is inserted into the USIM card slot. The DUT is connected to the host computer, the first and second terminals of the switch module, and the first and second terminals of the signal switching module, respectively. The third terminals of the switch module and the signal switching module are connected to the USIM card slot. According to the test command sent by the host computer, the DUT sends a USIM power control signal to the switch module. Under the action of the USIM power control signal, the switch module supplies power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface. The cellular communication module under test (DUT) also sends a USIM switching signal to the signal switching module according to the test command. Under the action of the USIM switching signal, the signal switching module establishes a communication link between the DUT and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface. The DUT identifies the USIM card in the USIM card slot through the communication link, obtains the test results, and sends them to the host computer. By using the same USIM card slot, testing of two USIM interfaces in the DUT is achieved, allowing multiple DUT modules to be placed on the PCB simultaneously for USIM interface testing. This improves testing efficiency, reduces testing costs, avoids false tests caused by complex testing, and achieves high-efficiency, low-cost, and high-reliability batch testing. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 1 ; Figure 2 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 2 ; Figure 3 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 3 ; Figure 4 A schematic diagram of the test first USIM interface provided in an embodiment of this application; Figure 5This is a schematic diagram of a test of the second USIM interface provided in an embodiment of this application.
[0019] Reference numerals in the attached figures: Cellular communication module under test: 1; Host computer: 2; Switch module: 3; Signal switching module: 4; USIM card slot: 5; First USIM interface: USIM1; Second USIM interface: USIM2; First switch unit: 31; Second switch unit: 32; USIM signal switching chip: 41. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0021] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0022] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0023] Cellular communication modules typically have a built-in baseband processing chip that provides two sets of standard USIM interfaces for connecting to external USIM card slots to meet dual-SIM dual-standby requirements. During module production testing, the functionality of these two USIM interfaces needs to be verified. Currently, each USIM interface is usually connected to a separate test USIM card slot, with one USIM card inserted into each slot. The functionality of the USIM interface is determined by whether the cellular communication module can correctly recognize the USIM card in the corresponding slot.
[0024] However, the aforementioned dual-slot testing solution has significant shortcomings. Firstly, the printed circuit board (PCB) area of production line testing equipment is limited, and the USIM card slots and related electronic components occupy considerable space. Arranging two independent USIM card slots would affect the testing space for cellular communication modules, meaning a PCB that could originally test two modules simultaneously could only test one, reducing testing efficiency. Secondly, the dual-slot testing solution makes the testing circuit more complex, increasing hardware production and maintenance costs. Furthermore, subtle differences between the two USIM card slots and their associated circuits may affect test consistency, easily introducing false tests during mass module testing and impacting the first-pass yield of production line module functional verification.
[0025] Based on the above-mentioned problems, this application provides a testing system that improves testing efficiency and reduces false test rate by time-division multiplexing the same USIM card slot to test the two USIM interfaces of the cellular communication module.
[0026] Figure 1 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 1 ,like Figure 1 As shown, the test system includes: a cellular communication module under test (DUT) 1, a host computer 2, a switch module 3, a signal switching module 4, and a USIM card slot 5. The DUT 1 includes a first USIM interface (USIM1) and a second USIM interface (USIM2), and a USIM card is inserted into the USIM card slot 5. The DUT 1 is connected to the host computer 2, the first and second terminals of the switch module 3, and the first and second terminals of the signal switching module 4, respectively. The third terminals of the switch module 3 and the signal switching module 4 are connected to the USIM card slot 5.
[0027] Optionally, refer to Figure 1 In the test system, the switch module 3, signal switching module 4, and USIM card slot 5 are integrated on the PCB. When testing the cellular communication module under test 1, the cellular communication module under test 1 is plugged into and fixed on the PCB in a pluggable manner through a board-to-board (B2B) connector to achieve electrical connection with each link on the PCB. Specifically, the cellular communication module under test 1 is connected to the first and second terminals of the switch module 3 and the first and second terminals of the signal switching module 4, respectively. The third terminals of the switch module 3 and the signal switching module 4 are connected to the USIM card slot 5, in which a USIM card is inserted.
[0028] Continue to refer to Figure 1The cellular communication module 1 under test also communicates with the host computer 2 via USB serial port through the Universal Serial Bus (USB) pin to receive test commands sent by the host computer 2, test the function of the first USIM interface USIM1 or the second USIM interface USIM2 in the cellular communication module 1 under test based on the test commands, obtain the test results, and feed the test results back to the host computer 2.
[0029] The cellular communication module under test 1 is used to send a USIM power control signal to the switch module 3 according to the test command sent by the host computer 2. The switch module 3 is used to supply power to the USIM card slot 5 through the first USIM power supply of the first USIM interface USIM1 or the second USIM power supply of the second USIM interface USIM2 under the action of the USIM power control signal.
[0030] Optionally, continue to refer to Figure 1 The host computer 2 communicates with the cellular communication module under test 1 via USB serial port and sends test commands to the cellular communication module under test 1. The test commands are used to indicate the interface under test, that is, to indicate the function of the first USIM interface USIM1 or the second USIM interface USIM2 in the cellular communication module under test 1.
[0031] The cell module under test generates a corresponding USIM power control signal according to the interface under test indicated by the test command, and sends the USIM power control signal to the switch module 3. The USIM power control signal is used to instruct the switch module 3 to enable the power supply of the interface under test.
[0032] Under the action of the USIM power control signal, the switch module 3 switches the power path on and off. Specifically, if the interface under test is the first USIM interface USIM1, the switch module 3 closes the first USIM power path of the first USIM interface USIM1 under the action of the USIM power control signal, supplying power to the USIM slot 5 through the first USIM power of the first USIM interface USIM1. If the interface under test is the second USIM interface USIM2, the switch module 3 closes the second USIM power path of the second USIM interface USIM2 under the action of the USIM power control signal, supplying power to the USIM slot 5 through the second USIM power of the second USIM interface USIM2. In this way, it can be ensured that only one USIM interface power supply is supplied to the USIM slot 5 at any given time.
[0033] The cellular communication module under test 1 is also used to send a USIM switching signal to the signal switching module 4 according to the test command. The signal switching module 4 is used to establish a communication link between the cellular communication module under test 1 and the USIM card in the USIM card slot 5 through the first USIM signal line of the first USIM interface USIM1 or the second USIM signal line of the second USIM interface USIM2 under the action of the USIM switching signal.
[0034] Optionally, continue to refer to Figure 1 The cellular module under test also generates a corresponding USIM switching signal according to the interface under test indicated by the test command, and sends the USIM switching signal to the signal switching module 4. The USIM switching signal is used to instruct the signal switching module 4 to enable the signal line of the interface under test.
[0035] The signal switching module 4 performs signal line switching under the action of the USIM switching signal. Specifically, if the interface under test is the first USIM interface USIM1, the signal switching module 4 switches to connect to the cellular communication module 1 under test through the first USIM signal line of the first USIM interface USIM1 under the action of the USIM power control signal, so as to establish a communication link between the cellular communication module 1 under test and the USIM card in the USIM card slot 5. If the interface under test is the second USIM interface USIM2, the signal switching module 4 switches to connect to the cellular communication module 1 under test through the second USIM signal line of the second USIM interface USIM2 under the action of the USIM power control signal, so as to establish a communication link between the cellular communication module 1 under test and the USIM card in the USIM card slot 5. In this way, it can be ensured that only one USIM interface in the cellular communication module 1 under test can communicate with the USIM card in the USIM card slot 5 at any given time.
[0036] The cellular communication module under test 1 is also used to identify the USIM card in the USIM card slot 5 through the communication link, obtain the test results, and send the test results to the host computer 2.
[0037] Optionally, continue to refer to Figure 1 The cellular communication module 1 under test interacts with the USIM card in the USIM card slot 5 through the communication link, identifies the USIM card in the USIM card slot 5, tests whether the function of the interface under test is normal, obtains the test results, and communicates with the host computer 2 via USB to report the test results to the host computer 2.
[0038] After testing one USIM interface, the host computer 2 sends another test command to the cellular communication module under test 1. The test command is used to instruct the testing of the function of another USIM interface. The cellular communication module under test 1 sends another USIM power control signal to the switch module 3 and another USIM switching signal to the signal switching module 4 according to the other test command, so as to test the function of the other USIM interface.
[0039] The testing of two USIM interfaces in the cellular communication module 1 under test was achieved by using the same USIM card slot 5. In this way, two cellular communication modules 1 under test can be placed on the PCB at the same time for USIM interface testing, which improves testing efficiency, reduces the complexity of the testing system, thereby reducing testing costs and avoiding false tests caused by complex testing.
[0040] In this embodiment, the test system includes a cellular communication module under test (DUT), a host computer, a switch module, a signal switching module, and a USIM card slot. The DUT includes a first USIM interface and a second USIM interface, and a USIM card is inserted into the USIM card slot. The DUT is connected to the host computer, the first and second terminals of the switch module, and the first and second terminals of the signal switching module, respectively. The third terminals of the switch module and the signal switching module are connected to the USIM card slot. According to the test command sent by the host computer, the DUT sends a USIM power control signal to the switch module. Under the action of the USIM power control signal, the switch module supplies power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface. The DUT also sends a USIM switching signal to the signal switching module according to the test command. Under the action of the USIM switching signal, the signal switching module establishes a communication link between the DUT and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface. The cellular communication module under test (DUT) identifies the USIM card in the USIM card slot through the communication link, obtains the test results, and sends them to the host computer. By using the same USIM card slot, two USIM interfaces in the DUT are tested simultaneously, allowing multiple DUT modules to be placed on the PCB for USIM interface testing. This improves testing efficiency, reduces testing costs, avoids false positives caused by complex testing, and achieves high-efficiency, low-cost, and high-reliability batch testing.
[0041] Figure 2 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 2 ,like Figure 2 As shown, the switch module 3 includes a first switch unit 31 and a second switch unit 32.
[0042] The input terminal of the first switching unit 31 is connected to the first USIM power supply of the first USIM interface USIM1, the control terminal of the first switching unit 31 is connected to the first GPIO pin of the cellular communication module under test 1, and the output terminal of the first switching unit 31 is connected to the first power supply terminal of the USIM card slot 5.
[0043] Optionally, refer to Figure 2 The switch module 3 includes two switch units, namely a first switch unit 31 and a second switch unit 32. The input terminal of the first switch unit 31 is connected to the USIM1_VDD pin of the cellular communication module under test 1 to access the first USIM power supply of the first USIM interface USIM1.
[0044] Continue to refer to Figure 2 The control terminal of the first switching unit 31 is connected to the first GPIO pin GPIO1 of the cellular communication module under test 1 to receive the first GPIO signal GPIO1_CTRL output by the cellular communication module under test 1. The output terminal of the first switching unit 31 is connected to the first power supply terminal of the USIM card slot 5 so that when the first switching unit 31 is closed, i.e., the first USIM power path is turned on, power is supplied to the USIM card slot 5 through the first USIM power supply of the first USIM interface USIM1. At this time, the second switching unit 32 is open, i.e., the second USIM path is cut off, and power cannot be supplied to the USIM card slot 5 through the second USIM power supply of the second USIM interface USIM2. This achieves isolation between the first USIM power supply and the second USIM power supply and time-sharing power supply to the USIM card slot 5.
[0045] The input terminal of the second switching unit 32 is connected to the second USIM power supply of the second USIM interface USIM2, the control terminal of the second switching unit 32 is connected to the second GPIO pin of the cellular communication module under test 1, and the output terminal of the second switching unit 32 is connected to the second power supply terminal of the USIM card slot 5.
[0046] Optionally, continue to refer to Figure 2 The input terminal of the second switching unit 32 is connected to the USIM2_VDD pin of the cellular communication module 1 under test, so as to access the second USIM power supply of the second USIM interface USIM2.
[0047] Continue to refer to Figure 2The control terminal of the second switching unit 32 is connected to the second GPIO pin GPIO2 of the cellular communication module under test 1 to receive the second GPIO signal GPIO2_CTRL output by the cellular communication module under test 1. The output terminal of the second switching unit 32 is connected to the second power supply terminal of the USIM card slot 5 so that when the second switching unit 32 is closed, i.e., the second USIM power path is turned on, power is supplied to the USIM card slot 5 through the second USIM power supply of the second USIM interface USIM2. At this time, the first switching unit 31 is open, i.e., the first USIM path is cut off, and power cannot be supplied to the USIM card slot 5 through the first USIM power supply of the first USIM interface USIM1. This achieves isolation between the first USIM power supply and the second USIM power supply, as well as time-sharing power supply to the USIM card slot 5.
[0048] In this embodiment, the switching module includes a first switching unit and a second switching unit. The input terminal of the first switching unit is connected to the first USIM power supply of the first USIM interface, the control terminal is connected to the first GPIO pin of the cellular communication module under test, and the output terminal is connected to the first power supply terminal of the USIM card slot. The input terminal of the second switching unit is connected to the second USIM power supply of the second USIM interface, the control terminal is connected to the second GPIO pin of the cellular communication module under test, and the output terminal is connected to the second power supply terminal of the USIM card slot. The first and second switching units achieve isolation between the first and second USIM power supplies and time-division power supply to the USIM card slot.
[0049] Figure 3 Schematic diagram of the architecture of the test system provided in the embodiments of this application Figure 3 ,like Figure 3 As shown, the signal switching module 4 includes a USIM signal switching chip 41.
[0050] The first signal terminal of the USIM signal switching chip 41 can be switched to the first USIM interface USIM1 and the second USIM interface USIM2. The control terminal of the USIM signal switching chip 41 is connected to the third GPIO pin of the cellular communication module 1 under test. The second signal terminal of the USIM signal switching chip 41 is connected to the signal terminal of the USIM card slot 5.
[0051] Optionally, refer to Figure 3The signal switching module 4 includes a USIM signal switching chip 41. The first signal terminal of the USIM signal switching chip 41 is switchably connected to a first USIM interface USIM1 and a second USIM interface USIM2, allowing communication with the cellular communication module 1 under test via a first USIM signal line of the first USIM interface USIM1 or a second USIM signal line of the second USIM interface USIM2. The USIM signal line is a set of signal lines, including a USIM data signal line USIM_DATA, a USIM clock signal line USIM_CLK, and a USIM reset signal line USIM_RST.
[0052] Continue to refer to Figure 3 The control terminal of the USIM signal switching chip 41 is connected to the third GPIO pin GPIO3 of the cellular communication module under test 1 to receive the third GPIO signal GPIO3_CTRL output by the cellular communication module under test 1. The second signal terminal of the USIM signal switching chip 41 is fixedly connected to the signal terminal of the USIM card slot 5, and interacts with the USIM in the USIM card slot 5 through a set of USIM signal lines (including the USIM data signal line USIM_DATA, the USIM clock signal line USIM_CLK, and the USIM reset signal line USIM_RST).
[0053] In this embodiment, the signal switching module includes a USIM signal switching chip. The first signal terminal of the USIM signal switching chip is switchably connected to both the first and second USIM interfaces. The control terminal is connected to the third GPIO pin of the cellular communication module under test, and the second signal terminal is connected to the signal terminal of the USIM card slot. Time-division multiplexing of the signal lines of the dual USIM interfaces is achieved through the USIM signal switching chip.
[0054] Figure 4 This is a schematic diagram of the test first USIM interface USIM1 provided in an embodiment of this application, as shown below. Figure 4 As shown, if the test command indicates that the interface under test is the first USIM interface USIM1, then the cellular communication module under test 1 sends a first GPIO signal of the first level to the first switching unit 31, sends a second GPIO signal of the second level to the second switching unit 32, and sends a third GPIO signal of the third level to the USIM signal switching chip 41.
[0055] Optionally, refer to Figure 4If the test command indicates that the interface under test is the first USIM interface USIM1 and the function of the first USIM interface USIM1 needs to be tested, then the cellular communication module under test 1 generates a first GPIO signal GPIO1_CTRL at the first level, a second GPIO signal GPIO2_CTRL at the second level, and a third GPIO signal GPIO3_CTRL at the third level.
[0056] The cellular communication module under test 1 sends a first GPIO signal GPIO1_CTRL of a first level to the first switching unit 31. The first level is an effective level that can close the first switching unit 31, such as a high level. The cellular communication module under test 1 sends a second GPIO signal GPIO2_CTRL of a second level to the second switching unit 32. The second level is an effective level that can turn off the second switching unit 32, such as a low level. The cellular communication module under test 1 sends a third GPIO signal GPIO3_CTRL of a third level to the USIM signal switching chip 41. The third level is an effective level that can switch the first signal terminal of the USIM signal switching chip 41 to the first USIM interface USIM1, such as a high level.
[0057] In this embodiment, if the test command indicates that the interface under test is the first USIM interface, the cellular communication module under test sends a first GPIO signal of a first level to the first switching unit, a second GPIO signal of a second level to the second switching unit, and a third GPIO signal of a third level to the USIM signal switching chip. This is to achieve consistent switching between the first USIM power supply and the first USIM signal line.
[0058] As an optional implementation, the first switch unit 31 is turned on by a first GPIO signal at a first level to supply power to the USIM card slot 5 through the first USIM power supply of the first USIM interface USIM1. The second switch unit 32 is turned off by a second GPIO signal at a second level to stop supplying power to the USIM card slot 5 through the second USIM power supply of the second USIM interface USIM2.
[0059] Optionally, continue to refer to Figure 4 Since the first level is an effective level that can close the first switch unit 31, the first switch unit 31 closes under the action of the first GPIO signal GPIO1_CTRL of the first level, thus turning on the first USIM power path of the first USIM interface USIM1 (e.g., Figure 4 (As shown in the green channel), at this time, the first USIM power supply of the first USIM interface USIM1 supplies power to the USIM card slot 5.
[0060] Accordingly, since the second level is an effective level that can turn off the second switch unit 32, the second switch unit 32 is turned off under the action of the second GPIO signal GPIO2_CTRL of the second level, cutting off the second USIM power supply of the second USIM interface USIM2 and stopping the power supply to the USIM card slot 5 through the second USIM power supply of the second USIM interface USIM2.
[0061] USIM signal switching chip 41 is used to switch the first signal terminal of USIM signal switching chip 41 to the first USIM interface USIM1 under the action of the third GPIO signal of the third level, so as to establish the first communication link between the cellular communication module under test 1 and the USIM card in the USIM card slot 5 through the first USIM signal line of the first USIM interface USIM1.
[0062] Optionally, continue to refer to Figure 4 Since the third level is an effective level that enables the first signal terminal of the USIM signal switching chip 41 to switch to the first USIM interface USIM1, under the action of the third GPIO signal GPIO3_CTRL of the third level, the first signal terminal of the USIM signal switching chip 41 switches to the first USIM interface USIM1, so as to establish the first communication link between the cellular communication module under test 1 and the USIM card in the USIM card slot 5 through the first USIM signal line of the first USIM interface USIM1 (e.g., Figure 4 (As shown in the blue channel).
[0063] In this embodiment, the first switching unit is turned on by the first GPIO signal at a first level, to supply power to the USIM card slot through the first USIM power supply of the first USIM interface. The second switching unit is turned off by the second GPIO signal at a second level, stopping the supply of power to the USIM card slot through the second USIM power supply of the second USIM interface. Under the action of the third GPIO signal at a third level, the USIM signal switching chip switches its first signal terminal to the first USIM interface, establishing a first communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface. This ensures consistent switching between the first USIM power supply and the first USIM signal line.
[0064] As an optional implementation, the cellular communication module 1 under test identifies the USIM card in the USIM card slot 5 through the first communication link, obtains the test result of the first USIM interface USIM1, and sends the test result of the first USIM interface USIM1 to the host computer 2.
[0065] Optionally, continue to refer to Figure 4 The cellular communication module 1 under test passed Figure 4 The blue section shows the first communication link identifying the USIM card in the USIM card slot 5 to test whether the function of the first USIM interface USIM1 is normal, and to obtain the test result of the first USIM interface USIM1.
[0066] The cellular communication module under test 1 communicates with the host computer 2 via USB and reports the test results of the first USIM interface USIM1 to the host computer 2.
[0067] In this embodiment, the cellular communication module under test identifies the USIM card in the USIM card slot through the first communication link, obtains the test result of the first USIM interface, and sends the test result of the first USIM interface to the host computer. This realizes the functional testing of the first USIM interface and the reporting of test results.
[0068] Figure 5 This is a schematic diagram of the test of the second USIM interface USIM2 provided in an embodiment of this application, as shown below. Figure 5 As shown, if the test command indicates that the interface under test is the second USIM interface USIM2, then the cellular communication module under test 1 sends a first GPIO signal of the second level to the first switching unit 31, sends a second GPIO signal of the first level to the second switching unit 32, and sends a third GPIO signal of the fourth level to the USIM signal switching chip 41.
[0069] Optionally, refer to Figure 5 If the test command indicates that the interface under test is the second USIM interface USIM2 and the function of the second USIM interface USIM2 needs to be tested, then the cellular communication module under test 1 generates the first GPIO signal GPIO1_CTRL at the second level, the second GPIO signal GPIO2_CTRL at the first level, and the third GPIO signal GPIO3_CTRL at the fourth level.
[0070] The cellular communication module under test 1 sends a first GPIO signal GPIO1_CTRL of the second level to the first switching unit 31. The first level is an effective level that can turn off the first switching unit 31, such as a low level. The cellular communication module under test 1 sends a second GPIO signal GPIO2_CTRL of the first level to the second switching unit 32. The second level is an effective level that can turn off the second switching unit 32, such as a high level. The cellular communication module under test 1 sends a third GPIO signal GPIO3_CTRL of the fourth level to the USIM signal switching chip 41. The fourth level is an effective level that can switch the first signal terminal of the USIM signal switching chip 41 to the second USIM interface USIM2, such as a low level.
[0071] In this embodiment, if the test command indicates that the interface under test is the second USIM interface, the cellular communication module under test sends a first GPIO signal of the second level to the first switching unit, a second GPIO signal of the first level to the second switching unit, and a third GPIO signal of the fourth level to the USIM signal switching chip. This is to achieve consistent switching between the second USIM power supply and the second USIM signal line.
[0072] As an optional implementation, the first switch unit 31 is used to turn off under the action of the first GPIO signal at the second level, stopping the power supply to the USIM card slot 5 through the first USIM power supply of the first USIM interface USIM1. The second switch unit 32 is used to turn on under the action of the second GPIO signal at the first level, so as to supply power to the USIM card slot 5 through the second USIM power supply of the second USIM interface USIM2.
[0073] Optionally, continue to refer to Figure 5 Since the second level is an effective level that can turn off the first switch unit 31, the first switch unit 31 is turned off under the action of the first GPIO signal GPIO1_CTRL of the second level, cutting off the first USIM power path of the first USIM interface USIM1 and stopping the power supply to the USIM card slot 5 through the first USIM power of the first USIM interface USIM1.
[0074] Accordingly, since the first level is an effective level that enables the second switch unit 32 to close, the second switch unit 32 closes under the action of the second GPIO signal GPIO2_CTRL at the first level, thereby turning on the second USIM power supply of the second USIM interface USIM2 (e.g., Figure 5 (As shown in the green channel), at this time, the second USIM power supply of the second USIM interface USIM2 supplies power to the USIM card slot 5.
[0075] USIM signal switching chip 41 is used to switch the first signal terminal of USIM signal switching chip 41 to the second USIM interface USIM2 under the action of the third GPIO signal of the fourth level, so as to establish a second communication link between the cellular communication module under test 1 and the USIM card in the USIM card slot 5 through the second USIM signal line of the second USIM interface USIM2.
[0076] Optionally, continue to refer to Figure 5Since the fourth level is an effective level that enables the first signal terminal of the USIM signal switching chip 41 to switch to the second USIM interface USIM2, under the action of the third GPIO signal GPIO3_CTRL of the fourth level, the first signal terminal of the USIM signal switching chip 41 switches to the second USIM interface USIM2, so as to establish a second communication link between the cellular communication module under test 1 and the USIM card in the USIM card slot 5 through the second USIM signal line of the second USIM interface USIM2 (e.g., Figure 5 (As shown in the blue channel).
[0077] In this embodiment, the first switching unit is turned off under the action of the first GPIO signal at the second level, stopping the first USIM power supply to the USIM card slot through the first USIM interface. The second switching unit is turned on under the action of the second GPIO signal at the first level, so as to supply power to the USIM card slot through the second USIM power supply of the second USIM interface. Under the action of the third GPIO signal at the fourth level, the USIM signal switching chip switches the first signal terminal of the USIM signal switching chip to the second USIM interface, so as to establish a second communication link between the cellular communication module under test and the USIM card in the USIM card slot through the second USIM signal line of the second USIM interface. This ensures consistent switching between the second USIM power supply and the second USIM signal line.
[0078] As an optional implementation, the cellular communication module 1 under test identifies the USIM card in the USIM card slot 5 through the second communication link, obtains the test result of the second USIM interface USIM2, and sends the test result of the second USIM interface USIM2 to the host computer 2.
[0079] Optionally, continue to refer to Figure 5 The cellular communication module 1 under test passed Figure 5 The second communication link, shown in blue, identifies the USIM card in the USIM card slot 5 to test whether the function of the second USIM interface USIM2 is normal, and obtains the test results of the second USIM interface USIM2.
[0080] The cellular communication module under test 1 communicates with the host computer 2 via USB and reports the test results of the second USIM interface USIM2 to the host computer 2.
[0081] In this embodiment, the cellular communication module under test identifies the USIM card in the USIM card slot through the second communication link, obtains the test result of the second USIM interface, and sends the test result of the second USIM interface to the host computer. This realizes the functional testing of the second USIM interface and the reporting of test results.
[0082] Based on the same inventive concept, this application also provides a test method corresponding to the test system. Since the principle of the method in this application is similar to that of the test system described above, the implementation of the method can refer to the implementation of the system, and the repeated parts will not be described again.
[0083] The test method is applied to the cellular communication module under test in the test system described in the foregoing embodiments, and the method includes: The cellular communication module under test receives the test command sent by the host computer and sends a USIM power control signal to the switch module according to the test command, so that the switch module supplies power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface under the action of the USIM power control signal.
[0084] According to the test command, the cellular communication module under test sends a USIM switching signal to the signal switching module, so that the signal switching module can establish a communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface under the action of the USIM switching signal.
[0085] The cellular communication module under test identifies the USIM card in the USIM card slot through the communication link, obtains the test results, and sends the test results to the host computer.
[0086] As an optional implementation, if the test command indicates that the interface under test is the first USIM interface, the cellular communication module under test sends a first GPIO signal of the first level to the first switching unit, a second GPIO signal of the second level to the second switching unit, and a third GPIO signal of the third level to the USIM signal switching chip.
[0087] As an optional implementation, the cellular communication module under test identifies the USIM card in the USIM card slot through the first communication link, obtains the test result of the first USIM interface, and sends the test result of the first USIM interface to the host computer.
[0088] As an optional implementation, if the test command indicates that the interface under test is the second USIM interface, the cellular communication module under test sends a first GPIO signal of the second level to the first switching unit, sends a second GPIO signal of the first level to the second switching unit, and sends a third GPIO signal of the fourth level to the USIM signal switching chip.
[0089] As an optional implementation, the cellular communication module under test identifies the USIM card in the USIM card slot through the second communication link, obtains the test results of the second USIM interface, and sends the test results of the second USIM interface to the host computer.
[0090] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.
[0091] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0092] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A testing system, characterized in that, include: The cellular communication module under test includes a host computer, a switch module, a signal switching module, and a USIM card slot for a Universal Mobile Communication Network User Identity Module (USIM). The cellular communication module under test includes a first USIM interface and a second USIM interface, and a USIM card is inserted into the USIM card slot. The cellular communication module under test is connected to the host computer, the first and second terminals of the switch module, and the first and second terminals of the signal switching module, respectively. The third terminal of the switch module and the third terminal of the signal switching module are connected to the USIM card slot, respectively. The cellular communication module under test is used to send a USIM power control signal to the switch module according to the test command sent by the host computer; the switch module is used to supply power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface under the action of the USIM power control signal. The cellular communication module under test is also used to send a USIM switching signal to the signal switching module according to the test command; the signal switching module is used to establish a communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface under the action of the USIM switching signal. The cellular communication module under test is also used to identify the USIM card in the USIM card slot through the communication link, obtain the test results, and send the test results to the host computer.
2. The testing system according to claim 1, characterized in that, The switching module includes a first switching unit and a second switching unit; The input terminal of the first switching unit is connected to the first USIM power supply of the first USIM interface, the control terminal of the first switching unit is connected to the first general purpose input / output (GPIO) pin of the cellular communication module under test, and the output terminal of the first switching unit is connected to the first power supply terminal of the USIM card slot. The input terminal of the second switching unit is connected to the second USIM power supply of the second USIM interface, the control terminal of the second switching unit is connected to the second GPIO pin of the cellular communication module under test, and the output terminal of the second switching unit is connected to the second power supply terminal of the USIM card slot.
3. The testing system according to claim 2, characterized in that, The signal switching module includes a USIM signal switching chip; The first signal terminal of the USIM signal switching chip can be switched to connect to the first USIM interface and the second USIM interface. The control terminal of the USIM signal switching chip is connected to the third GPIO pin of the cellular communication module under test. The second signal terminal of the USIM signal switching chip is connected to the signal terminal of the USIM card slot.
4. The testing system according to claim 3, characterized in that, If the test command indicates that the interface under test is the first USIM interface, then the cellular communication module under test sends a first GPIO signal of the first level to the first switching unit, a second GPIO signal of the second level to the second switching unit, and a third GPIO signal of the third level to the USIM signal switching chip.
5. The testing system according to claim 4, characterized in that, The first switching unit is used to be turned on under the action of the first GPIO signal of the first level, so as to supply power to the USIM card slot through the first USIM power supply of the first USIM interface; The second switching unit is used to turn off under the action of the second GPIO signal at the second level, stopping the second USIM power supply through the second USIM interface from supplying power to the USIM card slot; The USIM signal switching chip is used to switch the first signal terminal of the USIM signal switching chip to the first USIM interface under the action of the third GPIO signal of the third level, so as to establish a first communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface.
6. The testing system according to claim 5, characterized in that, The cellular communication module under test identifies the USIM card in the USIM card slot through the first communication link, obtains the test result of the first USIM interface, and sends the test result of the first USIM interface to the host computer.
7. The testing system according to claim 3, characterized in that, If the test command indicates that the interface under test is the second USIM interface, then the cellular communication module under test sends a first GPIO signal of the second level to the first switching unit, sends a second GPIO signal of the first level to the second switching unit, and sends a third GPIO signal of the fourth level to the USIM signal switching chip.
8. The testing system according to claim 7, characterized in that, The first switching unit is used to turn off under the action of the first GPIO signal at the second level, stopping the first USIM power supply through the first USIM interface from supplying power to the USIM card slot; The second switching unit is used to be turned on under the action of the second GPIO signal at the first level, so as to supply power to the USIM card slot through the second USIM power supply of the second USIM interface; The USIM signal switching chip is used to switch the first signal terminal of the USIM signal switching chip to the second USIM interface under the action of the third GPIO signal of the fourth level, so as to establish a second communication link between the cellular communication module under test and the USIM card in the USIM card slot through the second USIM signal line of the second USIM interface.
9. The testing system according to claim 8, characterized in that, The cellular communication module under test identifies the USIM card in the USIM card slot through the second communication link, obtains the test result of the second USIM interface, and sends the test result of the second USIM interface to the host computer.
10. A testing method, characterized in that, The method, applied to the cellular communication module under test in the test system according to any one of claims 1-9, comprises: The cellular communication module under test receives the test command sent by the host computer, and sends a Universal Mobile Communication Network User Identity Module (USIM) power control signal to the switch module according to the test command, so that the switch module supplies power to the USIM card slot through the first USIM power supply of the first USIM interface or the second USIM power supply of the second USIM interface under the action of the USIM power control signal. According to the test command, the cellular communication module under test sends a USIM switching signal to the signal switching module, so that the signal switching module establishes a communication link between the cellular communication module under test and the USIM card in the USIM card slot through the first USIM signal line of the first USIM interface or the second USIM signal line of the second USIM interface under the action of the USIM switching signal. The cellular communication module under test identifies the USIM card in the USIM card slot through the communication link, obtains the test result, and sends the test result to the host computer.