[go: up one dir, main page]

CN105101125B - The setting method and device of call forwarding - Google Patents

The setting method and device of call forwarding Download PDF

Info

Publication number
CN105101125B
CN105101125B CN201410158724.9A CN201410158724A CN105101125B CN 105101125 B CN105101125 B CN 105101125B CN 201410158724 A CN201410158724 A CN 201410158724A CN 105101125 B CN105101125 B CN 105101125B
Authority
CN
China
Prior art keywords
identification card
ownership place
subscriber identification
user
state
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.)
Expired - Fee Related
Application number
CN201410158724.9A
Other languages
Chinese (zh)
Other versions
CN105101125A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410158724.9A priority Critical patent/CN105101125B/en
Publication of CN105101125A publication Critical patent/CN105101125A/en
Application granted granted Critical
Publication of CN105101125B publication Critical patent/CN105101125B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of setting method of call forwarding and devices.The described method includes: obtaining the situation of change of the respective state of the first subscriber identification card and second user identification card, state includes that ownership place stays net state or roaming state;According to the situation of change of the respective state of the first subscriber identification card and second user identification card, the setting operation of call forwarding is carried out.The disclosure can be according to the situation of change of the respective state of the first subscriber identification card and second user identification card, automatic setting call forwarding function, so that the setting of call forwarding is intelligent, automation, it is not required to user's manual setting, it avoids user and forgets that telephone expenses waste caused by call forwarding function is arranged, and bring convenience for user.

Description

The setting method and device of call forwarding
Technical field
This disclosure relates to the setting method and device of communication technique field more particularly to a kind of call forwarding.
Background technique
Modern society's people's Working Life all be unable to do without mobile phone, the more too busy to get away mobile phone such as especially outgoing working, tourism, but It is in present carrier charge strategy when mobile phone leaves in the case that ownership place is in roaming state, what making and receiving calls had It is to need to collect wandering fee, this pays in the telephone expenses for virtually increasing user, and more next using double-card mobile phone user at present More, if usual user travels outside, a mobile phone card making and receiving calls has wandering fee generation, and an other card is Card without wandering fee, at this point, user can be by the incoming call unconditional call forwarding of the mobile phone card in roaming state in order to save telephone expenses Onto another card without wandering fee, therefore, to meet the needs of users, runs commercial city at present as user and call forwarding is provided Service, user can select that in some cases, it will be transferred to the calling of mobile phone by the call forwarding function on mobile phone On his mobile phone or on fixed-line telephone, or by one block calling be transferred in another card, in this way when the hand of user When machine has incoming call, by the way that the calling to oneself mobile phone can also be answered on other mobile phones or fixed-line telephone, but at present The setting of call forwarding function needs user to be manually operated, oneself manually opened call forwarding function, does not need when needing When call forwarding function is turned off manually again, and many times user can usually forget be arranged call forwarding function, cause telephone expenses Unexpected be lost;And the state of call forwarding side's card is not considered during call forwarding, if the card appearance for answering call forwarding is different Often, it will lead to not receive calls, bring inconvenience to users.
In the related technology the problem is that needing user's manual setting call forwarding function, operating process is cumbersome, does not supervise The state for answering the card of call forwarding phone is surveyed, not can guarantee can normally answer call forwarding phone, seriously reduce user Experience.
Summary of the invention
In order to overcome the problems, such as present in the relevant technologies, the embodiment of the present disclosure provide a kind of call forwarding setting method and Device reduces the operating procedure of user call forwarding to be arranged automatically, avoid user forget to be arranged call forwarding function and Caused telephone expenses waste.
According to the first aspect of the embodiments of the present disclosure, a kind of setting method of call forwarding is provided, comprising:
Obtain the situation of change of the respective state of the first subscriber identification card and second user identification card, the state Net state or roaming state are stayed including ownership place;
According to the situation of change of the respective state of first subscriber identification card and second user identification card, carry out The setting of call forwarding operates.
The above-mentioned technical proposal that the embodiment of the present disclosure provides can include the following benefits: can be according to first user's body The situation of change of the respective state of part identification card and second user identification card, is arranged call forwarding function, so that calling automatically The setting of transfer is intelligent, automates, and is not required to user's manual setting, avoids user and forgets that call forwarding function is arranged and causes Telephone expenses waste, bring convenience for user.
In one embodiment, the respective state of the first subscriber identification card of the acquisition and second user identification card Situation of change, comprising:
Judge whether first subscriber identification card and second user identification card leave respective ownership place;
When first subscriber identification card has left its ownership place, determine first subscriber identification card from Ownership place stays net state and switches to roaming state;When first subscriber identification card does not leave ownership place, described in determination The state of first subscriber identification card is that ownership place stays net state;
When the second user identification card has left its ownership place, determine the second user identification card from Ownership place stays net state and switches to roaming state;When the second user identification card does not leave ownership place, described in determination The state of second user identification card is that ownership place stays net state.
The above-mentioned technical proposal that the embodiment of the present disclosure provides can include the following benefits: by judging first user's body Whether part identification card and second user identification card leave respective ownership place, can accurately determine that the first user identity is known It Ka not judge that the first subscriber identification card and second user identity are known with the state of second user identification card to be further The state change situation that do not block provides effective precondition.
In one embodiment, described to judge whether are first subscriber identification card and second user identification card Leave respective ownership place, it may include:
Obtain geographical location information;
Judge whether the geographical location information is consistent with the ownership place of first subscriber identification card, described in judgement Whether geographical location information is consistent with the ownership place of the second user identification card;
When the geographical location information is consistent with the ownership place of first subscriber identification card, described first is determined Subscriber identification card does not leave its ownership place;When the ownership of the geographical location information and first subscriber identification card When ground is inconsistent, determine that first subscriber identification card has left its ownership place;When the geographical location information with it is described When the ownership place of second user identification card is consistent, determine that the second user identification card does not leave its ownership place;When When the ownership place of the geographical location information and the second user identification card is inconsistent, the second user identity is determined Identification card has left its ownership place.
In one embodiment, described to judge whether are first subscriber identification card and second user identification card Leave respective ownership place, it may include:
Obtain geographical location variable quantity;
Judge whether the geographical location variable quantity is equal to or more than the first preset threshold, judges the geographical location variation Whether amount is equal to or more than the second preset threshold;
When the geographical location variable quantity is equal to or more than the first preset threshold, first user identity identification is determined Card has left its ownership place;When the geographical location variable quantity is less than the first preset threshold, first user identity is determined Identification card does not leave its ownership place;When the geographical location variable quantity is equal to or more than the second preset threshold, described the is determined Two subscriber identification cards have left its ownership place;When the geographical location variable quantity is less than the second preset threshold, institute is determined It states second user identification card and does not leave its ownership place.
In one embodiment, described to judge whether are first subscriber identification card and second user identification card Leave respective ownership place, it may include:
Obtain the message that base station is sent;
When the base station is the base station of the ownership place of first subscriber identification card, the first user body is determined Part identification card does not leave ownership place;When the base station is not the base station of the ownership place of first subscriber identification card, really Fixed first subscriber identification card has left ownership place;When the base station is the ownership of the second user identification card When the base station on ground, determine that the second user identification card does not leave ownership place;When the base station is not the second user When the base station of the ownership place of identification card, determine that the second user identification card has left ownership place.
The above-mentioned technical proposal that the embodiment of the present disclosure provides can include the following benefits: be believed by above-mentioned geographical location Message these three modes that breath, geographical location change information and base station are sent judge the first subscriber identification card and second user Whether identification card leaves ownership place, so that disclosed technique scheme is relatively reliable and accurate.
In one embodiment, it is described according to first subscriber identification card and second user identification card respectively The situation of change of state carries out the setting operation of call forwarding, comprising:
Net state, which is stayed, from ownership place when first subscriber identification card switches to roaming state and the second user The state of identification card is ownership place when in net state, call forwarding function is opened, by first subscriber identification card Incoming call be transferred on the second user identification card;
When the state of first subscriber identification card is ownership place when in net state, detection first user identity Whether the call forwarding function of identification card is opened;When the call forwarding function for detecting first subscriber identification card is opened When, shutdown call forwarding function;
When first subscriber identification card and second user identification card are switched to from ownership place in net state When roaming state, if the call cost of first subscriber identification card is higher than the logical of the second user identification card Cost is talked about, then opens call forwarding function, the incoming call of first subscriber identification card is transferred to the second user body On part identification card;
When first subscriber identification card and second user identification card are switched to from ownership place in net state When roaming state, if the credit balance of first subscriber identification card is lower than the second user identification card When taking remaining sum, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user On identification card;
When first subscriber identification card and second user identification card are switched to from ownership place in net state When roaming state, if the signal strength of first subscriber identification card is less than the letter of the second user identification card When number intensity, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user On identification card.
The above-mentioned technical proposal that the embodiment of the present disclosure provides can include the following benefits: be set according to above-mentioned various ways Call forwarding function is set, so that disclosed technique scheme is more comprehensively, completely.
In one embodiment, the unlatching call forwarding function turns the incoming call of first subscriber identification card It moves on on the second user identification card, comprising:
Whether detect the second user identification card can normal use;
When the second user identification card energy normal use, call forwarding function is opened, by first user The incoming call of identification card is transferred on the second user identification card.
The above-mentioned technical proposal that the embodiment of the present disclosure provides can include the following benefits: detection second user identity is known Do not block whether can normal use, when can normal use when just by the incoming call of the first subscriber identification card be transferred to it is described second use On the identification card of family, call forwarding function is set according to the actual situation in this way, so that disclosed technique scheme is more humanized, And avoiding can not normally receive calls due to bring inconvenience when second user identification card occurs abnormal, improve user's body It tests.
According to the second aspect of an embodiment of the present disclosure, a kind of setting device of call forwarding is provided, comprising:
Module is obtained, for obtaining the variation of the respective state of the first subscriber identification card and second user identification card Situation, the state include that ownership place stays net state or roaming state;
Setup module, for according to the respective state of first subscriber identification card and second user identification card Situation of change carries out the setting operation of call forwarding.
In one embodiment, the acquisition module can include:
Judging unit, for judging whether first subscriber identification card and second user identification card leave respectively From ownership place;
Determination unit, for when first subscriber identification card has left its ownership place, determining that described first uses Family identification card stays net state from ownership place and switches to roaming state;When first subscriber identification card does not leave ownership When ground, determine that the state of first subscriber identification card is that ownership place stays net state;When the second user identification When card has left its ownership place, determine that the second user identification card stays net state from ownership place and switches to roaming state; When the second user identification card does not leave ownership place, determine the state of the second user identification card for ownership Net state is stayed on ground.
In one embodiment, the judging unit can include:
First obtains subelement.For obtaining geographical location information;
First judgment sub-unit, for judging the ownership of the geographical location information Yu first subscriber identification card Whether ground is consistent, judges whether the geographical location information is consistent with the ownership place of the second user identification card;
First determines subelement, for working as the ownership place of the geographical location information and first subscriber identification card When consistent, determine that first subscriber identification card does not leave its ownership place;When the geographical location information and described first When the ownership place of subscriber identification card is inconsistent, determine that first subscriber identification card has left its ownership place;Work as institute State geographical location information it is consistent with the ownership place of the second user identification card when, determine the second user identification Card does not leave its ownership place;When the ownership place of the geographical location information and the second user identification card is inconsistent, Determine that the second user identification card has left its ownership place.
In one embodiment, the judging unit can include:
Second obtains subelement, for obtaining geographical location variable quantity;
Second judgment sub-unit, for judging whether the geographical location variable quantity is equal to or more than the first preset threshold, Judge whether the geographical location variable quantity is equal to or more than the second preset threshold;
Second determines subelement, for determining when the geographical location variable quantity is equal to or more than the first preset threshold First subscriber identification card has left its ownership place;When the geographical location variable quantity is less than the first preset threshold, Determine that first subscriber identification card does not leave its ownership place;When the geographical location variable quantity is equal to or more than second in advance If when threshold value, determining that the second user identification card has left its ownership place;When the geographical location variable quantity is less than When two preset thresholds, determine that the second user identification card does not leave its ownership place.
In one embodiment, the judging unit can include:
Third obtains subelement, for obtaining the message of base station transmission;
Third determines subelement, for working as the base station that the base station is the ownership place of first subscriber identification card When, determine that first subscriber identification card does not leave ownership place;When the base station is not first user identity identification When the base station of the ownership place of card, determine that first subscriber identification card has left ownership place;When the base station is described When the base station of the ownership place of two subscriber identification cards, determine that the second user identification card does not leave ownership place;Work as institute When to state base station not be the base station of ownership place of the second user identification card, the second user identification card has been determined Leave ownership place.
In one embodiment, the setup module can include:
First setting unit switches to roaming shape for staying net state from ownership place when first subscriber identification card State and the state of the second user identification card are ownership place when in net state, unlatching call forwarding function, by described the The incoming call of one subscriber identification card is transferred on the second user identification card;
Second setting unit, for when the state of first subscriber identification card be ownership place when in net state, examine Whether the call forwarding function for surveying first subscriber identification card is opened;When detecting first subscriber identification card Call forwarding function open when, shutdown call forwarding function;
Third setting unit, for working as first subscriber identification card and second user identification card from ownership When ground switches to roaming state in net state, used if the call cost of first subscriber identification card is higher than described second The call cost of family identification card, then open call forwarding function, and first subscriber identification card is carried out electrotransfer Onto the second user identification card;
4th setting unit, for working as first subscriber identification card and second user identification card from ownership When ground switches to roaming state in net state, if the credit balance of first subscriber identification card is used lower than described second When the credit balance of family identification card, then call forwarding function is opened, the incoming call of first subscriber identification card is turned It moves on on the second user identification card;
5th setting unit, for working as first subscriber identification card and second user identification card from ownership When ground switches to roaming state in net state, used if the signal strength of first subscriber identification card is less than described second When the signal strength of family identification card, then call forwarding function is opened, the incoming call of first subscriber identification card is turned It moves on on the second user identification card.
In one embodiment, the setting unit can include:
Detection sub-unit, for detecting the second user identification card whether can normal use;
Opening unit will for opening call forwarding function when the second user identification card energy normal use The incoming call of first subscriber identification card is transferred on the second user identification card.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The above-mentioned technical proposal that embodiment of the disclosure provides, can be according to the first subscriber identification card and second user The situation of change of the respective state of identification card, is arranged call forwarding function automatically so that the setting of call forwarding it is intelligent, from Dynamicization is not required to user's manual setting, avoid user forget be arranged call forwarding function caused by telephone expenses waste, be user with Convenience is carried out.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the setting method of call forwarding shown according to an exemplary embodiment;
Fig. 2 is a kind of the first preferred embodiment of the setting method of call forwarding shown according to an exemplary embodiment Flow chart;
Fig. 3 A is a kind of mobile phone standby interface effect of the setting method of call forwarding shown according to an exemplary embodiment Fruit figure;
Fig. 3 B is a kind of handset call transfer circle of the setting method of call forwarding shown according to an exemplary embodiment Face effect picture;
Fig. 4 is a kind of network topology schematic diagram of the setting method of call forwarding shown according to an exemplary embodiment;
Fig. 5 is a kind of second of preferred embodiment of the setting method of call forwarding shown according to an exemplary embodiment Flow chart;
Fig. 6 is a kind of the third preferred embodiment of the setting method of call forwarding shown according to an exemplary embodiment Flow chart;
Fig. 7 is a kind of the 4th kind of preferred embodiment of the setting method of call forwarding shown according to an exemplary embodiment Flow chart;
Fig. 8 is a kind of the 5th kind of preferred embodiment of the setting method of call forwarding shown according to an exemplary embodiment Flow chart;
Fig. 9 is a kind of another network topology signal of the setting method of call forwarding shown according to an exemplary embodiment Figure;
Figure 10 is a kind of block diagram of the setting device of call forwarding shown according to an exemplary embodiment;
Figure 11 is the block diagram that module is obtained in Figure 10;
Figure 12 is the block diagram of setup module in Figure 10;
Figure 13 is a kind of block diagram of the setting device of call forwarding shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
The call forwarding function on terminal device needs user's manual setting at present, and when going on business hastily, many users can forget Note setting call forwarding function, leads to the waste of telephone expenses, is based on this, the embodiment of the present disclosure provides a kind of setting of call forwarding Method can be set automatically according to the situation of change of the respective state of the first subscriber identification card and second user identification card Call forwarding function is set, so that the setting of call forwarding is intelligent, automation, user's manual setting is not required to, avoids user and forget Telephone expenses waste caused by note setting call forwarding function, bring convenience for user.
Fig. 1 is a kind of flow chart of the setting method of call forwarding shown according to an exemplary embodiment, such as Fig. 1 institute Show, the embodiment of the present disclosure provide a kind of call forwarding setting method be used for communication function terminal device, as mobile phone, In tablet computer with call function etc., include the following steps 101-102:
In a step 101, the variation of the respective state of the first subscriber identification card and second user identification card is obtained Situation, state include that ownership place stays net state or roaming state.
In a step 102, according to the variation of the respective state of the first subscriber identification card and second user identification card Situation carries out the setting operation of call forwarding.
It, can be according to the respective state of the first subscriber identification card and second user identification card in the embodiment of the present disclosure Situation of change, call forwarding function is set automatically, so that the setting of call forwarding is intelligent, automation, it is manual to be not required to user Setting avoids user and forgets that telephone expenses waste caused by call forwarding function is arranged, and bring convenience for user.
Wherein, subscriber identification card can be SIM card (Subscriber Identity Module, client's identification mould Block), it is also possible to upgrade version usim card (Universal Subscriber Identity Module, the user whole world of SIM card Identification card).
In one embodiment, step 101 obtains the first subscriber identification card and second user identification card respectively The situation of change of state can be executed specifically as following steps A1-A3:
In step A1, judge whether the first subscriber identification card and second user identification card leave respective return Possession.
Wherein, ownership place is the area for opening subscriber identification card, and after subscriber identification card is opened, ownership place is It is unalterable.Therefore whether the situation of change that ownership place judges state can be left by subscriber identification card.
In step A2, when the first subscriber identification card has left its ownership place, the first user identity identification is determined Card stays net state from ownership place and switches to roaming state;When the first subscriber identification card does not leave ownership place, first is determined The state of subscriber identification card is that ownership place stays net state;When second user identification card has left its ownership place, really Determine second user identification card and switches to roaming state in net state from ownership place;When second user identification card does not leave When ownership place, determine that the state of second user identification card is that ownership place stays net state.
Such as: if the ownership place of the first subscriber identification card is Beijing, if the first subscriber identification card has left When Beijing, then the first subscriber identification card stays net state from ownership place and switches to roaming state, if not leaving Beijing, the One subscriber identification card is in ownership place, and in net state, (actual conditions may be to be constantly in ownership place in net state, can also It can be that ownership place is switched to from roaming state in net state, both of which, which can be considered, stays net state in ownership place).
In one embodiment, step A2 judge the first subscriber identification card and second user identification card whether from The method for opening respective ownership place can have following three kinds:
The first: judging according to geographical location information.
At this point, step A2 judges whether the first subscriber identification card and second user identification card leave respective return The process in possession is: obtaining geographical location information;Judging the ownership place of geographical location information and the first subscriber identification card is It is no consistent, judge whether geographical location information is consistent with the ownership place of second user identification card;When geographical location information with When the ownership place of first subscriber identification card is consistent, determine that the first subscriber identification card does not leave its ownership place;Work as geography When the ownership place of location information and the first subscriber identification card is inconsistent, determine that the first subscriber identification card has left it and returned Possession;When geographical location information is consistent with the ownership place of second user identification card, second user identification card is determined Its ownership place is not left;When the ownership place of geographical location information and second user identification card is inconsistent, the second use is determined Family identification card has left its ownership place.
In one embodiment, geographical location information can be GPS(Global Positioning System, and the whole world is fixed Position system), it is assumed that the ownership place of the first subscriber identification card is Beijing, if GPS positioning is to current first user identity identification Geographical location locating for the terminal device of card is Tianjin, then can determine the terminal device institute of current first subscriber identification card The geographical location at place and the geographical location of the ownership place of the first subscriber identification card are inconsistent, and one is Beijing, and one is day Saliva is to be currently in roaming state then can determine that the first subscriber identification card has left its ownership place.
Second: being judged according to geographical location variation.
The first preset threshold is configured for the first subscriber identification card in advance, for second user identification card configuration second Preset threshold.
At this point, step A2 judges whether the first subscriber identification card and second user identification card leave respective return The process in possession is: obtaining geographical location variable quantity;Judge whether geographical location variable quantity is equal to or more than the first preset threshold, Judge whether geographical location variable quantity is equal to or more than the second preset threshold;When geographical location variation is equal to or more than first in advance If when threshold value, determining that the first subscriber identification card has left its ownership place;When geographical location variation is less than the first default threshold When value, determine that the first subscriber identification card does not leave its ownership place;It is preset when geographical location variation is equal to or more than second When threshold value, determine that second user identification card has left its ownership place;When geographical location variation is less than the second preset threshold When, determine that second user identification card does not leave its ownership place.
In one embodiment, the first preset threshold and the second preset threshold can be the threshold values of a geographic range, Such as Pekinese's range is 16410.54 square kilometres, if the ownership place of the first subscriber identification card is Beijing, can be set at this time Setting the first preset threshold is 16000 square kilometres, when the geographical location variable quantity of the first subscriber identification card is greater than or equal to At 16000 square kilometres of preset threshold, it may be determined that the first subscriber identification card has left ownership place Beijing;When first user's body When the geographical location variable quantity of part identification card is less than 16000 square kilometres of preset threshold, it may be determined that the first subscriber identification card Ownership place Beijing is not left.Second user identification and the second preset threshold comparison procedure can refer to above-mentioned first user identity Identification card and the first preset threshold comparison procedure, no longer illustrate here.
The third: judging according to the message that base station is sent.
At this point, step A2 judges whether the first subscriber identification card and second user identification card leave respective return The process in possession is: obtaining the message that base station is sent;When base station is the base station of the ownership place of the first subscriber identification card, really Fixed first subscriber identification card does not leave ownership place;When base station is not the base station of the ownership place of the first subscriber identification card When, determine that the first subscriber identification card has left ownership place;When base station is the base of the ownership place of second user identification card When standing, determine that second user identification card does not leave ownership place;When base station is not the ownership place of second user identification card Base station when, determine that second user identification card has left ownership place.
In one embodiment, the message that base station is sent can be notification message or other any one can recognize that base The message in geographical location locating for standing.For example, the ownership place of the first subscriber identification card is Tianjin, if the first user identity identification Card enters in the circle of Beijing, just will receive the notification message sent by Beijing base station, such as " Beijing welcomes you ", " Custom House Welcome to Custom House head The notification messages such as all Beijing ", therefore the first user identity can be accurately judged by obtaining the notification message that base station is sent Whether identification card leaves ownership place.
In one embodiment, step 102 is " respectively according to the first subscriber identification card and second user identification card The situation of change of state carries out the setting operation of call forwarding ", it specifically may be embodied as following five kinds of modes:
Mode one stays net state from ownership place when the first subscriber identification card and switches to roaming state and second user The state of identification card is ownership place when in net state, opens call forwarding function, by coming for the first subscriber identification card On electrotransfer to second user identification card.
It is costly under roaming state that the first subscriber identification card can be saved in this way, also can normally answer The incoming call of one subscriber identification card is brought conveniently to user.
Mode two, when the state of the first subscriber identification card is ownership place when in net state, the first user identity of detection Whether the call forwarding function of identification card is opened;When the call forwarding function for detecting the first subscriber identification card is opened, Shutdown call forwarding function.
In one embodiment, the state of the first subscriber identification card can be in net state for ownership place and be constantly in Ownership place is stayed net state and is not changed, and the state for being also possible to the first subscriber identification card switches to ownership place from roaming state In net state, when both of these case, can detect whether to open call forwarding function, if there is call forwarding function is opened, Call forwarding function can be automatically closed, so that the first subscriber identification card restores normal operating conditions.
Mode three, when the first subscriber identification card and second user identification card are from ownership place switching in net state When to roaming state, if the call cost of the first subscriber identification card be higher than the call of second user identification card at This, then open call forwarding function, the incoming call of the first subscriber identification card be transferred on second user identification card.
In one embodiment, the state of the first subscriber identification card and second user identification card is all in roaming State, certain wandering fee will be collected by usually receiving calls in roaming state, that is, receives calls and have call cost, this When can call automatically and be transferred to the lower-cost subscriber identification card of call and answer, save telephone expenses for user.
Mode four, when the first subscriber identification card and second user identification card are from ownership place switching in net state When to roaming state, if the credit balance of the first subscriber identification card is lower than the credit balance of second user identification card When, then call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card.
In one embodiment, the state of the first subscriber identification card and second user identification card is all in roaming State, two cards have call cost, when the first subscriber identification card has incoming call, if the telephone expenses of the first subscriber identification card Sorry, your ticket has not enough value, in order to avoid the first subscriber identification card causes the case where shutting down because receiving calls, terminal device meeting Call forwarding function is automatically turned on, the incoming call of the first subscriber identification card is transferred on second user identification card, is protected Having demonstrate,proved the first subscriber identification card can work normally, and bring conveniently to user.
Mode five, when the first subscriber identification card and second user identification card are from ownership place switching in net state When to roaming state, if the signal strength of the first subscriber identification card is less than the signal strength of second user identification card When, then call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card.
In one embodiment, the first subscriber identification card is " XX operator " card, and second user identification card is " YY operator " card, the first subscriber identification card and second user identification card are away from ownership place and go to mountain in net state Area goes on business, because the signal that the signal of " XX operator " card does not have " YY operator " to block is good the reason of base station range, this When, in order to guarantee that normal talking and speech quality, terminal device can automatically turn on call forwarding function, the first user identity is known The incoming call not blocked is transferred on second user identification card.
In one embodiment, have in aforesaid way one, mode three, mode four and mode five and " open call forwarding function Can, the incoming call of the first subscriber identification card is transferred on second user identification card " the step for, which can be specific It is embodied as following steps B1-B2:
In step bl is determined, whether detection second user identification card can normal use.
Wherein, normal use refers to that second user identification card can normally receive calls, do not shut down or fall net etc. The case where influencing phone incoming call.
In step B2, when second user identification card energy normal use, call forwarding function is opened, first is used The incoming call of family identification card is transferred on second user identification card.And when second user identification card cannot normally make Used time, the setting without call forwarding operate, and the incoming call of the first subscriber identification card is connect by the first subscriber identification card It listens.
It is not blindness, unconditional execution call forwarding the advantage of doing so is that ensure that normally answering for phone, So that the technical solution in the present embodiment is relatively reliable.
It should be noted that above-mentioned all optional embodiments can be any group by the way of combining in practical application It closes, forms the alternative embodiment of the disclosure, this is no longer going to repeat them.
Technical solution provided by the present disclosure is described in detail below by five specific embodiments.
Embodiment one
Be as shown in Figure 2 a kind of setting method of call forwarding shown according to an exemplary embodiment the first preferably Embodiment, which can be applicable to such a scene: user uses the mobile phone of double-card dual-standby, wherein SIM1 card Ownership place is Beijing, and the ownership place of SIM2 card is Tianjin, and when user goes on business from Beijing to Tianjin, terminal device is executable strictly according to the facts The process of example one is applied, saves telephone expenses for user.Embodiment one includes the following steps:
In step 201, the period obtains geographical location information locating for mobile phone to mobile phone at preset timed intervals, and at a time The geographical location got is Tianjin.
In step 202, mobile phone judges whether above-mentioned geographical location information is consistent with the ownership place of SIM1 card and SIM2 card.
In step 203, mobile phone judges that ownership place Beijing of above-mentioned geographical location information and SIM1 card is inconsistent, with The ownership place Tianjin of SIM2 card is consistent.
In step 204, mobile phone determines that SIM1 card has left its ownership place, and state is switched to from ownership place in net state Roaming state, SIM2 card are that ownership place stays net state.
In step 205, mobile phone opens call forwarding function, and the incoming call of SIM1 card is transferred on SIM2 card by setting.
Wherein, step 205 can be executed specifically are as follows: whether mobile phone detection SIM2 card can work normally;When detecting SIM2 card When can work normally, call forwarding function is opened, the incoming call of SIM1 card is transferred on SIM2 card by setting.Later, mobile phone according to Above-mentioned setting result executes call transfer operation.
Wherein, Fig. 3 A is mobile phone normal Standby interface schematic diagram, and Fig. 3 B is that mobile phone interface shows when executing call transfer operation It is intended to.Network topological diagram can be as shown in Figure 4.
In embodiment one, call forwarding can be set automatically according to the situation of change of the respective state of SIM1 card and SIM2 card Function is not required to user's manual setting so that the setting of call forwarding is intelligent, automation, avoids user and forgets setting calling Telephone expenses waste caused by forwarding function, bring convenience for user.
Embodiment two
Be as shown in Figure 5 second of a kind of setting method of call forwarding shown according to an exemplary embodiment preferably Embodiment, which can be applicable to such a scene: user uses the mobile phone of double-card dual-standby, wherein SIM1 card with The ownership place of SIM2 card is Beijing, in roaming state, SIM1 card to answer cost relatively high, mobile phone is executable strictly according to the facts at this time The process of example two is applied, saves telephone expenses for user.Embodiment two includes the following steps:
In step 501, mobile phone obtains the geographical location variable quantity of itself according to predetermined period, and obtains in a certain period To the geographical location variable quantity X of itself.
In step 502, mobile phone judges that the geographical location variable quantity X of itself (is set with the first preset threshold for SIM1 card Set) or the second preset threshold (for SIM2 card setting) size relation.
In step 503, mobile phone judges that the geographical location variable quantity X of itself is all larger than the first preset threshold and second in advance If threshold value.
In step 504, mobile phone determines that SIM1 card and SIM2 card are away from its ownership place and are in roaming state, and judges The call of the call cost ratio SIM2 card of SIM1 card is at high cost out.
In step 505, mobile phone opens call forwarding function, and the incoming call of SIM1 card is transferred on SIM2 card.
Wherein, step 505 can be executed specifically are as follows: whether mobile phone detection SIM2 card can work normally;When detecting SIM2 card When can work normally, call forwarding function is opened, the incoming call of SIM1 card is transferred on SIM2 card by setting.Later, mobile phone according to Above-mentioned setting result executes call transfer operation.
Wherein Fig. 3 A is mobile phone normal Standby interface schematic diagram, and Fig. 3 B is that mobile phone interface is illustrated when executing call transfer operation Figure.Network topological diagram can be as shown in Figure 4.
In embodiment two, under the two equal roaming states of card, it can be set automatically according to the call cost of SIM1 card and SIM2 card Call forwarding function is set, telephone expenses has been saved for user, has improved user experience.
Embodiment three
Be as shown in Figure 6 a kind of setting method of call forwarding shown according to an exemplary embodiment the third preferably Embodiment, which can be applicable to such a scene: user uses the mobile phone of double-card dual-standby, wherein SIM1 card with The ownership place of SIM2 card is Beijing, and Sorry, your ticket has not enough value for the telephone expenses of SIM1 card, and the credit balance of SIM2 card is more, in roaming state The process of the executable such as embodiment three of terminal device, saves telephone expenses for user.Embodiment three includes the following steps:
In step 601, mobile phone receives the notification message " welcoming you in Tianjin " that base station is sent.
In step 602, mobile phone judges SIM1 card and SIM2 card according to the notification message " welcoming you in Tianjin " received Respective ownership place is left.
In step 603, mobile phone determines SIM1 card and SIM2 card is in roaming state, and the credit balance of SIM1 card is not Foot.
In step 604, mobile phone opens call forwarding function, and the incoming call of SIM1 card is transferred on SIM2 card.
Wherein, step 604 can be executed specifically are as follows: whether mobile phone detection SIM2 card can work normally;When detecting SIM2 card When can work normally, call forwarding function is opened, the incoming call of SIM1 card is transferred on SIM2 card by setting.Later, mobile phone according to Above-mentioned setting result executes call transfer operation.
Wherein Fig. 3 A is mobile phone normal Standby interface schematic diagram, and Fig. 3 B is that mobile phone interface is illustrated when executing call transfer operation Figure.Network topological diagram can be as shown in Figure 4.
It, can be according to the credit balance situation of SIM1 card and SIM2 card, certainly under the two equal roaming states of card in embodiment three Dynamic setting call forwarding function, can guarantee the normal work of two cards in this way, avoids the call of user from breaking down, improve user Experience.
Example IV
Be as shown in Figure 7 the 4th kind of a kind of setting method of call forwarding shown according to an exemplary embodiment preferably Embodiment, which can be applicable to such a scene: user uses the mobile phone of double-card dual-standby, and wherein SIM1 card is returned Possession is Beijing, and user returns to Beijing from Tianjin, i.e. the state of SIM1 card switches to ownership place from roaming state and stays net state, this When, the process of the executable such as example IV of terminal device saves telephone expenses for user.Example IV includes the following steps:
In step 701, the ownership place that mobile phone obtains SIM1 card is Beijing.
In a step 702, mobile phone judges that the state of SIM1 card switches to ownership place in net state from roaming state.
In step 703, mobile phone detects that the call forwarding function of SIM1 card is opened.
In step 704, mobile phone closes the call forwarding function of SIM1 card.
In example IV, when SIM1 card is by roaming state switching regression possession when in net state, call forwarding is automatically closed Function is manually operated without user so that SIM1 card can automatically reply normal work, improves user experience.
Embodiment five
Be as shown in Figure 8 the 5th kind of a kind of setting method of call forwarding shown according to an exemplary embodiment preferably Embodiment, which can be applicable to such a scene: user uses the mobile phone of double-card dual-standby, wherein SIM1 card with The ownership place of SIM2 is Beijing, and SIM1 card is the card of " XX operator ", and SIM2 card is the card of " YY operator ", and user goes to other places Mountain area is played, and at mountain area, the signal of SIM1 card does not have the signal strength of SIM2 card high, at this point, terminal device is executable such as embodiment Five process guarantees the speech quality of user.Embodiment five includes the following steps:
In step 801, the period obtains geographical location information locating for mobile phone to mobile phone at preset timed intervals, and at a time The geographical location got is Guizhou.
In step 802, mobile phone judges the ownership place north of above-mentioned geographical location information Guizhou and SIM1 card and SIM2 card Capital of a country is inconsistent.
In step 803, mobile phone judges that SIM1 card and SIM2 card are away from its ownership place and are in roaming state, and SIM1 The signal strength of card is lower than the signal strength of SIM2 card.
In step 804, mobile phone opens call forwarding function, and the incoming call of SIM1 card is transferred on SIM2 card.
In step 804, it can specifically execute are as follows: whether mobile phone detection SIM2 card can work normally;When detecting SIM2 card When can work normally, call forwarding function is opened, the incoming call of SIM1 card is transferred on SIM2 card by setting.Later, mobile phone according to Above-mentioned setting result executes call transfer operation.
Wherein Fig. 3 A is mobile phone normal Standby interface schematic diagram, and Fig. 3 B is that mobile phone interface is illustrated when executing call transfer operation Figure.Network topological diagram can be as shown in Figure 9.
In embodiment five, the step of call forwarding function is set from the aspect of signal strength, it ensure that and receive calls Quality improves the intelligence of terminal device.
The foregoing describe a kind of realization process for the setting method that call forwarding is arranged, which can be realized by device, under Built-in function and structure in face of device are introduced.
Figure 10 is a kind of block diagram of the setting device of call forwarding shown according to an exemplary embodiment, which includes Obtain module 1001 and setup module 1002.
The acquisition module 1001 is configured as obtaining the first subscriber identification card and second user identification card respectively The situation of change of state, state include that ownership place stays net state or roaming state.
The setup module 1002 is configured as according to the first subscriber identification card and second user identification card respectively The situation of change of state carries out the setting operation of call forwarding.
In one embodiment, as shown in figure 11, above-mentioned acquisition module 1001 can include: judging unit 1101 and determining list Member 1102.
The judging unit 1101 is configured as judging whether are the first subscriber identification card and second user identification card Leave respective ownership place;
The determination unit 1102 is configured as determining the first use when the first subscriber identification card has left its ownership place Family identification card stays net state from ownership place and switches to roaming state;When the first subscriber identification card does not leave ownership place When, determine that the state of the first subscriber identification card is that ownership place stays net state;When second user identification card has left it When ownership place, determine that second user identification card stays net state from ownership place and switches to roaming state;When second user identity When identification card does not leave ownership place, determine that the state of second user identification card is that ownership place stays net state.
In one embodiment, above-mentioned judging unit can include: first obtains subelement, the first judgment sub-unit and first Determine subelement.
The first acquisition subelement is configured as obtaining geographical location information;
First judgment sub-unit is configured as judging the ownership place of geographical location information and the first subscriber identification card It is whether consistent, judge whether geographical location information is consistent with the ownership place of second user identification card;
The first determining subelement is configured as the ownership place one when geographical location information and the first subscriber identification card When cause, determine that the first subscriber identification card does not leave its ownership place;When geographical location information and the first subscriber identification card Ownership place it is inconsistent when, determine that the first subscriber identification card has left its ownership place;When geographical location information and second are used When the ownership place of family identification card is consistent, determine that second user identification card does not leave its ownership place;When geographical location is believed When the ownership place of breath and second user identification card is inconsistent, determine that second user identification card has left its ownership place.
In one embodiment, above-mentioned judging unit may also include that the second acquisition subelement, the second judgment sub-unit and Two determine subelement.
The second acquisition subelement is configured as obtaining geographical location variable quantity;
Second judgment sub-unit is configured as judging whether geographical location variable quantity is equal to or more than the first preset threshold, Judge whether geographical location variable quantity is equal to or more than the second preset threshold;
The second determining subelement is configured as determining when geographical location variation is equal to or more than the first preset threshold First subscriber identification card has left its ownership place;When geographical location variation is less than the first preset threshold, first is determined Subscriber identification card does not leave its ownership place;When geographical location variation is equal to or more than the second preset threshold, the is determined Two subscriber identification cards have left its ownership place;When geographical location variation is less than the second preset threshold, the second use is determined Family identification card does not leave its ownership place.
In one embodiment, above-mentioned judging unit may also include that third obtains subelement, third judgment sub-unit and the Three determine subelement.
The third obtains subelement and is configured as obtaining the message that base station is sent;
The third determines that subelement is configured as when base station is the base station of the ownership place of the first subscriber identification card, really Fixed first subscriber identification card does not leave ownership place;When base station is not the base station of the ownership place of the first subscriber identification card When, determine that the first subscriber identification card has left ownership place;When base station is the base of the ownership place of second user identification card When standing, determine that second user identification card does not leave ownership place;When base station is not the ownership place of second user identification card Base station when, determine that second user identification card has left ownership place.
In one embodiment, as shown in figure 12, above-mentioned setup module 1002 can include: the first setting unit 1201, Two setting units 1202, third setting unit 1203, the 4th setting unit 1204 and the 5th setting unit 1205.
First setting unit 1201 is configured as switching to from ownership place in net state when the first subscriber identification card The state of roaming state and second user identification card is ownership place when in net state, call forwarding function is opened, by first The incoming call of subscriber identification card is transferred on second user identification card;
Second setting unit 1202 is configured as when the state of the first subscriber identification card being that ownership place stays net state When, whether the call forwarding function of the first subscriber identification card of detection is opened;When detecting the first subscriber identification card When call forwarding function is opened, shutdown call forwarding function;
The third setting unit 1203 is configured as when the first subscriber identification card and second user identification card are equal When switching to roaming state in net state from ownership place, if the call cost of the first subscriber identification card is higher than second user The call cost of identification card, then open call forwarding function, and the incoming call of the first subscriber identification card is transferred to second On subscriber identification card;
4th setting unit 1204 is configured as when the first subscriber identification card and second user identification card are equal When switching to roaming state in net state from ownership place, if the credit balance of the first subscriber identification card is lower than second user When the credit balance of identification card, then call forwarding function is opened, the incoming call of the first subscriber identification card is transferred to On two subscriber identification cards;
5th setting unit 1205 is configured as when the first subscriber identification card and second user identification card are equal When switching to roaming state in net state from ownership place, if the signal strength of the first subscriber identification card is less than second user When the signal strength of identification card, then call forwarding function is opened, the incoming call of the first subscriber identification card is transferred to On two subscriber identification cards.
In one embodiment, above-mentioned first setting unit, the second setting unit, third setting unit, the 4th setting are single Member, any one setting unit in the 5th setting unit or multiple setting units can respectively include detection sub-unit and open son list Member:
Whether detection sub-unit is configured as detection second user identification card can normal use;
It opens subelement to be configured as when second user identification card energy normal use, opens call forwarding function, The incoming call of first subscriber identification card is transferred on second user identification card.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 13 is a kind of block diagram of setting device 800 for call forwarding shown according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Conjunction realization, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only memory (EPROM), programmable read-only memory (prom), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between device 800 and user.In some realities It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia component 808 includes One front camera and/or rear camera.It is such as in a shooting mode or a video mode, preceding when equipment 800 is in operation mode It sets camera and/or rear camera can receive external multi-medium data.Each front camera and rear camera can Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor module 814 can be with the position of 800 1 components of detection device 800 or device Set change, the existence or non-existence that user contacts with device 800, the temperature in 800 orientation of device or acceleration/deceleration and device 800 Variation.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 further includes Near Field Communication (NFC) module, to promote short range communication.For example, Radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra wideband (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing equipment (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, Non-transitorycomputer readable storage medium can be ROM, random-access memory (ram), CD-ROM, tape, floppy disk and light Data storage device etc..
The embodiment of the present disclosure also proposed a kind of setting device of call forwarding, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The situation of change of the respective state of the first subscriber identification card and second user identification card is obtained, state includes Ownership place stays net state or roaming state;
According to the situation of change of the respective state of the first subscriber identification card and second user identification card, called The setting of transfer operates.
The processor is also configured to judge whether the first subscriber identification card and second user identification card leave Respective ownership place;
When the first subscriber identification card has left its ownership place, determine that the first subscriber identification card is stayed from ownership place Net state switches to roaming state;When the first subscriber identification card does not leave ownership place, the first user identity identification is determined The state of card is that ownership place stays net state;
When second user identification card has left its ownership place, determine that second user identification card is stayed from ownership place Net state switches to roaming state;When second user identification card does not leave ownership place, second user identification is determined The state of card is that ownership place stays net state.
The processor is also configured to obtain geographical location information;
Judge whether geographical location information is consistent with the ownership place of the first subscriber identification card, judges geographical location information It is whether consistent with the ownership place of second user identification card;
When geographical location information is consistent with the ownership place of the first subscriber identification card, the first user identity identification is determined Card does not leave its ownership place;When the ownership place of geographical location information and the first subscriber identification card is inconsistent, first is determined Subscriber identification card has left its ownership place;When geographical location information is consistent with the ownership place of second user identification card When, determine that second user identification card does not leave its ownership place;When geographical location information and second user identification card When ownership place is inconsistent, determine that second user identification card has left its ownership place.
The processor is also configured to obtain geographical location variable quantity;
Judge whether geographical location variable quantity is equal to or more than the first preset threshold, judge geographical location variable quantity whether etc. In or greater than the second preset threshold;
When geographical location variation is equal to or more than the first preset threshold, determine that the first subscriber identification card has left Its ownership place;When geographical location variation is less than the first preset threshold, determine that the first subscriber identification card does not leave it and returns Possession;When geographical location variation is equal to or more than the second preset threshold, determine that second user identification card has left it Ownership place;When geographical location variation is less than the second preset threshold, determine that second user identification card does not leave its ownership Ground.
The processor is also configured to obtain the message that base station is sent;
When base station is the base station of the ownership place of the first subscriber identification card, determine the first subscriber identification card not from Open ownership place;When base station is not the base station of the ownership place of the first subscriber identification card, the first subscriber identification card is determined Ownership place is left;When base station is the base station of the ownership place of second user identification card, second user identification is determined Card does not leave ownership place;When base station is not the base station of the ownership place of second user identification card, second user identity is determined Identification card has left ownership place.
The processor is also configured to switch to roaming shape in net state from ownership place when the first subscriber identification card State and the state of second user identification card are ownership place when in net state, call forwarding function are opened, by first user's body The incoming call of part identification card is transferred on second user identification card;
When the state of the first subscriber identification card is ownership place when in net state, first subscriber identification card is detected Whether call forwarding function is opened;When the call forwarding function for detecting the first subscriber identification card is opened, shutdown call Forwarding function;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the call cost of the first subscriber identification card is higher than the call cost of second user identification card, open Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the credit balance of the first subscriber identification card is lower than the credit balance of second user identification card, Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the signal strength of the first subscriber identification card is less than the signal strength of second user identification card, Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card.
Whether the processor is also configured to detection second user identification card can normal use;
When second user identification card energy normal use, call forwarding function is opened, by the first user identity identification The incoming call of card is transferred on second user identification card.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of mobile terminal When row, so that mobile terminal is able to carry out a kind of setting method of call forwarding, method includes:
The situation of change of the respective state of the first subscriber identification card and second user identification card is obtained, state includes Ownership place stays net state or roaming state;
According to the situation of change of the respective state of the first subscriber identification card and second user identification card, called The setting of transfer operates.
The storage medium further includes executing to give an order: judging the first subscriber identification card and second user identification Whether card leaves respective ownership place;
When the first subscriber identification card has left its ownership place, determine that the first subscriber identification card is stayed from ownership place Net state switches to roaming state;When the first subscriber identification card does not leave ownership place, the first user identity identification is determined The state of card is that ownership place stays net state;
When second user identification card has left its ownership place, determine that second user identification card is stayed from ownership place Net state switches to roaming state;When second user identification card does not leave ownership place, second user identification is determined The state of card is that ownership place stays net state.
The storage medium further includes executing to give an order: obtaining geographical location information;
Judge whether geographical location information is consistent with the ownership place of the first subscriber identification card, judges geographical location information It is whether consistent with the ownership place of second user identification card;
When geographical location information is consistent with the ownership place of the first subscriber identification card, the first user identity identification is determined Card does not leave its ownership place;When the ownership place of geographical location information and the first subscriber identification card is inconsistent, first is determined Subscriber identification card has left its ownership place;When geographical location information is consistent with the ownership place of second user identification card When, determine that second user identification card does not leave its ownership place;When geographical location information and second user identification card When ownership place is inconsistent, determine that second user identification card has left its ownership place.
The storage medium further includes executing to give an order: obtaining geographical location variable quantity;
Judge whether geographical location variable quantity is equal to or more than the first preset threshold, judge geographical location variable quantity whether etc. In or greater than the second preset threshold;
When geographical location variation is equal to or more than the first preset threshold, determine that the first subscriber identification card has left Its ownership place;When geographical location variation is less than the first preset threshold, determine that the first subscriber identification card does not leave it and returns Possession;When geographical location variation is equal to or more than the second preset threshold, determine that second user identification card has left it Ownership place;When geographical location variation is less than the second preset threshold, determine that second user identification card does not leave its ownership Ground.
The storage medium further includes executing to give an order: obtaining the message that base station is sent;
When base station is the base station of the ownership place of the first subscriber identification card, determine the first subscriber identification card not from Open ownership place;When base station is not the base station of the ownership place of the first subscriber identification card, the first subscriber identification card is determined Ownership place is left;When base station is the base station of the ownership place of second user identification card, second user identification is determined Card does not leave ownership place;When base station is not the base station of the ownership place of second user identification card, second user identity is determined Identification card has left ownership place.
The storage medium further includes executing to give an order: when the first subscriber identification card is from ownership place switching in net state It is ownership place when in net state, unlatching call forwarding function, by the to the state of roaming state and second user identification card The incoming call of one subscriber identification card is transferred on second user identification card;
When the state of the first subscriber identification card is ownership place when in net state, first subscriber identification card is detected Whether call forwarding function is opened;When the call forwarding function for detecting the first subscriber identification card is opened, shutdown call Forwarding function;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the call cost of the first subscriber identification card is higher than the call cost of second user identification card, open Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the credit balance of the first subscriber identification card is lower than the credit balance of second user identification card, Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card;
Net state, which is stayed, from ownership place when the first subscriber identification card and second user identification card switches to roaming When state, if the signal strength of the first subscriber identification card is less than the signal strength of second user identification card, Call forwarding function is opened, the incoming call of the first subscriber identification card is transferred on second user identification card.
The storage medium further includes executing to give an order: whether detection second user identification card can normal use;
When second user identification card energy normal use, call forwarding function is opened, by the first user identity identification The incoming call of card is transferred on second user identification card.
The embodiment of the present disclosure can be according to the respective state of the first subscriber identification card and second user identification card Call forwarding function is arranged in situation of change automatically, so that the setting of call forwarding is intelligent, automation, is not required to user and sets manually It sets, avoids user and forget that telephone expenses waste caused by call forwarding function is arranged, and bring convenience for user.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of setting method of call forwarding characterized by comprising
The situation of change of the respective state of the first subscriber identification card and second user identification card is obtained, the state includes Ownership place stays net state or roaming state;
According to the situation of change of the respective state of first subscriber identification card and second user identification card, called The setting of transfer operates;
The situation of change according to the respective state of first subscriber identification card and second user identification card, carries out The setting of call forwarding operates, comprising:
Net state, which is stayed, from ownership place when first subscriber identification card switches to roaming state and the second user identity The state of identification card is ownership place when in net state, opens call forwarding function, by coming for first subscriber identification card On electrotransfer to the second user identification card;
When the state of first subscriber identification card is ownership place when in net state, detection first user identity identification Whether the call forwarding function of card is opened;When the call forwarding function for detecting first subscriber identification card is opened, Shutdown call forwarding function;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the call cost of first subscriber identification card be higher than the second user identification card call at This, then open call forwarding function, and the incoming call of first subscriber identification card is transferred to the second user identity and is known Not Ka on;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the credit balance of first subscriber identification card lower than the second user identification card telephone expenses more than When volume, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user identity On identification card;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the signal that the signal strength of first subscriber identification card is less than the second user identification card is strong When spending, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user identity On identification card.
2. the method according to claim 1, wherein the first subscriber identification card of the acquisition and second user The situation of change of the respective state of identification card, comprising:
Judge whether first subscriber identification card and second user identification card leave respective ownership place;
When first subscriber identification card has left its ownership place, determine first subscriber identification card from ownership Ground stays net state and switches to roaming state;When first subscriber identification card does not leave ownership place, described first is determined The state of subscriber identification card is that ownership place stays net state;
When the second user identification card has left its ownership place, determine the second user identification card from ownership Ground stays net state and switches to roaming state;When the second user identification card does not leave ownership place, described second is determined The state of subscriber identification card is that ownership place stays net state.
3. according to the method described in claim 2, it is characterized in that, the judgement first subscriber identification card and second Whether subscriber identification card leaves respective ownership place, comprising:
Obtain geographical location information;
Judge whether the geographical location information is consistent with the ownership place of first subscriber identification card, judges the geography Whether location information is consistent with the ownership place of the second user identification card;
When the geographical location information is consistent with the ownership place of first subscriber identification card, first user is determined Identification card does not leave its ownership place;When the geographical location information and first subscriber identification card ownership place not When consistent, determine that first subscriber identification card has left its ownership place;When the geographical location information and described second When the ownership place of subscriber identification card is consistent, determine that the second user identification card does not leave its ownership place;When described When the ownership place of geographical location information and the second user identification card is inconsistent, the second user identification is determined Card has left its ownership place.
4. according to the method described in claim 2, it is characterized in that, the judgement first subscriber identification card and second Whether subscriber identification card leaves respective ownership place, comprising:
Obtain geographical location variable quantity;
Judge whether the geographical location variable quantity is equal to or more than the first preset threshold, judges that the geographical location variable quantity is It is no to be equal to or more than the second preset threshold;
When the geographical location variable quantity is equal to or more than the first preset threshold, first subscriber identification card has been determined Leave its ownership place;When the geographical location variable quantity is less than the first preset threshold, first user identity identification is determined Card does not leave its ownership place;When the geographical location variable quantity is equal to or more than the second preset threshold, determine that described second uses Family identification card has left its ownership place;When the geographical location variable quantity is less than the second preset threshold, described is determined Two subscriber identification cards do not leave its ownership place.
5. according to the method described in claim 2, it is characterized in that, the judgement first subscriber identification card and second Whether subscriber identification card leaves respective ownership place, comprising:
Obtain the message that base station is sent;
When the base station is the base station of the ownership place of first subscriber identification card, determine that first user identity is known Do not block and does not leave ownership place;When the base station is not the base station of the ownership place of first subscriber identification card, institute is determined It states the first subscriber identification card and has left ownership place;When the base station is the ownership place of the second user identification card When base station, determine that the second user identification card does not leave ownership place;When the base station is not the second user identity When the base station of the ownership place of identification card, determine that the second user identification card has left ownership place.
6. the method according to claim 1, wherein the unlatching call forwarding function, by first user The incoming call of identification card is transferred on the second user identification card, comprising:
Whether detect the second user identification card can normal use;
When the second user identification card energy normal use, call forwarding function is opened, by first user identity The incoming call of identification card is transferred on the second user identification card.
7. a kind of setting device of call forwarding characterized by comprising
Module is obtained, for obtaining the variation feelings of the respective state of the first subscriber identification card and second user identification card Condition, the state include that ownership place stays net state or roaming state;
Setup module, for the variation according to the respective state of first subscriber identification card and second user identification card Situation carries out the setting operation of call forwarding;
The setup module includes:
First setting unit, for when first subscriber identification card from ownership place stay net state switch to roaming state, And the state of the second user identification card is ownership place when in net state, call forwarding function is opened, by described first The incoming call of subscriber identification card is transferred on the second user identification card;
Second setting unit, for when the state of first subscriber identification card be ownership place when in net state, detection institute Whether the call forwarding function for stating the first subscriber identification card is opened;When detecting exhaling for first subscriber identification card When forwarding function being made to open, shutdown call forwarding function;
Third setting unit, for being stayed from ownership place when first subscriber identification card and second user identification card When net state switches to roaming state, if the call cost of first subscriber identification card is higher than the second user body The call cost of part identification card, then open call forwarding function, the incoming call of first subscriber identification card be transferred to institute It states on second user identification card;
4th setting unit, for being stayed from ownership place when first subscriber identification card and second user identification card When net state switches to roaming state, if the credit balance of first subscriber identification card is lower than the second user body When the credit balance of part identification card, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to On the second user identification card;
5th setting unit, for being stayed from ownership place when first subscriber identification card and second user identification card When net state switches to roaming state, if the signal strength of first subscriber identification card is less than the second user body When the signal strength of part identification card, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to On the second user identification card.
8. device according to claim 7, which is characterized in that the acquisition module includes:
Judging unit, for judging it is respective whether first subscriber identification card and second user identification card leave Ownership place;
Determination unit, for determining the first user body when first subscriber identification card has left its ownership place Part identification card stays net state from ownership place and switches to roaming state;When first subscriber identification card does not leave ownership place When, determine that the state of first subscriber identification card is that ownership place stays net state;When the second user identification card When having left its ownership place, determine that the second user identification card stays net state from ownership place and switches to roaming state;When When the second user identification card does not leave ownership place, determine that the state of the second user identification card is ownership place In net state.
9. device according to claim 8, which is characterized in that the judging unit includes:
First obtains subelement, for obtaining geographical location information;
First judgment sub-unit, for judging that the ownership place of the geographical location information and first subscriber identification card is It is no consistent, judge whether the geographical location information is consistent with the ownership place of the second user identification card;
First determines subelement, consistent with the ownership place of first subscriber identification card for working as the geographical location information When, determine that first subscriber identification card does not leave its ownership place;When the geographical location information and first user When the ownership place of identification card is inconsistent, determine that first subscriber identification card has left its ownership place;When describedly When reason location information is consistent with the ownership place of the second user identification card, the second user identification card is determined not Leave its ownership place;When the ownership place of the geographical location information and the second user identification card is inconsistent, determine The second user identification card has left its ownership place.
10. device according to claim 8, which is characterized in that the judging unit includes:
Second obtains subelement, for obtaining geographical location variable quantity;
Second judgment sub-unit judges for judging whether the geographical location variable quantity is equal to or more than the first preset threshold Whether the geographical location variable quantity is equal to or more than the second preset threshold;
Second determines subelement, described in determining when the geographical location variable quantity is equal to or more than the first preset threshold First subscriber identification card has left its ownership place;When the geographical location variable quantity is less than the first preset threshold, determine First subscriber identification card does not leave its ownership place;When the geographical location variable quantity is equal to or more than the second default threshold When value, determine that the second user identification card has left its ownership place;When the geographical location variable quantity is pre- less than second If when threshold value, determining that the second user identification card does not leave its ownership place.
11. device according to claim 8, which is characterized in that the judging unit includes:
Third obtains subelement, for obtaining the message of base station transmission;
Third determines subelement, when for being the base station of ownership place of first subscriber identification card when the base station, really Fixed first subscriber identification card does not leave ownership place;When the base station is not returning for first subscriber identification card When the base station in possession, determine that first subscriber identification card has left ownership place;When the base station is the second user When the base station of the ownership place of identification card, determine that the second user identification card does not leave ownership place;When the base station When not being the base station of the ownership place of the second user identification card, determines that the second user identification card has left and return Possession.
12. device according to claim 7, which is characterized in that first setting unit, the second setting unit, third Setting unit, the 4th setting unit, any one setting unit or multiple setting units in the 5th setting unit respectively include:
Detection sub-unit, for detecting the second user identification card whether can normal use;
Subelement is opened, for call forwarding function being opened, by institute when the second user identification card energy normal use The incoming call for stating the first subscriber identification card is transferred on the second user identification card.
13. a kind of setting device of call forwarding characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The situation of change of the respective state of the first subscriber identification card and second user identification card is obtained, the state includes Ownership place stays net state or roaming state;
According to the situation of change of the respective state of first subscriber identification card and second user identification card, called The setting of transfer operates;
The situation of change according to the respective state of first subscriber identification card and second user identification card, carries out The setting of call forwarding operates, comprising:
Net state, which is stayed, from ownership place when first subscriber identification card switches to roaming state and the second user identity The state of identification card is ownership place when in net state, opens call forwarding function, by coming for first subscriber identification card On electrotransfer to the second user identification card;
When the state of first subscriber identification card is ownership place when in net state, detection first user identity identification Whether the call forwarding function of card is opened;When the call forwarding function for detecting first subscriber identification card is opened, Shutdown call forwarding function;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the call cost of first subscriber identification card be higher than the second user identification card call at This, then open call forwarding function, and the incoming call of first subscriber identification card is transferred to the second user identity and is known Not Ka on;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the credit balance of first subscriber identification card lower than the second user identification card telephone expenses more than When volume, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user identity On identification card;
Net state, which is stayed, from ownership place when first subscriber identification card and second user identification card switches to roaming When state, if the signal that the signal strength of first subscriber identification card is less than the second user identification card is strong When spending, then call forwarding function is opened, the incoming call of first subscriber identification card is transferred to the second user identity On identification card.
CN201410158724.9A 2014-04-18 2014-04-18 The setting method and device of call forwarding Expired - Fee Related CN105101125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410158724.9A CN105101125B (en) 2014-04-18 2014-04-18 The setting method and device of call forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410158724.9A CN105101125B (en) 2014-04-18 2014-04-18 The setting method and device of call forwarding

Publications (2)

Publication Number Publication Date
CN105101125A CN105101125A (en) 2015-11-25
CN105101125B true CN105101125B (en) 2019-03-29

Family

ID=54580474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410158724.9A Expired - Fee Related CN105101125B (en) 2014-04-18 2014-04-18 The setting method and device of call forwarding

Country Status (1)

Country Link
CN (1) CN105101125B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657663A (en) * 2016-02-25 2016-06-08 努比亚技术有限公司 Network switching method and device
CN106332031A (en) * 2016-08-18 2017-01-11 中国联合网络通信集团有限公司 Control method and device for call forwarding
CN107087267A (en) * 2017-03-30 2017-08-22 努比亚技术有限公司 Dynamic calling transfer device and method
US10368235B1 (en) * 2018-01-12 2019-07-30 Apple Inc. Wireless device SIM activation while roaming
CN108737956B (en) * 2018-05-04 2021-09-03 平安科技(深圳)有限公司 Dialing control method in terminal equipment, electronic equipment and storage medium
CN108650416A (en) * 2018-05-04 2018-10-12 平安科技(深圳)有限公司 The implementation method of pattern switching, device, electronic equipment and medium in terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345960A (en) * 2008-08-28 2009-01-14 宇龙计算机通信科技(深圳)有限公司 Method, system and multi-mode multi-standby mobile terminal for incoming call transfer
CN101505468A (en) * 2009-03-12 2009-08-12 中兴通讯股份有限公司 Method for implementing automatic call handover according to network status and multi-mode terminal
EP2120488A2 (en) * 2008-05-15 2009-11-18 Samsung Electronics Co., Ltd. Multiparty call processing method and apparatus for mobile terminal
CN102325316A (en) * 2008-03-21 2012-01-18 联发科技股份有限公司 means for transmitting a mobile origination request

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325316A (en) * 2008-03-21 2012-01-18 联发科技股份有限公司 means for transmitting a mobile origination request
EP2120488A2 (en) * 2008-05-15 2009-11-18 Samsung Electronics Co., Ltd. Multiparty call processing method and apparatus for mobile terminal
CN101345960A (en) * 2008-08-28 2009-01-14 宇龙计算机通信科技(深圳)有限公司 Method, system and multi-mode multi-standby mobile terminal for incoming call transfer
CN101505468A (en) * 2009-03-12 2009-08-12 中兴通讯股份有限公司 Method for implementing automatic call handover according to network status and multi-mode terminal

Also Published As

Publication number Publication date
CN105101125A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105101125B (en) The setting method and device of call forwarding
US8401593B2 (en) Enabling speaker phone mode of a portable voice communications device having a built-in camera
CN113766484B (en) Communication method, device, storage medium and electronic device
CN109548123A (en) Power consumption control method, device and the wearable device of wearable device
CN105553963B (en) The control method and device of positioning service
US11252623B2 (en) Network switching method, device and storage medium
CN105472676B (en) Method for connecting network and device
CN106792638B (en) Network connection method and terminal
CN104837154B (en) The control method and device of wireless access points
WO2015014246A1 (en) Method and apparatus for monitoring service usage of a mobile terminal
CN105554255B (en) Method of controlling operation thereof and device for terminal device
CN107846730A (en) Call transferring method and device
CN110463238A (en) Information reporting method and device, configuration method and device, multi-card terminal, base station
CN106604230B (en) Method and device for area configuration
CN106332194A (en) Network switching method and device
WO2021022474A1 (en) Mdt information sending method and apparatus, and mdt information receiving method and apparatus
CN104581667A (en) Call forwarding method and device
CN105162995B (en) Call processing method and device
CN105100348B (en) Phone call method and device
CN109451813A (en) Cell accessing method and device
CN105262895B (en) A kind of based reminding method and device of terminal
CN104918253B (en) Recognition methods, device and the terminal device of false base station
CN105704309A (en) Mobile terminal and method thereof for customizing incoming call prompt
CN105306690B (en) A kind of method and apparatus of processing communication information
CN109451840A (en) District staying method, device and user equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190329

CF01 Termination of patent right due to non-payment of annual fee