CN114245367B - Method and device for automatically generating IMS smart card, mobile terminal and storage medium - Google Patents

Method and device for automatically generating IMS smart card, mobile terminal and storage medium Download PDF

Info

Publication number
CN114245367B
CN114245367B CN202111524692.6A CN202111524692A CN114245367B CN 114245367 B CN114245367 B CN 114245367B CN 202111524692 A CN202111524692 A CN 202111524692A CN 114245367 B CN114245367 B CN 114245367B
Authority
CN
China
Prior art keywords
ims
smart card
parameters
operator
intelligent card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111524692.6A
Other languages
Chinese (zh)
Other versions
CN114245367A (en
Inventor
林耿镇
于凯
周小鲁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202111524692.6A priority Critical patent/CN114245367B/en
Publication of CN114245367A publication Critical patent/CN114245367A/en
Application granted granted Critical
Publication of CN114245367B publication Critical patent/CN114245367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device, a mobile terminal and a storage medium for automatically generating an IMS smart card, wherein the method comprises the following steps: acquiring the name of an operator to be tested, and automatically searching and acquiring an IMS intelligent card requirement table of a corresponding operator according to the name of the operator; extracting corresponding parameters in an IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table, and filling the parameters into the IMS intelligent card parameter table; converting parameters in the IMS intelligent card parameter table, generating and outputting an IMS intelligent card simulation script for testing; based on the IMS intelligent card simulation script, IMS intelligent cards of all operators are automatically simulated and tested. The method aims to solve the problems of low efficiency and easy error caused by the mode of manually acquiring parameters and writing scripts only when the IMS network compatibility test is carried out on the terminal equipment in the prior art. By the method, the corresponding parameters can be automatically acquired according to the names of operators and script files for testing are generated, so that the IMS network compatibility test with higher efficiency and low fault tolerance is realized.

Description

Method and device for automatically generating IMS smart card, mobile terminal and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method and apparatus for automatically generating an IMS smart card, a mobile terminal, and a storage medium.
Background
IMS (IPMultimediaSubsystem) is a new network technology based on the demand for new broadband multimedia services, which is developed with the development of global mobile communication technology, and can provide services such as voice, video and the like for mobile communication subscribers. So far, most mobile communication operators worldwide have deployed mature IMS networks.
For manufacturers of mobile terminals, it is important to make compatibility tests between the mobile terminal and the IMS network of each operator in advance in order to ensure that mobile terminal devices sold to the world can normally access the IMS network of each operator.
However, in the IMS compatibility testing step in the prior art, operator smart card scripts need to be manually written and used for testing, and the method obviously has the problems of low efficiency and easy error, and is inconvenient to use.
Accordingly, there is a need for improvement and advancement in the art.
Disclosure of Invention
The invention aims at solving the technical problems of the prior art and provides a method, a device, a mobile terminal and a storage medium for automatically generating an IMS intelligent card.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method of automatically generating an IMS smart card, wherein the method comprises:
acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator;
extracting corresponding parameters in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table, and filling the parameters into the IMS intelligent card parameter table;
converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing;
and automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing.
The method for automatically generating the IMS smart card, wherein the step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the name of the operator to be tested comprises the following steps:
and pre-establishing an IMS intelligent card parameter table, wherein parameters which need to be filled in and are used for automatically generating an IMS intelligent card simulation script are recorded in the IMS intelligent card parameter table.
The method for automatically generating the IMS smart card, wherein the step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the name of the operator to be tested further comprises the following steps:
and inserting the IMS intelligent card hardware device into the SIM card slot of the mobile terminal to be tested in advance.
The method for automatically generating the IMS smart card, wherein the step of acquiring the name of the operator to be tested and automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the name of the operator comprises the following steps:
acquiring names of operators needing IMS network compatibility;
and searching and acquiring an IMS intelligent card demand table of a corresponding operator on the Internet according to the name of the operator.
The method for automatically generating the IMS smart card, wherein the steps of extracting the corresponding parameters in the IMS smart card demand table and filling the parameters into the IMS smart card parameter table according to the pre-established IMS smart card parameter table comprise the following steps:
searching corresponding parameters to be filled into the IMS intelligent card parameter table in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table;
and extracting the corresponding parameters and filling the parameters into an IMS smart card parameter table.
The method for automatically generating the IMS smart card, wherein the steps of converting parameters in the IMS smart card parameter table, generating and outputting an IMS smart card simulation script for testing comprise the following steps:
converting parameters in the IMS smart card parameter table according to the format requirement of the test platform on the script;
and generating and outputting an IMS intelligent card simulation script for testing on the corresponding testing platform.
The method for automatically generating the IMS smart card, wherein the steps of automatically simulating the IMS smart card of each operator and testing based on the IMS smart card simulation script comprise the following steps:
based on the IMS intelligent card simulation script, the IMS intelligent cards of all operators are simulated in sequence through a test platform and tested.
An automatically generating IMS smart card device, wherein the device comprises:
the system comprises an IMS intelligent card demand table acquisition module, a network management module and a network management module, wherein the IMS intelligent card demand table acquisition module is used for acquiring an operator name to be tested, automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator;
the IMS smart card parameter table filling module is used for extracting corresponding parameters in the IMS smart card demand table according to a pre-established IMS smart card parameter table and filling the corresponding parameters into the IMS smart card parameter table;
the IMS intelligent card simulation script generation module is used for converting parameters in the IMS intelligent card parameter table to generate and output an IMS intelligent card simulation script for testing;
and the IMS network compatibility module is used for automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing.
A mobile terminal comprising a memory, a processor and an automatically generated IMS smart card program stored in the memory and executable on the processor, the steps of any one of the automatically generated IMS smart card methods being implemented when the processor executes the automatically generated IMS smart card program.
A computer readable storage medium, wherein the computer readable storage medium has stored thereon an automatically generated IMS smart card program, which when executed by a processor, implements the steps of any of the automatically generated IMS smart card methods.
The beneficial effects are that: compared with the prior art, the invention provides a method for automatically generating an IMS intelligent card, which adopts the following steps: acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator; extracting corresponding parameters in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table, and filling the parameters into the IMS intelligent card parameter table; converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing; and automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing. According to the name of the operator needing IMS network compatibility, the invention automatically acquires the IMS intelligent card demand list of the corresponding operator, and automatically extracts the parameters in the IMS intelligent card demand list to generate the IMS intelligent card simulation script. The problems of low efficiency and low fault tolerance rate of a mobile terminal product that a worker needs to write script files manually in the IMS network compatibility stage are avoided, and the product testing efficiency and effect are improved.
Drawings
Fig. 1 is a flowchart of a specific implementation of a method for automatically generating an IMS smart card according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of step S100 in fig. 1 according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of acquiring an IMS smart card requirement table of an operator through the internet according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart of step S200 in fig. 1 according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart of step S300 in fig. 1 according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of converting MCC, MCN, SPN into a file format value of an adaptive test platform using python according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of values in an IMS smart card parameter table converted by using python according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of generating an IMS smart card simulation script by looking up IMSI characters and directly replacing the IMSI characters according to an embodiment of the present invention.
Fig. 9 is a schematic flowchart of step S400 in fig. 1 according to an embodiment of the present invention.
Fig. 10 is a schematic block diagram of an apparatus for automatically generating an IMS smart card according to an embodiment of the present invention.
Fig. 11 is a schematic diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and rear … …) are included in the embodiments of the present invention, the directional indications are merely used to explain the relative positional relationship, movement conditions, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
With the development of global mobile communication technology, the mobile network speed is faster, and the popularity of the 4G network and the 5G network is higher. In response to the demand for new broadband multimedia services, a new network technology IMS (IPMultimediaSubsystem) is proposed by the 3GPP organization in the mobile domain. At present, most mobile communication operators worldwide have deployed mature IMS networks, and provide convenient services such as voice, video and the like for mobile communication users.
While mobile terminal manufacturers want to ensure that devices in the terminals sold to the world normally access IMS networks of all operators worldwide, it is critical to make compatibility tests of mobile terminals with IMS networks of all operators, which require the use of smart cards (USIM/SIM) of all large operators. Most mobile terminal manufacturers use the smartstart 3 platform provided by the Collis corporation to simulate an operator's real smart card.
However, in the process of testing the compatibility of the IMS network, the compiled smart card script needs to be imported into the SmartStart 3 platform for simulating the real smart card. The smart card script is usually written manually by related staff, and has the problems of low efficiency and easy error.
In order to solve the above problems, the embodiment of the present invention provides a method for automatically generating an IMS smart card, where the method for automatically generating an IMS smart card according to the present embodiment may automatically obtain, according to the name of an operator to be tested, requirements of the operator for each setting of a terminal device, and automatically convert the requirements into an IMS smart card script for inputting a smart card simulation platform to perform IMS network compatibility test, so as to automatically obtain, write and test IMS network compatibility of the terminal device, improve test efficiency and reduce error rate.
Exemplary method
First embodiment
As shown in fig. 1, an embodiment of the present invention provides a method for automatically generating an IMS smart card, which can be used in mobile devices such as a mobile phone and a tablet computer. The method in the embodiment of the invention comprises the following steps:
step S100, acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator.
In this embodiment, a system on which the method of the present invention is carried out will be described. The system acquires the operator name which is selected in the system by a worker through a checking mode and the like and is required to be subjected to IMS network compatibility test, and then the system automatically searches and acquires an IMS intelligent card requirement table of a corresponding operator in a network or a local file downloaded in advance according to the operator name. The IMS smart card requirement table is a requirement set by each terminal device accessing the operator network, which is previously disclosed in the network by each operator. Through the step, the related IMS intelligent card demand list is automatically invoked according to the selected operators needing to carry out IMS network compatibility test, and the data acquisition efficiency is improved.
Step 200, extracting corresponding parameters in the IMS smart card demand table according to a pre-established IMS smart card parameter table, and filling the parameters into the IMS smart card parameter table.
In this embodiment, the system extracts corresponding parameters in the IMS smart card demand table according to a pre-established IMS smart card parameter table, and fills the parameters into the IMS smart card parameter table. The IMS intelligent card parameter list is a pre-established table based on the IMS network compatibility test, and comprises parameter names, such as parameters MCC, MNC and the like, which are needed for the test, and the system extracts parameters corresponding to the MCC and the MNC from the IMS intelligent card demand list and fills the parameters corresponding to the IMS intelligent card parameter list for calling. Through the step, the automatic extraction of related parameters is realized, and meanwhile, the processing can be efficiently carried out in batches, so that the extraction efficiency is improved on one hand, and the problem of easy error caused by manual operation is reduced on the other hand.
And step S300, converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing.
In this embodiment, the system converts the parameters extracted from the IMS smart card parameter table into values in the format of the adaptation test platform, and automatically composes an IMS smart card simulation script for performing an IMS network compatibility test. Through the step, the parameters extracted from the IMS intelligent card demand list are converted into parameter values in a format adapted to the test platform, and the automatic writing of the IMS intelligent card simulation script is realized.
Step S400, based on the IMS intelligent card simulation script, IMS intelligent cards of all operators are automatically simulated and tested.
In this embodiment, the system sequentially simulates the smart cards of each operator through the test platform based on the IMS smart card simulation script to perform IMS network compatibility test, so as to achieve the purpose of automatically simulating the corresponding smart card according to the name of the operator and performing the test.
From the above, the method for automatically generating the IMS smart card can automatically acquire the requirements of the corresponding operators for each setting of the terminal equipment according to the names of the operators to be tested, automatically convert the requirements into IMS smart card scripts for inputting the smart card simulation platform to perform IMS network compatibility test, automatically acquire, write and test the IMS network compatibility of the terminal equipment, improve the test efficiency and reduce the error rate.
In a further embodiment, taking a mobile phone product as an example, smartStation3 is used as the test platform, and the present invention is described by way of a test platform plug-in this embodiment. When the mobile phone is other terminal equipment or uses other testing platforms, the specific scheme in this embodiment may be referred to.
In an application scenario, the test platform obtains an operator name to be tested, and automatically searches and obtains an IMS smart card requirement table of a corresponding operator according to the operator name.
Specifically, as shown in fig. 2, the step S100 includes:
step S101, obtaining names of operators needing IMS network compatibility;
step S102, searching and obtaining an IMS smart card demand table of a corresponding operator on the Internet according to the name of the operator.
The step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator before the operator name comprises the following steps:
and inserting the IMS intelligent card hardware device into the SIM card slot of the mobile terminal to be tested in advance.
For example, a tester of a mobile phone manufacturer inserts an IMS smart card hardware device into a SIM card slot of a mobile phone to be tested in advance. The IMS intelligent card hardware equipment is an intelligent card with the same appearance as the SIM card, one end of the intelligent card is connected with a computer, and a tester can change intelligent card information through the computer to enable the intelligent card to simulate the SIM cards of different operators.
For example, when the tester checks or imports the name list of the operator to be tested in the interface of the test platform, the test platform automatically searches the IMS smart card requirement table of the corresponding operator in the internet through the python program according to the name of the operator and downloads the IMS smart card requirement table.
As shown in fig. 3, the IMS smart card requirement table of the operator Vodafone is part of data of the IMS smart card requirement table automatically acquired, where the IMS smart card requirement table includes smart card requirements for accessing the operator network, and specifically includes common parameter settings in SIM cards such as MCC/MNC, IMSI, GID. Therefore, the purpose of automatically acquiring the IMS intelligent card demand list of the operator is achieved through the steps, and efficiency is improved.
In an application scenario, the test platform extracts corresponding parameters in the IMS smart card demand table according to a pre-established IMS smart card parameter table, and fills the parameters into the IMS smart card parameter table.
Specifically, as shown in fig. 4, the step S200 includes:
step S201, according to a pre-established IMS smart card parameter table, searching corresponding parameters needing to be filled into the IMS smart card parameter table in the IMS smart card demand table;
and S202, extracting the corresponding parameters and filling the parameters into an IMS smart card parameter table.
The step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator before the operator name comprises the following steps:
and pre-establishing an IMS intelligent card parameter table, wherein parameters which need to be filled in and are used for automatically generating an IMS intelligent card simulation script are recorded in the IMS intelligent card parameter table.
For example, an IMS smart card parameter table is pre-established, where the IMS smart card parameter table contains parameter names required for the test, and is used to enable the test platform to correspondingly obtain corresponding parameters of each operator according to the parameter names and fill the parameters into the IMS smart card parameter table for subsequent invocation during script programming.
After the testing platform acquires the IMS intelligent card demand tables of all operators, automatically extracting parameter values corresponding to the parameter names in the intelligent card demand tables through a python program according to the parameter names in the preset IMS intelligent card parameter tables.
In an application scenario, the test platform converts parameters in the IMS smart card parameter table, and generates and outputs an IMS smart card simulation script for testing.
Specifically, as shown in fig. 5, the step S300 includes:
step S301, converting parameters in the IMS smart card parameter table according to the format requirement of the test platform on the script;
and step S302, generating and outputting an IMS intelligent card simulation script for testing on the corresponding test platform.
For example, two operators, vodafone and Telekon (One), are taken as examples, and specifically as shown in FIG. 6, the MCC and MNC values of the two operators are respectively converted into the values of the file format of the IMSI card of the adaptation test platform and the SPN value is converted into the values of the file format of the SPN card of the adaptation test platform by the python procedure. Finally, a converted IMS smart card parameter table shown in figure 7 is obtained.
Further, generating the IMS smart card simulation script based on the converted parameters specifically comprises a mode of directly generating a new script through a python program, or generating the script through a mode of replacing main parameters in the new script through the python program and a preset script template. As shown in fig. 8, taking "IMSI" as an example, the latter script generation method is shown, where the parameter is replaced by looking up the character of "IMSI" in the template. And generating IMS intelligent card simulation scripts corresponding to all the participating test operators in the mode. The aim of automatically generating the IMS intelligent card simulation script is fulfilled, and the problem that manual operation is easy to make mistakes is avoided.
In one application scenario, the test platform automatically simulates the IMS smart cards of each operator and tests based on the IMS smart card simulation script.
Specifically, as shown in fig. 9, the step S400 includes:
step S401, based on the IMS intelligent card simulation script, the IMS intelligent cards of all operators are simulated in sequence through a test platform and tested.
For example, the test platform simulates IMS smart cards of operators according to the import sequence based on IMS smart card simulation scripts of the operators and tests compatibility of the IMS smart cards.
Further, if it is found in the test process that connection is impossible when the IMS networks of the operators a and b are accessed, the names of the operators a and b are recorded and finally output in the test result, so that the operator can further manually test and confirm the names. So as to further improve the testing effect of the IMS network compatibility testing.
Exemplary apparatus
As shown in fig. 10, an embodiment of the present invention provides an apparatus for automatically generating an IMS smart card, the apparatus including: an IMS smart card requirements table acquisition module 1010, an IMS smart card parameter table filling module 1020, an IMS smart card simulation script generation module 1030, and an IMS network compatibility module 1040. The IMS smart card demand table obtaining module 1010 is configured to obtain an operator name to be tested, and automatically find and obtain an IMS smart card demand table of a corresponding operator according to the operator name, where a smart card demand for accessing the operator network is recorded in the IMS smart card demand table; the IMS smart card parameter table filling module 1020 is configured to extract corresponding parameters in the IMS smart card requirement table according to a pre-established IMS smart card parameter table, and fill the corresponding parameters into the IMS smart card parameter table; the IMS smart card simulation script generating module 1030 is configured to convert parameters in the IMS smart card parameter table, generate and output an IMS smart card simulation script for testing; the IMS network compatibility module 1040 is configured to automatically simulate IMS smart cards of operators and perform testing based on the IMS smart card simulation script.
Based on the above embodiment, the present invention also provides a terminal device, and a functional block diagram thereof may be shown in fig. 11. The terminal equipment comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal device is adapted to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the terminal device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to implement an automatically generating IMS smartcard. The display screen of the terminal device may be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the schematic block diagram of fig. 11 is merely a block diagram of a portion of the structure related to the present invention, and does not constitute a limitation of the terminal device to which the present invention is applied, and that a specific terminal device may include more or less components than those shown, or may combine some components or have a different arrangement of components.
In one embodiment, there is provided a terminal device comprising a memory, a processor, and an automatically generated IMS smart card program stored on and executable on the processor, the process performing the steps of:
acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator;
extracting corresponding parameters in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table, and filling the parameters into the IMS intelligent card parameter table;
converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing;
and automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing.
The step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the operator name comprises the following steps:
and pre-establishing an IMS intelligent card parameter table, wherein parameters which need to be filled in and are used for automatically generating an IMS intelligent card simulation script are recorded in the IMS intelligent card parameter table.
The step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the operator name further comprises the following steps:
and inserting the IMS intelligent card hardware device into the SIM card slot of the mobile terminal to be tested in advance.
The step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the operator name comprises the following steps of:
acquiring names of operators needing IMS network compatibility;
and searching and acquiring an IMS intelligent card demand table of a corresponding operator on the Internet according to the name of the operator.
The step of extracting the corresponding parameters in the IMS smart card demand table according to the pre-established IMS smart card parameter table and filling the parameters into the IMS smart card parameter table comprises the following steps:
searching corresponding parameters to be filled into the IMS intelligent card parameter table in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table;
and extracting the corresponding parameters and filling the parameters into an IMS smart card parameter table.
The step of converting parameters in the IMS smart card parameter table and generating and outputting an IMS smart card simulation script for testing comprises the following steps:
converting parameters in the IMS smart card parameter table according to the format requirement of the test platform on the script;
and generating and outputting an IMS intelligent card simulation script for testing on the corresponding testing platform.
The step of automatically simulating the IMS intelligent card of each operator and testing based on the IMS intelligent card simulation script comprises the following steps:
based on the IMS intelligent card simulation script, the IMS intelligent cards of all operators are simulated in sequence through a test platform and tested.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses a method, a device, a mobile terminal and a medium for automatically generating an IMS smart card, wherein the method comprises the following steps: acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator; extracting corresponding parameters in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table, and filling the parameters into the IMS intelligent card parameter table; converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing; and automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing. The method aims to solve the problems of low efficiency and easy error caused by the mode that a mobile terminal manufacturer in the prior art can only manually acquire parameters and write scripts when carrying out IMS network compatibility test. By the method, corresponding parameters can be automatically acquired according to the tested operator name, the script file for testing is generated, and the automatic IMS network compatibility test with higher efficiency and low fault tolerance rate is provided.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A method for automatically generating an IMS smart card, the method comprising:
acquiring an operator name to be tested, and automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator;
pre-establishing an IMS smart card parameter table;
the pre-established IMS smart card parameter list comprises parameter names required for IMS network compatibility test, and according to the pre-established IMS smart card parameter list, parameters corresponding to the parameter names are extracted from the IMS smart card demand list and are filled into the IMS smart card parameter list;
the corresponding parameters are parameters recorded in a pre-established IMS smart card parameter table and used for automatically generating an IMS smart card simulation script;
converting parameters in the IMS smart card parameter table, and generating and outputting an IMS smart card simulation script for testing;
based on the IMS intelligent card simulation script, automatically simulating IMS intelligent cards of operators and testing;
the step of automatically searching and acquiring the IMS smart card requirement list of the corresponding operator according to the operator name comprises the following steps:
inserting IMS intelligent card hardware equipment into a SIM card slot of a mobile terminal to be tested in advance;
the step of converting the parameters in the IMS smart card parameter table and generating and outputting an IMS smart card simulation script for testing comprises the following steps:
converting parameters in the IMS smart card parameter table according to the format requirement of the test platform on the script;
and generating and outputting an IMS intelligent card simulation script for testing on the corresponding testing platform.
2. The method for automatically generating an IMS smart card according to claim 1, wherein the step of acquiring the name of the operator to be tested, and automatically searching and acquiring the IMS smart card requirement table of the corresponding operator according to the name of the operator comprises:
acquiring names of operators needing IMS network compatibility;
and searching and acquiring an IMS intelligent card demand table of a corresponding operator on the Internet according to the name of the operator.
3. The method for automatically generating an IMS smart card according to claim 1, wherein the step of extracting the corresponding parameters in the IMS smart card requirements table and filling the IMS smart card parameters table according to a pre-established IMS smart card parameters table comprises:
searching corresponding parameters to be filled into the IMS intelligent card parameter table in the IMS intelligent card demand table according to a pre-established IMS intelligent card parameter table;
and extracting the corresponding parameters and filling the parameters into an IMS smart card parameter table.
4. The method for automatically generating IMS smart cards according to claim 1 wherein the step of automatically simulating IMS smart cards of operators and performing a test based on the IMS smart card simulation script comprises:
based on the IMS intelligent card simulation script, the IMS intelligent cards of all operators are simulated in sequence through a test platform and tested.
5. An automatically generated IMS smart card device, the device comprising:
the system comprises an IMS intelligent card demand table acquisition module, a network management module and a network management module, wherein the IMS intelligent card demand table acquisition module is used for acquiring an operator name to be tested, automatically searching and acquiring an IMS intelligent card demand table of a corresponding operator according to the operator name, wherein the IMS intelligent card demand table records intelligent card demands for accessing the network of the operator; pre-establishing an IMS smart card parameter table; inserting IMS intelligent card hardware equipment into a SIM card slot of a mobile terminal to be tested in advance;
the IMS smart card parameter table filling module is used for extracting parameters corresponding to the parameter names from the IMS smart card demand table according to the pre-established IMS smart card parameter table and filling the parameters into the IMS smart card parameter table, wherein the pre-established IMS smart card parameter table contains the parameter names required by the IMS network compatibility test; the corresponding parameters are parameters recorded in a pre-established IMS smart card parameter table and used for automatically generating an IMS smart card simulation script;
the IMS intelligent card simulation script generation module is used for converting parameters in the IMS intelligent card parameter table to generate and output an IMS intelligent card simulation script for testing; converting parameters in the IMS smart card parameter table according to the format requirement of the test platform on the script; generating and outputting an IMS intelligent card simulation script for testing on a corresponding testing platform;
and the IMS network compatibility module is used for automatically simulating the IMS intelligent cards of all operators based on the IMS intelligent card simulation script and testing.
6. A mobile terminal comprising a memory, a processor and an automatically generated IMS smart card program stored in the memory and operable on the processor, the processor implementing the steps of the method of automatically generating an IMS smart card according to any one of claims 1-4 when executing the automatically generated IMS smart card program.
7. A computer readable storage medium, wherein an automatically generated IMS smart card program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the method of automatically generating an IMS smart card according to any one of claims 1-4.
CN202111524692.6A 2021-12-14 2021-12-14 Method and device for automatically generating IMS smart card, mobile terminal and storage medium Active CN114245367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111524692.6A CN114245367B (en) 2021-12-14 2021-12-14 Method and device for automatically generating IMS smart card, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111524692.6A CN114245367B (en) 2021-12-14 2021-12-14 Method and device for automatically generating IMS smart card, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114245367A CN114245367A (en) 2022-03-25
CN114245367B true CN114245367B (en) 2024-03-19

Family

ID=80755869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111524692.6A Active CN114245367B (en) 2021-12-14 2021-12-14 Method and device for automatically generating IMS smart card, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114245367B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737517A (en) * 1995-12-21 1998-04-07 Ericsson, Inc. Testing tools in an intelligent network system
CN101170765A (en) * 2007-11-23 2008-04-30 东信和平智能卡股份有限公司 Generation and authentication method for telecommunication intelligent card
CN103476020A (en) * 2013-09-04 2013-12-25 中国联合网络通信集团有限公司 Switching method and OTA intelligent card for over-the-air downloading service registering modes
CN103888932A (en) * 2013-12-30 2014-06-25 北京大唐智能卡技术有限公司 Intelligent card and method of intelligent card for supporting switching of multi-operator numbers
CN105120483A (en) * 2015-07-08 2015-12-02 惠州Tcl移动通信有限公司 Method and system for automatically testing compatibility between intelligent card and mobile terminal
CN105760300A (en) * 2016-02-23 2016-07-13 惠州Tcl移动通信有限公司 Automatic STK/UTK service testing method and system
CN106294181A (en) * 2016-08-24 2017-01-04 成都三零嘉微电子有限公司 Smart card software method of testing in service life
CN107682338A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Obtain, the methods, devices and systems of processing configuration information
CN109951563A (en) * 2019-03-29 2019-06-28 恒宝股份有限公司 A kind of smart card update method and its more new system working method
CN112995980A (en) * 2019-12-16 2021-06-18 深圳市万普拉斯科技有限公司 Operator configuration file loading method and device, mobile terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8244891B2 (en) * 2004-03-08 2012-08-14 Ixia Simulating a large number of users
TW201236434A (en) * 2011-02-18 2012-09-01 Hon Hai Prec Ind Co Ltd System and method of automatically testing a mobile phone
US9063922B2 (en) * 2012-12-18 2015-06-23 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Firmware generated register file for use in hardware validation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737517A (en) * 1995-12-21 1998-04-07 Ericsson, Inc. Testing tools in an intelligent network system
CN101170765A (en) * 2007-11-23 2008-04-30 东信和平智能卡股份有限公司 Generation and authentication method for telecommunication intelligent card
CN103476020A (en) * 2013-09-04 2013-12-25 中国联合网络通信集团有限公司 Switching method and OTA intelligent card for over-the-air downloading service registering modes
CN103888932A (en) * 2013-12-30 2014-06-25 北京大唐智能卡技术有限公司 Intelligent card and method of intelligent card for supporting switching of multi-operator numbers
CN105120483A (en) * 2015-07-08 2015-12-02 惠州Tcl移动通信有限公司 Method and system for automatically testing compatibility between intelligent card and mobile terminal
CN105760300A (en) * 2016-02-23 2016-07-13 惠州Tcl移动通信有限公司 Automatic STK/UTK service testing method and system
CN106294181A (en) * 2016-08-24 2017-01-04 成都三零嘉微电子有限公司 Smart card software method of testing in service life
CN107682338A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Obtain, the methods, devices and systems of processing configuration information
CN109951563A (en) * 2019-03-29 2019-06-28 恒宝股份有限公司 A kind of smart card update method and its more new system working method
CN112995980A (en) * 2019-12-16 2021-06-18 深圳市万普拉斯科技有限公司 Operator configuration file loading method and device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN114245367A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN111061526B (en) Automatic test method, device, computer equipment and storage medium
CN111782330B (en) Page data acquisition method, device and equipment based on Web application
US10743183B2 (en) Method and device for realizing wireless access point connection authentication
CN111597110B (en) Page test method and device, electronic equipment and storage medium
CN110377462B (en) Interface testing method and device and terminal equipment
CN107908553B (en) Association testing method, application server and computer readable storage medium
CN108459850B (en) Method, device and system for generating test script
CN108255701A (en) Scrnario testing method and mobile terminal
CN111352836A (en) Pressure testing method and related device
CN111352851A (en) Program testing method and device, computer equipment and storage medium
CN113467780A (en) Data acquisition method and device, electronic equipment and storage medium
CN114465937B (en) Network card testing method, device, server and medium
CN106658666A (en) Method and device for building wireless connection
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN114245367B (en) Method and device for automatically generating IMS smart card, mobile terminal and storage medium
CN112995743B (en) Video playing method and device
CN114510536A (en) Data verification method and device, computer equipment and storage medium
CN108809896A (en) A kind of information calibration method, device and electronic equipment
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN116432569B (en) Automatic configuration generation method of UVM verification platform and related equipment
CN117055903A (en) Front-end analog data deployment method, front-end analog data deployment device, computer equipment and storage medium
CN112286821A (en) HTML5 page compatibility testing method, device, equipment and storage medium
CN116301866A (en) Cloud rendering method, device, equipment and storage medium based on custom software
CN113190437B (en) Time sequence analysis method and device for wireless module, computer equipment and storage medium
CN112187561B (en) Communication module testing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant