Nothing Special   »   [go: up one dir, main page]

CN106559591B - Mobile phone terminal conversation method and device based on call forwarding - Google Patents

Mobile phone terminal conversation method and device based on call forwarding Download PDF

Info

Publication number
CN106559591B
CN106559591B CN201510640073.1A CN201510640073A CN106559591B CN 106559591 B CN106559591 B CN 106559591B CN 201510640073 A CN201510640073 A CN 201510640073A CN 106559591 B CN106559591 B CN 106559591B
Authority
CN
China
Prior art keywords
call
network
mobile phone
phone terminal
call forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510640073.1A
Other languages
Chinese (zh)
Other versions
CN106559591A (en
Inventor
王务志
王军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510640073.1A priority Critical patent/CN106559591B/en
Publication of CN106559591A publication Critical patent/CN106559591A/en
Application granted granted Critical
Publication of CN106559591B publication Critical patent/CN106559591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a mobile phone terminal conversation method based on call forwarding, which comprises the following steps: monitoring whether a mobile phone terminal starts a network call; when monitoring that the mobile phone terminal starts network communication, setting call forwarding so as to forward an incoming call to a specific number when the incoming call is received, thereby maintaining a network communication state; the call forwarding setting is cancelled when the network call is ended. Meanwhile, a mobile phone terminal conversation device based on call forwarding is also provided. The method and the device of the invention set call forwarding for the incoming call, and replace the mobile phone number of the network call number with other specific numbers to answer the incoming call, thereby solving the problem of network call interruption caused by network disconnection in the network call process, and further improving the quality and experience of the network call of the user.

Description

Mobile phone terminal conversation method and device based on call forwarding
Technical Field
The invention relates to the field of mobile communication, in particular to a mobile phone terminal conversation method and a corresponding device based on call forwarding.
Background
Although the existing communication technology TD-SCDMA in our country has been developed to the third generation, the common voice and data services are respectively carried on different core networks, and the core network mainly includes two independent domains, one is a circuit domain for controlling voice services and the other is a packet domain for controlling data services. The problem that two services cannot be simultaneously achieved is that the existing technology has problems, and the Android system does not support the simultaneous maintenance of mobile calls and network calls. For example, when a user uses a 4G network to perform a wechat video or voice call, once there is an incoming call, a voice service will be generated to fall back and directly fall to 2G, which causes a network break of a mobile phone and interrupts the current ongoing wechat video or voice and other internet-based network calls, resulting in a reduction in user experience.
Disclosure of Invention
The invention aims to solve at least one problem and provides a method and a device for realizing mobile phone terminal conversation based on call forwarding.
In order to achieve the above object, the present invention provides a method for realizing a mobile phone terminal call based on call forwarding, which comprises the following steps:
monitoring whether a mobile phone terminal starts a network call;
when monitoring that the mobile phone terminal starts network communication, setting call forwarding so as to forward an incoming call to a specific number when the incoming call is received, thereby maintaining a network communication state;
the call forwarding setting is cancelled when the network call is ended.
Specifically, the specific number is any telephone number preset by the user.
Specifically, the specific number is a null number.
Preferably, the specific number is a preset secretary table number.
Specifically, the call forwarding is specifically set to unconditional call forwarding.
Further, the method also comprises the step of providing a network call interface, and receiving a network call instruction to initiate the network call.
Further, after the step of monitoring the mobile phone terminal to start the network call, the method also comprises the step of detecting the network type of the mobile phone terminal, wherein,
if the user is connected to the Internet through WiFi, call forwarding is not set;
call forwarding is set if the internet is connected through data traffic.
Specifically, the setting operation of the call forwarding is specifically executed before the network call is started.
Further, the method also comprises the step of providing a mobile call dialing interface, and receiving a mobile call dialing instruction to initiate the mobile call.
Preferably, the mobile phone terminal is in a single-card single-standby mode.
A mobile phone terminal conversation device based on call forwarding comprises:
a monitoring module: whether a network call is started or not is configured to a monitoring mobile phone terminal;
a call forwarding setting module: when monitoring that the mobile phone terminal starts the network call, setting call forwarding so as to forward the incoming call of the mobile call to a specific number, thereby maintaining the network call state;
a call transfer cancellation module: configured to cancel the call forwarding setting when the network telephony call is ended.
Specifically, the specific number is any telephone number preset by the user.
Specifically, the specific number is a null number.
Specifically, the specific number is a preset secretary table number.
Specifically, the call forwarding is specifically set to unconditional call forwarding.
The system further comprises a first interaction module, configured to provide a network call interface, and receive a network call instruction to initiate a network call.
Further, the mobile phone terminal also comprises a network type detection module for detecting the network type of the mobile phone terminal, wherein,
if the user is connected to the Internet through WiFi, call forwarding is not set;
call forwarding is set if the internet is connected through data traffic.
Specifically, the call forwarding setting module is executed before the network call is started.
The system further comprises a second interaction module, configured to provide a mobile call dialing interface, and receive a mobile call dialing instruction to initiate a mobile call.
Preferably, the mobile phone terminal is in a single-card single-standby mode or a dual-card single-standby mode.
Compared with the prior art, the scheme of the invention has the following advantages:
according to the invention, the incoming call of the mobile phone terminal in the network communication process is interfered by the background service, and the incoming call is transferred to the specific number, so that the mobile phone terminal cannot receive the incoming call, thereby avoiding the interruption of the network communication caused by switching the network from 4G to 2G during the incoming call, ensuring that the user can continuously carry out the network communication, and improving the network communication quality and experience of the user. In addition, the secretary platform is arranged to process incoming calls transferred to the secretary platform, and more convenient service is provided for users.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a call forwarding-based method for a mobile phone terminal according to the present invention;
fig. 2 is a schematic block diagram of a mobile phone terminal communication device implemented based on call forwarding according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
As will be appreciated by those skilled in the art, a remote network device, as used herein, includes, but is not limited to, a computer, a network host, a single network server, a collection of multiple network servers, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
In order to better illustrate the method of the present invention, an Android operating system is taken as an example for explanation. In order to monitor the network call state of the system, background services need to be set in the system based on Root rights (unless the Root rights are opened), so that the background services are communicated with the system based on a Binder mechanism.
As is well known, Root rights refer to system Administrator rights of Unix-type operating systems (including Linux and Android), similar to administeror rights in Windows systems; root rights allow access to and modification of almost all files in the user's mobile device (Android system files and user files, not including ROM). In view of this, various right-granting schemes are provided in the industry for obtaining Root rights of the Android system, so as to achieve user right-granting promotion and achieve the purpose of comprehensively controlling the operating system. According to the right-lifting schemes, the right-lifting schemes comprise permanent Root rights and temporary Root rights according to the life cycle of the right-lifting function, and as the name suggests, under the condition of the permanent Root rights, once the application program is authorized by the Root, the Root right lifting can be carried out no longer; under the condition of the temporary Root authority, the life cycle of the authority function is only the process from one time of starting to shutdown of the operating system, and Root still needs to be carried out when the operating system is started next time.
No matter what Root mode is adopted, the basic principle of privilege escalation is to implant a su for receiving a privilege request into a system, realize man-machine interaction by combining a Superuser. The method and the device for monitoring the network conversation behavior of the system acquire the Root authority so as to set the background service in the system to monitor the network conversation behavior of the system, but the adopted Root mode is not taken as a limitation to the method and the device.
Based on the principle, the Android system is taken as an example to explain the call transfer-based mobile phone terminal conversation method in detail. Referring to fig. 1, the specific steps are as follows:
s101, monitoring whether a mobile phone terminal starts a network call;
the monitoring of whether the mobile phone terminal starts the network call is specifically realized by a pre-registered background service. The background service referred to in this embodiment is a communication service process that is executed by a program module implemented in advance by the method, runs in a memory, and registers in the system after the aforementioned authorization operation is implemented by a corresponding main process in the memory. The background service registers to the System Manager based on a Binder mechanism provided by the Android System, and establishes a communication pipeline of a C/S architecture between the background service and a monitoring network conversation process thereof through the intrinsic Binder mechanism provided by the Android. Specifically, after the Root authority of the system is acquired, in order to facilitate the subsequent monitoring and related operation functions on other processes in the system, the method starts a main process which is formed by running the instantiated program of the method and has the obtained Root authority, inserts the background service into the system through the main process, and for example, the insertion operation can be realized by specifically calling a function servicemanager. It should be noted that, the background service process has become a service process at a system level through the above configuration, and its authority is obviously higher than that of other user layer service processes or application processes, so the background service process can serve as a communication basis to provide communication guarantee for other processes invoking it, and complete communication connection between the system and other processes invoking it. Therefore, the background service process has the capability of communicating with the network conversation process monitored by the background service process, the background service process and the network conversation process are communicated based on a Binder mechanism, and the communication mode has the characteristic of rapidness and stability. The background service process is mainly used for monitoring the network call process of the system so as to timely know whether the mobile phone terminal starts the network call based on the instruction of the user, thereby facilitating the execution of the subsequent incoming call transfer step.
The monitoring of the network call specifically refers to monitoring the network communication behavior of the corresponding communication software. For example, WeChat, QQ, easy-to-believe and the like, when a network call is started, the communication software can call back corresponding function interfaces of the system, such as a camera interface during a video call, an audio interface during a voice call and the like, a monitor is arranged at the function interfaces, when the function interfaces are called through a network call process, the monitor is triggered, and a message for starting the network call is transmitted to a background service through a related function for calling back the background service. Therefore, the monitoring of the behavior of whether the mobile phone terminal opens the network call can be realized.
It should be noted that the network call described in the present invention specifically refers to a voice or video call performed through the internet by accessing the internet through mobile data traffic, WiFi, and the like, and the implementation manner of the network call is not limited to the method described in the present invention.
S102, when the condition that the mobile phone terminal starts the network conversation is monitored, setting call forwarding so as to forward the incoming call to a specific number when the incoming call exists, and maintaining the network conversation state;
when the mobile phone terminal is monitored to start network communication, call forwarding is set to prevent the interruption of the network communication caused by switching the network to 2G when the incoming call exists, the incoming call is forwarded to other specific numbers, and the mobile phone terminal cannot receive any incoming call, so that the network communication state of the mobile phone terminal is maintained.
Preferably, after monitoring that the mobile phone terminal starts a network call, the method further includes detecting a current network type of the mobile phone terminal, where the specific code is as follows:
int getNetType(Context context)
{
int netType=-1;
ConnectivityManager conMgr=(ConnectivityManager)context.getSyst emService(Context.CONNECTIVITY_SERVICE);
NetworkInfo networkInfo=conMgr.getActiveNetworkInfo();
if(networkInfo==null)
{
return netType;
}
netType=networkInfo.getType();
}
when the netType is connectivity manager, type _ WIFI, it is judged that the current mobile phone terminal accesses the internet through WIFI, and since WIFI is based on wireless local area network principle communication, when there is an incoming call, it is not affected at all, so that the network call is not interrupted, and the network call can be maintained without setting call transfer under the condition.
When the netType is connectivity manager, type _ MOBILE, it is determined that the current MOBILE phone terminal accesses the internet through data traffic, and since the data traffic and the incoming call are both communicated based on TD-SCDMA technology and the two services cannot be performed concurrently, the priority of the incoming call service is higher than the data traffic, when there is an incoming call, the data traffic based on 4G communication is switched to 2G-based voice communication, so that a network break occurs at this time, which causes interruption of the network communication currently performed by the user. Therefore, in this case, call forwarding is set to prohibit the mobile phone terminal from receiving the incoming call to cause a network disconnection.
The setting of the call forwarding is executed before the network call is detected to be started and the call is started, so that the call forwarding really plays a role of intercepting the incoming call, and the mobile phone terminal is forbidden from receiving the incoming call.
The call forwarding typically includes unconditional call forwarding and conditional call forwarding, wherein conditional call forwarding includes busy call forwarding, unanswered call forwarding, unreachable call forwarding. The call forwarding in the present invention refers to unconditional call forwarding, that is, in the embodiment of the present invention, any incoming call is forwarded unconditionally as long as the mobile phone terminal is in the network communication state.
Specifically, the mobile communication operator performs operation from the source end according to the setting of the mobile phone terminal, and directly transfers the incoming call to a target number set by call forwarding. Because the current domestic mobile communication operators include three operators, namely China Mobile, China Unicom and China telecom, and each operator sets different operation instructions for call forwarding, specific implementation codes for setting the call forwarding for the three mobile phone terminals are respectively as follows:
1. the Chinese mobile sets the unconditional call forwarding instruction as 21 telephone number #
Present callpresent ═ new present (present. action _ CALL, uri. parse (ter. en code ("tel:. x.21. specific number #")))));
startActivity(callIntent);
2. the Chinese Unicom sets the unconditional call forwarding instruction as 72+ telephone number + send
Present callpresent ═ new present (present. action _ CALL, uri. parse (uri. en code ("tel:. 72+ specific number + send")));
startActivity(callIntent);
3. chinese telecom sets unconditional call forwarding instruction as 72+ telephone number
Present callpresent ═ new present (present. action _ CALL, uri. parse (uri. en code ("tel:. 72+ special number")))
startActivity(callIntent);
In a specific embodiment, the specific number may be any telephone number preset by a user, a blank number, a preset secretary table number, or the like.
The mobile phone terminal can be divided into a single-card single-standby mode, a double-card double-standby mode, a double-card single-standby mode and the like according to the state of the SIM card in the mobile phone terminal. Wherein, the single-card single-standby mode refers to a SIM card; the dual-card dual-standby mode means that two SIM cards can be used simultaneously and do not interfere with each other; the dual card single standby mode refers to two SIM cards, but one card is used while the other card is in the power-off state.
Preferably, for a mobile phone terminal in a single-card single-standby mode or a dual-card single-standby mode, the specific number is set as a phone number preset by a user, a setting interface of a call forwarding number is provided, a setting instruction of the user is received, and the phone number input by the user or selected from an address list is recorded as the call forwarding number. The specific number can also be a null number, when the incoming call is not a number in a blacklist set by a user or a strange number in an address list, the incoming call is transferred to the null number, and the number dialed by the incoming call is prompted to be the null number so as to refuse to answer the incoming call. Further, the embodiment of the invention also provides a mobile secretary station, the incoming call is transferred to the preset secretary station number, and after the secretary station receives the call, the content of the call is sent to the mobile phone in the form of short message content. The secretary desk also provides the services of message leaving and inquiring, reservation service, password setting, reminding and the like for the owner so as to provide more intelligent and convenient services for the user.
Preferably, for the mobile phone terminal in the dual-card dual-standby mode, the specific number is set to be a number corresponding to one of the dual cards. When a user carries out network communication through one card, the other card is in a standby state, the two cards are independent from each other and do not interfere with each other, when the number carrying out the network communication calls, the number is transferred to the number corresponding to the card which does not carry out the network communication and is in the standby state, so that the network communication is prevented from being interrupted by the incoming call, and meanwhile, the user can conveniently select to answer or refuse the incoming call transferred to the other card number. Further, the embodiment of the invention also provides a mobile secretary station, the incoming call is transferred to the preset secretary station number, and after the secretary station receives the call, the content of the call is sent to the mobile phone in the form of short message content. The secretary desk also provides the services of message leaving and inquiring, reservation service, password setting, reminding and the like for the owner so as to provide more intelligent and convenient services for the user.
In other embodiments, the present invention further comprises providing a network telephony interface for implementing an internet-based voice or video call. The network call interface comprises an address list, a voice call button, a video call button and the like. The user selects any friend in the address list, and sends an instruction for initiating the network call by clicking the voice call button or the video call button, and the network call interface receives the instruction and initiates the network call to the corresponding friend. The network call interface can be used for more conveniently monitoring whether the mobile phone terminal is in the state of starting the network call, so that incoming call transfer can be more conveniently set for the mobile phone terminal in time.
In other embodiments, the present invention further provides a mobile phone dialing interface for implementing mobile phone dialing based on a dialing keypad provided in the mobile phone terminal system. The mobile communication dialing interface comprises a dialing keyboard, a telephone number display area, an address list, a dialing key, a hang-up key and the like, and the number in the address list can be selected or directly input through the dialing interface to dial. The user can conveniently make a call based on the interface, and meanwhile, a third-party account is established for the user, so that the mobile communication can be conveniently combined with more application programs, and wider and more convenient application is realized.
And S103, canceling the call forwarding setting when the network call is ended.
After the mobile phone terminal sets unconditional call forwarding, all incoming calls can not be received by the mobile phone terminal with single card or double cards and single standby, and are forwarded to corresponding specific numbers. And for the dual-card dual-standby mobile phone terminal, although the mobile phone terminal is transferred to one of the numbers, the other number is inconvenient to answer the call. Therefore, when the network call carried out by the mobile phone terminal is finished, the call transfer set for the mobile phone terminal is canceled in time.
Specifically, the mobile communication operator performs operation from the source end according to the setting of the mobile phone terminal, and directly transfers the incoming call to a target number set by call forwarding. Because the current domestic mobile communication operators include three operators, namely China Mobile, China Unicom and China telecom, and the operation instructions for setting call forwarding are different for each operator, the specific implementation codes for canceling the setting of the call forwarding for the three mobile phone terminals are respectively as follows:
1. the Chinese Mobile sets the unconditional call forwarding instruction as #21#
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:##21#”)));
startActivity(callIntent);
2. The order of setting unconditional call forwarding in China Unicom is 720+ send
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:*720+send”)));
startActivity(callIntent);
3. Chinese telecom instruction for setting unconditional call forwarding is 720
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:*720”)));
startActivity(callIntent);
Based on the method, the mobile phone terminal which finishes the network communication cancels the call transfer and restores to the original state of answering the call.
Referring to fig. 2, the principle of the method of the present invention is further explained based on modular thinking, and a handset terminal talking device based on call forwarding implementation is provided, which includes a monitoring module 11, a call forwarding setting module 12, a call forwarding canceling module 13, and a first talking module 14, a second talking module 15, and a network type detecting module 16 in some alternative embodiments, wherein,
the monitoring module 11: whether a network call is started or not is configured to a monitoring mobile phone terminal;
the listening module 11 is specifically executed by a pre-registered background service. The background service referred to in this embodiment is a communication service process that is executed by a program module implemented in advance by the method, runs in a memory, and registers in the system after the aforementioned authorization operation is implemented by a corresponding main process in the memory. The background service registers to the System Manager based on a Binder mechanism provided by the Android System, and establishes a communication pipeline of a C/S architecture between the background service and a monitoring network conversation process thereof through the intrinsic Binder mechanism provided by the Android. Specifically, after the Root authority of the system is acquired, in order to facilitate the subsequent monitoring and related operation functions on other processes in the system, the method starts a main process which is formed by running the instantiated program of the method and has the obtained Root authority, inserts the background service into the system through the main process, and for example, the insertion operation can be realized by specifically calling a function servicemanager. It should be noted that, the background service process has become a service process at a system level through the above configuration, and its authority is obviously higher than that of other user layer service processes or application processes, so the background service process can serve as a communication basis to provide communication guarantee for other processes invoking it, and complete communication connection between the system and other processes invoking it. Therefore, the background service process has the capability of communicating with the network conversation process monitored by the background service process, the background service process and the network conversation process are communicated based on a Binder mechanism, and the communication mode has the characteristic of rapidness and stability. The background service process is mainly used for monitoring the network call process of the system so as to timely know whether the mobile phone terminal starts the network call based on the instruction of the user, thereby facilitating the execution of the subsequent incoming call transfer setting module.
The monitoring of the network call specifically refers to monitoring the network communication behavior of the corresponding communication software. For example, WeChat, QQ, easy-to-believe and the like, when a network call is started, the communication software can call back corresponding function interfaces of the system, such as a camera interface during a video call, an audio interface during a voice call and the like, a monitor is arranged at the function interfaces, when the function interfaces are called through a network call process, the monitor is triggered, and a message for starting the network call is transmitted to a background service through a related function for calling back the background service. Therefore, the monitoring of the behavior of whether the mobile phone terminal opens the network call can be realized.
It should be noted that the network call described in the present invention specifically refers to a voice or video call performed through the internet by accessing the internet through mobile data traffic, WiFi, and the like, and the implementation manner of the network call is not limited to the method described in the present invention.
Call forwarding setting module 12: when monitoring that the mobile phone terminal starts the network call, setting call forwarding so as to forward the incoming call of the mobile call to a specific number, thereby maintaining the network call state;
when the mobile phone terminal is monitored to start network communication, call forwarding is set to prevent the interruption of the network communication caused by switching the network to 2G when the incoming call exists, the incoming call is forwarded to other specific numbers, and the mobile phone terminal cannot receive any incoming call, so that the network communication state of the mobile phone terminal is maintained.
Preferably, after monitoring that the mobile phone terminal starts a network call, the mobile phone terminal further includes a network type detection module 16, configured to detect a current network type of the mobile phone terminal, where a specific code is as follows:
int getNetType(Context context)
{
int netType=-1;
ConnectivityManager conMgr=(ConnectivityManager)context.getSyst emService(Context.CONNECTIVITY_SERVICE);
NetworkInfo networkInfo=conMgr.getActiveNetworkInfo();
if(networkInfo==null)
{
return netType;
}
netType=networkInfo.getType();
}
when the netType is connectivity manager, type _ WIFI, it is judged that the current mobile phone terminal accesses the internet through WIFI, and since WIFI is based on wireless local area network principle communication, when there is an incoming call, it is not affected at all, so that the network call is not interrupted, and the network call can be maintained without setting call transfer under the condition.
When the netType is connectivity manager, type _ MOBILE, it is determined that the current MOBILE phone terminal accesses the internet through data traffic, and since the data traffic and the incoming call are both communicated based on TD-SCDMA technology and the two services cannot be performed concurrently, the priority of the incoming call service is higher than the data traffic, when there is an incoming call, the data traffic based on 4G communication is switched to 2G-based voice communication, so that a network break occurs at this time, which causes interruption of the network communication currently performed by the user. Therefore, in this case, call forwarding is set to prohibit the mobile phone terminal from receiving the incoming call to cause a network disconnection.
The setting of the call forwarding is executed before the network call is detected to be started and the call is started, so that the call forwarding really plays a role of intercepting the incoming call, and the mobile phone terminal is forbidden from receiving the incoming call.
The call forwarding typically includes unconditional call forwarding and conditional call forwarding, wherein conditional call forwarding includes busy call forwarding, unanswered call forwarding, unreachable call forwarding. The call forwarding in the present invention refers to unconditional call forwarding, that is, in the embodiment of the present invention, any incoming call is forwarded unconditionally as long as the mobile phone terminal is in the network communication state.
Specifically, the mobile communication operator performs operation from the source end according to the setting of the mobile phone terminal, and directly transfers the incoming call to a target number set by call forwarding. As the mobile communication operators in China comprise three operators, namely China Mobile, China Unicom and China telecom, and the operation instructions for call forwarding set by each operator are different, the call forwarding setting module 12 sets the specific implementation codes for call forwarding for the three mobile phone terminals as follows:
1. the Chinese mobile sets the unconditional call forwarding instruction as 21 telephone number #
Present callpresent ═ new present (present. action _ CALL, uri. parse (ter. en code ("tel:. x.21. specific number #")))));
startActivity(callIntent);
2. the Chinese Unicom sets the unconditional call forwarding instruction as 72+ telephone number + send
Present callpresent ═ new present (present. action _ CALL, uri. parse (uri. en code ("tel:. 72+ specific number + send")));
startActivity(callIntent);
3. chinese telecom sets unconditional call forwarding instruction as 72+ telephone number
Present callpresent ═ new present (present. action _ CALL, uri. parse (uri. en code ("tel:. 72+ special number")))
startActivity(callIntent);
In a specific embodiment, the specific number may be any telephone number preset by a user, a blank number, a preset secretary table number, or the like.
The mobile phone terminal can be divided into a single-card single-standby mode, a double-card double-standby mode, a double-card single-standby mode and the like according to the state of the SIM card in the mobile phone terminal. Wherein, the single-card single-standby mode refers to a SIM card; the dual-card dual-standby mode means that two SIM cards can be used simultaneously and do not interfere with each other; the dual card single standby mode refers to two SIM cards, but one card is used while the other card is in the power-off state.
Preferably, for a mobile phone terminal in a single-card single-standby mode or a dual-card single-standby mode, the specific number is set as a phone number preset by a user, a setting interface of a call forwarding number is provided, a setting instruction of the user is received, and the phone number input by the user or selected from an address list is recorded as the call forwarding number. The specific number can also be a null number, when the incoming call is not a number in a blacklist set by a user or a strange number in an address list, the incoming call is transferred to the null number, and the number dialed by the incoming call is prompted to be the null number so as to refuse to answer the incoming call. Further, the embodiment of the invention also provides a mobile secretary station, the incoming call is transferred to the preset secretary station number, and after the secretary station receives the call, the content of the call is sent to the mobile phone in the form of short message content. The secretary desk also provides the services of message leaving and inquiring, reservation service, password setting, reminding and the like for the owner so as to provide more intelligent and convenient services for the user.
Preferably, for the mobile phone terminal in the dual-card dual-standby mode, the specific number is set to be a number corresponding to one of the dual cards. When a user carries out network communication through one card, the other card is in a standby state, the two cards are independent from each other and do not interfere with each other, when the number carrying out the network communication calls, the number is transferred to the number corresponding to the card which does not carry out the network communication and is in the standby state, so that the network communication is prevented from being interrupted by the incoming call, and meanwhile, the user can conveniently select to answer or refuse the incoming call transferred to the other card number. Further, the embodiment of the invention also provides a mobile secretary station, the incoming call is transferred to the preset secretary station number, and after the secretary station receives the call, the content of the call is sent to the mobile phone in the form of short message content. The secretary desk also provides the services of message leaving and inquiring, reservation service, password setting, reminding and the like for the owner so as to provide more intelligent and convenient services for the user.
In other embodiments, the present invention further comprises a first call module 14 providing a network call interface for implementing an internet-based voice or video call. The network call interface comprises an address list, a voice call button, a video call button and the like. The user selects any friend in the address list, and sends an instruction for initiating the network call by clicking the voice call button or the video call button, and the network call interface receives the instruction and initiates the network call to the corresponding friend. The network call interface can be used for more conveniently monitoring whether the mobile phone terminal is in the state of starting the network call, so that incoming call transfer can be more conveniently set for the mobile phone terminal in time.
In other embodiments, the present invention further includes a second communication module 15, which provides a mobile communication dialing interface for implementing mobile communication dialing based on a dialing keypad of the mobile phone terminal system. The mobile communication dialing interface comprises a dialing keyboard, a telephone number display area, an address list, a dialing key, a hang-up key and the like, and the number in the address list can be selected or directly input through the dialing interface to dial. The user can conveniently make a call based on the interface, and meanwhile, a third-party account is established for the user, so that the mobile communication can be conveniently combined with more application programs, and wider and more convenient application is realized.
The call transfer cancellation module 13: configured to cancel the call forwarding setting when the network call is ended.
After the mobile phone terminal sets unconditional call forwarding, all incoming calls can not be received by the mobile phone terminal with single card or double cards and single standby, and are forwarded to corresponding specific numbers. And for the dual-card dual-standby mobile phone terminal, although the mobile phone terminal is transferred to one of the numbers, the other number is inconvenient to answer the call. Therefore, when the network call carried out by the mobile phone terminal is finished, the call transfer set for the mobile phone terminal is canceled in time.
Specifically, the mobile communication operator performs operation from the source end according to the setting of the mobile phone terminal, and directly transfers the incoming call to a target number set by call forwarding. As the mobile communication operators in China comprise three operators, namely China Mobile, China Unicom and China telecom, and the operation instructions for setting call forwarding are different for each operator, the call forwarding cancellation module 13 cancels the setting of the specific implementation codes for call forwarding for the three mobile phone terminals as follows:
1. the Chinese Mobile sets the unconditional call forwarding instruction as #21#
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:##21#”)));
startActivity(callIntent);
2. The order of setting unconditional call forwarding in China Unicom is 720+ send
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:*720+send”)));
startActivity(callIntent);
3. Chinese telecom instruction for setting unconditional call forwarding is 720
Intent callIntent=new Intent(Intent.ACTION_CALL,Uri.parse(Uri.en code(“tel:*720”)));
startActivity(callIntent);
Based on the method, the mobile phone terminal which finishes the network communication cancels the call transfer and restores to the original state of answering the call.
The invention discloses the following scheme:
a1, a method for realizing mobile phone terminal conversation based on call forwarding, comprising the following steps:
monitoring whether a mobile phone terminal starts a network call;
when monitoring that the mobile phone terminal starts network communication, setting call forwarding so as to forward an incoming call to a specific number when the incoming call is received, thereby maintaining a network communication state;
the call forwarding setting is cancelled when the network call is ended.
A2, the method according to A1, wherein the specific number is any phone number preset by the user.
A3, the method according to A1, wherein the specific number is a null number.
A4, the method according to A1, wherein the specific number is a preset secretary station number.
A5, the method according to A1, wherein the call forwarding is specifically set as unconditional call forwarding.
A6, the method according to A1, further comprising providing a network call interface, receiving a network call command to initiate a network call.
A7, the method according to A1, wherein after the step of monitoring that the mobile phone terminal opens a network call, the method further comprises detecting a network type of the mobile phone terminal, wherein,
if the Internet is accessed through WiFi, call forwarding is not set;
call forwarding is set if the internet is accessed through data traffic.
A8, the method according to a1, wherein the setting operation of call forwarding is specifically executed before a network call is started.
A9, the method according to a1, further comprising providing a mobile phone dialing interface, receiving a mobile phone dialing instruction to initiate a mobile phone call.
A10, the method according to A1, wherein the mobile phone terminal is in single card and single standby mode.
B1, a mobile phone terminal talking device based on call forwarding, comprising:
a monitoring module: whether a network call is started or not is configured to a monitoring mobile phone terminal;
a call forwarding setting module: when monitoring that the mobile phone terminal starts the network call, setting call forwarding so as to forward the incoming call of the mobile call to a specific number, thereby maintaining the network call state;
a call transfer cancellation module: configured to cancel the call forwarding setting when the network call is ended.
B2, the device according to B1, wherein the specific number is any phone number preset by the user.
B3, the device according to B1, wherein the special number is a null number.
B4, the device according to B1, wherein the special number is a preset secretary table number.
B5, the device according to B1, wherein the call forwarding is specifically set to unconditional call forwarding.
The apparatus of B6, wherein the apparatus of B1 further comprises a first call module configured to provide a network call interface and receive a network call command to initiate a network call.
B7, the device according to B1, further comprising a network type detection module for detecting the network type of the mobile phone terminal, wherein,
if the user is connected to the Internet through WiFi, call forwarding is not set;
call forwarding is set if the internet is connected through data traffic.
B8, the device according to B1, wherein the call transfer setting module is executed before the network call is started.
The apparatus of B9, wherein the apparatus of B1 further comprises a second communication module configured to provide a mobile communication dialing interface, and receive a mobile communication dialing command to initiate a mobile communication.
B10, the device according to B1, wherein the mobile phone terminal is in a single-card single-standby mode or a dual-card single-standby mode.
In summary, the method of the present invention sets call forwarding for the incoming call, and replaces the mobile phone number of the network call number with other specific numbers to answer the incoming call, thereby solving the problem of network call interruption caused by network disconnection in the network call process, and further improving the quality and experience of the network call of the user.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (18)

1. A mobile phone terminal conversation method based on call forwarding is characterized by comprising the following steps:
monitoring whether a mobile phone terminal starts a network call or not through pre-registered background service; the background service is a communication service process which runs in the memory and is registered with the system;
when the mobile phone terminal is monitored to start network communication, call forwarding is set before the network communication is started so as to intercept incoming calls when the incoming calls are made, the incoming calls are forwarded to a specific number, the mobile phone terminal is forbidden from receiving the incoming calls, and therefore the network communication state of the mobile phone terminal is maintained;
the call forwarding setting is cancelled when the network call is ended.
2. The method of claim 1, wherein the specific number is an arbitrary phone number preset by a user.
3. The method of claim 1, wherein the specific number is a null number.
4. The method of claim 1, wherein the specific number is a preset secretary station number.
5. Method according to claim 1, characterized in that said call forwarding is specifically arranged as unconditional call forwarding.
6. The method of claim 1, further comprising providing a web-call interface that receives a web-call command to initiate a web-call.
7. The method of claim 1, wherein after the step of monitoring the mobile terminal to open the network call, further comprising detecting a network type of the mobile terminal, wherein,
if the Internet is accessed through WiFi, call forwarding is not set;
call forwarding is set if the internet is accessed through data traffic.
8. The method of claim 1, further comprising providing a mobile call dialing interface that receives mobile call dialing instructions to initiate a mobile call.
9. The method according to claim 1, wherein the mobile phone terminal is in a single card and single standby mode.
10. A mobile phone terminal conversation device based on call forwarding is characterized by comprising:
a monitoring module: monitoring whether the mobile phone terminal starts a network call or not through pre-registered background service; the background service is a communication service process which runs in the memory and is registered with the system;
a call forwarding setting module: when monitoring that the mobile phone terminal starts the network call, setting call forwarding before the network call is started so as to intercept the incoming call when the mobile call is called, forwarding the incoming call to a specific number, and forbidding the mobile phone terminal to receive the incoming call, thereby maintaining the network call state of the mobile phone terminal;
a call transfer cancellation module: configured to cancel the call forwarding setting when the network call is ended.
11. The apparatus of claim 10, wherein the specific number is an arbitrary phone number preset by a user.
12. The apparatus of claim 10, wherein the specific number is a null number.
13. The apparatus of claim 10, wherein the specific number is a preset secretary station number.
14. The apparatus according to claim 10, wherein the call forwarding is specifically configured as unconditional call forwarding.
15. The apparatus of claim 10, further comprising a first call module configured to provide a network call interface and receive a network call command to initiate a network call.
16. The apparatus of claim 10, further comprising a network type detection module for detecting a network type of the handset terminal, wherein,
if the user is connected to the Internet through WiFi, call forwarding is not set;
call forwarding is set if the internet is connected through data traffic.
17. The apparatus of claim 10, further comprising a second call module configured to provide a mobile call dialing interface and receive a mobile call dialing command to initiate a mobile call.
18. The apparatus of claim 10, wherein the mobile phone terminal is in a single-card single-standby mode or a dual-card single-standby mode.
CN201510640073.1A 2015-09-30 2015-09-30 Mobile phone terminal conversation method and device based on call forwarding Active CN106559591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510640073.1A CN106559591B (en) 2015-09-30 2015-09-30 Mobile phone terminal conversation method and device based on call forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510640073.1A CN106559591B (en) 2015-09-30 2015-09-30 Mobile phone terminal conversation method and device based on call forwarding

Publications (2)

Publication Number Publication Date
CN106559591A CN106559591A (en) 2017-04-05
CN106559591B true CN106559591B (en) 2020-11-24

Family

ID=58417379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510640073.1A Active CN106559591B (en) 2015-09-30 2015-09-30 Mobile phone terminal conversation method and device based on call forwarding

Country Status (1)

Country Link
CN (1) CN106559591B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819943A (en) * 2017-10-27 2018-03-20 广东欧珀移动通信有限公司 Call processing method and Related product
CN109819413B (en) * 2017-11-21 2021-09-03 中国移动通信集团终端有限公司 Call forwarding configuration method, device, computer equipment and computer storage medium
CN107846730B (en) * 2017-12-07 2021-03-23 北京小米移动软件有限公司 Call forwarding method and device
CN108259807B (en) * 2018-01-30 2020-10-20 维沃移动通信有限公司 Communication method, mobile terminal and computer readable storage medium
CN108427878A (en) * 2018-02-13 2018-08-21 苏州小雨伞网络科技有限公司 The administration authority transmission method of striding equipment supervision
CN110138937B (en) * 2019-05-07 2021-06-15 华为技术有限公司 Call method, device and system
CN110337079B (en) * 2019-07-04 2021-10-22 中国联合网络通信集团有限公司 5G network communication method, terminal, network equipment and server
CN110460969A (en) * 2019-09-12 2019-11-15 中国联合网络通信集团有限公司 Call transferring method and device
CN110545527B (en) * 2019-09-12 2022-03-18 中国联合网络通信集团有限公司 Call forwarding method, video communication server and calling terminal
CN111182138A (en) * 2019-12-24 2020-05-19 腾讯科技(深圳)有限公司 Call control method and device
CN113497854B (en) * 2020-04-01 2023-04-28 中国移动通信集团重庆有限公司 Call forwarding setting method and intelligent terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801981A (en) * 2005-01-05 2006-07-12 英华达(上海)电子有限公司 Call forwarding method for mobile communication equipment
CN103533499A (en) * 2013-10-31 2014-01-22 宇龙计算机通信科技(深圳)有限公司 Communication service processing method and terminal
CN104038649A (en) * 2014-05-26 2014-09-10 联想(北京)有限公司 Call transferring method and communication terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024709A (en) * 2012-11-16 2013-04-03 北京小米科技有限责任公司 Method, device, server and terminal for realizing call forwarding
CN103987099A (en) * 2014-05-15 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Voice communication method and system for multi-card and multi-standby terminal
CN104602361B (en) * 2014-12-05 2018-05-11 南京中科创达软件科技有限公司 A kind of method with WiFi network extended mobile phone wireless network traffic

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801981A (en) * 2005-01-05 2006-07-12 英华达(上海)电子有限公司 Call forwarding method for mobile communication equipment
CN103533499A (en) * 2013-10-31 2014-01-22 宇龙计算机通信科技(深圳)有限公司 Communication service processing method and terminal
CN104038649A (en) * 2014-05-26 2014-09-10 联想(北京)有限公司 Call transferring method and communication terminal

Also Published As

Publication number Publication date
CN106559591A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106559591B (en) Mobile phone terminal conversation method and device based on call forwarding
US9924014B2 (en) Cordless telephone equipment, cordless telephone system, and cordless telephone communication method
US7965706B2 (en) Communication control apparatus
US8537743B2 (en) Priority-based multimedia stream transmissions
EP2523474B1 (en) Method and equipment for realizing concurrency of voice and data
CN104284031A (en) Speech communication method, communication terminal and server
US20080144610A1 (en) Thin client system and communication apparatus
CN103024687A (en) Method and equipment for establishing instant messaging
CN102355713B (en) Method of calling in voice communication and mobile terminal
CN111787496B (en) Method and equipment for switching calls between mobile phones
CN1288874C (en) PHS system authentication method
CN106550314B (en) Call forwarding method based on Bluetooth positioning technology
CN104410648A (en) LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal
CN106559767A (en) Based on the double card double standby mobile phone terminal call method and device that call forwarding is realized
EP2224671B1 (en) Method, apparatus and computer program for merging telephony services over circuit switched network and packet switched data network
WO2008136606A1 (en) System and method for roaming bidirectionally
KR102408385B1 (en) Switching call module of mobile communication terminal and method for switching call and the program stored in medium for executing the method, and system for switching call
CN102123453B (en) Terminal switching method for voice short message with priority in code division multiple access (CDMA) network data transmission process
TWI258978B (en) Mobile communication system, mobile communication device and method for incoming-call filtering
CN114258009B (en) Function configuration method, device, terminal and storage medium
CN102075650B (en) Number-associated communication method, equipment and network
US9237026B2 (en) Remote notification method
US20130122887A1 (en) Method and Device for Communication
CN117177235A (en) Management scheduling method and device of intelligent wearable equipment and mobile terminal
US8494532B2 (en) Method to filter unauthorized mobile devices in code division multiple access networks

Legal Events

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

Effective date of registration: 20240115

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.