CN106341810B - A kind of method and mobile terminal of double-card mobile terminal card selection - Google Patents

A kind of method and mobile terminal of double-card mobile terminal card selection Download PDF

Info

Publication number
CN106341810B
CN106341810B CN201610859690.5A CN201610859690A CN106341810B CN 106341810 B CN106341810 B CN 106341810B CN 201610859690 A CN201610859690 A CN 201610859690A CN 106341810 B CN106341810 B CN 106341810B
Authority
CN
China
Prior art keywords
card
communication card
communication
mobile terminal
type
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
CN201610859690.5A
Other languages
Chinese (zh)
Other versions
CN106341810A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610859690.5A priority Critical patent/CN106341810B/en
Publication of CN106341810A publication Critical patent/CN106341810A/en
Application granted granted Critical
Publication of CN106341810B publication Critical patent/CN106341810B/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/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

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

Abstract

The present invention provides the method and mobile terminal of a kind of double-card mobile terminal card selection, this method comprises: obtain the first communication card correspond to operator support network mode information and the second communication card correspond to operator support network mode information;By first communication card correspond to operator support network mode information and second communication card correspond to operator support network mode information, it is matched with the information of the information of the network mode of the main card of mobile terminal support and the network mode of vice card support, determines the type of first communication card and the type of second communication card;According to the type and preset type matching rule of the type of first communication card and second communication card, the main card and vice card of the mobile terminal are determined from first communication card and second communication card.The embodiment of the present invention can make mobile terminal main card and vice card can normal registration network, keep user more convenient.

Description

A kind of method and mobile terminal of double-card mobile terminal card selection
Technical field
The present invention relates to the communications field more particularly to a kind of methods and mobile terminal of double-card mobile terminal card selection.
Background technique
With the rapid development of mobile terminal technology, mobile terminal has become essential tool in people's life. Life and work is separated in order to facilitate user, or is other demands for meeting user, double-card mobile terminal comes into People's lives, and obtained the favor of users.It is all that main card is supported but for existing double-card mobile terminal Full lay wire network (supporting 2G, 3G and 4G network), vice card do not support full lay wire network, i.e., vice card only support 2G or vice card support 2G and 3G, if user will not support the card of vice card network to be placed on the position of vice card, will lead to this mobile phone card can not registered network, give User brings great inconvenience.
Summary of the invention
The embodiment of the present invention provides the operating method and mobile terminal of a kind of mobile terminal, can not be registered with solving mobile phone card The problem of network.
In a first aspect, the embodiment of the invention provides a kind of methods of double-card mobile terminal card selection, which is characterized in that described The mobile terminal includes: the first communication card and the second communication card, which comprises
Obtain the first communication card correspond to operator support network mode information and the second communication card correspond to operator's branch The information for the network mode held;
The information that first communication card is corresponded to the network mode of operator's support and second communication card are to meeting the tendency of The information for seeking the network mode that quotient supports, the network that the information and vice card for the network mode supported with the main card of mobile terminal are supported The information of mode is matched, and determines the type of first communication card and the type of second communication card;
It is regular according to the type and preset type matching of the type of first communication card and second communication card, The main card and vice card of the mobile terminal are determined from first communication card and second communication card.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, which is characterized in that the movement terminal packet Include: the first communication card and the second communication card, the mobile terminal include:
Module is obtained, the information and the second communication card for corresponding to the network mode of operator's support for obtaining the first communication card The information for the network mode that corresponding operator supports;
Matching module, the information and described second of the network mode for first communication card to be corresponded to operator's support Communication card corresponds to the information of the network mode of operator's support, the information and pair of the network mode supported with the main card of mobile terminal The information for blocking the network mode supported is matched, and determines the type of first communication card and the class of second communication card Type;
Determining module, for according to the type of first communication card and the type of second communication card and preset Type matching rule, determines the main card and vice card of the mobile terminal from first communication card and second communication card.
In this way, in the embodiment of the present invention, the information and that the first communication card correspond to the network mode that operator supports is obtained Two communication cards correspond to the information of the network mode of operator's support;First communication card is corresponded to the network mould of operator's support The information of formula and second communication card correspond to the information of the network mode of operator's support, support with the main card of mobile terminal The information for the network mode that the information and vice card of network mode are supported is matched, and determines type and the institute of first communication card State the type of the second communication card;According to the type and preset class of the type of first communication card and second communication card Type matching rule determines the main card and vice card of the mobile terminal from first communication card and second communication card.This Sample matches two communication cards by matching rule, determines main card and vice card, make two mobile phone cards can registered network, make User is more convenient.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of the method for double-card mobile terminal card selection provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for another double-card mobile terminal card selection provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
First embodiment
It is a kind of flow chart of the method for double-card mobile terminal card selection provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, such as Shown in Fig. 1, comprising the following steps:
Step 101, the first communication card of acquisition correspond to the information of the network mode of operator's support and the second communication card corresponds to The information for the network mode that operator supports.
In the embodiment of the present invention, above-mentioned first communication card and the second communication card can be SIM card, usim card, micro-SIM Card, any one in Nano SIM card, above-mentioned operator is to provide the operator of network service, and above-mentioned network mode can be 2G, 3G or 4G network etc..Certainly the network mode that a kind of corresponding operator of communication card supports can only one kind, can also There are many.Such as a kind of communication card only supports mobile 2G network, another communication card that can support 2G, 3G and 4G of connection Network.
Step 102, the information and described second for the network mode that first communication card is corresponded to operator's support communicate The information for blocking the network mode that corresponding operator supports, the information and vice card branch of the network mode supported with the main card of mobile terminal The information for the network mode held is matched, and determines the type of first communication card and the type of second communication card.
In the embodiment of the present invention, the information for the network mode that the main card of above-mentioned mobile terminal is supported and the network of vice card support The information of mode is understood that.In general, general main when mobile terminal can support main card and when supporting vice card The network mode that card is supported can be more than vice card.Such as the main card of a possible mobile terminal supports 2G, 3G and 4G, vice card is only propped up Hold 2G;May also the main card of mobile terminal support 2G, 3G and 4G, vice card only supports 3G.
In the embodiment of the present invention, the above-mentioned type can be our customized types, such as different types can be determined Justice be type one or type two, naturally it is also possible to by different type definitions be type A or type B, to this embodiment of the present invention It is not construed as limiting.
Step 103, according to the type of first communication card and the type and preset type of second communication card Matching rule determines the main card and vice card of the mobile terminal from first communication card and second communication card.
In the present embodiment, the function of the main card of mobile terminal and vice card can be distinguished in a manner of existing, such as on The main card of mobile terminal is stated for making a phone call, receiving calls and surfing the Internet, the vice card of above-mentioned mobile terminal is mainly used for answering Phone is also not limited to this certainly.
In the embodiment of the present invention, above-mentioned matching rule can be the matching rule pre-set, it can be user certainly A kind of rule of definition, this rule can be the main card for being conducive to mobile terminal and vice card can normal registration network one kind Rule.
In the embodiment of the present invention, above-mentioned mobile terminal any can have the mobile terminal of double card function, such as: mobile phone, Tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) Or wearable device (Wearable Device) etc..
A kind of method of double-card mobile terminal card selection of the embodiment of the present invention obtains the first communication card and corresponds to operator's support Network mode information and the second communication card correspond to operator support network mode information;By first communication card pair The information for the network mode for answering operator to support and second communication card correspond to the information of the network mode of operator's support, with The information for the network mode that the information and vice card for the network mode that the main card of mobile terminal is supported are supported is matched, described in determination The type of the type of first communication card and second communication card;According to the type of first communication card and second communication The type of card and preset type matching rule, determine the movement from first communication card and second communication card The main card and vice card of terminal.Two communication cards are matched by matching rule in this way, determine main card and vice card, make two hands Machine card can registered network, keep user more convenient.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of the method for another double-card mobile terminal card selection provided in an embodiment of the present invention, As shown in Figure 2, comprising the following steps:
The operator's informaiton of step 201, the operator's informaiton for obtaining the first communication card and the second communication card.
In the embodiment of the present invention, above-mentioned first communication card and the second communication card can be understood as our mobile phone card, on Stating operator is to provide the operator of network service.
Step 202, by the operator's informaiton of the operator's informaiton of first communication card and second communication card and this The operator's informaiton of ground storage, or be compared with the operator's informaiton downloaded from preset server, determine that first is logical Letter card correspond to operator support network mode information and the second communication card correspond to operator support network mode information.
In the embodiment of the present invention, above-mentioned network mode can be 2G, 3G or 4G network etc..A kind of certain communication card pair The network mode that the operator answered supports can only one kind, can also there are many.Such as a kind of communication card only supports movement 2G network, another communication card can support 2G, 3G and 4G network of connection.
In the embodiment of the present invention, the above-mentioned operator's informaiton being locally stored, it can be understood as stored inside mobile terminal Operator's informaiton.Above-mentioned preset server can store the information of mobile terminal operator, when mobile terminal needs to download When, just operator's informaiton is sent to mobile terminal.The network mode that first communication card can be support can be the network of connection, At this time with mobile terminal support operator's informaiton compare, if mobile terminal only supports 2G and 3G of connection, by pair Than determining that the first communication card supports the 2G and 3G of connection later.
Step 203, the information and described second for the network mode that first communication card is corresponded to operator's support communicate The information for blocking the network mode that corresponding operator supports, the information and vice card branch of the network mode supported with the main card of mobile terminal The information for the network mode held is matched, and determines the type of first communication card and the type of second communication card.
In the embodiment of the present invention, the information for the network mode that the main card of above-mentioned mobile terminal is supported and the network of vice card support The information of mode is understood that.In general, general main when mobile terminal can support main card and when supporting vice card The network mode that card is supported can be more than vice card.Such as the main card of a possible mobile terminal supports 2G, 3G and 4G, vice card is only propped up Hold 2G;May also the main card of mobile terminal support 2G, 3G and 4G, vice card only supports 3G.
In the embodiment of the present invention, the above-mentioned type can be our customized types, such as different types can be determined Justice be type one or type two, naturally it is also possible to by different type definitions be type A or type B, to this embodiment of the present invention It is not construed as limiting.
Step 204, according to the type of first communication card and the type and preset type of second communication card Matching rule determines the main card and vice card of the mobile terminal from first communication card and second communication card.
In the embodiment of the present invention, above-mentioned matching rule can be the matching rule pre-set, it can be user certainly A kind of rule of definition, this rule can be the main card for being conducive to mobile terminal and vice card can normal registration network one kind Rule.
Optionally, the information and described second of the network mode that first communication card is corresponded to operator's support is led to Letter card corresponds to the information of the network mode of operator's support, the information and vice card of the network mode supported with the main card of mobile terminal The information of the network mode of support is matched, and determines the type of first communication card and the type of second communication card, Include:
Obtain the number and title of the mobile terminal operator;
It is searched in the local file of the mobile terminal according to the number of the operator and title, to determine The network mode that mobile terminal vice card is supported;
The card for the network mode for not supporting the vice card to support in first communication card and second communication card is true It is set to first kind card;
The card for the network mode for supporting the vice card to support in first communication card and second communication card is determined For the second class card.
Above-mentioned first kind card refers to the card for the network mode for not supporting the vice card of mobile terminal to support.
Above-mentioned second class card refers to the card for the network mode for supporting the vice card of mobile terminal to support.
In the embodiment of the present invention, the number of above-mentioned mobile terminal operator be international mobile subscriber identity (IMSI: International Mobile Subscriber Identification Number) in Mobile Country Code MCC and mobile network Number is the mark for distinguishing mobile subscriber, is stored in subscriber identification card (SIM, Subscriber Identification Module in), it can be used for distinguishing the effective information of mobile subscriber.The total length of international mobile subscriber identity is no more than 15, Equally use 0 to 9 number.Wherein Mobile Country Code MCC (MCC, Mobile Country Code) is mobile subscriber belonging country Code name, accounts for 3 bit digitals, and Chinese MCC is defined as 460;Mobile network code (MNC, Mobile Network Code) can be managed Solution is the number of mobile network, is made of two or three bit digitals, and the MNC of China Mobile is 00;Mobile subscriber institute for identification The mobile radio communication of ownership;Identification number of mobile subscriber (MSIN, Mobile Subscriber Identification Number) to identify the mobile subscriber in a certain mobile radio communication.
In the embodiment of the present invention, number, title and the network information of support of above-mentioned mobile terminal operator can be with one The mode of a file is stored in inside mobile terminal;It can also be in a manner of associated, thus with the side of several separated files There are mobile terminal the insides for formula, but the information of related All Files, this mode can be found by finding one of file It is also possible.
It is above-mentioned to support the vice card branch in first communication card and second communication card in the embodiment of the present invention The card for the network mode held is determined as first kind card;The vice card will be supported in first communication card and second communication card The card of the network mode of support is determined as the second class card and is understood that.For example, in certain countries, mobile terminal Vice card can only support the 2G network of the first operator, if the first communication card supports 2G, 3G and 4G network of the first operator, Because it supports the 2G network of the first operator, the first communication card is exactly the second class card;If the second communication card is supported 3G the and 4G network of first operator, because it does not support that the 2G network of the first operator, the second communication card are exactly One kind card.We rough can understand, under this default rule, in general the network mode that the second class card is supported can It is more than the network mode that first kind card is supported.
Optionally, the method also includes:
Judge whether first communication card and second communication card all support full mould network formats, or described in judgement Whether the main card and vice card of mobile terminal support the overall network mode of first communication card and second communication card simultaneously;
If first communication card and second communication card all support full mould network formats or the mobile terminal Main card and vice card support the overall network mode of first communication card and second communication card simultaneously, select described first to lead to Any one card is used as main card in letter card and second communication card;
If first communication card and second communication card do not support full mould network formats or the mobile terminal Main card and vice card do not support the overall network mode of first communication card and second communication card, then enter described According to the type of first communication card and the type of second communication card and preset type matching rule, from described first The step of main card and vice card of the mobile terminal are determined in communication card and second communication card.
Above-mentioned overall network standard, it can be understood as the mode for the overall network that an operator supports.A such as fortune It seeks quotient and 2G, 3G and 4G network is provided, full mould network formats are exactly the mode for supporting 2G, 3G and 4G overall network.A such as fortune It seeks quotient and 2G, 3G, 4G and 5G network is provided, full mould network formats are exactly the mode for supporting 2G, 3G, 4G and 5G overall network.
Optionally, described according to the type of first communication card and the type and preset class of second communication card Type matching rule determines the main card and vice card of the mobile terminal, packet from first communication card and second communication card It includes:
If the type of first communication card and the type of second communication card are all the first kind card or described The type of first communication card and the type of second communication card are all the second class card, it is determined that the master of the mobile terminal Card is first communication card, and vice card is second communication card;
If the type of first communication card and the type of second communication card are respectively the first kind card and described First communication card is determined as the main card of the mobile terminal by the second class card, second communication card is determined as described The vice card of mobile terminal;
If the type of first communication card and the type of second communication card are respectively the second class card and described Second communication card is determined as the main card of the mobile terminal by first kind card, first communication card is determined as described The vice card of mobile terminal.
In the embodiment of the present invention, when the type of above-mentioned first communication card and the type of the second communication card are all the first kind When the type of the type and the second communication card of card or the first communication card is all the second class card, no matter by which communication card It is determined as main card, which communication card is determined as vice card, and effect is the same in fact.
But when the type of the first communication card and the type of the second communication card are respectively first kind card and the second class card, by the One communication card is determined as the main card of mobile terminal, and the second communication card is determined as to the vice card of mobile terminal;When the first communication card Type and the type of the second communication card are respectively the second class card and first kind card, and the second communication card is determined as to the master of mobile terminal First communication card, is determined as the vice card of mobile terminal by card.
Because the mode that the main card of mobile terminal is generally supported can be more than the mode that vice card is supported, what the second class card was supported Mode is more than what first kind card was supported, and when the second class card of definition, it can support mobile terminal vice card network Card, so vice card energy registered network.And main card can generally support that full mould, such first kind card may normal registration networks.In this way Main card and vice card can registered network, make the user to use more convenient.
The embodiment of the present invention obtains the operator's informaiton of the first communication card and the operator's informaiton of the second communication card;By institute The operator's informaiton of the first communication card and the operator's informaiton of second communication card and the operator's informaiton being locally stored are stated, or Person is compared with the operator's informaiton downloaded from preset server, determines that the first communication card corresponds to the net of operator's support The information of network mode and the second communication card correspond to the information of the network mode of operator's support;By first communication card to meeting the tendency of The information for the network mode that battalion quotient supports and second communication card correspond to the information of the network mode of operator's support, with movement The information for the network mode that the information and vice card for the network mode that the main card of terminal is supported are supported is matched, and determines described first The type of the type of communication card and second communication card;According to the type of first communication card and second communication card Type and preset type matching rule, determine the mobile terminal from first communication card and second communication card Main card and vice card.Two communication cards are matched by matching rule in this way, determine main card and vice card, make two mobile phone cards Can registered network, keep user more convenient.
3rd embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 3, Fig. 3, as shown in figure 3, mobile terminal 300 wraps It includes and obtains module 301, matching module 302, determining module 303, in which:
Module 301 is obtained, the information and second for obtaining the network mode that the first communication card corresponds to operator's support is led to Letter card corresponds to the information of the network mode of operator's support;
Matching module 302, for first communication card to be corresponded to the information of network mode of operator's support and described Second communication card corresponds to the information of the network mode of operator's support, the information for the network mode supported with the main card of mobile terminal The information of network mode supported with vice card matched, determine first communication card type and second communication card Type;
Determining module 303, for according to the type of first communication card and the type of second communication card and in advance If type matching rule, the main card and pair of the mobile terminal are determined from first communication card and second communication card Card.
Optionally, as shown in figure 4, the acquisition module 301, comprising:
First acquisition unit 3011, for obtaining the operator's informaiton of the first communication card and operator's letter of the second communication card Breath;
First determination unit 3012, for by the fortune of the operator's informaiton of first communication card and second communication card Battalion's quotient's information and the operator's informaiton being locally stored, or compared with the operator's informaiton downloaded from preset server It is right, determine that the first communication card corresponds to the information of the network mode of operator's support and the second communication card corresponds to the net that operator supports The information of network mode.
Optionally, as shown in figure 5, the matching module 302, comprising:
Second acquisition unit 3021, for obtaining the number and title of the mobile terminal operator;
Second determination unit 3022, for the number and title according to the operator in the local literary of the mobile terminal It is searched in part, the network mode that mobile terminal vice card is supported to determine;
Third determination unit 3023, for will not support the vice card in first communication card and second communication card The card of the network mode of support is determined as first kind card;
4th determination unit 3024, for will support the vice card branch in first communication card and second communication card The card for the network mode held is determined as the second class card.
Optionally, as shown in fig. 6, the mobile terminal 300 further include:
Judgment module 304, for judging whether first communication card and second communication card all support full lay wire network Standard, or judge the mobile terminal main card and vice card whether and meanwhile support first communication card and it is described second communication The overall network mode of card;
Selecting module 305, if judging first communication card and second communication card all for the judgment module 304 It supports the main card and vice card of full mould network formats or the mobile terminal while supporting first communication card and described second The overall network mode of communication card selects in first communication card and second communication card any one card as main card;
If the determining module 303 judges first communication card and second communication for the judgment module 304 Card does not support the main card and vice card of full mould network formats or the mobile terminal not support first communication card and institute The overall network mode for stating the second communication card, according to the type of the type of first communication card and second communication card and Preset type matching rule, determined from first communication card and second communication card mobile terminal main card and Vice card.
Optionally, if the determining module for first communication card type and second communication card type all Type for the type and second communication card of the first kind card or first communication card is all second class Card, it is determined that the main card of the mobile terminal is first communication card, and vice card is second communication card;
If the type of first communication card and the type of second communication card are respectively the first kind card and described First communication card is determined as the main card of the mobile terminal by the second class card, second communication card is determined as described The vice card of mobile terminal;
If the type of first communication card and the type of second communication card are respectively the second class card and described Second communication card is determined as the main card of the mobile terminal by first kind card, first communication card is determined as described The vice card of mobile terminal.
Mobile terminal 300 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away Exempt to repeat, which is not described herein again.
The mobile terminal 300 of the embodiment of the present invention obtains the letter that the first communication card corresponds to the network mode of operator's support Breath corresponds to the information of the network mode of operator's support with the second communication card;First communication card is corresponded into operator's support The information of network mode and second communication card correspond to the information of the network mode of operator's support, the main card with mobile terminal The information for the network mode that the information and vice card of the network mode of support are supported is matched, and determines the class of first communication card The type of type and second communication card;According to the type of the type of first communication card and second communication card and pre- If type matching rule, the main card and pair of the mobile terminal are determined from first communication card and second communication card Card.Two communication cards are matched by matching rule in this way, determine main card and vice card, make two mobile phone cards that can register net Network keeps user more convenient.
Fourth embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 7, Fig. 7, as shown in fig. 7, mobile terminal 700 wraps It includes: at least one processor 701, memory 702, at least one network interface 704 and user interface 703.In mobile terminal 700 Various components be coupled by bus system 705.It is understood that bus system 705 is for realizing between these components Connection communication.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus. But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable P ROM, EPROM), electrically erasable programmable read-only memory (Electrically EP ROM, EEPROM) Or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as outside Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous D RAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SD RAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SD RAM, ESDRAM), synchronous connect Connect dynamic random access memory (Synch link D RAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 702 of system and method described herein is intended to include but is not limited to these With the memory of any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 are used for:
Obtain the first communication card correspond to operator support network mode information and the second communication card correspond to operator's branch The information for the network mode held;
The information that first communication card is corresponded to the network mode of operator's support and second communication card are to meeting the tendency of The information for seeking the network mode that quotient supports, the network that the information and vice card for the network mode supported with the main card of mobile terminal are supported The information of mode is matched, and determines the type of first communication card and the type of second communication card;
It is regular according to the type and preset type matching of the type of first communication card and second communication card, The main card and vice card of the mobile terminal are determined from first communication card and second communication card.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 702, processor 701 reads the information in memory 702, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 701 executes the information that the first communication card of the acquisition corresponds to the network mode of operator's support The information of the network mode of operator's support is corresponded to the second communication card, comprising:
Obtain the operator's informaiton of the first communication card and the operator's informaiton of the second communication card;
By the operator's informaiton of the operator's informaiton of first communication card and second communication card be locally stored Operator's informaiton, or be compared with the operator's informaiton downloaded from preset server, determine that the first communication card is corresponding The information for the network mode that operator supports and the second communication card correspond to the information of the network mode of operator's support.
Optionally, processor 701 executes the letter of the network mode that first communication card is corresponded to operator's support Breath corresponds to the information of the network mode of operator's support with second communication card, the network mould supported with the main card of mobile terminal The information for the network mode that the information and vice card of formula are supported is matched, and determines the type and described second of first communication card The type of communication card, comprising:
Obtain the number and title of the mobile terminal operator;
It is searched in the local file of the mobile terminal according to the number of the operator and title, to determine The network mode that mobile terminal vice card is supported;
The card for the network mode for not supporting the vice card to support in first communication card and second communication card is true It is set to first kind card;
The card for the network mode for supporting the vice card to support in first communication card and second communication card is determined For the second class card.
Optionally, processor 701 is also used to:
Judge whether first communication card and second communication card all support full mould network formats, or described in judgement Whether the main card and vice card of mobile terminal support the overall network mode of first communication card and second communication card simultaneously;
If first communication card and second communication card all support full mould network formats or the mobile terminal Main card and vice card support the overall network mode of first communication card and second communication card simultaneously, select described first to lead to Any one card is used as main card in letter card and second communication card;
If first communication card and second communication card do not support full mould network formats or the mobile terminal Main card and vice card do not support the overall network mode of first communication card and second communication card, then enter described According to the type of first communication card and the type of second communication card and preset type matching rule, from described first The step of main card and vice card of the mobile terminal are determined in communication card and second communication card.
Optionally, processor 701 executes the class of the type according to first communication card and second communication card Type and preset type matching rule, determine the mobile terminal from first communication card and second communication card Main card and vice card, comprising:
If the type of first communication card and the type of second communication card are all the first kind card or described The type of first communication card and the type of second communication card are all the second class card, it is determined that the master of the mobile terminal Card is first communication card, and vice card is second communication card;
If the type of first communication card and the type of second communication card are respectively the first kind card and described First communication card is determined as the main card of the mobile terminal by the second class card, second communication card is determined as described The vice card of mobile terminal;
If the type of first communication card and the type of second communication card are respectively the second class card and described Second communication card is determined as the main card of the mobile terminal by first kind card, first communication card is determined as described The vice card of mobile terminal.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 700 of the embodiment of the present invention obtains the letter that the first communication card corresponds to the network mode of operator's support Breath corresponds to the information of the network mode of operator's support with the second communication card;First communication card is corresponded into operator's support The information of network mode and second communication card correspond to the information of the network mode of operator's support, the main card with mobile terminal The information for the network mode that the information and vice card of the network mode of support are supported is matched, and determines the class of first communication card The type of type and second communication card;According to the type of the type of first communication card and second communication card and pre- If type matching rule, the main card and pair of the mobile terminal are determined from first communication card and second communication card Card.Two communication cards are matched by matching rule in this way, determine main card and vice card, make two mobile phone cards that can register net Network keeps user more convenient.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (6)

1. a kind of method of double-card mobile terminal card selection, which is characterized in that the movement terminal includes: the first communication card and Two communication cards, which comprises
Obtain the first communication card correspond to operator support network mode information and the second communication card correspond to operator support The information of network mode;
First communication card is corresponded into the information of the network mode of operator's support and second communication card corresponds to operator The information of the network mode of support, the network mode that the information and vice card for the network mode supported with the main card of mobile terminal are supported Information matched, determine the type of first communication card and the type of second communication card;
According to the type and preset type matching rule of the type of first communication card and second communication card, from institute State the main card and vice card that the mobile terminal is determined in the first communication card and second communication card;
The information of the network mode that first communication card is corresponded to operator's support and second communication card are to meeting the tendency of The information for seeking the network mode that quotient supports, the network that the information and vice card for the network mode supported with the main card of mobile terminal are supported The information of mode is matched, and determines the type of first communication card and the type of second communication card, comprising:
Obtain the number and title of the mobile terminal operator;
It is searched in the local file of the mobile terminal according to the number of the operator and title, is moved with determination The network mode that terminal vice card is supported;
The card for the network mode for not supporting the vice card to support in first communication card and second communication card is determined as First kind card;
The card for the network mode for supporting the vice card to support in first communication card and second communication card is determined as the Two class cards;
It is described regular according to the type of first communication card and the type of second communication card and preset type matching, The main card and vice card of the mobile terminal are determined from first communication card and second communication card, comprising:
If the type of first communication card and the type of second communication card are all the first kind card or described first The type of communication card and the type of second communication card are all the second class card, it is determined that the main card of the mobile terminal is First communication card, vice card are second communication card;
If the type of first communication card and the type of second communication card are respectively the first kind card and described second First communication card is determined as the main card of the mobile terminal by class card, and second communication card is determined as the movement The vice card of terminal;
If the type of first communication card and the type of second communication card are respectively the second class card and described first Second communication card is determined as the main card of the mobile terminal by class card, and first communication card is determined as the movement The vice card of terminal.
2. the method according to claim 1, wherein the net for obtaining the first communication card and corresponding to operator's support The information of network mode and the second communication card correspond to the information of the network mode of operator's support, comprising:
Obtain the operator's informaiton of the first communication card and the operator's informaiton of the second communication card;
By the operator's informaiton of the operator's informaiton of first communication card and second communication card and the operation being locally stored Quotient's information, or be compared with the operator's informaiton downloaded from preset server, determine the corresponding operation of the first communication card The information for the network mode that quotient supports and the second communication card correspond to the information of the network mode of operator's support.
3. the method according to claim 1, wherein the method also includes:
Judge whether first communication card and second communication card all support full mould network formats, or judges the movement Whether the main card and vice card of terminal support the overall network mode of first communication card and second communication card simultaneously;
If first communication card and second communication card all support the main card of full mould network formats or the mobile terminal The overall network mode for supporting first communication card and second communication card simultaneously with vice card, selects first communication card Main card is used as with any one card in second communication card;
If first communication card and second communication card do not support the master of full mould network formats or the mobile terminal Card and vice card do not support the overall network mode of first communication card and second communication card, then enter described according to institute The type of the first communication card and the type of second communication card and preset type matching rule are stated, from first communication The step of main card and vice card of the mobile terminal are determined in card and second communication card.
4. a kind of mobile terminal, which is characterized in that the movement terminal includes: the first communication card and the second communication card, described Mobile terminal includes:
Module is obtained, the first communication card corresponds to the information for the network mode that operator supports and the second communication card corresponds to for obtaining The information for the network mode that operator supports;
Matching module, for first communication card to be corresponded to the information and second communication of the network mode of operator's support The information for blocking the network mode that corresponding operator supports, the information and vice card branch of the network mode supported with the main card of mobile terminal The information for the network mode held is matched, and determines the type of first communication card and the type of second communication card;
Determining module, for according to the type of first communication card and the type and preset type of second communication card Matching rule determines the main card and vice card of the mobile terminal from first communication card and second communication card;
The matching module, comprising:
Second acquisition unit, for obtaining the number and title of the mobile terminal operator;
Second determination unit, for being carried out in the local file of the mobile terminal according to the number and title of the operator It searches, the network mode that mobile terminal vice card is supported to determine;
Third determination unit, the net for will not support the vice card to support in first communication card and second communication card The card of network mode is determined as first kind card;
4th determination unit, the network for the vice card will be supported to support in first communication card and second communication card The card of mode is determined as the second class card;
If the determining module is all described first for the type of first communication card and the type of second communication card The type of the type and second communication card of class card or first communication card is all the second class card, it is determined that institute The main card for stating mobile terminal is first communication card, and vice card is second communication card;
If the type of first communication card and the type of second communication card are respectively the first kind card and described second First communication card is determined as the main card of the mobile terminal by class card, and second communication card is determined as the movement The vice card of terminal;
If the type of first communication card and the type of second communication card are respectively the second class card and described first Second communication card is determined as the main card of the mobile terminal by class card, and first communication card is determined as the movement The vice card of terminal.
5. mobile terminal according to claim 4, which is characterized in that the acquisition module, comprising:
First acquisition unit, for obtaining the operator's informaiton of the first communication card and the operator's informaiton of the second communication card;
First determination unit, for by the operator's informaiton of the operator's informaiton of first communication card and second communication card It with the operator's informaiton being locally stored, or is compared with the operator's informaiton downloaded from preset server, determines One communication card corresponds to the information of the network mode of operator's support and second communication card correspond to the network mode that operator supports Information.
6. mobile terminal according to claim 4, which is characterized in that the mobile terminal further include:
Judgment module, for judging whether first communication card and second communication card all support full mould network formats, or Person judge the mobile terminal main card and vice card whether and meanwhile support the complete of first communication card and second communication card Portion's network mode;
Selecting module, if judging that first communication card and second communication card all support full lay wire for the judgment module The main card and vice card of network standard or the mobile terminal support the complete of first communication card and second communication card simultaneously Portion's network mode selects in first communication card and second communication card any one card as main card;
If the determining module judges that first communication card and second communication card are not supported for the judgment module The main card and vice card of full mould network formats or the mobile terminal do not support first communication card and second communication The overall network mode of card, according to the type and preset type of the type of first communication card and second communication card Matching rule determines the main card and vice card of the mobile terminal from first communication card and second communication card.
CN201610859690.5A 2016-09-28 2016-09-28 A kind of method and mobile terminal of double-card mobile terminal card selection Active CN106341810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610859690.5A CN106341810B (en) 2016-09-28 2016-09-28 A kind of method and mobile terminal of double-card mobile terminal card selection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610859690.5A CN106341810B (en) 2016-09-28 2016-09-28 A kind of method and mobile terminal of double-card mobile terminal card selection

Publications (2)

Publication Number Publication Date
CN106341810A CN106341810A (en) 2017-01-18
CN106341810B true CN106341810B (en) 2019-05-17

Family

ID=57840461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610859690.5A Active CN106341810B (en) 2016-09-28 2016-09-28 A kind of method and mobile terminal of double-card mobile terminal card selection

Country Status (1)

Country Link
CN (1) CN106341810B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633109B (en) * 2018-05-11 2021-07-20 中国联合网络通信集团有限公司 Method and device for identifying main card of double-card terminal
CN113612498B (en) * 2021-09-30 2021-12-31 荣耀终端有限公司 Antenna configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165697A1 (en) * 2014-04-28 2015-11-05 Koninklijke Philips N.V. Wireless communication system.
CN105228182A (en) * 2014-06-09 2016-01-06 北京三星通信技术研究有限公司 The double card collocation method of multimode double-card mobile terminal and device
CN105792319A (en) * 2014-12-24 2016-07-20 中国移动通信集团公司 Access mode switching method of multimode double-card terminal and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165697A1 (en) * 2014-04-28 2015-11-05 Koninklijke Philips N.V. Wireless communication system.
CN105228182A (en) * 2014-06-09 2016-01-06 北京三星通信技术研究有限公司 The double card collocation method of multimode double-card mobile terminal and device
CN105792319A (en) * 2014-12-24 2016-07-20 中国移动通信集团公司 Access mode switching method of multimode double-card terminal and related device

Also Published As

Publication number Publication date
CN106341810A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106776082B (en) The method of attaching and device of text
KR100735341B1 (en) Apparatus and method for improving speed of data reading from subscriber identity module
CN104010291B (en) Network registering method and its device and mobile terminal
CN103108380A (en) Method and device for providing network connection
CN106131000B (en) Identifying code fill method and its mobile terminal
CN107634845A (en) The adaptation method and equipment of carrier network
CN108112010A (en) Access method, apparatus, terminal and the computer readable storage medium of network
CN107306458B (en) Working SIM card configuration method of communication terminal and communication terminal
CN106341810B (en) A kind of method and mobile terminal of double-card mobile terminal card selection
CN103067909B (en) Realize method and the device of pintle hook lock
CN102572074A (en) Method for automatically selecting matched card for multi-card mobile phone and implementation device thereof
CN103813439A (en) Method for terminal register and terminal
US7599684B2 (en) Automatic setting method for terminal information using subscriber identity module
US20160065716A1 (en) Method and Device for Displaying and Processing Application Name of Multimode Card of Mobile Terminal
CN108260119B (en) Mobile terminal, embedded SIM card and access method and device thereof
CN105430698B (en) Access network switch method and device
CN107567022A (en) A kind of wireless connection method, terminal and computer-readable recording medium
CN105979552A (en) Method and system for usage of manual plmn selection mode
CN106603576A (en) Multi-account management method and device for terminal
CN107249186B (en) A kind of parameter acquiring method, mobile terminal and computer readable storage medium
JP6485973B2 (en) Method and apparatus for realizing virtual communication card
CN104469899B (en) Network selection method and electronic equipment
CN102891888B (en) Data access method and related equipment and system
KR101339472B1 (en) Method for reading a phonebook data in subscriber identity module card, and terminal thereof
CN106713576A (en) Method for distinguishing multiple numbers in contact person information and device thereof

Legal Events

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