Terminal testing method, terminal, electronic device and storage medium based on eSIM technology
The automation of terminal testing is achieved through eSIM technology, solving the problems of complex operation and limited life of traditional SIM cards, and unattended automated testing is realized, improving the testing efficiency and scope of application.
Patent Information
- Application Number
- CN202310063628.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-12
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2043-01-12
AI Technical Summary
Traditional plug-in and unplugged SIM cards require manual operation in terminal testing, which is complex in operation and limited in life, which affects the testing efficiency, and it is difficult for the existing technology to realize automatic offline testing and result acquisition.
Using eSIM technology, the remote test system interacts with the test control module and the eSIM function module to realize the download and activation of SIM card data. There is no need for physical plugging and unplugging during the automated test process, and supports on-demand switching of SIM card.
It realizes the full automation of terminal testing, simplifies operations, expands the scope of testing application, improves testing efficiency, reduces repeated plug-ins and unplugs and damages of SIM cards, and meets the needs of conventional and offline testing scenarios.
Smart Images

Figure CN116074883B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a terminal testing method, a terminal, an electronic device and a storage medium based on eSIM technology. Background Art
[0002] As an important carrier for user-oriented services, the quality of mobile terminals (sometimes referred to as "terminals") will undoubtedly serve as a touchstone for innovative service experience and play a most important role in the development of innovative mobile Internet services. With the development and popularization of mobile Internet, industrial Internet, and 5G technologies, more and more new technologies and services have been introduced into communication systems, which has also brought new challenges to traditional terminal quality testing.
[0003] In order to cope with the challenges brought by innovative services to terminal testing, researchers have introduced automated testing solutions, improved efficiency by having computers automatically send test instructions remotely, and used user information such as SIM card information reported by the test terminal to identify the test progress, thereby achieving dynamic management of the test plan and improving the efficiency of remote testing to a certain extent.
[0004] With the development of business, in actual testing work, as the number of services supported by the terminal increases, the terminal needs to apply different test cases for different business applications, and different business tests often require the use of different pre-configured SIM cards. During the testing process of a terminal, sometimes it is necessary to replace the SIM card before starting a new solution. Traditional plug-in SIM cards require manual operation for physical replacement, which is complicated and cumbersome and requires interruption of automated testing, which affects the efficiency of the test to a certain extent. In addition, as a physical contact smart card, the plug-in SIM card has a limited plug-in life and is easily damaged after frequent plug-ins. Once damage occurs during the test, it will affect the progress and reduce the test efficiency at the least, or damage the test terminal at the worst, which is not conducive to the rapid verification of terminal products and the market application of innovative services. In addition, the existing technology still has room for further improvement in how to automatically test offline and obtain test results. Summary of the invention
[0005] The present invention has been made to at least partially solve the above-mentioned problems.
[0006] According to one aspect of the present invention, a mobile terminal automated testing method based on eSIM technology is provided, which is applied to a terminal, and the method comprises: a scheme receiving step: a test control module of a test device receives a test scheme from a remote test system through a first network connection module, and then disconnects the network connection; a SIM card update judgment step: the test control module judges whether the SIM card needs to be updated according to the test scheme, and if not, executes: a test step: the test control module parses the test scheme into test instructions, interacts with the terminal to be tested with the test instructions and completes the test; and a feedback step: the test control module feeds back the execution result of the test scheme executed by the terminal to be tested through the first network connection module. Feed to the remote test system, if so, execute: download activation step: the test control module notifies the eSIM function module of the test device to initiate a download request for new SIM card data to the eSIM card management system of the remote test system, and the eSIM function module accesses the eSIM card management system in response to the download request to download the required new SIM card data and activate it, and APDU instruction execution step: the eSIM function module is connected to the SIM card slot of the terminal to be tested through the SIM card connection line. After the new SIM card data is activated, it performs corresponding operations according to the APDU instructions issued by the terminal to be tested to the SIM card, and returns the results to the terminal to be tested, and then executes the test steps and feedback steps.
[0007] Optionally, in the download activation step, the downloading of the core SIM card data may be completed by over-the-air downloading.
[0008] Optionally, after the download activation step, the eSIM functional module may return a message of successful activation to the test control module. After receiving the message of successful activation, the test control module continues to execute the APDU instruction execution step.
[0009] Optionally, before the solution receiving step, the test control module may report information of the terminal to be tested to the remote test system.
[0010] Optionally, the test task information of the test plan may include a plan number and a serial number, and the execution status may include the plan number, the serial number, information of the terminal to be tested, and the execution completion status.
[0011] Optionally, the information of the terminal to be tested may include: the IMEI of the terminal to be tested and the ICCID of a currently used SIM card.
[0012] Optionally, the network may be a wired network, a wireless network or a cellular network.
[0013] According to another aspect of the present invention, a terminal is provided, which includes a test device for a mobile terminal based on the eSIM technology and a terminal to be tested, wherein the test device includes a first network connection module, a test control module and an eSIM functional module, wherein the first network connection module is used to provide the test device with network access capability, so that the test control module and the eSIM functional module can respectively interact with the terminal test management system and the eSIM card management system of the remote test system for instructions; the test control module is used to receive a test plan from the remote test system through the first network connection module, and then disconnect the network connection, determine whether the SIM card needs to be updated according to the test plan, and if not, directly parse the test plan into a test instruction, interact with the terminal to be tested for the test instruction and complete the test, and if so, notify the eSIM functional module A download request for new SIM card data is initiated to the eSIM card management system, and after receiving a message from the eSIM function module that the new SIM card data has been successfully activated, the test plan is parsed into test instructions, the test instructions are interacted with the terminal to be tested and the test is completed, and the execution status of the test plan executed by the terminal to be tested is fed back to the terminal test management system through the first network connection module; and the eSIM function module is used to access the eSIM card management system in response to the download request to download the required new SIM card data and activate it, access the SIM card slot of the terminal to be tested through the SIM card connection line, and after the new SIM card data is activated, perform corresponding operations according to the APDU instructions issued by the terminal to be tested to the new SIM card and return the results to the terminal to be tested, and send a message of successful activation of the new SIM card data to the test control module.
[0014] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor; and a memory storing a computer program, wherein when the computer program is executed by the processor, the processor executes the aforementioned test method.
[0015] According to another aspect of the present invention, there is provided a storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor, the processor executes the aforementioned testing method.
[0016] The technical solution provided by the present invention may include the following beneficial effects:
[0017] The mobile terminal automated testing device, system and method provided by the present invention, through automatic offline testing and obtaining test results, and through the eSIM functional module, the terminal to be tested is connected to the SIM card connection line, and the remote test system remotely manages the test control module and the eSIM functional module respectively through network access, so that the test system can simultaneously meet the conventional existing network test scenarios, instrument testing and other scenarios that require the use of dedicated SIM card data for offline testing, and the test scenario needs of the machine-card interaction interface between the terminal and the SIM card, expand the scope of application of automated testing, simplify the manual operation requirements of the test, and realize the full unattended automation of the test of traditional plug-in terminal. In addition, the present invention realizes the on-demand switching of the SIM card of the terminal to be tested during the automated testing process, while greatly reducing the repeated plug-in and unplug operations of the SIM card, and improving the efficiency of automated testing.
[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0020] Figure 1 A schematic diagram of a mobile terminal testing system based on eSIM technology according to an embodiment of the present invention is shown;
[0021] Figure 2 A flowchart showing a mobile terminal testing method based on eSIM technology according to an embodiment of the present invention is shown; and
[0022] Figure 3 A schematic diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0023] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0024] The present invention provides a mobile terminal automated testing device, system and method, which accesses the terminal to be tested through the eSIM functional module with a SIM card connection line, and the remote testing system remotely manages the test control module and the eSIM functional module through network access, so that the test system can simultaneously meet the conventional existing network test scenarios, instrument testing and other scenarios that require the use of dedicated SIM card data for offline testing, and the test scenario needs of the machine-card interaction interface between the terminal and the SIM card, expand the scope of application of automated testing, simplify the manual operation requirements of the test, and realize the full unattended automation of the test of traditional plug-in terminal. In addition, the present invention realizes the on-demand switching of the SIM card of the terminal to be tested during the automated testing process, while greatly reducing the repeated plug-in and unplug operations of the SIM card, and improving the efficiency of automated testing.
[0025] Reference below Figure 1 and Figure 2 The following describes in detail the mobile terminal automated testing method, device and system based on eSIM technology according to the present invention. Figure 1 A schematic diagram of a mobile terminal automated testing system 100 based on eSIM technology according to an embodiment of the present invention is shown, and Figure 2 A schematic flow chart of an automatic testing method 200 for a mobile terminal based on the eSIM technology according to an embodiment of the present invention is shown.
[0026] like Figure 1 As shown, the mobile terminal automated test system (also referred to as "test system") 100 based on the eSIM technology according to an embodiment of the present invention includes a remote test system 101 and a terminal, wherein the terminal includes a test device 102 and a terminal to be tested 103. The remote test system 101 includes a terminal test management system 1011, an eSIM card management system 1012, and a second network connection module 1013.
[0027] The testing device 102 includes a power / battery module 1021 , a first network module 1022 , a test control module 1023 and an eSIM function module 1024 .
[0028] The first network connection module 1022 is used to provide the test device 102 with network access capabilities (for example, a wired network, a wireless network or a cellular network), so that the test control module 1023 and the eSIM function module 1024 can respectively interact with the terminal test management system 1011 and the eSIM card management system 1012 of the remote test system 101 for instructions.
[0029] The test control module 1023 is used to receive the test scheme (the test task information of the scheme may include the scheme number and the serial number) from the remote test system 101 through the first network connection module 1022, and then disconnect the network connection. The test control module 1023 is also used to determine whether the SIM card needs to be updated according to the test scheme. If not, the test scheme is directly parsed into a test instruction, and the test instruction is interacted with the terminal 103 to complete the test. If yes, the eSIM function module 1024 is notified to initiate a download request for the new SIM card data to the eSIM card management system 1012, and after receiving the message of successful activation of the new SIM card data sent by the eSIM function module 1024, the test scheme is parsed into a test instruction, and the test instruction is interacted with the terminal 103 to complete the test. The test control module 1023 is also used to feedback the execution status of the test scheme executed by the terminal 103 to the terminal test management system 1011 through the first network connection module 1022 (including the scheme number, the serial number, the terminal information, and the execution completion status). In addition, the test control module 1023 can also be used to report the information of the terminal to be tested (such as the IMEI (International Mobile Equipment Identity) of the terminal to be tested 103, the ICCID (Integrated Circuit Card Identity) of the currently used SIM card, etc.) to the terminal test management system 1011.
[0030] The eSIM function module 1024 accesses the eSIM card management system 1012 in response to the download request to download and activate the required new SIM card data, for example, by over-the-air download, and accesses the SIM card slot of the terminal to be tested 103 through the SIM card connection line 1031. After the new SIM card data is activated, it performs corresponding operations according to the APDU instructions issued by the terminal to be tested 103 to the new SIM card and returns the results to the terminal to be tested 103, and sends a message of successful activation of the new SIM card data to the test control module 1023.
[0031] like Figure 2 As shown, a mobile terminal automated testing method (also referred to as a “testing method”) 200 based on eSIM technology includes:
[0032] Solution receiving step S201: the test control module 1023 of the test device 102 receives the test solution from the remote test system 101 through the first network connection module 1022, and then disconnects the network connection;
[0033] SIM card update determination step S202: the test control module 1023 determines whether the SIM card needs to be updated according to the test plan.
[0034] If no, then execute:
[0035] Test step S203: the test control module 1023 parses the test scheme into test instructions, interacts with the terminal to be tested 103 on the test instructions and completes the test; and
[0036] Feedback step S204 : the test control module 1023 feeds back the execution result of the test solution executed by the terminal under test 103 to the remote test system 101 through the first network connection module 1022 .
[0037] If yes, execute:
[0038] Download activation step S205: the test control module 1023 notifies the remote test system
[0039] The eSIM function module 1024 of the remote test system 101 sends a signal to the eSIM card management system of the remote test system 101.
[0040] 1012 initiates a download request for new SIM card data, and the eSIM function module 1024 accesses the eSIM card management system 1012 in response to the download request to download the required new SIM card data and activate it, and
[0041] APDU instruction execution step S206: the eSIM function module 1024 is connected to the SIM card slot of the terminal to be tested 103 through the SIM card connection line 1031. After the new SIM card data is activated, the eSIM function module 1024 performs corresponding operations according to the APDU instructions issued by the terminal to be tested 103 to the SIM card, and returns the results to the terminal to be tested 103, and then executes the test step S203 and the feedback step 204.
[0042] In addition, the test plan can be obtained by the following method: the tester 104 selects a test plan for the terminal 103 to be tested in the remote test system 101 based on the information of the terminal 103 to be tested (such as IMEI, which is an identifier), enters the identifier of the eSIM function module 1024 (such as EID (eUICC ID)) into the remote test system 101, and initiates the test on the web page provided by the remote test system (101); or, the terminal test management system 1011 of the remote test system 101 generates a test plan based on the operation of the tester 104 on the web page provided by the remote test system 101, and sends the test plan to the test device 102 through the first network connection module 1022.
[0043] In addition, the present invention also provides an electronic device. Figure 3 A schematic diagram of an electronic device 300 according to an embodiment of the present invention is shown. The electronic device 300 includes:
[0044] Processor 301; and
[0045] The memory 302 stores a computer program.
[0046] in,
[0047] When the computer program is executed by the processor 301 , the processor 301 executes the mobile terminal automatic testing method based on the eSIM technology according to the present invention.
[0048] In addition, the present invention also provides a storage medium on which computer-readable instructions are stored, wherein when the computer-readable instructions are executed by a processor, the processor executes the mobile terminal automatic testing method based on eSIM technology according to the present invention.
[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A mobile terminal automated testing method based on eSIM technology, characterized in that: Applied to a terminal, the method comprises: Scheme receiving step: the test control module of the test device receives the test scheme from the remote test system through the first network connection module, and then disconnects the network connection; SIM card update judgment step: the test control module judges whether the SIM card needs to be updated according to the test scheme, If no, then execute: Testing step: the test control module parses the test scheme into test instructions, interacts with the terminal to be tested with the test instructions and completes the test; and Feedback step: the test control module feeds back the execution result of the test scheme executed by the terminal to be tested to the remote test system through the first network connection module, If yes, execute: Download and activate step: the test control module notifies the eSIM function module of the test device to initiate a download request for new SIM card data to the eSIM card management system of the remote test system, and the eSIM function module accesses the eSIM card management system in response to the download request to download the required new SIM card data and activate it, and APDU instruction execution step: the eSIM function module is connected to the SIM card slot of the terminal to be tested through the SIM card connection line, and after the new SIM card data is activated, the corresponding operation is performed according to the APDU instruction issued by the terminal to be tested to the SIM card, and the result is returned to the terminal to be tested, and then the test step and the feedback step are performed, wherein After the download activation step, the eSIM function module returns a message of successful activation to the test control module. After receiving the message of successful activation, the test control module continues to execute the APDU instruction execution step.
2. The method according to claim 1, characterized in that In the download activation step, the downloading of the new SIM card data is completed by over-the-air downloading.
3. The method according to claim 1, characterized in that Before the solution receiving step, the test control module reports the information of the terminal to be tested to the remote test system.
4. The method according to claim 1, characterized in that: The test task information of the test scheme includes a scheme number and a serial number, and The execution status of the test plan executed by the terminal to be tested includes the plan number, the serial number, the information of the terminal to be tested and the execution completion status.
5. The method according to claim 3 or 4, characterized in that: The information of the terminal to be tested includes: the IMEI of the terminal to be tested and the ICCID of the SIM card currently in use.
6. The method according to claim 1, characterized in that The network is a wired network, a wireless network or a cellular network.
7. A terminal, characterized in that: A test device for a mobile terminal based on eSIM technology and a terminal to be tested, wherein the test device includes a first network connection module, a test control module and an eSIM function module, wherein: The first network connection module is used to Providing the test device with network access capability, so that the test control module and the eSIM function module can respectively perform command interaction with the terminal test management system and the eSIM card management system of the remote test system; The test control module is used to receiving a test plan from the remote test system through the first network connection module, and then disconnecting the network connection, Determine whether the SIM card needs to be updated according to the test plan. If not, the test scheme is directly parsed into a test instruction, the test instruction is interacted with the terminal to be tested and the test is completed. If yes, notify the eSIM function module to initiate a download request for new SIM card data to the eSIM card management system, and after receiving the message of successful activation of the new SIM card data sent by the eSIM function module, parse the test plan into a test instruction, interact with the terminal to be tested with the test instruction and complete the test, and Feedback the execution status of the test solution executed by the terminal to be tested to the terminal test management system through the first network connection module; and The eSIM functional module is used to In response to the download request, the eSIM card management system is accessed to download the required new SIM card data and activate it. Access the SIM card slot of the terminal to be tested through a SIM card connection line, and after the new SIM card data is activated, perform corresponding operations according to the APDU instructions issued by the terminal to be tested to the new SIM card and return the results to the terminal to be tested, and Send a message that the new SIM card data is successfully activated to the test control module, wherein After the eSIM function module executes the step of accessing the eSIM card management system in response to the download request to download the required new SIM card data and activate it, the eSIM function module returns a message of successful activation to the test control module. After receiving the message of successful activation, the test control module continues to execute the step of accessing the SIM card slot of the terminal to be tested through the SIM card connection line, performing corresponding operations according to the APDU instructions issued by the terminal to be tested to the new SIM card and returning the results to the terminal to be tested.
8. An electronic device comprising: processor; and a memory storing a computer program, It is characterized in that When the computer program is executed by the processor, the processor performs the method according to any one of claims 1 to 7.
9. A storage medium having computer-readable instructions stored thereon, characterized in that: When the computer readable instructions are executed by a processor, the processor performs the method according to any one of claims 1 to 7.
