CN113489615A - Method, system, terminal and storage medium for automatically adapting to operator network mode - Google Patents

Method, system, terminal and storage medium for automatically adapting to operator network mode Download PDF

Info

Publication number
CN113489615A
CN113489615A CN202110821914.4A CN202110821914A CN113489615A CN 113489615 A CN113489615 A CN 113489615A CN 202110821914 A CN202110821914 A CN 202110821914A CN 113489615 A CN113489615 A CN 113489615A
Authority
CN
China
Prior art keywords
network
operator
mode
type
default
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.)
Granted
Application number
CN202110821914.4A
Other languages
Chinese (zh)
Other versions
CN113489615B (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 Cloud Internet Corp Technology Co Ltd
Original Assignee
Huizhou TCL Cloud Internet Corp Technology 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 Cloud Internet Corp Technology Co Ltd filed Critical Huizhou TCL Cloud Internet Corp Technology Co Ltd
Priority to CN202110821914.4A priority Critical patent/CN113489615B/en
Publication of CN113489615A publication Critical patent/CN113489615A/en
Application granted granted Critical
Publication of CN113489615B publication Critical patent/CN113489615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The invention discloses a method, a system, a terminal and a storage medium for automatically adapting to an operator network mode, wherein the method comprises the following steps: reading card slot data and determining the network type supported by the card slot; identifying a network type supported by an operator of the SIM card; obtaining a highest-level type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by an operator; matching a default network mode of an operator in preset operator default network mode data according to the highest type network; and setting the matched default network type as a local default network mode. The problem of different SIM card network modes of holding among the prior art can't adapt various equipment and can't adapt to operator's network mode scheme automatically is solved.

Description

Method, system, terminal and storage medium for automatically adapting to operator network mode
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method, system, terminal, and storage medium for automatically adapting to an operator network mode.
Background
In current mobile terminals, for example, Android mobile phones support different network systems, some mobile phones support 4G at the highest energy, newly released mobile phones support 5G at the lowest energy, and some low-end devices may support only 3G, and the requirements of each operator for a default network mode and network mode options are different.
Native and platform default settings cannot meet the requirements of various devices and operators, and when the SIM card is replaced or different SIM cards are switched, the supported network mode cannot be automatically adapted to various devices and network mode schemes required by the operators, so that the use of the devices is inconvenient.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, an object of the present invention is to provide a method, a system, a terminal and a storage medium for automatically adapting to a network mode of an operator, which solve the problems that network modes of different SIM cards cannot be automatically adapted to various devices and cannot be automatically adapted to a network mode scheme of the operator in the prior art.
The technical scheme of the invention is as follows:
a method of automatically adapting to a carrier network mode, comprising the steps of:
reading card slot data and determining the network type supported by the card slot;
identifying a network type supported by an operator of the SIM card;
obtaining a highest-level type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by an operator;
matching a default network mode of an operator in preset operator default network mode data according to the highest type network;
and setting the matched default network type as a local default network mode.
Further, in the step of reading the card slot data and determining the network type supported by the card slot:
reading preset card slot parameters, and determining the card slot supporting network type according to the preset card slot parameters;
the step of identifying the network type supported by the operator of the SIM card specifically includes:
acquiring operator information of the SIM card, and finding out corresponding support parameters in preset operator support network data according to the operator information;
and acquiring the network types supported by the operator of the SIM card according to the support parameters.
Further, the step of obtaining the operator information of the SIM card and finding the corresponding support parameter in the preset operator support network data according to the operator information comprises:
the preset operator support network data comprises various types of networks and various constants corresponding to the types of networks,
the support parameter is the sum of all constants corresponding to all network types supported by the operator.
Further, in the step of matching the default network mode of the operator in the preset default network mode data of the operator according to the highest-level type network:
determining a mode parameter in preset operator default network mode data according to the highest-level type network and operator information, wherein the preset operator default network mode data comprises: the network management system comprises operator information, default network modes corresponding to the operator information and mode parameters corresponding to the default network modes, wherein the default network modes comprise highest-level type networks;
and finding the corresponding default network mode according to the mode parameters.
Further, the step of setting the matched default network type to the native default network mode further includes the following steps:
matching a network mode selection list in preset network mode selection list data according to the highest type network and the operator information;
and displaying the network mode selection list.
Further, the step of matching a network mode selection list in preset network mode selection list data according to the highest-level type network and the operator information includes:
determining mode parameters in preset network mode selection list data according to the highest-level type network and operator information;
matching in preset network mode selection list data according to mode parameters;
if the matching is successful, displaying a corresponding network mode selection list;
and if the matching fails, matching in preset network definition classification list data.
Further, if the matching fails, the step of matching in the preset network definition classification list data specifically includes:
if the matching is successful, displaying a corresponding network definition classification list;
and if the matching fails, displaying the corresponding default network mode.
Based on the same conception, the invention also discloses a system for automatically adapting to network modes of different operators, which comprises the following steps: the card slot network type identification module is used for reading card slot data and determining the network type supported by the card slot;
the operator network type identification module is used for identifying the network type supported by an operator of the SIM card;
the network type judging module is used for obtaining the highest type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by the operator;
the matching network module is used for matching a default network mode of an operator in preset operator default network mode data according to the highest-level type network;
and the network setting module is used for setting the matched default network type into a default network mode of the local device.
Based on the same concept, the invention also discloses a terminal, which comprises a processor and a memory, wherein the processor executes the computer program stored in the memory to realize the method for automatically adapting to the network mode of the operator.
Based on the same idea, the present invention also discloses a storage medium for storing a computer program which, when executed by a processor, implements the method of automatically adapting a network mode of an operator as described above.
Has the advantages that: compared with the prior art, the method, the system, the terminal and the storage medium for automatically adapting to the network mode of the operator, provided by the invention, have the advantages that the data of the card slot is read, and the network type supported by the card slot is determined; by identifying the network types supported by the operator of the SIM card, and according to the network types supported by the card slot and the network types supported by the operator, the highest-level type network in the network types which can be supported by the card slot is obtained; matching a default network mode of an operator in preset operator default network mode data according to the highest type network; and setting the matched default network type as a local default network mode. By the method, the terminal can be automatically adapted to a proper network, so that various terminal devices and different requirements of various operators can be automatically adapted, and the network mode does not need to be manually set again when the SIM card is changed or switched. The terminal equipment is more conveniently used.
Drawings
Fig. 1 is a flow chart of the main steps of a method of automatically adapting the operator network mode of the present invention.
FIG. 2 is a logical schematic diagram of the main steps of a method of automatically adapting to an operator network mode of the present invention;
fig. 3 is a flow chart of a preferred embodiment of a method of automatically adapting an operator network mode of the present invention.
Fig. 4 is a logic diagram of a preferred embodiment of a method of automatically adapting an operator network mode of the present invention.
Detailed Description
The invention provides a method, a system, a terminal and a storage medium for automatically adapting to an operator network mode, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail below by referring to the attached drawings and taking examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The names involved in the present scheme are explained:
the 2G network, the second generation of mobile phone communication technical specification, takes digital voice transmission technology as the core. The user experience rate is 10kbps and the peak rate is 100 kbps. Generally defined as the inability to directly transfer information such as e-mail, software, etc.; only has the technical specification of communication of the mobile phone of conversation and some transmission such as time, date and the like.
The 3G network is an abbreviation of 3rd Generation, which refers to the third Generation mobile communication technology. Compared with the first generation analog system mobile phone (1G) and the second generation digital mobile phone (2G) such as GSM, CDMA and the like, the wireless network has to be capable of supporting different data transmission speeds, namely at least 2Mbps (megabits per second), 384kbps (kilobits per second) and 144kbps (kilobits per second) in indoor, outdoor and driving environments respectively.
The 4G network is short for the fourth generation communication technology. The 4G system can download at the speed of 100Mbps, is 2000 times faster than the current dial-up networking, can also achieve the uploading speed of 20Mbps, and can meet the requirements of almost all users on wireless services.
The fifth Generation Mobile Communication Technology (english: 5th Generation Mobile Communication Technology, abbreviated as 5G) is a new Generation broadband Mobile Communication Technology with the characteristics of high speed, low time delay and large connection, and is a network infrastructure for realizing man-machine-object interconnection.
The 5G network is short for a fifth generation mobile communication technology, and the peak rate needs to reach 10-20Gbit/s so as to meet the requirements of high-definition video, virtual reality and other large-data-volume transmission. The air interface time delay is as low as 1ms, and real-time application such as automatic driving, telemedicine and the like is met. The device has the connection capability of millions of connections per square kilometer, and the communication of the Internet of things is met. The frequency spectrum efficiency is improved by more than 3 times compared with LTE. Under continuous wide area coverage and high mobility, the user experience rate reaches 100 Mbit/s. The flow density reaches more than 10Mbps/m 2. The mobility supports high-speed movement of 500 km/h. Wherein, the 5G network is one level higher than the 4G network, the 4G network is one level higher than the 3G network, and so on.
As shown in fig. 1 and fig. 2, the present embodiment discloses a method for automatically adapting to an operator network mode, which is applied to a mobile phone, for example, and includes the following steps:
and S100, reading the card slot data and determining the network type supported by the card slot.
In a specific embodiment, the card slot is a component for inserting an SIM card into a mobile phone, a network type supported by the card slot is determined according to a mobile phone chip, for example, in a mobile phone of an Android system, the network type supported by the card slot is controlled by a parameter radio access family, the parameter radio access family is preset in the mobile phone, an Android native value is directly reported by a modem, and assignment of the parameter radio access family can be used to calculate whether the current card slot supports a 5G network at most, or supports a 4G network at most, or supports a 3G network at most.
Wherein the step S100 is specifically: and reading the preset card slot parameters, and determining the card slot supporting network type according to the preset card slot parameters. And directly reading the card slot parameter values reported by the modem. So that it is determined from this value which network type is supported highest by the card slot of the handset.
And step S200, identifying the network type supported by the operator of the SIM card.
Specifically, preset operator support network data is set in the mobile phone in advance, and the preset operator support network data includes: operator information, support parameters corresponding to the operator information. In addition, the preset operator support network data also comprises a set matching rule. For example: the carrier config value support _ network _ class _ int is newly added in the mobile phone software to configure the network support condition of the operator:
the new constants are added and defined.
int NETWORK _ CLASS _2_ G ═ 0x 01; v/means operator support 2G
int NETWORK _ CLASS _3_ G ═ 0x 02; v/means operator support for 3G
int NETWORK _ CLASS _4_ G ═ 0x 04; v/means operator support 4G
int NETWORK _ CLASS _5_ G ═ 0x 08; v/means operator support 5G
And setting corresponding support parameters according to the rules, and matching the operators with the support parameters.
For example, operator a supports 5G, 4G, 3G, 2G, and then a support _ network _ class _ int needs to be configured in carrier config as: NETWORK _ CLASS _2_ G & NETWORK _ CLASS _3_ G & NETWORK _ CLASS _4_ G & NETWORK _ CLASS _5_ G, i.e. 15. If the operator only supports 4G, 3G, 2G then this value support _ network _ class _ int needs to be configured to 7. Operator a corresponds to a parameter 15 (indicating that the a operator supports 2G, 3G, 4G and 5G networks). Operator B corresponds to parameter 7 (indicating that B operator supports 2G network, 3G network, 4G network). The corresponding relation is pre-stored in the preset operator support network data.
As shown in fig. 3, therefore, the step S200 specifically includes:
step S210, obtaining the operator information of the SIM card, and finding out the corresponding support parameter in the preset operator support network data according to the operator information.
And step S220, acquiring the network type supported by the operator of the SIM card according to the support parameters.
The method specifically comprises the following steps: the preset operator support network data comprises various types of networks and various constants corresponding to the types of networks. In the above example, the constant 1 indicates that the operator supports a 2G type network. The constant 2 indicates that the operator supports 3G type networks. The constant 4 indicates that the operator supports 4G type networks. The constant 8 indicates that the operator supports a 5G type network. The support parameter is the sum of all constants corresponding to all network types supported by an operator; for example, parameter 15 is 1+2+4+ 8. Then 15 in the preset operator supported network data indicates that the operator supports 2G, 3G, 4G and 5G networks. If the parameter 7 is 1+2+4, then 7 in the preset operator supported network data indicates that the operator supports 2G network, 3G network, and 4G network.
Therefore, after the mobile phone identifies the specific operator information, a support parameter can be found according to the corresponding relationship between the operator information and the support parameter in the preset operator support network data, and the network type supported by the operator can be obtained according to the support parameter. For example
Operator a corresponds to a parameter 15 indicating that operator a supports 2G networks, 3G networks, 4G networks and 5G networks. The operator B corresponds to the parameter 7, which indicates that the operator B supports the 2G network, the 3G network, and the 4G network. The corresponding relation is pre-stored in the preset operator support network data.
As shown in fig. 1 and fig. 2, in step S300, according to the network types supported by the card slot and the network types supported by the operator, a highest-level type network among the network types that can be supported is obtained.
In the specific process, the network types supported by the card slot are compared with the network types supported by an operator to obtain the network types which can be supported, and the highest type network is determined in the network types which can be supported. For example, the card slot supports 2G network, 3G network, 4G network, and the operator of the SIM card supports 2G network, 3G network, 4G network, and 5G network. The mobile phone only supports 2G network, 3G network and 4G network when in use. And can determine that the 4G network is an advanced type network. For example, the card slot supports 2G network, 3G network, 4G network, and the operator of the SIM card supports 2G network, 3G network. The mobile phone only supports 2G network and 3G network when in use. And can determine that the 3G network is an advanced type network.
And step S400, matching the default network mode of the operator in the default network mode data of the preset operator according to the highest-level type network.
Presetting default network mode data of an operator in a mobile phone. Wherein the preset operator default network mode data comprises: the network management system comprises operator information, default network modes corresponding to the operator information and mode parameters corresponding to the default network modes, wherein the default network modes comprise highest-level type networks. The operator information corresponds to each default network mode, each default network mode corresponds to one mode parameter, and the highest-level type network can be identified in each default network mode. Therefore, the data of the default network mode of the preset operator can be inquired according to the plurality of parameters to obtain the corresponding related parameters.
The specific examples are as follows:
when the same device uses SIM cards of different operators, the default network mode of the operator may be different, for example, in the case of the highest supported 4G network, the default support mode for the network by the operator a and the operator B may be different. The default network mode requirement for A is 4G/3G/2G; and the default network mode requirement for B is 4G/3G. The default network modes of operator a and operator B may be distinguished by mode parameter values. One mode parameter is assigned to one default network mode of the operator A, the other mode parameter is assigned to one default network mode of the operator B, and different default network modes of the operator A and the operator B are distinguished through different mode parameters. As long as the mode parameters are known, the default network mode corresponding to the mode parameters can be determined.
So the mobile phone leaves factory or is preset before use. And adding a value of the default network mode for configuring the value of the default network mode.
config _5G _ device _ default _ NetworkMode// default network mode value of 5G
config _4G _ device _ default _ NetworkMode// default network mode value of 4G
config _3G _ device _ default _ NetworkMode// default network mode value of 3G
For example, a handset supports up to 4G networks, and two operators a and B, the default network mode requirement for a is 4G/3G/2G, and the default network mode requirement for B is 4G/3G.
For operator a, config _4G _ device _ default _ network mode needs to be configured to be 9 for the specific value of 4G/3G/2G (this specific value is the value of the network mode defined by Android native).
For operator B, config _4G _ device _ default _ network mode needs to be configured to a specific 4G/3G value 12 (this specific value is a value of the network mode of the Android native definition).
Through the mode, all the mode parameters and the operator modes corresponding to the mode parameters are stored in the preset operator default network mode data, so that the operator default network mode can be obtained through the mode parameter determining mode.
Based on the principle, the method specifically comprises the following steps: and determining mode parameters in default network mode data of a preset operator according to the highest-level type network and the operator information. And finding the corresponding default network mode according to the mode parameters.
For example: and finding the mode parameters corresponding to the highest-level type network and the operator information in the preset operator default network mode data. For example, if the determined highest-level type network is a 4G network and the operator information is a B operator, the mode parameter 12 can be obtained according to the preset relationship, and the default network mode corresponding to the operator B can be found to be 4G/3G according to the mode parameter 12. If the determined highest-level type network is a 4G network and the operator information is an A operator, the mode parameter is 9 according to the preset relation, and the default network mode corresponding to the operator A can be found to be 4G/3G/2G.
And step S500, setting the matched default network type as the default network mode of the mobile terminal.
Specifically, the mobile phone is set to the default network mode according to the default network mode found in the previous step. This completes the automatic switching of network modes of different operators.
For example, if the operator of the used SIM card is B, and it is determined that the default network mode corresponding to the operator B is 4G/3G, the network mode of the mobile phone is set to the default network mode of the operator B, that is, the used network is 4G/3G. If the operator of the used SIM card is A, the default network mode corresponding to the operator A is determined to be 4G/3G/2G, the network mode of the mobile phone is set to be the default network mode of the operator A, namely the used network is 4G/3G/2G.
As shown in fig. 3 and 4, the step of setting the matched default network type to the native default network mode in this embodiment further includes the following steps:
step S600, matching a network mode selection list in preset network mode selection list data according to the highest-level type network and the operator information.
And step S610, displaying the network mode selection list.
The method specifically comprises the following steps: after the default network mode of the mobile phone is set, in order to allow the user to intuitively select other network modes, all network modes that can be supported by the operator and the mobile phone need to be displayed in a list form, so that the user can select the network modes.
Therefore, preset network mode selection list data is set in the mobile phone. Wherein the network mode selection list data comprises configuration parameters, and highest level type network and operator information corresponding to the configuration parameters. While the configuration parameters also correspond to the network mode selection list. I.e. different configuration parameters correspond to different network mode selection lists. Thus, the corresponding configuration parameters can be matched in the preset network mode selection list data through the highest-level type network and the operator information. And determining a corresponding network mode selection list according to the configuration parameters. And displaying the determined network mode selection list.
In the specific implementation process, a newly added carrier config value network _ mode _ variable _ int is used for classifying the network mode option list, and currently, there are 7 major classes.
For example, the same machine, different operators, and different network mode lists require different contents to be displayed.
Operator a requires that the network mode selection list be displayed (i.e., the list includes the following options):
4G/3G/2G(auto)
3G/2G(auto)
3G only
2G only
if the network mode list is classified as type 1, network _ mode _ variable _ int is configured as 1, and when the mobile phone supports 5G, an additional 5G/4G/3G/2G (auto) is added.
Operator B requirements show that:
4G/3G/2G(4G preferred)
3G/2G
3G only
2G only
if the network mode list is classified as type 4, network _ mode _ variable _ int is configured to be 4, and if the machine supports 5G, there is an additional 5G/4G/3G/2G (5G/4G predicted).
Operator C requirements show that:
LTE/WCDMA/GSM(auto)
WCDMA/GSM(auto)
WCDMA only
GSM only
if the network mode list is classified as type 5, then network _ mode _ variable _ int is configured to be 5, and when the handset supports 5G, there is one more NR/LTE/WCDMA/gsm (auto). Still other types are not specifically exemplified.
In addition, an additional database is arranged besides the preset network mode selection list data, namely network definition classification list data. The network definition classification list data is used for storing a few special operator network mode option lists and corresponding configuration parameters, and the special operator network modes are not classified into the 7 classes of the network modes, so that a plurality of configuration values are added:
preferred _5G _ network _ mode _ threads _ array//5G network mode
preferred _4G _ network _ mode _ threads _ array//4G network mode
preferred 3G network mode choice string array/3G network mode
For example, a particular operator requires specificity, the network mode requirements are shown as
4G/3G(auto)
3G only
Then the preferred 4g network mode choice string array needs to be configured to do so.
Therefore, the database contains lists as many as possible, so that the mobile phone has stronger functions.
The step S600 specifically includes:
s603, determining mode parameters in preset network mode selection list data according to the highest-level type network and operator information.
And S605, matching in the preset network mode selection list data according to the mode parameters.
And S607, if the matching is successful, displaying a corresponding network mode selection list, and if the matching is failed, matching in preset network definition classification list data.
Specifically, for example, when the parameters are set at the preset stage and the mobile phone is used, the highest-level type network and the operator information are matched to the corresponding configuration parameter of 5 in the preset network mode selection list data. Then find the network mode list corresponding to 5 in the preset network mode selection list data, and display the network mode list. It is shown as:
LTE/WCDMA/GSM(auto)
WCDMA/GSM(auto)
WCDMA only
GSM only
if the mobile phone supports 5G, the displayed content is as follows:
NR/LTE/WCDMA/GSM(auto)
LTE/WCDMA/GSM(auto)
WCDMA/GSM(auto)
WCDMA only
GSM only。
if the corresponding configuration parameters are not matched in the preset network mode selection list data through the highest-level type network and the operator information. Then a match is made in the network defined classification list data.
Step S607 specifically includes the steps of:
step S608, if the matching is successful, displaying a corresponding network definition classification list;
and step S609, if the matching fails, displaying a corresponding default network mode.
Specifically, if the corresponding configuration parameters are matched in the network definition classification list data. Then the corresponding network mode list in the network definition classification list data is displayed. For example, shown as:
4G/3G(auto)
3G only。
if the corresponding configuration parameters are not matched in both the network mode selection list data and the network definition classification list data. The corresponding default network mode is displayed.
According to the method for automatically adapting to the network mode of the operator, the terminal can be automatically adapted to a proper network, so that various terminal devices and different requirements of various operators can be automatically adapted, and the network mode does not need to be manually set again when the SIM card is changed or the SIM card is switched. The terminal equipment is more conveniently used.
Based on the same conception, the invention also discloses a system for automatically adapting to network modes of different operators, which comprises the following steps: the card slot network type identification module is used for reading card slot data and determining the network type supported by the card slot; the operator network type identification module is used for identifying the network type supported by the operator of the SIM card; the network type judging module is used for obtaining the highest type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by the operator; the matching network module is used for matching out the default network mode of the operator in the default network mode data of the preset operator according to the highest type network; the network setting module is used for setting the matched default network type into a local default network mode.
Based on the same concept, the invention also discloses a terminal, which comprises a processor and a memory, wherein the processor executes the computer program stored in the memory to realize the method for automatically adapting to the network mode of the operator.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Based on the same idea, the present invention also discloses a storage medium for storing a computer program which, when executed by a processor, implements the method of automatically adapting a network mode of an operator as described above.
For more specific processes of the above method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The system, the device and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In summary, the method, system, terminal and storage medium for automatically adapting to the network mode of the operator provided by the present invention reads the data of the card slot and determines the network type supported by the card slot; by identifying the network types supported by the operator of the SIM card, and according to the network types supported by the card slot and the network types supported by the operator, the highest-level type network in the network types which can be supported by the card slot is obtained; matching a default network mode of an operator in preset operator default network mode data according to the highest type network; and setting the matched default network type as a local default network mode. By the method, the terminal can be automatically adapted to a proper network, so that various terminal devices and different requirements of various operators can be automatically adapted, and the network mode does not need to be manually set again when the SIM card is changed or switched. The terminal equipment is more conveniently used.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for automatically adapting to a carrier network mode, comprising the steps of:
reading card slot data and determining the network type supported by the card slot;
identifying a network type supported by an operator of the SIM card;
obtaining a highest-level type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by an operator;
matching a default network mode of an operator in preset operator default network mode data according to the highest type network;
and setting the matched default network type as a local default network mode.
2. The method of claim 1, wherein the step of reading the card slot data to determine the type of network supported by the card slot comprises:
reading preset card slot parameters, and determining the card slot supporting network type according to the preset card slot parameters;
the step of identifying the network type supported by the operator of the SIM card specifically includes:
acquiring operator information of the SIM card, and finding out corresponding support parameters in preset operator support network data according to the operator information;
and acquiring the network types supported by the operator of the SIM card according to the support parameters.
3. The method of claim 2, wherein the step of obtaining the operator information of the SIM card and finding the corresponding support parameter in the preset operator support network data according to the operator information comprises:
the preset operator support network data comprises various types of networks and various constants corresponding to the types of networks,
the support parameter is the sum of all constants corresponding to all network types supported by the operator.
4. The method of automatically adapting operator network mode according to claim 1, wherein in the step of matching out the default network mode of the operator in the pre-set operator default network mode data according to the highest type network:
determining a mode parameter in preset operator default network mode data according to the highest-level type network and operator information, wherein the preset operator default network mode data comprises: the network management system comprises operator information, default network modes corresponding to the operator information and mode parameters corresponding to the default network modes, wherein the default network modes comprise highest-level type networks;
and finding the corresponding default network mode according to the mode parameters.
5. The method of automatically adapting a carrier network mode as set forth in claim 1, wherein said step of setting the matched default network type to the native default network mode further comprises the steps of:
matching a network mode selection list in preset network mode selection list data according to the highest type network and the operator information;
and displaying the network mode selection list.
6. The method of claim 5, wherein the step of matching a network mode selection list in pre-defined network mode selection list data according to the highest-level type network and operator information comprises:
determining mode parameters in preset network mode selection list data according to the highest-level type network and operator information;
matching in preset network mode selection list data according to mode parameters;
if the matching is successful, displaying a corresponding network mode selection list;
and if the matching fails, matching in preset network definition classification list data.
7. The method according to claim 1, wherein if the matching fails, the step of matching in the preset network definition classification list data specifically comprises:
if the matching is successful, displaying a corresponding network definition classification list;
and if the matching fails, displaying the corresponding default network mode.
8. A system for automatically adapting to different operator network modes, comprising:
the card slot network type identification module is used for reading card slot data and determining the network type supported by the card slot;
the operator network type identification module is used for identifying the network type supported by an operator of the SIM card;
the network type judging module is used for obtaining the highest type network in the network types which can be supported according to the network types supported by the card slot and the network types supported by the operator;
the matching network module is used for matching a default network mode of an operator in preset operator default network mode data according to the highest-level type network;
and the network setting module is used for setting the matched default network type into a default network mode of the local device.
9. A terminal comprising a processor and a memory, wherein the processor, when executing a computer program stored in the memory, implements a method of automatically adapting an operator network mode according to any of claims 1 to 7.
10. A storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the method of automatically adapting a carrier network mode according to any one of claims 7 to 8.
CN202110821914.4A 2021-07-20 2021-07-20 Method, system, terminal and storage medium for automatically adapting to network mode of operator Active CN113489615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110821914.4A CN113489615B (en) 2021-07-20 2021-07-20 Method, system, terminal and storage medium for automatically adapting to network mode of operator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110821914.4A CN113489615B (en) 2021-07-20 2021-07-20 Method, system, terminal and storage medium for automatically adapting to network mode of operator

Publications (2)

Publication Number Publication Date
CN113489615A true CN113489615A (en) 2021-10-08
CN113489615B CN113489615B (en) 2024-01-23

Family

ID=77941622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110821914.4A Active CN113489615B (en) 2021-07-20 2021-07-20 Method, system, terminal and storage medium for automatically adapting to network mode of operator

Country Status (1)

Country Link
CN (1) CN113489615B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636165A (en) * 2014-11-04 2016-06-01 深圳富泰宏精密工业有限公司 Network setting method and system
CN106899966A (en) * 2017-03-25 2017-06-27 努比亚技术有限公司 network mode automatic selecting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636165A (en) * 2014-11-04 2016-06-01 深圳富泰宏精密工业有限公司 Network setting method and system
CN106899966A (en) * 2017-03-25 2017-06-27 努比亚技术有限公司 network mode automatic selecting method and device

Also Published As

Publication number Publication date
CN113489615B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
US9578594B2 (en) Managing contextual information for wireless communications
EP1205085B1 (en) Method, mobile terminal and memory for selecting a bearer service for a service in a mobile telecommunications system
CN102404861B (en) Method for controlling user to access network and portable WIFI (Wireless Fidelity) hotspot equipment
US7443817B2 (en) Automatic wireless connection selection
CN102422680B (en) Provisioning single-mode and multimode system selection parameters and service management
US7689218B2 (en) Method, apparatus and computer program providing network-associated system priority list for multimode system selection
US9088931B2 (en) System selection based on service-specific preferred roaming list in a wireless network
US7729695B2 (en) Method and apparatus for handling roaming lists in a wireless communication system
CN101073283B (en) A default subscription profile for a roaming terminal device in a packet data based mobile communication network
EP1401224A1 (en) Software download to software definable radio by intermediate communication unit
EP1241911A2 (en) A method for selecting a quality of service in a wireless communication system
US20120122514A1 (en) Selecting network service providers for multi-mode mobile devices
EP4138473A1 (en) Transmission parameter determination method, terminal device and network device
JP2009534973A (en) Radio resource management method in radio communication network
WO2020200597A1 (en) Mobile communication network component and method for requesting a service
FI111317B (en) Centralized control of telecommunication parameters
CN113489615B (en) Method, system, terminal and storage medium for automatically adapting to network mode of operator
CN102695244B (en) According to method and the equipment of serving communication type selecting base station transceiver system
IL184887A (en) Method optimising radio connections in mobile telecommunications networks
CN101919275B (en) Mobile telecommunication selecting method
RU2366101C2 (en) Method to control circuit configuration and device to this effect
CN100442896C (en) System and method for implementing wireless terminal data information storage
KR100550729B1 (en) system Selection method of each service in mobile communitcation system
KR101680920B1 (en) Wireless Communication Terminal and Method therefor
WO2013109448A1 (en) Selecting network service providers for multi-mode mobile devices

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