Summary of the invention
The present invention provides the call method of user terminal and devices, can be called terminal according to the state of called terminal
The mode of the adaptable incoming call answering of matching, the flexibility of enhancing called terminal call.
In a first aspect, the embodiment of the invention provides the call methods of user terminal, which comprises
Receive the request of calling terminal calling called terminal, wherein the user for requesting to carry the called terminal
Number;
Identify whether the called terminal is in non-service state;The non-service state includes at least in following situations
A kind of: the called terminal leaves call ownership place, the called terminal without speech signal;
If the called terminal is in the non-service state, detect whether the called terminal is in network-in-dialing shape
State;
When the called terminal is in the network-in-dialing state, the request is gone into VOIP route call mode.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
State whether the identification called terminal is in non-service state, comprising:
Judge whether the called terminal is in the non-service state according to the information that the called terminal reports;It is described
The information that called terminal reports includes the IP address of the called terminal and/or the operator's informaiton of called terminal access.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute
State whether the identification called terminal is in non-service state, comprising:
When current time is in preset time period, confirm that the called terminal is in the non-service state.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute
It states and the request is gone to VOIP route call mode and includes:
Determine whether the called terminal opens call forwarding service according to the signing information of the called terminal;
If the called terminal opens the call forwarding service, corresponding calling is serviced using the call forwarding and is turned
Number is moved, carries out the call of VOIP route for the called terminal.
With reference to first aspect, first aspect the first to the third possible embodiment, the embodiment of the invention provides
4th kind of possible embodiment of first aspect, wherein the method also includes:
When the identification called terminal, which is in, service state, the request is transferred to speech line call mode.
Second aspect, the embodiment of the invention provides the communicator of user terminal, described device includes:
Request receiving module, for receiving the request of calling terminal calling called terminal, wherein the request carries
State the Subscriber Number of called terminal;
Identification module, whether the called terminal is in non-service state for identification;The non-service state is at least wrapped
Include one of following situations: the called terminal leaves call ownership place, the called terminal without speech signal;
Whether detection module detects the called terminal if being in the non-service state for the called terminal
In network-in-dialing state;
Shift module is requested, for when the called terminal is in the network-in-dialing state, the request to be gone to
VOIP route call mode.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute
Stating identification module includes:
First recognition unit, the information for being reported according to the called terminal judge whether the called terminal is in institute
State non-service state;The information that the called terminal reports include the called terminal IP address and/or the called terminal
The operator's informaiton of access.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute
Stating identification module includes:
Second recognition unit, for confirming that the called terminal is in institute when current time is in preset time period
State non-service state.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein institute
Stating request shift module includes:
Determination unit, for determining whether the called terminal is opened calling and turned according to the signing information of the called terminal
Move service;
Buanch unit is taken if opening the call forwarding service for the called terminal using the call forwarding
It is engaged in corresponding call forwarding number, carries out the call of VOIP route for the called terminal.
In conjunction with second aspect, second aspect the first to the third possible embodiment, the embodiment of the invention provides
4th kind of possible embodiment of second aspect, wherein described device further include:
Call module, for when the identification called terminal, which is in, service state, the request to be transferred to voice lines
Road call mode.
The call method and device of user terminal in through the embodiment of the present invention, when called terminal is in without service shape
State does not have speech signal as called terminal leaves the progress strange land use of call ownership place or called terminal, and called terminal has
When network connection, called terminal can answer the incoming call of calling terminal by VOIP route, to mutually fit for called terminal matching
The mode for the incoming call answering answered, the flexibility of enhancing called terminal call.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
Middle attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real
The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, of the invention to what is provided in the accompanying drawings below
The detailed description of embodiment is not intended to limit the range of claimed invention, but is merely representative of selected reality of the invention
Apply example.Based on the embodiment of the present invention, those skilled in the art institute obtained without making creative work
There are other embodiments, shall fall within the protection scope of the present invention.
It is inflexible for the mode of called terminal incoming call answering in the prior art, route can only be opened according to called terminal
The case where for called terminal select incoming call answering mode, whether can not be according to the state of called terminal, such as called terminal
Whether area, called terminal other than call ownership place have the states such as speech signal, connect for what called terminal matching was adapted
The problem of listening the mode of incoming call, the present invention provides the call method of user terminal and devices, can be according to the shape of called terminal
State is the mode of the adaptable incoming call answering of called terminal matching, the flexibility of enhancing called terminal call.Below by implementation
Example is described in detail.
With reference to the call method of user terminal as shown in Figure 1, the executing subject of this method be between calling terminal and by
It is the background server between terminal, this method comprises:
Step 102, the request of calling terminal calling called terminal is received, wherein the request carries the use of called terminal
Family number;
Step 104, whether identification called terminal is in non-service state;Non-service state includes at least in following situations
A kind of: called terminal leaves call ownership place, called terminal without speech signal;
Step 106, if called terminal is in non-service state, whether detection called terminal is in network-in-dialing state;
Step 108, when called terminal is in network-in-dialing state, above-mentioned request is gone into VOIP route call mode.
The call method of user terminal in through the embodiment of the present invention, when called terminal is in non-service state, such as quilt
Making terminal leave the progress strange land use of call ownership place or called terminal does not have speech signal, and called terminal has network company
When connecing, called terminal can answer the incoming call of calling terminal by VOIP route, to connect for what called terminal matching was adapted
Listen the mode of incoming call, the flexibility of enhancing called terminal call.
In the present embodiment, when called terminal, which leaves call ownership place, to carry out strange land use and have network connection, pass through
The incoming call that VOIP route answers calling terminal can save communication roaming expense for called terminal.When called terminal does not have speech signal
But when having network connection, the incoming call of calling terminal is gone into VOIP route, is enabled between calling terminal and called terminal
Keep communication, be unlikely to because called terminal does not have a speech signal and it is out of touch.Therefore the user in the embodiment of the present invention is whole
The call method at end can according to the state of called terminal, such as called terminal other than ownership place of conversing area using or by
It makes terminal there is no speech signal, the mode of adaptable incoming call answering is matched for called terminal, to be saved for called terminal logical
Believe roaming charges, and keeps the correspondence between calling terminal and called terminal.
The specific implementation process of the call method of the user terminal in the embodiment of the present invention is described in detail below.
In the embodiment of the present invention, background server provides service for the terminal of signing.When called terminal and background server
After being contracted, background server executes step 102, receives the request of calling terminal calling called terminal.
In step 104, whether background server identification called terminal specifically includes in non-service state: background server
Judge whether called terminal is in non-service state according to the information that called terminal reports;The information that called terminal reports includes quilt
Cry (Internet Protocol, the agreement interconnected between the network) address IP and/or the operator of called terminal access of terminal
Information.
Specifically, after called terminal and background server signing, called terminal can according to certain rules, when such as certain
Between frequency, to background server report information, the information that called terminal is reported to background server includes the IP of called terminal
Location, perhaps including called terminal access operator's informaiton or simultaneously including called terminal IP address and called terminal connect
The operator's informaiton entered.When the information that called terminal is reported to background server includes the IP address of called terminal, backstage is taken
Business device can parse to obtain the location of called terminal according to the IP address of called terminal, thus judge called terminal whether from
Words ownership place is opened, that is, judges whether called terminal is in non-service state.When the letter that called terminal is reported to background server
When breath includes the operator's informaiton of called terminal access, background server can judge according to the operator's informaiton that called terminating enters
Whether called terminal is detached from the management of the operator of call ownership place, thus judge whether called terminal leaves call ownership place,
Judge whether called terminal is in non-service state.In the embodiment of the present invention, SIM is provided in called terminal
(Subscriber Identity Module, client identification module) card, called terminal can be to background services by the SIM card
Device reports short message, and short message content includes the information such as the title for the operator that called terminal is currently accessed.
In the embodiment of the present invention, the operator of IP address and/or access that background server is reported according to called terminal believes
Breath can judge whether called terminal leaves call ownership place, to judge whether called terminal is in non-service state.
In step 104, whether background server identification called terminal specifically includes in non-service state: working as current time
When in preset time period, confirmation called terminal is in non-service state.
Specifically, for the called terminal contracted with background server, the user of the called terminal can be called
Regular time is set in terminal, and the temporal information of user setting is also sent to background server by called terminal.It is arrived when the time
Up to the user setting of called terminal time when, background server can automatically consider called terminal and be in non-service state, if by
Terminal is made to be also connected to network, then background server can automatically converse the calls transfer of calling terminal to VOIP route.For example,
6 points of the noon of user second day are gone on business to other places, and the same day returns to local at 8 points at night, then the time can be arranged in user on called terminal
Information is second day 6 pm to 8 points, and called terminal also sends out the temporal information of user setting (second day 6 pm is to 8 points)
It send to background server.When the time reaching at second day the noon 6, background server thinks that called terminal is in non-service state,
If calling terminal can be sent to the incoming call requests of called terminal also in network connection state, background server by called terminal
It is transferred on VOIP route, so that the user of called terminal passes through VOIP route incoming call answering, to save for called terminal different
The call roaming charges of ground call.
In the embodiment of the present invention, background server can be called eventually according to the time judgement that user is arranged on called terminal
Whether end is in non-service state, so that the incoming call of calling terminal is gone to VOIP phone route automatically.It is this to be set according to user
The mode that the time set is judged can facilitate the user individual of called terminal that the time that VOIP route is conversed is arranged, and meet
The call demand of the user individual of called terminal.
In step 104, whether background server identification called terminal specifically includes in non-service state: background server
Non-service state is according to the confirmation command called terminal that called terminal reports.
Specifically, when the user of called terminal has found that called terminal does not have speech signal and called terminal has network connection
When, the user of called terminal can be configured on called terminal, and all incoming calls are all gone to VOIP phone route by selection.Quilt
Terminal is made to send corresponding instruction, the finger that background server is reported according to called terminal to background server according to the setting of user
Confirmation called terminal is enabled to be in non-service state.If called terminal has a network connection, background server is by the institute of called terminal
There is incoming call all to go to VOIP phone route.It can guarantee called terminal in this way in no speech signal but have network
When connection, it is unlikely to lose correspondence with calling terminal, calling terminal and called terminal is enabled to keep communication.
In the embodiment of the present invention, the confirmation command called terminal that background server is reported according to called terminal is in no service
State, setting of the instruction that called terminal reports from user on called terminal, this confirmation called terminal is in no service
The mode of state can satisfy the demand of user individual to receive calls, when user feels to need to go to all incoming calls
When VOIP phone route, it can be configured to realize on called terminal.
In step 106, when called terminal connects wireless network or mobile communications network, it is believed that called terminal is in net
Network connected state.The method whether detection called terminal is in network-in-dialing state can be with reference to method in the prior art, this
In repeat no more.
In step 108, it includes: according to quilt that the request of calling terminal calling called terminal, which is gone to VOIP route call mode,
The signing information of terminal is made to determine whether called terminal opens call forwarding service;If called terminal opens call forwarding clothes
Business, services corresponding call forwarding number using call forwarding, carries out the call of VOIP route for called terminal.
Specifically, the application scenarios conversed with reference to VOIP route as shown in Figure 2, wherein call forwarding number 22 is under the jurisdiction of
Background server.Call forwarding number 22 is corresponding with the call forwarding service that called terminal 23 is opened.In Fig. 2, calling terminal
VOIP phone mode between 21 and called terminal 23 are as follows: the incoming call of calling terminal 21 goes to call forwarding number by background server
On code 22, call forwarding number 22 receives the voice messaging that calling terminal 21 is sent, and call forwarding number 22 is by calling terminal 21
The voice messaging of transmission is forwarded to called terminal 23;Call forwarding number 22 also receives the voice messaging of the transmission of called terminal 23,
And it is forwarded to calling terminal 21, to realize calling terminal 21 as third-party platform by call forwarding number 22 and be called eventually
VOIP route call between end 23.
In the embodiment of the present invention, the service of VOIP call forwarding, energy are provided for the called terminal for opening call forwarding service
The use demand for enough meeting the user of called terminal, when the user of called terminal is in strange land call or in no signal
When, it can still pass through VOIP phone route incoming call answering.
Further, the call method of the user terminal in the embodiment of the present invention further include: when identification called terminal is in
When having service state, request is transferred to speech line call mode.
Specifically, when called terminal has speech signal or when called terminal is in call ownership place, background server
The request of calling terminal is transferred to the speech line call mode of phone telecommunications network, is established between calling terminal and called terminal
Pass through the call mode of phone telecommunications network.
In the present embodiment, when identification called terminal, which is in, service state, request is transferred to speech line call mode,
It can satisfy the normal talking demand of called terminal, to realize that normal talking and the dual of VOIP phone are cut on called terminal
It changes.
Further, the call method of the user terminal in the embodiment of the present invention further include: when called terminal leaves call
When ownership place, current locale locating for called terminal is detected;The communicating number of current locale is distributed for called terminal;It is autonomous in the future
It is the communicating number of the request switching most current locale of called terminal distribution of terminal.
It specifically, can also be according on called terminal after background server detects that called terminal leaves call ownership place
The IP address of report or the operator's informaiton of access detect current locale locating for called terminal.Background server is detecting
Behind current locale locating for called terminal, the communicating number of current locale is distributed for called terminal, the communicating number by taking from the background
Business device is issued in the SIM card of called terminal, is write direct in the SIM card of called terminal.Background server will be whole from caller
The request at end goes to the communicating number of the current locale for called terminal distribution, when called terminal answers master by the communicating number
When being the incoming call of terminal, without paying additional communication expense, the roaming charges of strange land call are saved.
In the present embodiment, the current locale according to locating for called terminal is that called terminal distributes communicating number, when called whole
When the incoming call of calling terminal is answered by the communicating number in end, without paying additional communication expense, the roaming of strange land call is saved
Take.
The call method of corresponding user terminal above-mentioned, the embodiment of the invention also provides the communicators of user terminal.
The communicator of user terminal is located in background server, to execute the call method of user terminal above-mentioned.As shown in Figure 3
User terminal communicator, which includes:
Request receiving module 31, for receiving the request of calling terminal calling called terminal, wherein request carries called
The Subscriber Number of terminal;
Identification module 32, whether called terminal is in non-service state for identification;Non-service state includes at least following
One of situation: called terminal leaves call ownership place, called terminal without speech signal;
Detection module 33, if being in non-service state for called terminal, whether detection called terminal is in network company
Logical state;
Shift module 34 is requested, for request being gone to VOIP route and is led to when called terminal being in network-in-dialing state
Words mode.
The communicator of user terminal in through the embodiment of the present invention, when called terminal is in non-service state, such as quilt
Making terminal leave the progress strange land use of call ownership place or called terminal does not have speech signal, and called terminal has network company
When connecing, called terminal can answer the incoming call of calling terminal by VOIP route, to connect for what called terminal matching was adapted
Listen the mode of incoming call, the flexibility of enhancing called terminal call.
In the present embodiment, when called terminal, which leaves call ownership place, to carry out strange land use and have network connection, pass through
The incoming call that VOIP route answers calling terminal can save communication roaming expense for called terminal.When called terminal does not have speech signal
But when having network connection, the incoming call of calling terminal is gone into VOIP route, is enabled between calling terminal and called terminal
Keep communication, be unlikely to because called terminal does not have a speech signal and it is out of touch.Therefore the user in the embodiment of the present invention is whole
The communicator at end can according to the state of called terminal, such as called terminal other than ownership place of conversing area using or by
It makes terminal there is no speech signal, the mode of adaptable incoming call answering is matched for called terminal, to be saved for called terminal logical
Believe roaming charges, and keeps the correspondence between calling terminal and called terminal.
In the present embodiment, identification module 32 includes: the first recognition unit, the information judgement for being reported according to called terminal
Whether called terminal is in non-service state;The information that called terminal reports includes the IP address of called terminal and/or is called eventually
Terminate into operator's informaiton.In the embodiment of the present invention, IP address and/or access that background server is reported according to called terminal
Operator's informaiton can judge whether called terminal leaves call ownership place, to judge whether called terminal is in no service
State.
In the present embodiment, identification module 32 includes: the second recognition unit, for being in preset time period when current time
When, confirmation called terminal is in non-service state.In the embodiment of the present invention, background server can be according to user in called terminal
The time of upper setting judges whether called terminal is in non-service state, leads to so that the incoming call of calling terminal is gone to VOIP automatically
Talk about route.The mode that this time according to user setting is judged can facilitate the user individual of called terminal to be arranged
The time of VOIP route call, meet the call demand of the user individual of called terminal.
In the present embodiment, request shift module 34 comprises determining that unit, for being determined according to the signing information of called terminal
Whether called terminal opens call forwarding service;Buanch unit, if opening call forwarding service for called terminal, using exhaling
It cries transfer service corresponding call forwarding number, carries out the call of VOIP route for called terminal.In the embodiment of the present invention, for opening
The called terminal of logical call forwarding service provides the service of VOIP call forwarding, and the use that can satisfy the user of called terminal needs
It asks, when the user of called terminal is in strange land call or when in no signal, can still be answered by VOIP phone route
Incoming call.
The device of the call method of user terminal in the present embodiment further include: call module, for being called eventually when identification
Request is transferred to speech line call mode in when having service state by end.In the present embodiment, have when identification called terminal is in
When service state, request is transferred to speech line call mode, can satisfy the normal talking demand of called terminal, thus in quilt
Cry the dual switching that normal talking and VOIP phone are realized in terminal.
In summary, through the embodiment of the present invention in user terminal call method and device, when called terminal is in
Non-service state does not have a speech signal as called terminal leaves call ownership place and carries out strange land use or called terminal, and by
When terminal being made to have network connection, called terminal can answer the incoming call of calling terminal by VOIP route, to be called terminal
The mode of the adaptable incoming call answering of matching, the flexibility of enhancing called terminal call.
The call method and device of user terminal in through the embodiment of the present invention, when called terminal leaves call ownership place
When carrying out strange land use and having network connection, it can be saved by the incoming call that VOIP route answers calling terminal for called terminal
Communication roaming takes.When called terminal does not have speech signal but has network connection, the incoming call of calling terminal is gone into VOIP line
Road enables to keep communication between calling terminal and called terminal, is unlikely to lose because called terminal does not have speech signal
It goes to contact.Therefore the call method of the user terminal in the embodiment of the present invention and device can according to the state of called terminal, such as
Area of the called terminal other than ownership place of conversing uses or called terminal does not have speech signal, mutually fits for called terminal matching
The mode for the incoming call answering answered is taken to save communication roaming for called terminal, and is kept between calling terminal and called terminal
Correspondence.
Device provided by the embodiment of the present invention can be the specific hardware in equipment or the software being installed in equipment
Or firmware etc..The technical effect and preceding method embodiment of device provided by the embodiment of the present invention, realization principle and generation
Identical, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.It is affiliated
The technical staff in field can be understood that, for convenience and simplicity of description, the system of foregoing description, device and unit
Specific work process, the corresponding process during reference can be made to the above method embodiment, details are not described herein.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can be by others side
Formula is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only one kind are patrolled
Function division is collected, there may be another division manner in actual implementation, in another example, multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in embodiment provided by the invention can integrate in one processing unit, it can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing, in addition, term " the
One ", " second ", " third " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention.Should all it cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.