CN109769279A - Non-service state control method, device and mobile terminal - Google Patents

Non-service state control method, device and mobile terminal Download PDF

Info

Publication number
CN109769279A
CN109769279A CN201910037073.0A CN201910037073A CN109769279A CN 109769279 A CN109769279 A CN 109769279A CN 201910037073 A CN201910037073 A CN 201910037073A CN 109769279 A CN109769279 A CN 109769279A
Authority
CN
China
Prior art keywords
sim card
state
service state
service
login
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
CN201910037073.0A
Other languages
Chinese (zh)
Other versions
CN109769279B (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910037073.0A priority Critical patent/CN109769279B/en
Publication of CN109769279A publication Critical patent/CN109769279A/en
Application granted granted Critical
Publication of CN109769279B publication Critical patent/CN109769279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of non-service state control method, device and mobile terminals, applied to the mobile terminal for supporting multiple SIM card, this method comprises: obtaining the login state of the first SIM card and the second SIM card when the first SIM card is switched to the second SIM card;The first SIM card and the second SIM card service state are judged according to login state;If the first SIM card is non-service state to have service state and the second SIM card, in the predetermined time delay after present system time, the second SIM card service state is judged;If the second SIM card is that the service state of the second SIM card is updated to non-service state after the predetermined time delay after present system time by non-service state.Technical solution of the present invention within preset delay time, makes the prompt information of non-service state be not present in the status bar of mobile terminal when two SIM cards are switched over, and improves impression of the user to network signal and stability, improves user experience.

Description

Non-service state control method, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, in particular to a kind of non-service state control method, device and Mobile terminal.
Background technique
With mobile communication technology development and intelligent mobile terminal it is universal, mobile terminal in user lives in occupation of The mobile terminal (such as existing dual-SIM-card dual-standby mobile terminal) of increasingly important role, multi-card multi-standby is universal by users It uses.
In the existing mobile terminal for supporting multi-card multi-standby, user carries out default SIM card switching between two SIM cards When operation, SIM card switching flow can be started in the terminal, the SIM card originally used can execute attachment removal process, newly set SIM card can execute attachment flow, become main SIM card, while also will start network mode setting procedure.
Normal SIM card switching flow are as follows: if SIM card 1 is main SIM card, be switched to SIM card 2 from SIM card 1 in main SIM card When, 2 fast registration network of SIM card, and succeed in registration, service state is had, SIM card 2 starts to transmit voice or data, starting The process of data dial.
However, in SIM card handoff procedure, often there is SIM card 2 during dialing CSFB phone in user, or , because causing SIM card 2 to be unable to network in fast registration the problem of network side, there is of short duration nothing in the environment of weak signal in person Service scenario, status bar shows that SIM card 2 without service, the easily perceivable non-service state of user, or even can be missed in the mobile terminal Think that abnormal caused no service occurs in mobile terminal, causes user experience poor.
Summary of the invention
In view of the above problems, the embodiment of the present invention be designed to provide a kind of non-service state control method, device and Mobile terminal, so as to solve the deficiencies in the prior art.
According to embodiment of the present invention, a kind of non-service state control method is provided, is applied to support multiple SIM The mobile terminal of card, this method comprises:
When the main SIM card of the mobile terminal is switched to the second SIM card from the first SIM card, the first SIM is obtained The login state of card and second SIM card;
First SIM card and the second SIM card service state are judged according to the login state;
If the first SIM card is non-service state to have service state and the second SIM card, pre- after present system time If in delay time, judging the second SIM card service state, if second SIM card is non-service state, described default After delay time, the service state of second SIM card is updated to non-service state.
In above-mentioned non-service state control method, the login state includes voice login state and data register shape State;
" the judging first SIM card and the second SIM card service state according to the login state " includes:
Whether the voice login state or data register state for judging each SIM card are success;
If the voice login state of corresponding SIM card is successfully and/or data register state is success, corresponding SIM card is There is service state;
If the voice login state of corresponding SIM card be unsuccessful and data register state be it is unsuccessful, corresponding SIM card is Non-service state.
In above-mentioned non-service state control method, described " in the predetermined time delay after present system time, Judge the second SIM card service state " include:
Obtain present system time;
In the predetermined time delay after present system time, the 2nd SIM is obtained every preset time interval The login state of card;
Judge whether second SIM card is to have service state for the login state obtained each time.
In above-mentioned non-service state control method, further includes:
It, will be described if second SIM card is to have service state in the predetermined time delay after present system time The service state of second SIM card has been updated to service state.
In above-mentioned non-service state control method, the login state of the SIM card is obtained by Modem.
In above-mentioned non-service state control method, further includes:
In the predetermined time delay after present system time, if second SIM card is non-service state, institute is judged State whether the second SIM card is inserted into card slot, it, will be described after the predetermined time delay if second SIM card is inserted into card slot The service state of second SIM card is updated to non-service state;
If second SIM card is not inserted into card slot, prompt information is issued to prompt user that the second SIM card is inserted into card slot.
In above-mentioned non-service state control method, further includes:
If if first SIM card is to have service state and second SIM card to have service state or described first SIM card, which is non-service state, and the second SIM card is service state, executes switching flow for the first SIM card and switches to the 2nd SIM Card.
In above-mentioned non-service state control method, further includes:
If first SIM card is non-service state and the second SIM card is non-service state, switching flow is not executed.
According to another implementation of the invention, a kind of non-service state control device is provided, is applied to support multiple The mobile terminal of SIM card, the device include:
Module is obtained, for obtaining when the main SIM card of the mobile terminal is switched to the second SIM card from the first SIM card Take the login state of first SIM card and second SIM card;
First judgment module, for judging that first SIM card and second SIM card take according to the login state Business state;
Second judgment module, if the first SIM card is non-service state to have service state and the second SIM card, described second Judgment module is used in the predetermined time delay after present system time, judges the second SIM card service state;
Update module, if second SIM card is non-service state, the update module is used in the pre-set delay Between after, the service state of second SIM card is updated to non-service state.
In above-mentioned non-service state control device, the login state includes voice login state and data register shape State;
The first judgment module includes:
Whether the voice login state or data register state for judging each SIM card are success;
If the voice login state of corresponding SIM card is successfully and/or data register state is success, corresponding SIM card is There is service state;
If the voice login state of corresponding SIM card be unsuccessful and data register state be it is unsuccessful, corresponding SIM card is Non-service state.
In above-mentioned non-service state control device, second judgment module includes:
Obtain present system time;
In the predetermined time delay after present system time, the 2nd SIM is obtained every preset time interval The login state of card;
Judge whether second SIM card is to have service state for the login state obtained each time.
Another embodiment according to the present invention, provides a kind of mobile terminal, the mobile terminal include memory with And processor, the memory run the computer program so that the shifting for storing computer program, the processor Dynamic terminal executes above-mentioned non-service state control method.
Yet another embodiment according to the present invention provides a kind of computer readable storage medium, is stored with above-mentioned The computer program used in mobile terminal.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of non-service state control method, device and mobile terminal in the present invention, when two SIM cards switch over, Within preset delay time, the prompt information of non-service state is made to be not present in the status bar of mobile terminal, improves user couple The impression of network signal and stability improves user experience, avoids user from being mistakenly considered mobile terminal and abnormal caused user occurs It is poor to experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of flow diagram of non-service state control method provided in an embodiment of the present invention.
Fig. 2 shows a kind of flow diagrams for non-service state control method that second embodiment of the invention provides.
Fig. 3 shows a kind of structural schematic diagram of non-service state control device of first embodiment of the invention offer.
Fig. 4 shows a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Main element symbol description:
500- non-service state control device;510- obtains module;520- first judgment module;530- second judges mould Block;540- update module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 2 shows a kind of flow diagrams for non-service state control method that first embodiment of the invention provides.It should Method is applied to support the mobile terminal of multiple SIM card.
The mobile terminal may include computer (PC), mobile phone, tablet computer, PDA Any terminal device such as (PersonalDigital Assistant, personal digital assistant), vehicle-mounted computer.
In the present embodiment, the mobile terminal supports two SIM cards.In some other embodiments, described mobile whole End can also support two or more SIM cards.
In the present embodiment, the SIM card can be the SIM card of the operators such as movement, connection, telecommunications.Some other In embodiment, with the development of mobile communication technology, the SIM card can also be the SIM card generated with emerging technology, should SIM card may include the function of voice and data.
It is worth noting that, the SIM card can support TD-LTE, FDD-LTE, TD-SCDMA, WCDMA, CDMA, The standards such as CDMA2000 and GSM, with the development of 5G technology and subsequent communications technology, the SIM card can also support that other are emerging Standard.
The non-service state control method includes the following steps:
In step S210, when the main SIM card of mobile terminal is switched to the second SIM card from the first SIM card, the is obtained The login state of one SIM card and the second SIM card.
Specifically, the present embodiment is illustrated by taking the mobile terminal of double-card dual-standby as an example, in some other embodiments, The mobile terminal can also support three or more SIM cards, the switching method phase of three or more the SIM cards and double SIM card Together, i.e., the main body of handoff procedure is two SIM cards, and the purpose of an old SIM card, a new SIM card, SIM card switching will move end The main SIM card (alternatively referred to as default SIM card) at end switches to new SIM card from old SIM card, makes voice communication and number in mobile terminal New SIM card is converted into from old SIM card according to the default executing subject of the operations such as transmission.The switching stream of its switching flow and double-card dual-standby Cheng Xiangtong, details are not described herein.
When main SIM card is switched to the second SIM card from the first SIM card, the network parameter of mobile terminal becomes user Change, mobile terminal obtains old service object into PollStateDone process when monitoring that network parameter changes (i.e. the first SIM card) and new demand servicing object (and second SIM card).
When network parameter changes in the terminal, Modem (modem) is reported in mobile terminal The login state of the first SIM card obtained in PollStateDone process and the login state of the second SIM card.
Further, the login state of the SIM card of acquisition may include voice login state and data login state.
In step S220, judge whether the first SIM card and the second SIM card are to have service state.
Further, the service state of SIM card is judged according to the login state of SIM card.
Specifically, judge whether first SIM card is to have service state according to the login state of first SIM card, And judge whether second SIM card is to have service state according to the login state of second SIM card.
Further, the service state for judging each SIM card according to the login state includes:
Whether the voice login state or data register state for judging each SIM card are success;If the voice of corresponding SIM card Login state is successfully and/or data register state is success, then corresponding SIM card is to have service state;If the language of corresponding SIM card Sound login state be unsuccessful and data register state be it is unsuccessful, then corresponding SIM card be non-service state.
Specifically, judge whether SIM card is to have the voice service state to include: according to the voice login state of SIM card
Whether the voice login state for judging SIM card is success, if the voice login state of the SIM card be successfully, The SIM card is to have voice service state;If the voice login state of the SIM card be it is unsuccessful, the SIM card is no language Sound service state.
Judge whether SIM card is to have the data service state to include: according to the data register state of SIM card
Whether the data register state for judging SIM card is success, if the data register state of the SIM card be successfully, The SIM card is to have data service state;If the data register state of the SIM card be it is unsuccessful, the SIM card be it is countless According to service state.
Specifically, judge whether SIM card is to have the service state to include:
Judge whether SIM card is to have voice service state and judge whether SIM card is to have data service state, if described SIM card is to have voice service state and the SIM card to there is data service state, then the SIM card is to have service state;If institute Stating SIM card is to have voice service state and the SIM card is no data service state, then the SIM card is to have service state;If The SIM card, which is no voice service state, and the SIM card is data service state, then the SIM card is to have service state; If the SIM card is no voice service state and the SIM card is no data service state, the SIM card is without service shape State.
The condition a of order is to judge whether the first SIM card is to have service state, and the condition b of order is to judge whether the second SIM card is to have Service state judges whether the first SIM card and the second SIM card are to have service state that can generate 4 kinds of assembled states:
(1) a is b no, i.e. the first SIM card is non-service state to have service state and the second SIM card, advances to step S240;
(2) a is that b is, i.e. the first SIM card is to have service state and the second SIM card to there is service state, then advances to step S230, directly execution switching flow, switch to the second SIM card from the first SIM card for the main SIM card of mobile terminal;
(3) the no b of a is that i.e. the first SIM card, which is non-service state, and the second SIM card is service state, advances to step S230, directly execution switching flow, switch to the second SIM card from the first SIM card for the main SIM card of mobile terminal;
(4) the no b of a is no, i.e. the first SIM card is non-service state and the second SIM card is non-service state, illustrates two SIM Card without registering upper network, advances to step S230, does not then execute switching flow.
In step S230, executes switching flow and the first SIM card is switched into the second SIM card or does not execute switching flow.
In step S240, judge whether the second SIM card is to have service state.
If the first SIM is non-service state to have service state and second SIM card, when obtaining current system Between;In the predetermined time delay after present system time, the note of second SIM card is obtained every preset time interval Volume state;The second SIM card service state is judged for the login state obtained each time.
Specifically, the predetermined time delay can be set according to the tolerable waiting time of the user of statistics or by institute There is the mean value of the waiting time of user as predetermined time delay.For example, pre-set delay is 15s, 10s etc..
When it is non-service state that first SIM card, which is has service state and the second SIM card, what acquisition was current first is It unites the time, the system time current using this is as fiducial time.Since current system time, in predetermined time delay, Judge whether the second SIM card registers network, that is, whether the voice login state for judging the second SIM card is successfully or data are infused Whether volume state is success, if the voice login state of the second SIM card is successfully or data register state is success, is meaned Since current system time, in predetermined time delay, the second SIM card registers upper network, in the registration of the second SIM card Network, i.e. the second SIM card are when having service state, to advance to step S260, be immediately updated to the service state of the second SIM card There is service state;If since current system time, in predetermined time delay, the still unregistered online network of the second SIM card, i.e., Second SIM card is non-service state, advances to step S250, from since current system time, predetermined time delay it Afterwards, the service state of the second SIM card is updated to non-service state.
In step s 250, the service state of the second SIM card is updated to non-service state after a preset delay.
Specifically, the service state for updating SIM card includes:
There is service in SIM card or will include that service or status information without service are sent to mobile terminal when without service Status bar, after status bar listens to status information, according to the state rest update corresponding SIM card service state.
For example, if the first SIM card is that system time current when to have service state and the second SIM card be non-service state is 2018/6/6 14:00, predetermined time delay 15s.In the time range of the 14:15 of 2018/6/614:00~2018/6/6, The login state of the second SIM card is obtained every preset time interval, judges whether the second SIM card is there are clothes according to login state Business state, if judging the second SIM card according to the login state of the second SIM card of acquisition to there is clothes in 2018/6/6 14:10 Business state will be then that the status information for having service state is sent to movement eventually comprising the second SIM card in 2018/6/6 14:10 The status bar at end, status bar receive the status information, are to have service state by the state information updating of the second SIM card.
If second SIM card is nothing always in the time range of the 14:15 of 2018/6/6 14:00~2018/6/6 Service state then will be sent to shifting comprising the status information that the second SIM card is non-service state after 2018/6/6 14:15 The status bar of dynamic terminal, status bar receive the status information, are non-service state by the state information updating of the second SIM card.
In step S260, the service state of the second SIM card service state has been updated to.
Embodiment 2
Fig. 2 shows a kind of flow diagrams for non-service state control method that second embodiment of the invention provides.It should Method is applied to support the mobile terminal of multiple SIM card.This method includes the steps that as described below:
In step s310, when the main SIM card of mobile terminal is switched to the second SIM card from the first SIM card, the is obtained The login state of one SIM card and the second SIM card.
Identical as step S210, details are not described herein.
In step s 320, judge the first SIM card and judge whether the second SIM card is to have service state.
Judge whether the first SIM card is to have service state according to the login state of the first SIM card, according to the second SIM card Login state judges whether the second SIM card is non-service state, if the first SIM card is to have service state, and the second SIM card is nothing Service state advances to step S330;If the first SIM card is to have service state and the second SIM card to have service state, Huo Zhe One SIM card, which is non-service state, and the second SIM card is service state, advances to step S340, and executing switching flow will move The main SIM card of terminal switches to the second SIM card from the first SIM card;If the first SIM card is non-service state and the second SIM card is Non-service state advances to step S340, does not execute switching flow.
In step S330, judge whether the second SIM card is inserted into card slot.
If the first SIM card is non-service state to have service state and the second SIM card, whether registration is passed back according to SIM card Data judge whether the second SIM card is inserted into card slot, if second SIM card is inserted into card slot, advance to step S350;If the 2nd SIM Card is not inserted into card slot, advances to step S360, and the second SIM card is inserted into card slot.
In step S340, executes switching flow and the first SIM card is switched into the second SIM card or does not execute switching flow.
In step S350, present system time is obtained as fiducial time.
Specifically, current system time is obtained by the clock unit of mobile terminal.
In step S360, prompt information is issued to prompt user that the second SIM card is inserted into card slot.
After the second SIM card is inserted into card slot, it is back to step S350, obtains current system time.
In step S370, the login state of the second SIM card is obtained after preset time interval.
Specifically, since current system time, the second SIM card is obtained every preset time interval (such as 1s) Voice login state and data register state.
For example, enabling preset time interval is 1s, current system time is 2018/6/6 14:00,2018/6/6 When 14:01, the login state of the second SIM card is obtained for the first time.
In step S380, judge whether the second SIM card is to have service state.
Specifically, judge whether the second SIM card is to have according to the voice login state of the second SIM card and data register state Service state advances to step S390 if the second SIM card is non-service state;If second SIM card is to have service state, Step S400 is advanced to, the service state of the second SIM card has been updated to service state.
In step S390, judge whether present system time is greater than or equal to fiducial time and predetermined time delay With.
Specifically, if the second SIM card is non-service state, when judging system when obtaining the login state of the second SIM card Between whether be greater than or equal to fiducial time and predetermined time delay and, if the system when login state of the second SIM card of acquisition Time be greater than or equal to fiducial time and predetermined time delay and, advance to step S410;If obtaining the registration of the second SIM card System time when state be less than fiducial time and predetermined time delay and, be back to step S370, circulation execution step S370~S400, until system time when obtaining the login state of the second SIM card is greater than or equal to fiducial time and prolongs with default The slow time and when, stop circulation;If the second SIM card of acquisition is the state that takes in cyclic process, stop circulation.
For example, whether predetermined time delay 15s judges 2018/6/614:01 if the second SIM card is non-service state More than or equal to 2018/6/6 14:15, it is back to by 2018/6/6 14:01 known to judgement less than 2018/6/6 14:15 Step S370 continues the login state for obtaining the second SIM card in 2018/6/6 14:02, continues to execute the step of S380~S400 Suddenly, if the second SIM card is non-service state, the step of continuing to execute S380~S400, until the current system time obtained More than or equal to fiducial time and predetermined time delay and when, stop circulation.
If in the 14:15 time range of 2018/6/6 14:00~2018/6/6, in 2018/6/6 14:07 acquisition Second SIM card is to have service state, advances to step S400, the service state of the second SIM card has been updated to service shape immediately State, end loop.
In step S400, the service state of the second SIM card service state has been updated to.
In step S410, after the predetermined time delay after present system time, by the service shape of the second SIM card State is updated to non-service state.
Identical as step S250, details are not described herein.
Embodiment 3
Fig. 3 shows a kind of structural schematic diagram of non-service state control device provided in an embodiment of the present invention.It is applied to Support the mobile terminal of multiple SIM card.The non-service state control device 500 corresponds to the non-service state control of embodiment 1 Method processed.Any option in embodiment 1 is also applied for the present embodiment, and I will not elaborate.
The non-service state control device 500 includes obtaining module 510, first judgment module 520, the second judgment module 530 and update module 540.
Module 510 is obtained, for the main SIM card of the mobile terminal to be switched to the second SIM card from the first SIM card When, obtain the login state of first SIM card and second SIM card.
First judgment module 520, for judging first SIM card and the 2nd SIM according to the login state Card service state.
Second judgment module 530, if the first SIM card is that have service state and the second SIM card be non-service state, described the Two judgment modules 530 are used in the predetermined time delay after present system time, judge the second SIM card service shape State.
Update module 540, if second SIM card is non-service state, the update module 540 is used for described default After delay time, the service state of second SIM card is updated to non-service state.
Further, the login state includes voice login state and data login state;
The first judgment module 520 includes:
Whether the voice login state or data register state for judging each SIM card are success;
If the voice login state of corresponding SIM card is successfully and/or data register state is success, corresponding SIM card is There is service state;
If the voice login state of corresponding SIM card be unsuccessful and data register state be it is unsuccessful, corresponding SIM card is Non-service state.
Further, second judgment module 530 includes:
Obtain present system time;
In the predetermined time delay after present system time, the 2nd SIM is obtained every preset time interval The login state of card;
Judge whether second SIM card is to have service state for the login state obtained each time.
The present invention also provides a kind of mobile terminal, which may include smart phone, tablet computer etc..Such as figure 4 show the structural block diagram of the mobile terminal, which includes: radio frequency (Radio Frequency, RF) circuit 110, memory 120, input unit 130, display unit 140, shooting unit 150, voicefrequency circuit 160, Wireless Fidelity The components such as (wireless fidelity, WiFi) module 170, processor 180 and power supply 190.Input unit 130 can wrap It includes touch panel and may include other input equipments, display unit 140 may include display panel.
It is specifically introduced below with reference to each component parts of the Fig. 1 to the mobile terminal 100:
Radio circuit 110 by RF receiving circuit and can specifically be penetrated for sending and receiving wireless signal, radio circuit 110 Frequency transmitting line two parts composition, radio circuit 110 include mainly antenna, wireless switching, accept filter, frequency synthesizer, height Frequency amplification, reception local oscillator, mixing, intermediate frequency, transmitting local oscillator, power amplifier control, power amplifier etc..
Memory 120 supports processor 180 to execute long SMS sending method provided in following embodiments for storing Program.Memory 120 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program (such as short message sending function, sound-playing function, image player function etc.) needed for system, at least one function Deng;Storage data area, which can be stored, uses created data (such as short message, audio data, phone directory etc.) etc. according to mobile phone. It can also include nonvolatile memory in addition, memory 120 may include high-speed random access memory, for example, at least one A disk memory, flush memory device or other volatile solid-state parts.
Input unit 130 can be used for receiving the number or character information of input, and generate the user with mobile terminal 100 Setting and the related key signals input of function control.Specifically, input unit 130 may include touch panel and other inputs Equipment.Touch panel, also referred to as touch screen, collect user on it or nearby touch operation (such as user using finger, The operation of any suitable object or attachment such as stylus on touch panel or near touch panel), and according to presetting Formula drive corresponding attachment device.Optionally, touch panel may include two portions of touch detecting apparatus and touch controller Point.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives Processor 180, and order that processor 180 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, red The multiple types such as outside line and surface acoustic wave realize touch panel.In addition to touch panel, input unit 130 can also include other Input equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 140 can be used for showing information input by user or the information and mobile terminal that are supplied to user 100 various menus, interface, such as interface.Display unit 140 may include display panel.Optionally, liquid crystal can be used Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel.Further, touch panel can cover display panel, when touch panel detects After touch operation on or near it, processor 180 is sent to determine the type of touch event, is followed by subsequent processing 180 basis of device The type of touch event provides corresponding visual output on a display panel.Although touch panel and display panel are as two Independent component realizes the input and input function of mobile phone, but in some embodiments it is possible to by touch panel and display Panel is integrated and that realizes mobile phone output and input function.
Shooting unit 150 is used to acquire the image information in areas imaging.Specifically, the shooting unit 150 can be to take the photograph As head, the camera may include sensor devices, and the sensor devices may include, but are not limited to CCD (Charge Coupled Device, ccd image sensor) and CMOS (Complementary Metal-Oxide Semiconductor, Complimentary Metal-Oxide semiconductor).Light change information is converted charge by sensor devices, and the charge of conversion is become by modulus It changes and is converted into digital signal, digital signal is after overcompression by the flash memory or built-in hard disk inside shooting unit 150 Card saves, thus can be by the digital data transmission of preservation to processor 180, and processor 180 is according to demand or instruction is to number Signal is handled (such as display image, modification image etc.).
Voicefrequency circuit 160 can provide the audio interface between user and mobile terminal 100.
WiFi belongs to short range wireless transmission technology, and mobile terminal 100 passes through (the following WiFi moulds of wireless fidelity module 170 Block) user can be helped to send and receive e-mail, webpage is browsed and access streaming video etc., it provides wireless broadband for user Internet access.Although Fig. 1 shows WiFi module, but it is understood that, and it is not belonging to the necessary of mobile terminal 100 It constitutes, can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 180 is the control centre of mobile terminal 100, utilizes various interfaces and the entire mobile terminal of connection 100 various pieces, by running or executing the software program and/or module that are stored in memory 120, and calling storage Data in memory 120, so that mobile terminal 100 be made to execute above-mentioned non-service state control method or above-mentioned no service The function of modules in behavior control device.Optionally, processor 180 may include one or more processing units;It is preferred that , processor 180 can integrate application processor, the main processing operation system of application processor, user interface and application program etc.. Processor 180 can integrate modem processor, and modem processor can not also be integrated into processor 180.
Power supply 190 can be logically contiguous by power-supply management system and processor 180, to pass through power-supply management system reality The functions such as now management charging, electric discharge and power managed.
It will be understood by those skilled in the art that 100 structure of mobile terminal shown in Fig. 1 is not constituted to mobile terminal It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
The present embodiment additionally provides a kind of computer storage medium, by store used in above-mentioned mobile terminal it is described based on Calculation machine program.
So far, the present invention provides a kind of non-service state control method, device and mobile terminals, in the master of mobile terminal When SIM card switches to the second SIM card from the first SIM card, if the second SIM card fast registration network, directly switches over process, If the second SIM card is unable to fast registration network, within preset delay time, it is not present in the prompt information of non-service state The status bar of mobile terminal;If the second SIM card registers upper network within preset delay time, to there is service state, immediately will The service state of second SIM card has been updated to service state, improves impression of the user to network signal and stability, improves user Experience avoids user from being mistakenly considered mobile terminal and abnormal caused unnecessary monetary loss occurs.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module 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 intelligence Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to 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.

Claims (10)

1. a kind of non-service state control method, which is characterized in that applied to the mobile terminal for supporting multiple SIM card, this method Include:
When the main SIM card of the mobile terminal is switched to the second SIM card from the first SIM card, obtain first SIM card and The login state of second SIM card;
First SIM card and the second SIM card service state are judged according to the login state;
If the first SIM card is that have service state and the second SIM card be non-service state, default after present system time prolongs In the slow time, the second SIM card service state is judged, if second SIM card is non-service state, in the pre-set delay After time, the service state of second SIM card is updated to non-service state.
2. non-service state control method according to claim 1, which is characterized in that the login state includes voice note Volume state and data login state;
" the judging first SIM card and the second SIM card service state according to the login state " includes:
Whether the voice login state or data register state for judging each SIM card are success;
If the voice login state of corresponding SIM card is successfully and/or data register state is success, corresponding SIM card is to have clothes Business state;
If the voice login state of corresponding SIM card be unsuccessful and data register state be it is unsuccessful, corresponding SIM card is no clothes Business state.
3. non-service state control method according to claim 1, which is characterized in that it is described " present system time it In predetermined time delay afterwards, the second SIM card service state is judged " include:
Obtain present system time;
In the predetermined time delay after present system time, second SIM card is obtained every preset time interval Login state;
Judge whether second SIM card is to have service state for the login state obtained each time.
4. non-service state control method according to claim 1, which is characterized in that further include:
In the predetermined time delay after present system time, if second SIM card is to have service state, by described second The service state of SIM card has been updated to service state.
5. non-service state control method according to claim 1, which is characterized in that further include:
In the predetermined time delay after present system time, if second SIM card is non-service state, described the is judged Whether two SIM cards are inserted into card slot, if second SIM card is inserted into card slot, after the predetermined time delay, by described second The service state of SIM card is updated to non-service state;
If second SIM card is not inserted into card slot, prompt information is issued to prompt user that the second SIM card is inserted into card slot.
6. a kind of non-service state control device, which is characterized in that applied to the mobile terminal for supporting multiple SIM card, the device Include:
Module is obtained, for obtaining institute when the main SIM card of the mobile terminal is switched to the second SIM card from the first SIM card State the login state of the first SIM card and second SIM card;
First judgment module, for judging that first SIM card and second SIM card service shape according to the login state State;
Second judgment module, if the first SIM card is non-service state to have service state and the second SIM card, second judgement Module is used in the predetermined time delay after present system time, judges the second SIM card service state;
Update module, if second SIM card be non-service state, the update module be used for the predetermined time delay it Afterwards, the service state of second SIM card is updated to non-service state.
7. non-service state control device according to claim 6, which is characterized in that the login state includes voice note Volume state and data login state;
The first judgment module includes:
Whether the voice login state or data register state for judging each SIM card are success;
If the voice login state of corresponding SIM card is successfully and/or data register state is success, corresponding SIM card is to have clothes Business state;
If the voice login state of corresponding SIM card be unsuccessful and data register state be it is unsuccessful, corresponding SIM card is no clothes Business state.
8. non-service state control device according to claim 6, which is characterized in that second judgment module includes:
Obtain present system time;
In the predetermined time delay after present system time, second SIM card is obtained every preset time interval Login state;
Judge whether second SIM card is to have service state for the login state obtained each time.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory and processor, and the memory is used for Computer program is stored, the processor runs the computer program so that the mobile terminal execution claim 1 to 5 times Non-service state control method described in one.
10. a kind of computer storage medium, which is characterized in that it stores institute used in mobile terminal described in claim 9 State computer program.
CN201910037073.0A 2019-01-15 2019-01-15 Out-of-service state control method and device and mobile terminal Active CN109769279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910037073.0A CN109769279B (en) 2019-01-15 2019-01-15 Out-of-service state control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910037073.0A CN109769279B (en) 2019-01-15 2019-01-15 Out-of-service state control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109769279A true CN109769279A (en) 2019-05-17
CN109769279B CN109769279B (en) 2021-07-20

Family

ID=66452883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910037073.0A Active CN109769279B (en) 2019-01-15 2019-01-15 Out-of-service state control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109769279B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234109A (en) * 2019-05-29 2019-09-13 维沃移动通信有限公司 A kind of task triggering method and mobile terminal
CN110321099A (en) * 2019-06-28 2019-10-11 Oppo广东移动通信有限公司 Control method, device, terminal and the storage medium of sound card
CN110557746A (en) * 2019-07-22 2019-12-10 珠海格力电器股份有限公司 state display updating method and device
CN112738833A (en) * 2020-12-24 2021-04-30 北京小米移动软件有限公司 Network information updating method and device
CN112836533A (en) * 2019-11-22 2021-05-25 青岛海信移动通信技术股份有限公司 Virtual card switching method and electronic terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150358979A1 (en) * 2014-06-05 2015-12-10 Qualcomm Incorporated Radio Frequency Radiation Exposure Mitigation Using Antenna Switching
CN105430698A (en) * 2015-12-23 2016-03-23 广东欧珀移动通信有限公司 Access network switching method and device
CN105530374A (en) * 2015-12-07 2016-04-27 深圳市万普拉斯科技有限公司 Method and device for prompting to read SIM card information
CN106028289A (en) * 2016-07-20 2016-10-12 广东欧珀移动通信有限公司 Network searching method and equipment after roaming ends
CN106792624A (en) * 2016-12-21 2017-05-31 深圳众思科技有限公司 The method for searching network of mobile terminal, device and mobile terminal
CN106851616A (en) * 2017-01-11 2017-06-13 深圳市万普拉斯科技有限公司 Network service state updating method and device
CN107277259A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Signal adjusting method and electronic equipment
CN107295500A (en) * 2017-05-10 2017-10-24 深圳市万普拉斯科技有限公司 SIM card data control method, device, storage medium and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150358979A1 (en) * 2014-06-05 2015-12-10 Qualcomm Incorporated Radio Frequency Radiation Exposure Mitigation Using Antenna Switching
CN105530374A (en) * 2015-12-07 2016-04-27 深圳市万普拉斯科技有限公司 Method and device for prompting to read SIM card information
CN105430698A (en) * 2015-12-23 2016-03-23 广东欧珀移动通信有限公司 Access network switching method and device
CN106028289A (en) * 2016-07-20 2016-10-12 广东欧珀移动通信有限公司 Network searching method and equipment after roaming ends
CN106792624A (en) * 2016-12-21 2017-05-31 深圳众思科技有限公司 The method for searching network of mobile terminal, device and mobile terminal
CN106851616A (en) * 2017-01-11 2017-06-13 深圳市万普拉斯科技有限公司 Network service state updating method and device
CN107295500A (en) * 2017-05-10 2017-10-24 深圳市万普拉斯科技有限公司 SIM card data control method, device, storage medium and computer equipment
CN107277259A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Signal adjusting method and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234109A (en) * 2019-05-29 2019-09-13 维沃移动通信有限公司 A kind of task triggering method and mobile terminal
CN110234109B (en) * 2019-05-29 2022-02-22 维沃移动通信有限公司 Task triggering method and mobile terminal
CN110321099A (en) * 2019-06-28 2019-10-11 Oppo广东移动通信有限公司 Control method, device, terminal and the storage medium of sound card
CN110321099B (en) * 2019-06-28 2023-03-17 Oppo广东移动通信有限公司 Sound card control method, device, terminal and storage medium
CN110557746A (en) * 2019-07-22 2019-12-10 珠海格力电器股份有限公司 state display updating method and device
CN110557746B (en) * 2019-07-22 2021-03-16 珠海格力电器股份有限公司 State display updating method and device
CN112836533A (en) * 2019-11-22 2021-05-25 青岛海信移动通信技术股份有限公司 Virtual card switching method and electronic terminal
CN112738833A (en) * 2020-12-24 2021-04-30 北京小米移动软件有限公司 Network information updating method and device
CN112738833B (en) * 2020-12-24 2023-01-24 北京小米移动软件有限公司 Network information updating method and device

Also Published As

Publication number Publication date
CN109769279B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN109769279A (en) Non-service state control method, device and mobile terminal
CN106604369B (en) Terminal equipment with dual-mode switching function
US11172433B2 (en) Network search display method for terminal device, apparatus, and terminal device
CN106413036B (en) Network access processing method and terminal equipment
CN104765591A (en) Method and system for updating software configuration parameter, and terminal server
CN106888495B (en) Network access method and terminal
CN103309756A (en) Method for preventing application program from quitting or being interrupted accidently and mobile terminal
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN103298163B (en) The methods for interface management and device of a kind of multi-card terminal
CN105468258A (en) Screen interface switching method and device and terminal
CN103559731B (en) Method and terminal for displaying lyrics under screen locking state
CN107682338A (en) Obtain, the methods, devices and systems of processing configuration information
US20210316211A1 (en) Method and apparatus for game interference processing, and mobile terminal
CN104572046A (en) Method for restoring stacks and computer system
CN103294442B (en) A kind of method of playing alert tones, device and terminal device
CN106982459B (en) Network scanning method and terminal device
CN105306802A (en) Photographing mode switching method and device
CN105185401A (en) Method and device for synchronizing multi-media file list
CN111372299B (en) Network searching list generation method, network searching method and corresponding devices
CN106851784A (en) Network scanning method and terminal device
CN104424198A (en) Method and device for acquiring page display speed
CN113613310B (en) WIFI connection method and device, storage medium and mobile terminal
CN112004240B (en) Radio frequency parameter configuration method, device, storage medium and mobile terminal
CN109936421A (en) The anti-interference method and Related product of electronic equipment
CN109391970A (en) A kind of processing method of information of adjacent cells, the sending method of information of adjacent cells and device

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