CN106792638A - Method for connecting network and terminal - Google Patents

Method for connecting network and terminal Download PDF

Info

Publication number
CN106792638A
CN106792638A CN201611151063.2A CN201611151063A CN106792638A CN 106792638 A CN106792638 A CN 106792638A CN 201611151063 A CN201611151063 A CN 201611151063A CN 106792638 A CN106792638 A CN 106792638A
Authority
CN
China
Prior art keywords
sim
behavior
terminal
network
presently
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
CN201611151063.2A
Other languages
Chinese (zh)
Other versions
CN106792638B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611151063.2A priority Critical patent/CN106792638B/en
Publication of CN106792638A publication Critical patent/CN106792638A/en
Application granted granted Critical
Publication of CN106792638B publication Critical patent/CN106792638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • 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
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

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

Abstract

The disclosure is directed to a kind of method for connecting network and terminal, belong to technical field of information processing.Methods described includes:When detect network connection is carried out by the first SIM when,If the current behavior performed by the second SIM of terminal belongs to pre-set priority behavior,Then show that the behavior that the second SIM is currently performed takes whole antenna resources,Can now stop carrying out network connection by the first SIM,Terminal repeated attempt is avoided to connect the corresponding mobile network of the first SIM,At the end of the behavior,Terminal no longer takes whole antenna resources by the second SIM,Now terminal can be smoothed out network connection by the first SIM,And during network connection is carried out,Terminal preferentially automatically attempts to connect LTE network and WCDMA networks,Without connecting LTE network and WCDMA networks by reselecting,Improve the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.

Description

Method for connecting network and terminal
Technical field
This disclosure relates to technical field of information processing, more particularly to a kind of method for connecting network and terminal.
Background technology
In recent years, with the development of the communication technology, terminal can use double SIM (Subscriber Identity Module client identification modules) the different mobile networks of card connection, meet its different network demand.Wherein, terminal connection is different Mobile network can manually switch SIM realization, it is also possible to be realized by automatic switchover SIM.When terminal is by automatic When switching SIM is connected to different mobile networks, control module is installed in the terminal, the control module can ceaselessly two Switch between individual mobile network, and search for network automatically, because switching time is very short, for a user, do not feel The network that terminal is accessed changes, so as to reach double card while the purpose of access network.
In correlation technique, when terminal connects different mobile networks by automatic switchover double SIM card, for convenience of description, The SIM that terminal current time attempts carrying out network connection is referred to as the first SIM, another SIM is referred to as the second SIM. Can terminal be connected to mobile network by the first SIM, the behavior that the second SIM is performed currently be passed through depending on terminal, such as The behavior that fruit terminal is currently performed by the second SIM takes whole antenna resources, and terminal cannot then be connected by the first SIM To mobile network.For example, terminal currently passes through the second SIM conversed, now, if the first SIM is attempted carrying out network Connection, because terminal has taken whole antenna resources in the current call carried out by the second SIM, the network connection will be lost Lose.And in the related art, after the first SIM connects network failure, terminal will start weight to terminal by the first SIM New registration network operation, but only after terminal stops taking whole antenna resources by the second SIM, the first SIM is Antenna resources may be obtained, network is then attached to.
The content of the invention
To overcome problem present in correlation technique, present disclose provides a kind of method for connecting network and terminal.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for connecting network, the terminal of double card single-pass is applied to In, the first SIM and the second SIM are installed in the terminal, the method includes:
When detect network connection is carried out by first SIM when, it is determined that currently by second SIM perform Behavior;
When the behavior performed by second SIM belongs to pre-set priority behavior, stop by described the One SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
At the end of the behavior is detected, network connection is carried out again through first SIM.
Alternatively, it is described stop carrying out the operation of network connection by first SIM after, also include:
Timing time is set, and starts timing;
When the timing time is reached, judge whether the behavior terminates;
When the behavior is not over, the step of returning and perform the setting timing time, and start timing, until really The fixed behavior terminates.
It is alternatively, described to carry out network connection again through first SIM at the end of the behavior is detected, Including:
Acquisition is presently in the system message of cell;
According to the system message, it is determined that being presently in the signal energy of cell;
When the signal energy for being presently in cell exceedes preset signals energy threshold, by first SIM Network registry is carried out, to be connected to the corresponding mobile network of first SIM.
Alternatively, it is described at the end of detect the behavior, again through first SIM carry out network connection it Before, also include:
Whether the position that judgement is presently in changes;
When the position being presently in changes, detection be presently in cell signal energy and it is described be presently in it is small The signal energy of the adjacent cell in area;
When the signal energy of the adjacent cell is presently in the signal energy of cell more than described in, by described second SIM carries out location updating.
Alternatively, the pre-set priority behavior is call behavior.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of terminal, the first SIM and second are installed in the terminal SIM, the terminal includes:
First determining module, for when detect network connection is carried out by first SIM when, it is determined that currently passing through The behavior that second SIM is performed;
Stopping modular, for when the behavior performed by second SIM belongs to pre-set priority behavior, stopping The operation of network connection is only carried out by first SIM, the pre-set priority behavior is to take whole antenna resources Behavior;
Network connecting module, at the end of the behavior is detected, network being carried out again through first SIM Connection.
Alternatively, the terminal also includes:
Timing module, for setting timing time, and starts timing;
First judge module, for when the timing time is reached, judging whether the behavior terminates;
Second determining module, for when the behavior is not over, returning and performing the setting timing time, and start The step of timing, until determining that the behavior terminates.
Alternatively, it is described to work as network connecting module, including:
Acquisition submodule, the system message of cell is presently in for obtaining;
Determination sub-module, for according to the system message, it is determined that being presently in the signal energy of cell;
Connection submodule, for when the signal energy for being presently in cell exceedes preset signals energy threshold, leading to Crossing first SIM carries out network registry, to be connected to the corresponding mobile network of first SIM.
Alternatively, the terminal also includes:
Whether the second judge module, the position for judging to be presently in changes;
Detection module, for when the position being presently in changes, detection be presently in cell signal energy and The signal energy of the adjacent cell for being presently in cell;
Location updating module, for exceeding the signal energy for being presently in cell when the signal energy of the adjacent cell When, location updating is carried out by second SIM.
Alternatively, the pre-set priority behavior is call behavior.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal, the first SIM and are installed in the terminal Two SIMs, the terminal includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detect network connection is carried out by first SIM when, it is determined that currently by second SIM perform Behavior;
When the behavior performed by second SIM belongs to pre-set priority behavior, stop by described the One SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
At the end of the behavior is detected, network connection is carried out again through first SIM.
The technical scheme provided by this disclosed embodiment can include the following benefits:In the disclosed embodiments, when Detect when carrying out network connection by the first SIM, if terminal currently belongs to default by the behavior of the second SIM execution During priority behavior, then show that the behavior that the second SIM is currently performed takes whole antenna resources, can now stop by the One SIM carries out network connection, it is to avoid terminal repeated attempt connects the corresponding mobile network of the first SIM.Terminate when the behavior When, network connection is carried out again through the first SIM, because the behavior is over, namely terminal no longer passes through the second SIM Whole antenna resources are taken, now terminal can be smoothed out network connection using antenna resources by the first SIM, and enter During row network connection, terminal preferentially automatically attempts to connect LTE (Long Term Evolution, Long Term Evolution) network With WCDMA (Wideband Code Division Multiple Access, WCDMA) network, without by again Select to connect LTE network and WCDMA networks, namely terminal need not take more time connection LTE network and WCDMA nets Network, improves the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Fig. 1 is a kind of method for connecting network flow chart that the embodiment of the present disclosure is provided;
Fig. 2 is another method for connecting network flow chart that the embodiment of the present disclosure is provided;
Fig. 3 A are a kind of terminal block diagrams that the embodiment of the present disclosure is provided;
Fig. 3 B are another terminal block diagrams that the embodiment of the present disclosure is provided;
Fig. 3 C are a kind of network connecting module block diagrams that the embodiment of the present disclosure is provided;
Fig. 3 D are another terminal block diagrams that the embodiment of the present disclosure is provided;
Fig. 4 is another terminal block diagram that the embodiment of the present disclosure is provided.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios to the embodiment of the present disclosure give Introduce.In due to correlation technique, the terminal of the double card single-pass for connecting different mobile networks by automatic switchover double SIM card, When the terminal takes whole antenna resources in the behavior performed by the second SIM, the first SIM will be constantly trying to carry out Network connection, and the order that the first SIM is attempted connecting network is LTE network, WCDMA networks and GSM (Global System For Mobile Communication, global system for mobile communications) network, therefore, when terminal stops accounting for by the second SIM After whole antenna resources, what the first SIM was possibly connected to is GSM network, rather than the LTE network for most beginning attempt to, seriously Influence terminal carries out the speed of information exchange by the first SIM.Also, it is GSM network what is be connected to by the first SIM Afterwards, it is necessary to reselect LTE network or WCDMA networks, terminal just can connect to LTE network or WCDMA networks, that is, terminal After the second SIM stops taking whole antenna resources, the first SIM needs to take more time that LTE could be connected Network or WCDMA networks.Therefore, the embodiment of the present disclosure provides a kind of method for connecting network, if terminal currently passes through second When the behavior that SIM is performed belongs to pre-set priority behavior, stopping carries out network connection by the first SIM, it is to avoid terminal weight It is multiple to attempt the corresponding mobile network of the first SIM of connection.At the end of the behavior, network company is carried out again through the first SIM Connect, now, terminal preferentially automatically attempts to connect LTE network and WCDMA networks, without connecting LTE network by reselecting With WCDMA networks, the efficiency that terminal connects LTE network and WCDMA networks by the first SIM is improve.
Fig. 1 is a kind of method for connecting network flow chart that the embodiment of the present disclosure is provided, and the method for connecting network is applied to double The terminal of card single-pass, is provided with the first SIM and the second SIM in the terminal, as shown in figure 1, the method for connecting network includes Following steps.
In a step 101, when detect network connection is carried out by the first SIM when, it is determined that currently pass through the second SIM The behavior of execution.
In a step 102, when the behavior performed by the second SIM belongs to pre-set priority behavior, stop by the One SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources.
In step 103, at the end of the behavior is detected, network connection is carried out again through the first SIM.
In the embodiment of the present disclosure, when detect network connection is carried out by the first SIM when, if terminal is currently by the When the behavior that two SIMs are performed belongs to pre-set priority behavior, then show that the behavior that the second SIM is currently performed takes whole days Line resource, can now stop carrying out network connection by the first SIM, it is to avoid terminal repeated attempt connects the first SIM pair The mobile network for answering.At the end of the behavior, network connection is carried out again through the first SIM, because the behavior is over, Namely terminal no longer takes whole antenna resources by the second SIM, now terminal can pass through a SIM using antenna resources Card is smoothed out network connection, and during network connection is carried out, terminal preferentially automatically attempt to connection LTE network and WCDMA networks, without connecting LTE network and WCDMA networks by reselecting, namely terminal need not take more time Connection LTE network and WCDMA networks, improve the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.
Alternatively, stop by after the first SIM carries out the operation of network connection, also include:
Timing time is set, and starts timing;
When timing time is reached, judge whether the behavior terminates;
When being not over the behavior, the step of returning and perform setting timing time, and start timing, until determining the row To terminate.
Alternatively, at the end of the behavior is detected, network connection is carried out again through the first SIM, including:
Acquisition is presently in the system message of cell;
According to the system message, it is determined that being presently in the signal energy of cell;
When the signal energy for being presently in cell exceedes preset signals energy threshold, network is carried out by the first SIM Registration, to be connected to the corresponding mobile network of the first SIM.
Alternatively, at the end of the behavior is detected, before carrying out network connection again through the first SIM, also include:
Whether the position that judgement is presently in changes;
When the position being presently in changes, detection is presently in the signal energy of cell and is presently in cell The signal energy of adjacent cell;
When the signal energy of adjacent cell exceedes the signal energy for being presently in cell, position is carried out by the second SIM Update.
Alternatively, the pre-set priority behavior is call behavior.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, disclosure reality according to any combination Example is applied no longer to repeat this one by one.
Fig. 2 is another method for connecting network flow chart that the embodiment of the present disclosure is provided, and the method is applied to double card single-pass Terminal in, the first SIM and the second SIM are installed in the terminal.As shown in Fig. 2 the method for the network connection include with Lower step.
In step 201, when detect network connection is carried out by the first SIM when, it is determined that currently pass through the second SIM The behavior of execution.
In the disclosed embodiments, terminal is the terminal of double card single-pass, and one group of RF (Radio is only provided with the terminal Frequency, radio frequency) antenna, when the behavior that terminal is currently performed by one of SIM takes whole antenna resources, Terminal will not pass through another SIM and carry out any business.For convenience of description, terminal is currently attempted carrying out network connection SIM as the first SIM, another SIM is used as the second SIM.In addition, the terminal of double card single-pass can be manually The mode of switching is connected to different mobile networks, it is also possible to be connected to different mobile networks by way of automatically switching, In the disclosed embodiments, terminal is connected to different mobile networks by way of automatically switching.
When detecting terminal and carrying out network connection by the first SIM, if now terminal is performed by the second SIM Behavior take whole antenna resources, then terminal by the first SIM carry out network connection will failure, and terminal will repetition Trial carries out network connection, but this repeats the operation of network connection as the antenna resources of terminal are occupied and go out Now fail.Therefore, there is failure in order to avoid terminal carries out network connection by the first SIM, when detecting terminal by the When one SIM carries out network connection, terminal needs the behavior for first determining currently to pass through the execution of the second SIM, then judges whether Needing to continue through the first SIM carries out network connection.
Wherein, the behavior that terminal is performed by the second SIM, namely the current operation carried out by the second SIM of terminal, As terminal is currently conversed by the second SIM and other-end, terminal is " logical by the behavior that the second SIM is performed Words ";If terminal is current to carry out staying net operation by the second SIM, terminal is " staying net " by the behavior that the second SIM is performed; If terminal is current to carry out location update operations by the second SIM, terminal is that " position is more by the behavior that the second SIM is performed Newly " etc..
In step 202., when the behavior performed by the second SIM belongs to pre-set priority behavior, stop by the One SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources.
After terminal determines the current behavior performed by the second SIM, when only the behavior takes whole antenna resources, The behavior can just influence the terminal to carry out network connection by the first SIM, therefore, when terminal determines currently to pass through the second SIM During the behavior of execution, also need to judge whether the behavior takes whole antenna resources, namely judge whether the behavior belongs to default excellent First level behavior.When the behavior performed by the second SIM belongs to pre-set priority behavior, stopping is carried out by the first SIM The operation of network connection, it is to avoid when currently the behavior of pre-set priority is performed by the second SIM, terminal passes through first to terminal SIM repeated attempt carries out network connection.Correspondingly, when the behavior performed by the second SIM is not belonging to pre-set priority row For when, show terminal currently by the second SIM perform behavior do not take whole antenna resources, that is, terminal can lead to Crossing a SIM carries out network connection.
It should be noted that due to being only provided with one group of RF antenna in terminal, namely terminal can only lead in the same time Cross a SIM and outwardly send information, but for the terminal of double card single-pass, terminal can simultaneously pass through two in the same time Individual SIM receive information, therefore, it is such as " logical when terminal is by behavior that the behavior that the second SIM is performed is transmission information Words ", " stay net " or " location updating " etc., show that the behavior takes whole antenna resources, and the behavior is pre-set priority behavior;When When terminal is the behavior of receive information by the behavior that the second SIM is performed, such as " reception system message " or " whether monitoring is sought Exhale " etc., showing that the behavior does not take whole antenna resources, the behavior is not belonging to pre-set priority behavior.That is, default preferential Level behavior is the behavior pre-set in terminal, and the pre-set priority behavior can be call behavior, or behavior in net Or location updating behavior etc..
In step 203, whether detection is terminated by the behavior that the second SIM is performed.
When the behavior that terminal is currently performed by the second SIM belongs to pre-set priority behavior, in order to avoid terminal exists Before the behavior is not over, network connection is carried out by the first SIM repeated attempt, terminal it is determined that the behavior belong to default Priority behavior, and after stopping carrying out the operation of network connection by the first SIM, in addition it is also necessary to detect whether the behavior ties Beam.That is, terminal can set timing time, and start timing, when timing time is reached, judge whether the behavior terminates, When being not over the behavior, the step of returning and perform setting timing time, and start timing, until determining that the behavior terminates.
Wherein, timing time is the time pre-set in terminal, and the timing time can be 2s, 3s or 5s etc..Need It is noted that in order to ensure at the end of the behavior, terminal can in time determine that the behavior terminates, and the timing time should not set Put long, in order to avoid at the end of the behavior, terminal fails to detect in time the behavior and terminates.
For example, timing time is 2s, when terminal determines that the behavior belongs to pre-set priority behavior, stopping passing through first SIM is carried out after the operation of network connection, starts timing, and timing time is 2s, when timing time 2s is reached, judges the row Whether to terminate, if the behavior is not over, restart timing, circulate aforesaid operations, until detecting that the behavior ties Beam.
Alternatively, in the disclosed embodiments, terminal is it is determined that be pre-set priority by the behavior that the second SIM is performed Behavior, and after stopping carrying out the operation of network connection by the first SIM, when receiving the END instruction for the behavior When, determine that the behavior terminates.For example, the behavior that terminal is currently performed by the second SIM is " call ", when terminal receives the The end of conversation message that the corresponding MME of two SIMs (Mobility Management Entity, mobile management entity) sends When, namely the END instruction for the behavior " call " is received, or when terminal detects what user was triggered by predetermined registration operation For " call " END instruction when, determine that the behavior terminates.Wherein, predetermined registration operation can be clicking operation, slide Or voice operating etc..
In step 204, at the end of the behavior is detected, network connection is carried out again through the first SIM.
At the end of terminal detects the behavior, show that terminal releases antenna and provides by the behavior that the second SIM is performed Source, now, terminal can carry out network connection again through the first SIM.Because the current antenna resources of terminal are without all It is occupied, therefore, when terminal carries out network connection again through the first SIM, terminal can smoothly be connected to the first SIM Corresponding mobile network, and terminal again through the first SIM when carrying out network connection, it is preferential attempt connection LTE network and WCDMA networks, followed by GSM network, therefore, at the end of the behavior, terminal without be connected by reselecting LTE network and WCDMA networks, but automatic connection first LTE network and WCDMA networks, namely at the end of the behavior, terminal spends less Time connection LTE network and WCDMA networks.
It should be noted that in the disclosed embodiments, terminal is entering row information friendship using the first SIM and other-end In mutual process, terminal is to realize information exchange by the cell being presently in and other-end.Therefore, terminal is again through One SIM carries out network connection implementation process:Acquisition is presently in the system message of cell;According to the system message, It is determined that being presently in the signal energy of cell;When the signal energy for being presently in cell exceedes preset signals energy threshold, lead to Crossing the first SIM carries out network registry, to be connected to the corresponding mobile network of the first SIM.That is, terminal is it is determined that first After the identity information of SIM, the identity information of the first SIM can be sent in the authentication of the corresponding MME of the first SIM The heart, when AUC receives the identity information of first SIM, the identity information to first SIM is verified, such as Fruit is verified, then allow the terminal to access the corresponding mobile network of first SIM.AUC is to first SIM The method that identity information is verified may be referred to correlation technique, not elaborate herein.
Wherein, the system message of the cell being presently in includes TAC (the tracking area code, tracking of the cell Region code), the PLMN belonging to the cell ((Public Land Mobile Network, public land mobile network) and should The information such as the signal energy of cell.TAC has oneself corresponding TAC, PLMN for the unique mark cell, namely each cell For distinguishing different operators, when terminal receives the system message for being presently in cell, can first judge belonging to the cell PLMN whether belong to the PLMN of terminal unit contractual, when the PLMN belonging to the cell is the PLMN of terminal unit contractual, terminal just continues Whether execution needs to carry out the operation of network connection.Especially, when the PLMN belonging to the cell is not the PLMN of terminal unit contractual, Terminal can not possibly access the cell, namely be not carried out carrying out the operation of network connection.Preset signals energy threshold is for eventually The signal energy of advance equipment in end, the preset signals energy threshold is used for judging whether the signal energy of the cell is reached in net Standard, that is, when the signal energy of the cell exceedes the preset signals energy threshold, determining that the signal energy of the cell reaches Standard in network mark, terminal can access the cell.In addition, the identity information of the first SIM is for unique mark first SIM, The identity information of first SIM includes that IMSI (move by International Mobile Subscriber Identity, the world Dynamic CUSTOMER ID) and the information such as Ki (Key identifier, mobile phone identification key).
Alternatively, in the disclosed embodiments, during terminal passes through the second SIM process performing, the position of terminal Putting may have occurred and that change, in order to ensure at the end of the behavior, between terminal and the corresponding mobile network of the second SIM Network connection keeps normal.Terminal can also carry out location updating at the end of the behavior by the second SIM.That is, work as should At the end of behavior, whether the position that terminal judges are presently in changes, and when the position being presently in changes, receives The system message of the system message for being presently in cell and the adjacent cell for being presently in cell, according to the system for being presently in cell Message and the system message of the adjacent cell for being presently in cell, detect and are presently in the signal energy of cell and are presently in cell Adjacent cell signal energy, when adjacent cell signal energy exceed be presently in cell signal energy when, by the 2nd SIM Card carries out location updating.
Wherein, terminal can be by the implementation process that the second SIM carries out location updating:Terminal is to the second SIM pair The MME for answering sends the identity information of second SIM and the TAC of the adjacent cell, when MME receives the identity letter of the second SIM Breath and the adjacent cell TAC when, update the TAC of the residing cell of second SIM, that is, using the TAC of the adjacent cell as this The TAC of the cell that terminal is presently in, so that MME can track the terminal, and sends corresponding service to the terminal.When MME more During the TAC for being presently in cell of new second SIM, determine that the terminal can access the adjacent cell by the second SIM, That is, terminal is successfully made location updating by the second SIM.
It should be noted that terminal is after by the second SIM access to mobile network, only terminal is in certain cell Network coverage when, the terminal can just receive the system message of the cell.Due to the network coverage of neighbor cell There is common factor, therefore, at current location, the system message except that can receive the cell being presently in can also be received terminal The system message of other cells, other cells namely adjacent cell.
In the embodiment of the present disclosure, when detect network connection is carried out by the first SIM when, if terminal is currently by the When the behavior that two SIMs are performed belongs to pre-set priority behavior, then show that the behavior that the second SIM is currently performed takes whole days Line resource, can now stop carrying out network connection by the first SIM, it is to avoid terminal repeated attempt connects the first SIM pair The mobile network for answering.At the end of the behavior, network connection is carried out again through the first SIM, because the behavior is over, Namely terminal no longer takes whole antenna resources by the second SIM, now terminal can pass through a SIM using antenna resources Card is smoothed out network connection, and during network connection is carried out, terminal preferentially automatically attempt to connection LTE network and WCDMA networks, without connecting LTE network and WCDMA networks by reselecting, namely terminal need not take more time Connection LTE network and WCDMA networks, improve the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.
Fig. 3 A are a kind of block diagrams of terminal 300 that the embodiment of the present disclosure is provided.First SIM is installed in the terminal 300 With the second SIM, referring to Fig. 3 A, the terminal 300 includes the first determining module 301, stopping modular 302 and network connecting module 303。
First determining module 301, for when detect network connection is carried out by the first SIM when, it is determined that currently passing through The behavior that second SIM is performed;
Stopping modular 302 is logical for when the behavior performed by the second SIM belongs to pre-set priority behavior, stopping Crossing the first SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
Network connecting module 303, at the end of the behavior is detected, network company being carried out again through the first SIM Connect.
Alternatively, referring to Fig. 3 B, the terminal also includes timing module 304, the first judge module 305 and the second determining module 306:
Timing module 304, for setting timing time, and starts timing;
First judge module 305, for when timing time is reached, judging whether the behavior terminates;
Second determining module 306, sets timing time, and start meter for when being not over the behavior, returning to perform When the step of, until determine the behavior terminate.
Alternatively, referring to Fig. 3 C, the network connecting module 303 includes acquisition submodule 3031, the and of determination sub-module 3032 Connection submodule 3033:
Acquisition submodule 3031, the system message of cell is presently in for obtaining;
Determination sub-module 3032, for according to the system message, it is determined that being presently in the signal energy of cell;
Connection submodule 3033, for when the signal energy for being presently in cell exceedes preset signals energy threshold, leading to Crossing the first SIM carries out network registry, to be connected to the corresponding mobile network of the first SIM.
Alternatively, referring to Fig. 3 D, the terminal 300 also includes the second judge module 307, detection module 308 and location updating Module 309:
Whether the second judge module 307, the position for judging to be presently in changes;
Detection module 308, for when the position being presently in changes, detection to be presently in the signal energy of cell With the signal energy of the adjacent cell for being presently in cell;
Location updating module 309, for when the signal energy of adjacent cell exceedes the signal energy for being presently in cell, leading to Crossing the second SIM carries out location updating.
In the embodiment of the present disclosure, when detect network connection is carried out by the first SIM when, if terminal is currently by the When the behavior that two SIMs are performed belongs to pre-set priority behavior, then show that the behavior that the second SIM is currently performed takes whole days Line resource, can now stop carrying out network connection by the first SIM, it is to avoid terminal repeated attempt connects the first SIM pair The mobile network for answering.At the end of the behavior, network connection is carried out again through the first SIM, because the behavior is over, Namely terminal no longer takes whole antenna resources by the second SIM, now terminal can pass through a SIM using antenna resources Card is smoothed out network connection, and during network connection is carried out, terminal preferentially automatically attempt to connection LTE network and WCDMA networks, without connecting LTE network and WCDMA networks by reselecting, namely terminal need not take more time Connection LTE network and WCDMA networks, improve the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.
Alternatively, the pre-set priority behavior is call behavior.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is the block diagram of another terminal 400 that the embodiment of the present disclosure is provided.First SIM is installed in the terminal 400 With the second SIM, for example, terminal 400 can be mobile phone etc..Reference picture 4, terminal 400 can include with next or many Individual component:Processing assembly 402, memory 404, power supply module 406, multimedia groupware 408, audio-frequency assembly 410, input/output (I/O) interface 412, sensor cluster 414, and communication component 416.
The integrated operation of the usual control terminal 400 of processing assembly 402, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 402 can include one or more modules, just Interaction between processing assembly 402 and other assemblies.For example, processing assembly 402 can include multi-media module, it is many to facilitate Interaction between media component 408 and processing assembly 402.
Memory 404 is configured as storing various types of data supporting the operation in terminal 400.These data are shown Example includes the instruction for any application program or method operated in terminal 400, and contact data, telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of terminal 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for terminal 400.
Multimedia groupware 408 is included in one screen of output interface of offer between the terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 408 includes a front camera and/or rear camera.When terminal 400 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for terminal 400 is commented Estimate.For example, sensor cluster 414 can detect the opening/closed mode of terminal 400, the relative positioning of component is for example described Component is the display and keypad of terminal 400, and sensor cluster 414 can also detect 400 1 components of terminal 400 or terminal Position change, user is presence or absence of with what terminal 400 was contacted, the orientation of terminal 400 or acceleration/deceleration and terminal 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal 400 and other equipment.Terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of terminal 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal During row so that terminal is able to carry out a kind of method for connecting network, the method includes:
When detect network connection is carried out by the first SIM when, it is determined that currently by the second SIM perform behavior.
When the behavior performed by the second SIM belongs to pre-set priority behavior, stopping carries out net by the first SIM The operation of network connection, the pre-set priority behavior is the behavior for taking whole antenna resources.
At the end of the behavior is detected, network connection is carried out again through the first SIM.
Alternatively, stop by after the first SIM carries out the operation of network connection, also include:
Timing time is set, and starts timing;
When timing time is reached, judge whether the behavior terminates;
When being not over the behavior, the step of returning and perform setting timing time, and start timing, until determining the row To terminate.
Alternatively, at the end of the behavior is detected, network connection is carried out again through the first SIM, including:
Acquisition is presently in the system message of cell;
According to the system message, it is determined that being presently in the signal energy of cell;
When the signal energy for being presently in cell exceedes preset signals energy threshold, network is carried out by the first SIM Registration, to be connected to the corresponding mobile network of the first SIM.
Alternatively, at the end of the behavior is detected, before carrying out network connection again through the first SIM, also include:
Whether the position that judgement is presently in changes;
When the position being presently in changes, detection is presently in the signal energy of cell and is presently in cell The signal energy of adjacent cell;
When the signal energy of adjacent cell exceedes the signal energy for being presently in cell, position is carried out by the second SIM Update.
Alternatively, the pre-set priority behavior is call behavior.
In the embodiment of the present disclosure, when detect network connection is carried out by the first SIM when, if terminal is currently by the When the behavior that two SIMs are performed belongs to pre-set priority behavior, then show that the behavior that the second SIM is currently performed takes whole days Line resource, can now stop carrying out network connection by the first SIM, it is to avoid terminal repeated attempt connects the first SIM pair The mobile network for answering.At the end of the behavior, network connection is carried out again through the first SIM, because the behavior is over, Namely terminal no longer takes whole antenna resources by the second SIM, now terminal can pass through a SIM using antenna resources Card is smoothed out network connection, and during network connection is carried out, terminal preferentially automatically attempt to connection LTE network and WCDMA networks, without connecting LTE network and WCDMA networks by reselecting, namely terminal need not take more time Connection LTE network and WCDMA networks, improve the efficiency that terminal connects LTE network and WCDMA networks by the first SIM.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.

Claims (11)

1. a kind of method for connecting network, is applied in the terminal of double card single-pass, and the first client identification mould is provided with the terminal Block SIM and the second SIM, it is characterised in that methods described includes:
When detect network connection is carried out by first SIM when, it is determined that currently by second SIM perform row For;
When the behavior performed by second SIM belongs to pre-set priority behavior, stop passing through a SIM Card carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
At the end of the behavior is detected, network connection is carried out again through first SIM.
2. method according to claim 1, it is characterised in that the stopping carries out network company by first SIM After the operation for connecing, also include:
Timing time is set, and starts timing;
When the timing time is reached, judge whether the behavior terminates;
When the behavior is not over, the step of returning and perform the setting timing time, and start timing, until determining institute The behavior of stating terminates.
3. method according to claim 1, it is characterised in that described at the end of it detect the behavior, again through First SIM carries out network connection, including:
Acquisition is presently in the system message of cell;
According to the system message, it is determined that being presently in the signal energy of cell;
When the signal energy for being presently in cell exceedes preset signals energy threshold, carried out by first SIM Network registry, to be connected to the corresponding mobile network of first SIM.
4. method according to claim 1, it is characterised in that described at the end of it detect the behavior, again through Before first SIM carries out network connection, also include:
Whether the position that judgement is presently in changes;
When the position being presently in changes, detection is presently in the signal energy of cell and the cell that is presently in The signal energy of adjacent cell;
When the signal energy of the adjacent cell is presently in the signal energy of cell more than described in, by second SIM Carry out location updating.
5. method according to claim 1, it is characterised in that the pre-set priority behavior is call behavior.
6. a kind of terminal, is provided with the first client identification module SIM and the second SIM, it is characterised in that institute in the terminal Stating terminal includes:
First determining module, for when detect network connection is carried out by first SIM when, it is determined that current by described The behavior that second SIM is performed;
Stopping modular, for when the behavior performed by second SIM belongs to pre-set priority behavior, stopping logical Crossing first SIM carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
Network connecting module, at the end of the behavior is detected, network company being carried out again through first SIM Connect.
7. terminal according to claim 6, it is characterised in that the terminal also includes:
Timing module, for setting timing time, and starts timing;
First judge module, for when the timing time is reached, judging whether the behavior terminates;
Second determining module, for when the behavior is not over, returning and performing the setting timing time, and start timing The step of, until determining that the behavior terminates.
8. terminal according to claim 6, it is characterised in that described to work as network connecting module, including:
Acquisition submodule, the system message of cell is presently in for obtaining;
Determination sub-module, for according to the system message, it is determined that being presently in the signal energy of cell;
Connection submodule, for when the signal energy for being presently in cell exceedes preset signals energy threshold, by institute Stating the first SIM carries out network registry, to be connected to the corresponding mobile network of first SIM.
9. terminal according to claim 6, it is characterised in that the terminal also includes:
Whether the second judge module, the position for judging to be presently in changes;
Detection module, for when the position being presently in changes, detection is presently in the signal energy of cell and described It is presently in the signal energy of the adjacent cell of cell;
Location updating module, for when the signal energy of the adjacent cell exceed it is described be presently in the signal energy of cell when, Location updating is carried out by second SIM.
10. terminal according to claim 6, it is characterised in that the pre-set priority behavior is call behavior.
A kind of 11. terminals, are provided with the first client identification module SIM and the second SIM in the terminal, it is characterised in that The terminal includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detect network connection is carried out by first SIM when, it is determined that currently by second SIM perform row For;
When the behavior performed by second SIM belongs to pre-set priority behavior, stop passing through a SIM Card carries out the operation of network connection, and the pre-set priority behavior is the behavior for taking whole antenna resources;
At the end of the behavior is detected, network connection is carried out again through first SIM.
CN201611151063.2A 2016-12-14 2016-12-14 Method for connecting network and terminal Active CN106792638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611151063.2A CN106792638B (en) 2016-12-14 2016-12-14 Method for connecting network and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611151063.2A CN106792638B (en) 2016-12-14 2016-12-14 Method for connecting network and terminal

Publications (2)

Publication Number Publication Date
CN106792638A true CN106792638A (en) 2017-05-31
CN106792638B CN106792638B (en) 2019-11-08

Family

ID=58888052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611151063.2A Active CN106792638B (en) 2016-12-14 2016-12-14 Method for connecting network and terminal

Country Status (1)

Country Link
CN (1) CN106792638B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277880A (en) * 2017-07-26 2017-10-20 奇酷互联网络科技(深圳)有限公司 The method, device and mobile terminal of data network switching
CN109379783A (en) * 2018-11-28 2019-02-22 北京小米移动软件有限公司 Radio frequency resource distribution method and device
CN110267255A (en) * 2019-06-12 2019-09-20 Oppo广东移动通信有限公司 Network registering method and device, electronic equipment, computer readable storage medium
WO2019210754A1 (en) * 2018-05-04 2019-11-07 奇酷互联网络科技(深圳)有限公司 Network search control method and device, and mobile terminal
CN111263470A (en) * 2020-03-04 2020-06-09 郑州智利信信息技术有限公司 Mobile terminal network connection method
WO2021056574A1 (en) * 2019-09-29 2021-04-01 华为技术有限公司 Communication method and device
CN113676974A (en) * 2019-05-29 2021-11-19 北京小米移动软件有限公司 Network switching resource determining method and network switching resource configuration method
CN113825186A (en) * 2020-06-19 2021-12-21 维沃移动通信有限公司 Control method and device for leaving network and communication equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650526A (en) * 2020-12-18 2022-06-21 Oppo广东移动通信有限公司 Service response method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573129A (en) * 2010-12-17 2012-07-11 中国移动通信有限公司 Multi-mode dual-standby terminal and method for operating the terminal
US20120190362A1 (en) * 2011-01-25 2012-07-26 Qualcomm, Incorporated Mobile device requests of non-communication time periods to a wireless communication network
US20120264425A1 (en) * 2011-04-14 2012-10-18 Qualcomm Incorporated Selective band-scanning by a multi-sim user equipment (ue) in a wireless communications system
CN103379468A (en) * 2012-04-27 2013-10-30 马维尔国际有限公司 Single transceiver DSDS terminal and reception method of the terminal
CN104684023A (en) * 2013-12-03 2015-06-03 联芯科技有限公司 Method and device for resolving dual-card-dual-standby service conflict in mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102573129A (en) * 2010-12-17 2012-07-11 中国移动通信有限公司 Multi-mode dual-standby terminal and method for operating the terminal
US20120190362A1 (en) * 2011-01-25 2012-07-26 Qualcomm, Incorporated Mobile device requests of non-communication time periods to a wireless communication network
US20120264425A1 (en) * 2011-04-14 2012-10-18 Qualcomm Incorporated Selective band-scanning by a multi-sim user equipment (ue) in a wireless communications system
CN103379468A (en) * 2012-04-27 2013-10-30 马维尔国际有限公司 Single transceiver DSDS terminal and reception method of the terminal
CN104684023A (en) * 2013-12-03 2015-06-03 联芯科技有限公司 Method and device for resolving dual-card-dual-standby service conflict in mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277880A (en) * 2017-07-26 2017-10-20 奇酷互联网络科技(深圳)有限公司 The method, device and mobile terminal of data network switching
CN107277880B (en) * 2017-07-26 2021-01-08 奇酷互联网络科技(深圳)有限公司 Method and device for switching data network and mobile terminal
WO2019210754A1 (en) * 2018-05-04 2019-11-07 奇酷互联网络科技(深圳)有限公司 Network search control method and device, and mobile terminal
CN109379783A (en) * 2018-11-28 2019-02-22 北京小米移动软件有限公司 Radio frequency resource distribution method and device
CN109379783B (en) * 2018-11-28 2023-06-06 北京小米移动软件有限公司 Radio frequency resource allocation method and device
CN113676974A (en) * 2019-05-29 2021-11-19 北京小米移动软件有限公司 Network switching resource determining method and network switching resource configuration method
CN110267255A (en) * 2019-06-12 2019-09-20 Oppo广东移动通信有限公司 Network registering method and device, electronic equipment, computer readable storage medium
CN110267255B (en) * 2019-06-12 2022-03-18 Oppo广东移动通信有限公司 Network registration method and device, electronic equipment and computer readable storage medium
WO2021056574A1 (en) * 2019-09-29 2021-04-01 华为技术有限公司 Communication method and device
CN111263470A (en) * 2020-03-04 2020-06-09 郑州智利信信息技术有限公司 Mobile terminal network connection method
CN113825186A (en) * 2020-06-19 2021-12-21 维沃移动通信有限公司 Control method and device for leaving network and communication equipment

Also Published As

Publication number Publication date
CN106792638B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN106792638A (en) Method for connecting network and terminal
CN107113673A (en) Method, device and the user equipment switched for cell
CN104640166B (en) Communication means and device
CN104683248B (en) The method and apparatus of switching working mode
CN106792948A (en) Cell switching method and device
CN106454801B (en) Method for switching network and terminal
CN104580637B (en) Telephone number labeling method, terminal and Cloud Server
US20170135032A1 (en) Network connecting method and apparatus, and storage medium
CN106793089A (en) Paging method and device
CN107295579A (en) The method and device of adjacent area detection is carried out in cell reselection process
CN106851723A (en) cell switching method and device
CN106210797A (en) Live network broadcast method and device
CN106358189A (en) Device and method for accessing wireless local area network
CN106376057A (en) Wireless network access method and device
CN106332194A (en) Network switching method and apparatus
CN107465821A (en) Switch the method and apparatus of mobile terminal data network service
CN105101125B (en) The setting method and device of call forwarding
CN104837181A (en) Network access method and device
CN107592645A (en) Carry out the methods, devices and systems of base station switching
CN107241770A (en) Method for connecting network and device
CN108702689A (en) Cell accessing method, device and storage medium
CN105307226B (en) The selection method of signal source, apparatus and system
CN106535166A (en) Data service processing method and device
CN104298576B (en) terminal test method and device
CN104812026B (en) District staying method, device and mobile terminal

Legal Events

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