CN112367660B - Parameter configuration method, device, terminal and readable storage medium - Google Patents

Parameter configuration method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN112367660B
CN112367660B CN202011083462.6A CN202011083462A CN112367660B CN 112367660 B CN112367660 B CN 112367660B CN 202011083462 A CN202011083462 A CN 202011083462A CN 112367660 B CN112367660 B CN 112367660B
Authority
CN
China
Prior art keywords
operator
user
configuration file
parameter
terminal
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
CN202011083462.6A
Other languages
Chinese (zh)
Other versions
CN112367660A (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.)
Shenzhen Guanghetong Wireless Communication Software Co ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication Software 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 Shenzhen Guanghetong Wireless Communication Software Co ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority to CN202011083462.6A priority Critical patent/CN112367660B/en
Publication of CN112367660A publication Critical patent/CN112367660A/en
Priority to PCT/CN2021/107231 priority patent/WO2022077988A1/en
Application granted granted Critical
Publication of CN112367660B publication Critical patent/CN112367660B/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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Abstract

The application relates to a parameter configuration method, a parameter configuration device, a terminal and a readable storage medium. The method comprises the following steps: acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code by acquiring the first public land mobile network code, extracting operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal; the method can acquire the mandatory authentication configuration files of different countries and regions while acquiring the configuration files of operators and the user configuration files, and configures the operation parameters in the configuration files according to the legal requirements of different countries and regions, so that the terminal can meet the legal requirements of different regions, and the terminal can be normally used in different regions, thereby improving the universality of the terminal in different regions.

Description

Parameter configuration method, device, terminal and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a parameter configuration method, a device, a terminal, and a readable storage medium.
Background
With the development of mobile communication technology, terminals represented by smartphones have been popularized worldwide and are widely popularized in people's lives. Therefore, the communication devices integrated in the terminal need to support the 3GPP wireless communication technology standards and frequency bands of different countries and regions.
In the conventional technology, the configuration files of different operators and the configuration files of different users are configured, so that the communication equipment meets the customization requirements of different operators and the customization requirements of different users. However, the conventional operator profile and user profile cannot meet the parameter setting requirements of some countries and regions, thereby reducing the versatility of different regions of the terminal.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a parameter configuration method, apparatus, terminal, and readable storage medium that can improve the versatility of terminals in different areas.
A method of parameter configuration, the method comprising:
acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
In one embodiment, the method further comprises:
if the current network accessed by the terminal is in a roaming state, acquiring a second public land mobile network code corresponding to the current network;
and acquiring the mandatory authentication configuration file according to the second public land mobile network code.
In one embodiment, the method further comprises:
and if the current network accessed by the terminal is not in a roaming state, returning to the step of acquiring the first public land mobile network code.
In one embodiment, the acquiring the first public land mobile network code includes:
acquiring an international mobile subscriber identity corresponding to a subscriber identity module card currently used by the terminal;
the first public land mobile network code is extracted from the international mobile subscriber identity.
In one embodiment, the obtaining the operator profile, the user profile, and the mandatory authentication profile corresponding to the first public land mobile network code includes:
searching the operator configuration file and the user configuration file from a preset relation file according to the first public land mobile network code;
And extracting a mobile country code from the first public land mobile network code, and searching the mandatory authentication configuration file according to the mobile country code.
In one embodiment, the extracting the operation parameters in the operator configuration file, the user configuration file, and the mandatory authentication configuration file, and configuring the operation parameters of the terminal includes:
the method comprises the steps of extracting the requirement information of the operator parameters in the operator configuration file, and configuring the operator parameters of the terminal according to the requirement information of the operator parameters to obtain operator parameter values;
the method comprises the steps of extracting requirement information of user parameters in the user configuration file, and configuring the user parameters of the terminal according to the requirement information of the user parameters to obtain user parameter values;
judging whether the operator parameters are consistent with the user parameters or not;
if the operator parameters are inconsistent with the user parameters, the requirement information of mandatory authentication parameters in the mandatory authentication configuration file is extracted, and the mandatory authentication parameters of the terminal are configured according to the requirement information of the mandatory authentication parameters to obtain mandatory authentication parameter values;
Judging whether the mandatory authentication parameter is consistent with the user parameter or the operator parameter value;
and if the mandatory authentication parameters are inconsistent with the user parameters or the operator parameters, ending parameter configuration.
In one embodiment, the method further comprises:
if the operator parameter is consistent with the user parameter, judging whether the operator parameter value is consistent with the user parameter value;
and if the operator parameter value is inconsistent with the user parameter value, covering the operator parameter value by the user parameter value, and returning to the step of executing the requirement information for extracting the mandatory authentication parameter in the mandatory authentication configuration file.
In one embodiment, the method further comprises:
if the mandatory authentication parameter is consistent with the user parameter, judging whether the mandatory authentication parameter value is consistent with the user parameter value;
and if the mandatory authentication parameter value is inconsistent with the user parameter value, overlaying the user parameter value with the mandatory authentication parameter value.
In one embodiment, the method further comprises:
if the mandatory authentication parameter is consistent with the operator parameter, judging whether the mandatory authentication parameter value is consistent with the operator parameter value;
And if the mandatory authentication parameter value is inconsistent with the operator parameter value, overlaying the operator parameter value with the mandatory authentication parameter value.
A parameter configuration apparatus, the apparatus comprising:
a first network code acquisition module for acquiring a first public land mobile network code;
the first configuration file acquisition module is used for acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and the parameter configuration module is used for extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file and configuring the operation parameters of the terminal.
A terminal comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
A readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
The method comprises the steps of obtaining an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to a first public land mobile network code by obtaining the first public land mobile network code, extracting operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal; the method can acquire the mandatory authentication configuration files of different countries and regions while acquiring the configuration files of operators and the user configuration files, and configures the operation parameters in the configuration files according to the legal requirements of different countries and regions, so that the terminal can meet the legal requirements of different regions, and the terminal can be normally used in different regions, thereby improving the universality of the terminal in different regions.
Drawings
FIG. 1 is a flow chart of a parameter configuration method in one embodiment;
FIG. 2 is a flow chart of a parameter configuration method according to another embodiment;
fig. 3 is a schematic flow chart of a method for acquiring a first plmn code in another embodiment;
fig. 4 is a schematic flowchart of a specific procedure for obtaining an operator profile, a user profile, and a mandatory authentication profile corresponding to a first public land mobile network code in another embodiment;
FIG. 5 is a schematic diagram of a parameter configuration apparatus according to an embodiment;
fig. 6 is an internal structural diagram of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail 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 present application.
The parameter configuration method provided by the embodiment can be applied to a terminal. The terminal may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer or a personal digital assistant, and the specific form of the terminal is not limited in this embodiment. The terminal can comprise communication equipment, and the terminal needs to support 3GPP wireless communication technology standards and frequency bands of different countries and regions through the communication equipment; the terminal may be configured with a communication device; the operating system of the terminal may be a disk operating system, a Windows operating system, a Linux operating system, a Unix operating system, or the like. The execution body of the method embodiment described below will be described by taking a terminal as an example.
In order to make the objects, technical solutions and advantages of the present application more apparent, further detailed descriptions of technical solutions in the embodiments of the present application are provided by the following examples in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the application.
Fig. 1 is a flow chart of a parameter configuration method according to an embodiment. The present embodiment relates to a process of performing parameter configuration on an operating system, and an example of application of the method to a terminal will be described. As shown in fig. 1, the method includes:
s1000, acquiring a first public land mobile network code.
Specifically, after the terminal is powered on, the terminal may acquire the first public land mobile network code and report the first public land mobile network code to the upper computer.
S2000, acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code.
The terminal may first create an operator profile, a user profile, and a mandatory authentication profile before performing step S2000. Optionally, an operator profile may be created according to an operator for which the communication device is authenticated by a technology; the operator configuration file can store specific configuration requirements of different operators; the specific configuration requirements of operators can be obtained from the requirement description documents of different operators, the specific technical requirements of different operators are different, and specific requirements can be provided for technical indexes such as software, radio frequency and the like supported by communication equipment, for example, the frequency band and carrier aggregation used by an operator network are different, and a terminal is required to only support the frequency band and carrier aggregation adopted by the operator; major operators for global technology authentication of communication devices may include united states wireless communication service providers, united states fixed network telephone service providers, transnational mobile phones, vodafeng, chinese mobile, chinese communication, chinese telecommunications, etc. Optionally, according to different users applicable to the communication device, unique identification codes can be configured for the different users, and a user configuration file is created according to the identification codes, wherein specific configuration requirements of the different users can be stored in the user configuration file; the specific requirements of each user are different according to the different designs of the whole machine of the user, for example, the antenna selected by the user does not support certain special frequency bands, so that the communication equipment needs to close the frequency bands; the user can integrate the communication device into the whole machine used, which can be a hewlett-packard, association, dill, etc. notebook computer.
In addition, specific mandatory regulation authentication requirements of different countries and regions can be collected, and a mandatory authentication configuration file can be created, wherein the mandatory authentication configuration file can store the specific configuration requirements of different countries and regions. Optionally, the mandatory legal certification may characterize technical certification of the communication device by different countries, such as national radio management committee mandatory certification, telecom device network access permission certification, united states federal communications commission certification, european union mandatory qualification flag certification, etc., and typically the specific technical requirements of the mandatory legal certification may be published on a website for viewing and downloading by users. Optionally, if the default configuration of the communication device does not meet the technical requirements of a country, a specific configuration file may be created for the country; the specific configuration requirements may include specific configuration parameters, and the specific configuration parameters in the mandatory authentication configuration file may be obtained through mandatory authentication technical requirement documents of different countries or obtained through past engineering practice experience. Further, after the operator profile, user profile, and mandatory authentication profile are created; the terminal can report the three configuration files to the upper computer, and the upper computer can generate an extensible markup language file, wherein the extensible markup language file can comprise the three configuration files, the first public land mobile network code and a software version used by general equipment, and also comprises the corresponding relation among the information. Alternatively, the public land mobile network code may include a mobile country code and a mobile network code, that is, a one-to-one correspondence between three configuration files stored in an extensible markup language file, a mobile country code, a mobile network code, and a software version used by a general device. Alternatively, the extensible markup language file may be a binary file.
It will be appreciated that the host computer of the terminal may select, from the stored extensible markup language files, the operator profile, the user profile and the mandatory authentication profile corresponding to the first public land mobile network code according to the first public land mobile network code, and may also select a software version used by the generic device, and download these information into the communication device of the terminal for operation.
S3000, extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
Specifically, the communication device in the terminal may extract the operation parameters in the operator profile, the user profile, and the mandatory authentication profile, and configure the operation parameters of the terminal. Optionally, the operating parameters in the operator profile, the user profile, and the mandatory authentication profile may be the same or different.
According to the parameter configuration method, the operator configuration file, the user configuration file and the mandatory authentication configuration file corresponding to the first public land mobile network code are obtained through obtaining the first public land mobile network code, the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file are extracted, and the operation parameters of the terminal are configured; the method can acquire the mandatory authentication configuration files of different countries and regions while acquiring the configuration files of operators and the user configuration files, and configures the operation parameters of the terminal according to the legal requirements of different countries and regions, so that the terminal can meet the legal requirements of different regions, and the terminal can be normally used in different regions, thereby improving the universality of the terminal in different regions.
As an embodiment, as shown in fig. 2, after the step of extracting the operation parameters in the operator profile, the user profile, and the mandatory authentication profile at S3000 and configuring the operation parameters of the terminal, the above parameter configuration method may further include the following steps:
s4000, if the current network accessed by the terminal is in a roaming state, acquiring a second public land mobile network code corresponding to the current network.
Specifically, after the terminal is started and the network is injected, the communication device can judge whether the current network accessed by the terminal is in a roaming state, and if the current network accessed by the terminal is in the roaming state, a second public land mobile network code corresponding to the current network is obtained, and the second public land mobile network code is reported to the upper computer. The communication equipment can acquire a first public land mobile network code in an international mobile subscriber identity (International Mobile subscriber identity) of a SIM card currently installed in the terminal and a second public land mobile network code corresponding to a current network accessed by the terminal, judge whether the first public land mobile network code and the second public land mobile network code are the same, and if so, determine that the current network accessed by the terminal is in a roaming state; the second public land mobile network code may be obtained by parsing a broadcast message of the base station.
S5000, acquiring the mandatory authentication configuration file according to the second public land mobile network code.
Specifically, the upper computer of the terminal may select, according to the mobile country code in the second public land mobile network code, a mandatory authentication profile matching the corresponding country and region from the extensible markup language file.
Further, after the step of extracting the operation parameters in the operator configuration file, the user configuration file, and the mandatory authentication configuration file at S3000 and configuring the operation parameters of the terminal, the above parameter configuration method may further include: and if the current network accessed by the terminal is not in a roaming state, returning to the step of acquiring the first public land mobile network code.
It may be understood that, if the communication device determines that the first public land mobile network code and the second public land mobile network code are different, the current network accessed by the terminal is not in the roaming state, and at this time, the terminal may return to execute the above step S1000.
When the current network accessed by the terminal is determined to be in a roaming state, the parameter configuration method acquires the second public land mobile network code corresponding to the current network, and acquires the mandatory authentication configuration file according to the second public land mobile network code, so that when the terminal leaves an account opening province or is in a foreign country, the rule requirements of different regions can be met, the terminal can be normally used in different regions, and the universality of the terminal in different regions is improved.
As an embodiment, as shown in fig. 3, the step of acquiring the first public land mobile network code in S1000 may include the following steps:
s1100, acquiring an international mobile subscriber identity corresponding to the subscriber identity card currently used by the terminal.
Specifically, the terminal may acquire an international mobile subscriber identity of a subscriber identity (Subscriber Identity Module, SIM) card installed itself. Alternatively, the international mobile subscriber identity may have 15 digits, including a mobile country code, a mobile network code, and a mobile subscriber identity; wherein, the mobile country code has 3 digits, the mobile network code has 2 digits, and the mobile user identification code has 10 digits.
S1200, extracting the first public land mobile network code from the international mobile subscriber identity.
It will be appreciated that the terminal may extract the first public land mobile network code from the international mobile subscriber identity; typically, the first 5 digits of the international mobile subscriber identity are the first public land mobile network code.
In addition, as shown in fig. 4, the step of obtaining the operator profile, the user profile, and the mandatory authentication profile corresponding to the first public land mobile network code in S2000 may be implemented by the following steps:
And S2100, searching the operator configuration file and the user configuration file from a preset relation file according to the first public land mobile network code.
Specifically, the upper computer in the terminal may search, according to the first public land mobile network code, an operator configuration file and a user configuration file corresponding to the first public land mobile network code from the preset relationship file. Alternatively, the preset relationship file may be an extensible markup language file.
S2200, extracting a mobile country code from the first public land mobile network code, and searching the mandatory authentication configuration file according to the mobile country code.
It can be understood that the upper computer in the terminal may first extract the mobile country code from the first public land mobile network code, then, according to the country corresponding to the mobile country code, search the mandatory authentication configuration file corresponding to the country from the preset relationship file, and download the mandatory authentication configuration file from the upper computer.
According to the parameter configuration method, the first public land mobile network code is obtained, and then the corresponding operator configuration file, user configuration file and mandatory authentication configuration file are obtained according to the first public land mobile network code, the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file are extracted, and the operation parameters of the terminal are configured; the method can acquire the mandatory authentication configuration files of different countries and regions while acquiring the configuration files of operators and the user configuration files, and configures the operation parameters of the terminal according to the legal requirements of different countries and regions, so that the terminal can meet the legal requirements of different regions, and the terminal can be normally used in different regions, thereby improving the universality of the terminal in different regions.
As one embodiment, the step of extracting the operation parameters in the operator configuration file, the user configuration file, and the mandatory authentication configuration file in the above S3000 and configuring the operation parameters of the terminal may be specifically implemented by the following steps:
(a) And extracting the requirement information of the operator parameters in the operator configuration file, and configuring the operator parameters of the terminal according to the requirement information of the operator parameters to obtain the operator parameter values.
Specifically, the communication device in the terminal may extract the requirement information of the operator parameter in the operator configuration file, and configure the operator parameter of the terminal according to the requirement information of the operator parameter. Alternatively, the operator parameters may be nonvolatile parameters, that is, nonvolatile memory space, etc.; the operator will be different, and the information of the needs of the operator parameters will be different.
(b) And extracting the requirement information of the user parameters in the user configuration file, and configuring the user parameters of the terminal according to the requirement information of the user parameters to obtain the user parameter values.
Specifically, the communication device in the terminal may extract the requirement information of the user parameter in the user configuration file, and configure the user parameter of the terminal according to the requirement information of the user parameter. In this embodiment, the operator parameters and the user parameters may be the same or different.
(c) And judging whether the operator parameters are consistent with the user parameters.
It will be appreciated that the communication device may determine whether the operator parameters are consistent with the user parameters, i.e. the same.
(d) And if the operator parameters are inconsistent with the user parameters, extracting the requirement information of mandatory authentication parameters in the mandatory authentication configuration file, and configuring the mandatory authentication parameters of the terminal according to the requirement information of the mandatory authentication parameters to obtain mandatory authentication parameter values.
Specifically, if it is determined that the operator parameter is inconsistent with the user parameter, the communication device may extract the requirement information of the mandatory authentication parameter in the mandatory authentication configuration file, and configure the mandatory authentication parameter of the terminal according to the requirement information of the mandatory authentication parameter. In this embodiment, the locations of the operator profile, the user profile, and the mandatory authentication profile stored by the communication device may be different.
(e) And judging whether the mandatory authentication parameter is consistent with the user parameter or the operator parameter value.
Specifically, the communication device may determine whether the mandatory authentication parameter is consistent with the user parameter or the operator parameter value.
(f) And if the mandatory authentication parameters are inconsistent with the user parameters or the operator parameters, ending parameter configuration.
It will be appreciated that the end of parameter configuration may be characterized if the communication device determines that the mandatory authentication parameters are inconsistent with the user parameters or the operator parameters.
Further, after the step S3300, the method may further include:
(g) And if the operator parameter is consistent with the user parameter, judging whether the operator parameter value is consistent with the user parameter value.
Specifically, if it is determined that the operator parameter is consistent with the user parameter, the communication device may determine whether the operator parameter value is consistent with the user parameter value.
(h) And if the operator parameter value is inconsistent with the user parameter value, covering the operator parameter value by the user parameter value, and returning to the step of executing the requirement information for extracting the mandatory authentication parameter in the mandatory authentication configuration file.
It may be understood that, if it is determined that the operator parameter value is inconsistent with the user parameter value, the communication device may override the operation Shang Can value with the user parameter value, and then return to execute the above-mentioned step S3400 to extract the requirement information of the mandatory authentication parameter in the mandatory authentication configuration file, and configure the mandatory authentication parameter of the terminal according to the requirement information of the mandatory authentication parameter, so as to obtain the mandatory authentication parameter value.
Further, after the above step S3500, the method may further include:
(aa) if the mandatory authentication parameter is consistent with the user parameter, determining if the mandatory authentication parameter value is consistent with the user parameter value.
Specifically, if it is determined that the mandatory authentication parameter is consistent with the user parameter, the communication device may determine whether the mandatory authentication parameter value is consistent with the user parameter value.
(bb) if the mandatory authentication parameter value does not agree with the user parameter value, overwriting the user parameter value with the mandatory authentication parameter value.
It will be appreciated that the communication device may override the user parameter value with the mandatory authentication parameter value if it is determined that the mandatory authentication parameter value does not coincide with the user parameter value.
In addition, after the above step S3500, the method may further include:
(cc) if the mandatory authentication parameter is consistent with the operator parameter, determining if the mandatory authentication parameter value is consistent with the operator parameter value.
If the mandatory authentication parameter is consistent with the operator parameter, the communication device may determine whether the mandatory authentication parameter value is consistent with the operator parameter value.
(dd) if the mandatory authentication parameter value does not coincide with the operator parameter value, overwriting the operator parameter value with the mandatory authentication parameter value.
It will be appreciated that the communication device may override the operator parameter value with the mandatory authentication parameter value if it is determined that the mandatory authentication parameter value does not coincide with the operator parameter value.
The parameter configuration method can configure the operation parameters of the terminal according to the legal authentication requirements of different countries and regions, so that the terminal can meet the legal requirements of different regions, and the terminal can be normally used in different regions, thereby improving the universality of the terminal in different regions.
It should be understood that, although the steps in the flowcharts of fig. 1-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-4 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
Fig. 5 is a schematic structural diagram of a parameter configuration apparatus according to an embodiment. As shown in fig. 5, the apparatus may include: a first network code acquisition module 11, a first profile acquisition module 12 and a parameter configuration module 13.
Specifically, the first network code acquiring module 11 is configured to acquire a first public land mobile network code;
the first profile acquiring module 12 is configured to acquire an operator profile, a user profile, and a mandatory authentication profile corresponding to the first public land mobile network code;
the parameter configuration module 13 is configured to extract the operation parameters in the operator configuration file, the user configuration file, and the mandatory authentication configuration file, and configure the operation parameters of the terminal.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration apparatus further includes: the second network code acquisition module and the second configuration file acquisition module.
Specifically, the second network code obtaining module is configured to obtain a second public land mobile network code corresponding to a current network accessed by the terminal when the current network is in a roaming state;
The second profile acquisition module is configured to acquire the mandatory authentication profile according to the second public land mobile network code.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration apparatus further includes: and a determining module.
Specifically, the determining module is configured to continue to perform the step of acquiring the first public land mobile network code through the first network code acquiring module 11 when the current network accessed by the terminal is not in a roaming state.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the first network code acquisition module 11 includes: a user identification code acquisition unit and a network code extraction unit.
Specifically, the user identification code obtaining unit is configured to obtain an international mobile subscriber identification code corresponding to a subscriber identification card currently used by the terminal;
the network code extracting unit is configured to extract the first public land mobile network code from the international mobile subscriber identity.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the first profile acquisition module 12 includes: the first configuration file searching unit and the second configuration file searching unit.
Specifically, the first configuration file searching unit is configured to search the operator configuration file and the user configuration file from a preset relationship file according to the first public land mobile network code;
the second profile searching unit is configured to extract a mobile country code from the first public land mobile network code, and search the mandatory authentication profile according to the mobile country code
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration module 13 includes: the device comprises a first parameter configuration unit, a second parameter configuration unit, a first parameter judgment unit, a third parameter configuration unit, a second parameter judgment unit and a determination unit.
Specifically, the first parameter configuration unit is configured to extract requirement information of an operator parameter in the operator configuration file, and configure the operator parameter of the terminal according to the requirement information of the operator parameter to obtain an operator parameter value;
The second parameter configuration unit is used for extracting the requirement information of the user parameters in the user configuration file, and configuring the user parameters of the terminal according to the requirement information of the user parameters to obtain user parameter values;
the first parameter judging unit is used for judging whether the operator parameters are consistent with the user parameters;
the third parameter configuration unit is configured to extract requirement information of mandatory authentication parameters in the mandatory authentication configuration file if the operator parameters are inconsistent with the user parameters, and configure mandatory authentication parameters of the terminal according to the requirement information of the mandatory authentication parameters to obtain mandatory authentication parameter values;
the second parameter judging unit is configured to judge whether the mandatory authentication parameter is consistent with the user parameter or the operator parameter value;
the determining unit is configured to end parameter configuration if the mandatory authentication parameter is inconsistent with the user parameter or the operator parameter.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration module 13 further includes: the first parameter value judging unit and the first parameter covering unit.
Specifically, the first parameter value determining unit is configured to determine whether the operator parameter value is consistent with the user parameter value when the operator parameter is consistent with the user parameter;
and the first parameter coverage unit is used for covering the operator parameter value by the user parameter value when the operator parameter value is inconsistent with the user parameter value, and returning to the step of executing the requirement information for extracting the mandatory authentication parameter in the mandatory authentication configuration file.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration module 13 further includes: and the second parameter value judging unit and the second parameter covering unit.
Specifically, the second parameter value judging unit is configured to judge whether the mandatory authentication parameter value is consistent with the user parameter value when the mandatory authentication parameter is consistent with the user parameter;
The second parameter covering unit is configured to cover the user parameter value with the mandatory authentication parameter value when the mandatory authentication parameter value is inconsistent with the user parameter value.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In one embodiment, the parameter configuration module 13 further includes: and the third parameter value judging unit and the third parameter covering unit.
Specifically, the third parameter value determining unit is configured to determine, when the mandatory authentication parameter is consistent with the operator parameter, whether the mandatory authentication parameter value is consistent with the operator parameter value;
the third parameter covering unit is configured to cover the operator parameter value with the mandatory authentication parameter value when the mandatory authentication parameter value is inconsistent with the operator parameter value.
The parameter configuration device provided in this embodiment may execute the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
For specific limitations of the parameter configuration device, reference may be made to the above limitation of the parameter configuration method, and the description thereof will not be repeated here. The respective modules in the above-described parameter configuration apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or independent of a processor in the terminal, or may be stored in software in a memory in the terminal, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a terminal is provided, which may be a server, and the internal structure thereof may be as shown in fig. 6. The terminal includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the terminal is adapted to provide computing and control capabilities. The memory of the terminal includes a non-volatile readable storage medium and an internal memory. The non-volatile readable storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile readable storage media. The network interface of the terminal is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a parameter configuration method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the terminal to which the present application is applied, and that a particular terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a terminal is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
Acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
In one embodiment, a readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
and extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
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 at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of parameter configuration, the method comprising:
if the current network accessed by the terminal is not in a roaming state, acquiring a first public land mobile network code;
acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
if the current network accessed by the terminal is in a roaming state, acquiring a second public land mobile network code corresponding to the current network; acquiring the mandatory authentication configuration file according to the second public land mobile network code;
And extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file, and configuring the operation parameters of the terminal.
2. The method of claim 1, wherein the acquiring the first public land mobile network code comprises:
acquiring an international mobile subscriber identity corresponding to a subscriber identity module card currently used by the terminal;
the first public land mobile network code is extracted from the international mobile subscriber identity.
3. The method of claim 2, wherein the obtaining the operator profile, the user profile, and the mandatory authentication profile corresponding to the first public land mobile network code comprises:
searching the operator configuration file and the user configuration file from a preset relation file according to the first public land mobile network code;
and extracting a mobile country code from the first public land mobile network code, and searching the mandatory authentication configuration file according to the mobile country code.
4. A method according to claim 3, wherein the extracting the operating parameters in the operator profile, the user profile, and the mandatory authentication profile, and configuring the operating parameters of the terminal, comprises:
The method comprises the steps of extracting the requirement information of the operator parameters in the operator configuration file, and configuring the operator parameters of the terminal according to the requirement information of the operator parameters to obtain operator parameter values;
the method comprises the steps of extracting requirement information of user parameters in the user configuration file, and configuring the user parameters of the terminal according to the requirement information of the user parameters to obtain user parameter values;
judging whether the operator parameters are consistent with the user parameters or not;
if the operator parameters are inconsistent with the user parameters, the requirement information of mandatory authentication parameters in the mandatory authentication configuration file is extracted, and the mandatory authentication parameters of the terminal are configured according to the requirement information of the mandatory authentication parameters to obtain mandatory authentication parameter values;
judging whether the mandatory authentication parameter is consistent with the user parameter or the operator parameter;
and if the mandatory authentication parameters are inconsistent with the user parameters or the operator parameters, ending parameter configuration.
5. The method according to claim 4, wherein the method further comprises:
if the operator parameter is consistent with the user parameter, judging whether the operator parameter value is consistent with the user parameter value;
And if the operator parameter value is inconsistent with the user parameter value, covering the operator parameter value by the user parameter value, and returning to the step of executing the requirement information for extracting the mandatory authentication parameter in the mandatory authentication configuration file.
6. The method of claim 5, wherein the method further comprises:
if the mandatory authentication parameter is consistent with the user parameter, judging whether the mandatory authentication parameter value is consistent with the user parameter value;
and if the mandatory authentication parameter value is inconsistent with the user parameter value, overlaying the user parameter value with the mandatory authentication parameter value.
7. The method of claim 6, wherein the method further comprises:
if the mandatory authentication parameter is consistent with the operator parameter, judging whether the mandatory authentication parameter value is consistent with the operator parameter value;
and if the mandatory authentication parameter value is inconsistent with the operator parameter value, overlaying the operator parameter value with the mandatory authentication parameter value.
8. A parameter configuration apparatus, the apparatus comprising:
The first network code acquisition module is used for acquiring a first public land mobile network code if the current network accessed by the terminal is not in a roaming state;
the first configuration file acquisition module is used for acquiring an operator configuration file, a user configuration file and a mandatory authentication configuration file corresponding to the first public land mobile network code;
a second network code obtaining module, configured to obtain a second public land mobile network code corresponding to a current network to which the terminal is connected if the current network is in a roaming state;
a second profile acquisition module, configured to acquire the mandatory authentication profile according to the second public land mobile network code;
and the parameter configuration module is used for extracting the operation parameters in the operator configuration file, the user configuration file and the mandatory authentication configuration file and configuring the operation parameters of the terminal.
9. A terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A readable storage medium having stored thereon a computer program, which when executed by a processor realizes the steps of the method according to any of claims 1 to 7.
CN202011083462.6A 2020-10-12 2020-10-12 Parameter configuration method, device, terminal and readable storage medium Active CN112367660B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011083462.6A CN112367660B (en) 2020-10-12 2020-10-12 Parameter configuration method, device, terminal and readable storage medium
PCT/CN2021/107231 WO2022077988A1 (en) 2020-10-12 2021-07-20 Parameter configuration method and apparatus, and terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011083462.6A CN112367660B (en) 2020-10-12 2020-10-12 Parameter configuration method, device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN112367660A CN112367660A (en) 2021-02-12
CN112367660B true CN112367660B (en) 2024-03-15

Family

ID=74507966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011083462.6A Active CN112367660B (en) 2020-10-12 2020-10-12 Parameter configuration method, device, terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN112367660B (en)
WO (1) WO2022077988A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367660B (en) * 2020-10-12 2024-03-15 深圳市广和通无线通信软件有限公司 Parameter configuration method, device, terminal and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394524A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Parameter loading method and mobile terminal capable of supporting multiple operators
CN105263132A (en) * 2015-09-07 2016-01-20 中国联合网络通信集团有限公司 eUICC standby configuration file selection method and user terminal
CN107148010A (en) * 2017-04-20 2017-09-08 深圳市广和通无线股份有限公司 Multi-operator implementation method, device, storage medium and computer equipment
WO2019053702A1 (en) * 2017-09-13 2019-03-21 Roamability, Llc. Dynamic multi imsi with native apn

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367660B (en) * 2020-10-12 2024-03-15 深圳市广和通无线通信软件有限公司 Parameter configuration method, device, terminal and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394524A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Parameter loading method and mobile terminal capable of supporting multiple operators
CN105263132A (en) * 2015-09-07 2016-01-20 中国联合网络通信集团有限公司 eUICC standby configuration file selection method and user terminal
CN107148010A (en) * 2017-04-20 2017-09-08 深圳市广和通无线股份有限公司 Multi-operator implementation method, device, storage medium and computer equipment
WO2019053702A1 (en) * 2017-09-13 2019-03-21 Roamability, Llc. Dynamic multi imsi with native apn

Also Published As

Publication number Publication date
CN112367660A (en) 2021-02-12
WO2022077988A1 (en) 2022-04-21

Similar Documents

Publication Publication Date Title
US10187798B2 (en) Terminal device having subscriber identity device and method for selecting profile thereof
US9391836B2 (en) Method and terminal for loading operator configuration information
US9084083B2 (en) Location information erase on SIM cards
EP2735180B1 (en) Application selection for multi-sim environment
WO2020057400A1 (en) Multi-card roaming network registration method and apparatus, computer device and storage medium
CN101267631A (en) A method for self-adapted configuration of access points at a mobile terminal
CN106211126B (en) Roaming access method, information processing method, network access and information processing equipment
US9686670B2 (en) Electronic device with frequency band scanning order
CN107750059B (en) Frequency band searching method and related equipment
CN112367660B (en) Parameter configuration method, device, terminal and readable storage medium
US6850777B1 (en) Method for providing a personal identification number to a subscriber identity module
CN112770380B (en) Specific absorption rate parameter adjusting method, specific absorption rate parameter adjusting device, computer equipment and storage medium
CN107241714B (en) Method, device and storage medium for establishing communication
CN111510910B (en) Communication module frequency band setting method and device, computer equipment and storage medium
CN112423288B (en) Dialing analysis method, device, computer equipment and storage medium
CN111510995B (en) Wireless communication method and apparatus
CN105657692A (en) Information processing method and electronic equipment
CN113194521B (en) Network searching method and device for 5G communication module, computer equipment and storage medium
CN110913346B (en) SIM card configuration method, terminal and storage medium
KR20180031287A (en) User equipment to personalize the use of the service and operationg method thereof
CN103369721A (en) Wireless communication module and operation method thereof
CN111194071A (en) Method and device for controlling power amplifier
CN102149073A (en) Method and system for automatically identifying preset files
CN109121184B (en) Network searching method and related product
KR100556878B1 (en) Initialization method for mobile communication terminal

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