CN107070921A - Call control method, device and mobile terminal - Google Patents

Call control method, device and mobile terminal Download PDF

Info

Publication number
CN107070921A
CN107070921A CN201710252190.XA CN201710252190A CN107070921A CN 107070921 A CN107070921 A CN 107070921A CN 201710252190 A CN201710252190 A CN 201710252190A CN 107070921 A CN107070921 A CN 107070921A
Authority
CN
China
Prior art keywords
call
tunnel
connection
hang
hung
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710252190.XA
Other languages
Chinese (zh)
Other versions
CN107070921B (en
Inventor
刘伟斌
周汉心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201710252190.XA priority Critical patent/CN107070921B/en
Publication of CN107070921A publication Critical patent/CN107070921A/en
Application granted granted Critical
Publication of CN107070921B publication Critical patent/CN107070921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Call control method provided in an embodiment of the present invention, device and mobile terminal, applied to communication technical field.Methods described and device are applied to the control of MPTY, and the MPTY includes:The first via is conversed and the call of the second tunnel, and connection has been set up in the first via call.Methods described includes:Obtain the request that user hangs up the second tunnel call;Judge whether the second tunnel call has hung up success;If success is not yet hung up in the second tunnel call, wait after the success of second road call hang-ups, initiate to recover the request of the first via call.Mobile terminal can be avoided to initiate quickly to hang up the call of the second tunnel after the foundation request of the second tunnel call to base station, base station is caused also to handle the foundation request of the second tunnel call, and cannot respond to recover the request with first via call, cause first via call recovery to fail, improve Consumer's Experience.

Description

Call control method, device and mobile terminal
Technical field
The present invention relates to communication technical field, in particular to a kind of call control method, device and mobile terminal.
Background technology
The start flow of MPTY is:Chairman side user A first calls participant user B, and party B-subscriber's call establishment is set up Call, adds another participant C user during conversing, and sets up and converses with C user, now, and party A-subscriber is with keeping party B-subscriber to exhale Cry, party A-subscriber is in talking state with C user.It is similar that what other four directions calls, five sides conversed sets up process.
The release flow of MPTY, i.e., different users, which hangs up this calling, certain difference.When a participation Person's drop calls, such as be only that himself leaves this MPTY when party B-subscriber is hung up, for chairman side A and participant C it Between call and unaffected;And if chairman side's party A-subscriber's drop calls, then mean the end of whole MPTY, B and C Call cannot be continued.
But user adds another road call in the case where having been set up conversing all the way, if initiating another road call Call request after quickly hang up, can cause all the way call recovery failure, all the way call can not be returned to normally from hold mode State of activation, now all the way call be constantly in call it is noiseless, Consumer's Experience is excessively poor.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of call control method, device and mobile terminal, with Improve disadvantages mentioned above.
In a first aspect, the embodiments of the invention provide a kind of call control method, it is described applied to the control of MPTY MPTY includes first via call and the call of the second tunnel, and connection has been set up in the first via call.Methods described includes:Obtain User hangs up the request of the second tunnel call;Judge whether the second tunnel call has hung up success;If second tunnel leads to Words not yet hang up success, wait after the success of second road call hang-ups, initiate to recover the request of the first via call.
Second aspect, it is described applied to the control of MPTY the embodiments of the invention provide a kind of call control apparatus MPTY includes first via call and the call of the second tunnel, and connection has been set up in the first via call.Described device includes:Obtain Unit, hang up judging unit and unit is hung up in delay.Acquiring unit is used to obtain the request that user hangs up the call of the second tunnel.Hang up Judging unit is used to judge whether the second tunnel call has hung up success.If delay recovery unit is conversed for second tunnel Success is not yet hung up, is waited after the success of second road call hang-ups, initiates to recover the request of the first via call.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, including:Processor and memory, the processing Device is coupled with the memory.The memory is used for storage program.The processor is used to call to be stored in the memory In program, perform above-mentioned call control method.
In embodiments of the present invention, MPTY includes first via call and the call of the second tunnel, and first via call has been built Vertical connection, when user clicks on the button for hanging up the call of the second tunnel, mobile terminal will not unconditionally go the recovery first via to lead at once Words, but first judge whether the call of the second tunnel is successfully hung up.After the second tunnel, which is conversed, successfully to be hung up, initiate to recover described first The request of road call.Compared with prior art, call control method provided in an embodiment of the present invention, device and mobile terminal, energy Enough avoid in the case where first via call has built up, after the foundation that mobile terminal initiates the call of the second tunnel to base station is asked Quick to hang up the call of the second tunnel, base station is now also handling the foundation request of the second tunnel call, the second tunnel of mobile terminal is being led to The request that the hang-up request of words and recovery are conversed with the first via cannot respond to, and causes the second road call hang-ups failure and can not recover The first via is conversed, and improves Consumer's Experience.
Other feature and advantage of the embodiment of the present invention will illustrate in subsequent specification, also, partly from specification In become apparent, or understood by implementing the embodiment of the present invention.The purpose of the embodiment of the present invention and other advantages can Realize and obtain by specifically noted structure in the specification, claims and accompanying drawing write.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.By shown in accompanying drawing, above and other purpose of the invention, feature and advantage will become apparent from.
Fig. 1 is the block diagram of mobile terminal provided in an embodiment of the present invention;
The step flow chart for the call control method that Fig. 2 provides for first embodiment of the invention;
The step flow chart for the call control method that Fig. 3 provides for second embodiment of the invention;
The step flow chart for the call control method that Fig. 4 provides for third embodiment of the invention;
The module frame chart for the communicator that Fig. 5 provides for first embodiment of the invention;
The module frame chart for the communicator that Fig. 6 provides for second embodiment of the invention;
The module frame chart for the communicator that Fig. 7 provides for third embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Call control method provided in an embodiment of the present invention, device and mobile terminal, for reducing in MPTY In the case of being set up call all the way, user is quickly hung up after initiating the call request of another road call, and call can not all the way The probability that the situation for returning to normal state of activation from hold mode occurs.In the embodiment of the present invention, the MPTY Including first via call and the call of the second tunnel, first via call is conversed prior to the second tunnel is set up, i.e., mobile terminal is initiated to base station When the call request of second tunnel call, first via call has built up.MPTY can be Three-Way Calling, four directions call Or more multi-party call.
If MPTY is Three-Way Calling, MPTY is made up of first via call and the call of the second tunnel, the first via Converse as the call all the way being had built up before foundation of being conversed on the second tunnel.Then mobile terminal first sets up first via call, the After the completion of call is set up all the way, first via call is in talking state, now, resettles the call of the second tunnel, in the call of the second tunnel After the completion of foundation, the call of the second tunnel is in talking state, and first via call is in hold mode, i.e. first via call is in noiseless State.Then, when the call of the second tunnel is hung up, first via call in theory returns to talking state by hold mode, The calling party and callee of first via call can be with normal talkings.
If MPTY is four directions call, five sides call or more side's call, the start flow of MPTY and above-mentioned Tripartite's process is similar, and now, all calls having built up before first via call represents to set up the call of the second tunnel are connected In any road or specify all the way, and which is specifically, can be set according to the scene of actual use, for example, can be with Call all the way adjoining in time before being the call of the second tunnel.
But if in the case where first via call has built up, user initiates the second tunnel by modes such as the cases that dials It is quick after the call request of call to hang up the call of the second tunnel, first via call recovery can be caused to fail, call all the way can not be from Hold mode returns to normal state of activation, and now call is constantly in and converses noiseless all the way, and this problem can not have all the time Effect is resolved.
After mobile terminal responds the request for hanging up the call of the second tunnel of user, it is intended to according to the hang-up request or user The call of the second tunnel is hung up, then the current state that the mark conversed according to the second tunnel searches the call of the second tunnel in system whether can Flow is hung up in execution, if it is possible to which execution hangs up flow then by the second road call hang-ups.But, due to some reasons, for example, The call of two tunnels is not yet set up connection, system and performed for error or others during the programs of the second road call hang-ups to be caused into nothing The situation that method is normally hung up so that the call of the second tunnel can not normally be hung up.
Inventor has found under study for action, due to some reasons, is performed for example, connection, system are not yet set up in the call of the second tunnel Base station is not received and is returned for error during the programs of the second road call hang-ups, mobile terminal to be sent into hang-up request to base station Release channel instruction or other situation for leading to not normally hang up so that the call of the second tunnel can not normally be hung up. Now, if request recovers first via call, it will fail.Specifically, a call establishment of connection is, it is necessary to certain time, This time is used for mobile terminal and sends a CM Service Request message to base station, and base station returns again to CM Service Accept message is to mobile terminal, after the CM Service Accept message that mobile terminal receives base station reply, it is possible to Complete call establishment of connection.And connection of conversing returns to talking state from hold mode, it is necessary to which it is extensive to send a Retrieve Multiple request is to base station, and this Retrieve recovery request of base station in response is by call recovery to talking state.Therefore, if mobile whole Hold after call request to the base station of the second tunnel call is initiated, also confiscating the CM Service Accept that are returned to base station Before message, hang up the second tunnel call in the case of, may result in base station handle always the second tunnel converse during.Work as shifting Dynamic terminal initiates the Retrieve recovery requests of first via call to base station again, and now base station is also handling the call of the second tunnel Call request, goes to handle the Retrieve recovery requests of first via call without resource, may result in first via call Retrieve recovery requests can not be processed, and first via call can not return to talking state.In order to solve this problem, this Inventive embodiments provide call control method, device and mobile terminal.
Fig. 1 please be participate in, a kind of mobile terminal 1 00 is shown.Mobile terminal 1 00 with multiple point touching ability can include Memory interface 102, one or more processors 104 and peripheral interface 106.
Memory interface 102, one or more processors 104 and/or peripheral interface 106 both can be discrete components, It can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can pass through one or more communication Bus or signal wire are coupled.Sensor, equipment and subsystem may be coupled to peripheral interface 106, a variety of to help to realize Function.For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with side Just orient, illuminate and the function such as ranging.One or more other sensors 116 can equally be connected with peripheral interface 106, for example Alignment system (such as GPS), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help Implement related function.
Camera sub-system 120 and optical sensor 122 can be used for the camera of convenient such as recording photograph and video clipping The realization of function, wherein the camera sub-system and optical sensor for example can be charge coupling device (CCD) or complementary gold Belong to oxide semiconductor (CMOS) optical sensor.
Communication function, wherein wireless communication can be helped to realize by one or more radio communication subsystems 124 System can include radio-frequency transmitter and emitter and/or light (such as infrared) Receiver And Transmitter.Radio communication subsystem 124 particular design and embodiment can depend on one or more communication networks that mobile terminal 1 00 is supported.For example, Mobile terminal 1 00 can include being designed to supporting GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network with And the radio communication subsystem 124 of BlueboothTM networks.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystems 140 can include touch screen controller 142 and/or other one or more input controllers 144.
Touch screen controller 142 may be coupled to touch-screen 146.For example, the touch-screen 146 and touch screen controller 142 can use any one of a variety of touch-sensing technologies to detect the contact and movement or pause that carry out therewith, its Middle detection technology includes but is not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
Other one or more input controllers 144 may be coupled to other input/control devicess 148, such as one or The pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or instruction pen etc.One or Multiple buttons (not shown) can include the up/down button for controlling loudspeaker 128 and/or the volume of microphone 130.
Memory interface 102 can be coupled with memory 150.The memory 150 can be deposited including high random access Reservoir and/or nonvolatile memory, such as one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as NAND, NOR).
Memory 150 may be, but not limited to, random access memory (Random Access Memory, RAM), only Read memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) Deng.Wherein, memory 150 is used for storage program, and the processor 104 performs described program after execute instruction is received, after Method performed by the mobile terminal 1 00 for the flow definition that continuous any embodiment of the embodiment of the present invention is disclosed can apply to processing In device 104, or realized by processor 104.In addition, memory 150 can store an operating system 152, such as Android, IOS Or Windows Phone etc operating system.The operating system 152 can include be used for handle basic system services and Perform the instruction of the task dependent on hardware.Memory 150, which can also be stored, various applies 154.When mobile device is run, meeting Operating system 152 is loaded from memory 150, and is performed by processor 104.Using 154 operationally, also can be from memory Load, and performed by processor 104 in 150.Operated in using 154 on operating system, it is hard using operating system and bottom The interface that part is provided realizes the desired function of various users, such as instant messaging, web page browsing, pictures management.Using can be Independently of that operating system is provided or that operating system is carried.
Processor 104 can be a kind of IC chip, the disposal ability with signal.Above-mentioned processor 104 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), It is ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hard Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor can also be any conventional processor etc., for example, data processor, image procossing Device and/or CPU.
Referring to Fig. 2, showing the step flow chart of call control method, the control applied to MPTY.Yu Benfa In bright embodiment, MPTY is Three-Way Calling, and the MPTY includes first via call and the call of the second tunnel.Wherein, exist When performing the method flow, connection has been set up in the first via call.It is provided in an embodiment of the present invention below in conjunction with Fig. 2 The implementation process of method is specifically described.
S201:Obtain the request that user hangs up the call of the second tunnel.
User is in the case where having built up first via call, and the dialing for clicking on the call interface of mobile terminal is pressed Key, the call request of the second tunnel call is initiated to base station, second shown on the call interface for then clicking on mobile terminal The hang up button of road call, mobile terminal responds hanging up for the second tunnel call, and it is logical that acquisition Client-initiated user hangs up the second tunnel The request of words.
S202:Judge whether the call of the second tunnel has hung up success.
It can judge whether the call of the second tunnel has hung up success in the following manner:
The process for hanging up connection of mobile phone includes:Connection, channel release and release completion etc. are hung up, connection is hung up and refers to hand Machine sends hang-up request to base station, and base station is received after hang-up request, can handle the hang-up request, returns and moves after being successfully processed Dynamic one, terminal hangs up completion instruction, and performs the operation of channel release, by the channel of the talk business between base station and mobile phone Release.It therefore, it can according to whether the completion instruction of hanging up for having successfully received base station transmission judges whether the call of the second tunnel has hung up Success, wherein, it can be that channel releases order or other are used to represent that hang-up request has been handled that this, which hangs up completion instruction, Into configured information.Judge that the call of the second tunnel has hung up success if completion is instructed if receiving hanging up for base station transmission, otherwise, sentence Success is not yet hung up in fixed second tunnel call.
If success is not yet hung up in the call of the second tunnel, step S203 is performed;If the call of the second tunnel has hung up success, Perform step S204.
S203:Wait after the call hang-ups success of second road, initiate to recover the request of the first via call.
If success is not hung up in the call of the second tunnel, do not initiate first to recover the request of first via call, and be to wait for second Road is conversed successfully hang up after, then initiate to recover the request of the first via call.Wherein, wait the second tunnel to converse successfully to hang up Mode can be that delay certain time is so that the call successful connection of the second tunnel call is set up, or delay certain time etc. Treat that base station is successfully processed the hang-up request of the second tunnel call and completion instruction is hung up in return.If the time waited exceedes certain Threshold value, then judge that this hang-up request fails, i.e., no longer perform this and hang up the call of the second tunnel and recover first via call Flow, the hang-up request of wait-for-response the second tunnel call next time.
S204:Initiate to recover the request that the first via is conversed.
Conversed on the second tunnel after successfully hanging up, the Retrieve recovery requests that the mobile terminal initiation first via is conversed to base Stand, after the completion of being handled in base station, first via call recovery to talking state, the calling party and callee of first via call can be just Normal open is talked about.
Referring to Fig. 3, showing the step flow chart for the call control method that another embodiment of the present invention is provided.Below will It is that the implementation process of method provided in an embodiment of the present invention is specifically described with reference to Fig. 3.
S301:Obtain the request that user hangs up the call of the second tunnel.
Embodiment on S301 refers to aforementioned manner embodiment, will not be repeated here.
S302:Judge whether the second tunnel call has set up connection.
Mobile terminal can be that call sets a mark per road, be easy to manage and mark.For example, the mark of first via call For index1, what the second tunnel was conversed is expressed as index2.And what whether the connection that the mark conversed per road is conversed on the road set up In the case of, value is different, it is generally the case that if all the way call it has been established that the mark on Ze Gai roads value for 1,2,3 or , etc. 4th, positive integer, not yet sets up if conversed all the way, and the value of the mark on Ze Gai roads is negative integer, it is generally the case that this is negative whole Number is -1.
Therefore, as a kind of embodiment, judge that the mode whether the second tunnel call has set up connection is:Judge Two tunnels call mark value whether be equal to preset value, wherein, preset value be above-mentioned negative integer, it is preferable that the preset value for- 1。
If the value of the mark of the second tunnel call is equal to preset value, judge that connection is not yet set up in the call of the second tunnel;If The value of the mark of second tunnel call is not equal to preset value, then judges that connection has been set up in the call of the second tunnel.
It should be noted that the connection of the second tunnel call has been set up, represent that the call of the second tunnel has been received that base station is returned The CM Service Accept message returned, and now initiated to base station if recovering the request that the first via is conversed, base station is that have foot What enough resources were asked to handle this.
Therefore, if connection is not yet set up in second tunnel call, step S303 is performed, if second tunnel call has been set up Connection, performs step S304.
S303:The call of the second tunnel is waited to set up the second road call hang-ups after connection.
If the call of the second tunnel is not yet set up, it is probably greatly that base station is handling the second tunnel that mobile terminal is initiated to have The call request of call, and CM Service Accept message is not returned also to mobile terminal.It therefore, it can wait one section After time, then by the second road call hang-ups.The call of the second tunnel is then waited to include the second road call hang-ups after setting up connection At least following two modes:
The first, be delayed preset time, until the connection that second tunnel is conversed is set up and completed, then again by described second Road call hang-ups.Preset time is an empirical value, and the setting of preset time can handle the calling of the second tunnel call to base station Request, returns to the foundation offer that CM Service Accept message to mobile terminal and mobile terminal completes the call of the second tunnel The sufficient operating time, for example, span can be 250 to 300 milliseconds.Therefore, after delay preset time, it can give tacit consent to The call of second tunnel has built up completion, directly goes second road call hang-ups.It is of course also possible to be the preset time that is delayed Afterwards, then judge the second tunnel call connection whether set up completions, if the second tunnel converse connection set up, by described second Road call hang-ups.
Second, it is delayed after the first sub-period, judges whether the connection of the second tunnel call sets up completion, if the second tunnel is logical The connection of words is not yet set up, then is delayed after the second sub-period, judges whether the connection of the second tunnel call sets up completion again, so Iterative cycles, until judging that the connection of the second tunnel call has been set up, then during this, when all sub-period sums are exactly default Between time span.The duration of each sub-period of described the first sub-period, second sub-period etc. can be set with self-defined Put, do not limit herein.In addition, setting for each sub-period can be more than using the trend being gradually reduced, i.e. the first sub-period Second sub-period, the second sub-period is more than the 3rd sub-period, and the rest may be inferred, both can guarantee that network or system running speed cause Delay, be also avoided that the long period the wait time limit influence Consumer's Experience.
In addition, in order to avoid user is after the hang up button of the second tunnel call is clicked on, the call of the second tunnel is not hung at once It is disconnected, and the repeated multiple times hang up button for clicking on the call of the second tunnel of user, cause mobile terminal to be constantly delayed, can be for the first time User is clicked on after the hang up button and trigger of the call of the second tunnel, and the second all tunnels call hangs up behaviour during being delayed It is not responding to.After delay terminates, if it is decided that the call of the second tunnel is not yet set up, then is delayed again certain time, until institute Completion is set up in the connection for stating the call of the second tunnel, then again by second road call hang-ups.
S304:By the second road call hang-ups.
After second road call hang-ups, by first via call recovery, i.e. first via call is changed into call shape by hold mode State, the callee that calling party converses with the first via can be with normal talking.Therefore, compared with prior art, the embodiment of the present invention is carried Call control method, device and the mobile terminal of confession, can be avoided in the case where first via call has built up, mobile terminal Initiated to base station it is quick after the foundation request of the second tunnel call hangs up the call of the second tunnel, then mobile terminal response user hangs up the Two tunnels call request and send recover with the first via converse request, cause base station also handle the second tunnel call foundation please (i.e. the second tunnel call, which is not yet set up, to be completed) is asked, and cannot respond to the request that recovery is conversed with the first via, causes the first via to be conversed Recover failure, improve Consumer's Experience.
S305:Judge whether the call of the second tunnel has hung up success.
If success is not yet hung up in the call of the second tunnel, return and perform step S301, that is, judge that this hang-up request fails, This flow hung up the call of the second tunnel and recover first via call is no longer performed, wait-for-response next time converse by the second tunnel Hang-up request;If the call of the second tunnel has hung up success, step S305 is performed.Specifically, step S305 embodiment Previous embodiment is may be referred to, be will not be repeated here.
S306:Initiate to recover the request that the first via is conversed.
Referring to Fig. 4, showing the step flow chart for the call control method that another embodiment of the present invention is provided.Below will It is that the implementation process of method provided in an embodiment of the present invention is specifically described with reference to Fig. 4.
S401:Mobile terminal sends the call request of the second tunnel call to base station.
In the embodiment of the present invention, it is assumed that scene is that Three-Way Calling is, Three-Way Calling includes first via call, the second tunnel and led to Words, calling party A, callee B and callee C, first via call call callee B for calling party A, and the call of the second tunnel is calling party The mobile terminal that A calls in callee C, the embodiment of the present invention is the corresponding terminals of calling party A.
Mobile terminal sends the call request of the second tunnel call to base station in the case where first via call has built up, It is connected to set up call with callee B.
S402:The CM Service Accept message that base station sends the call of the second tunnel refers to mobile terminal.
S403:The call hang-ups request of acquisition for mobile terminal user input.
Step S402 and step S403 detailed embodiment may be referred to previous embodiment, not repeat herein.
S404:Acquisition for mobile terminal calling connection sum count.
Mobile terminal can be that call sets a mark per road, be easy to manage and mark.Count during current talking, have Several session identities, which can just be counted, obtains calling connection sum count.The application is by taking Three-Way Calling as an example, then count is 2, What the first via was conversed is designated index1, and what the second tunnel was conversed is expressed as index2.
S405:The mark of the tunnel of acquisition for mobile terminal i-th call.
I is a customized variable, for which road call to be represented.For example, the element in a fixed array, array is The mark that the mark and the second tunnel that the first via is conversed are conversed, then array is [index1, index2], and i is which member of array Element, for example, if i is 1, the mark index1 of correspondence first via call, if i is 2, the mark of the second tunnel of correspondence call index2。
S406:Mobile terminal judges whether i is more than count.
Compare i and count numerical values recited, when obtaining the mark of first via call, i is 1, i.e. i is less than count, Step S307 is then performed, when i is 3, i is more than count, then performs step S309.Therefore, i represents all calls than count Link has all had stepped through.
S407:Mobile terminal judge the call of the i-th tunnel identify whether be equal to the mark of call that user hung up and In -1.
Mobile terminal defines a variable i ndex0, and corresponding mark is asked for there are call hang-ups.Mobile terminal is obtained When taking the call hang-ups request at family, call hang-ups can be got and ask corresponding mark, and by the call obtained The corresponding mark of hang-up request is assigned to index0.For example, what is hung up is the call of the second tunnel, then index0 is equal to index2.
Mobile terminal is during traversal, and the mark that the i-th tunnel obtained every time is conversed is compared with index0, to sentence The call that disconnected user's request is hung up whether there is, and determine which the call that user's request is hung up is.
Whether it is equal to -1 by the value for comparing the mark that the i-th tunnel is conversed, to judge identifying whether effectively for the i-th tunnel call, That is whether it is the call connection having built up, specifically refers to previous embodiment, will not be repeated here.At Fig. 3 pairs In the logic for the embodiment answered, identifying whether while meeting the mark for being equal to the call that user is hung up for the i-th tunnel call can be judged Know and value is not equal to -1, only in the case where both meeting, just perform call hang-ups operation, i.e. step S410 is no Then, it is carried out step S408.
It should be noted that step S407 can split into two steps, the first step judges identifying whether to be equal to and using for the i-th tunnel call The mark for the call that family is hung up, what second step judged the call of the i-th tunnel identifies whether value equal to -1.First step judged result is It is when the mark of i.e. the i-th tunnel call is equal to the mark for the call that user is hung up, then to perform second step;First step judged result To be no, then step S408 is performed.Second step judged result is yes, i.e. the value of the mark of the i-th tunnel call is not equal to -1, then holds Row step S410, otherwise, performs step S408, then the embodiment of second step is similar to the embodiment of the S302 in Fig. 3.
S408:I value is added one by mobile terminal.
I++ operation is performed, i plus one, to continue executing with down the judgement associative operation for the mark conversed all the way, so that Realize the traversal of each call.
In addition, above-mentioned steps S403, S404, S405, S406, S407 first step and S308 can be used as acquisition user The specific implementation process of the request of the second tunnel call is hung up, i.e., hanging up for the second tunnel call is found by way of a kind of traversal please Ask.
S409:Mobile terminal delay preset time.
When all calls have all been traveled through one time, do not find it is qualified hang up object if, then be delayed preset time, After delay time-out, return and perform step S404, traveled through next time.The time of delay is in order to the base station regular hour The call request of the second tunnel call is handled, then the process of delay plus traversal sets up the process of connection as the call of the second tunnel of wait, Detailed operating process refers to previous embodiment, will not be repeated here.
S410:Mobile terminal performs and hangs up flow.
Flow is hung up to refer to while meeting the mark for being equal to the call that user is hung up and the mark pair for being not equal to -1 The call hang-ups answered.In the present embodiment, the call that user is hung up is conversed for the second tunnel, when by the second road call hang-ups Wait, calling party A and callee C call disconnect, and by calling party A and callee B call recovery, calling party A and callee B Being capable of normal talking.It if it is in the MPTY more than tripartite, such as five sides call, then first via call can include The calls of calling party A respectively with callee B, callee D and callee E, the second tunnel call is the logical of calling party A and callee C Words, then after the call of the second tunnel is hung up, calling party A recovers with callee B, callee D and callee E call respectively.
S411:Judge whether the call of the second tunnel has hung up success.
If success is not yet hung up in the call of the second tunnel, return and perform step S403, that is, judge that this hang-up request fails, Wait-for-response hang-up request next time;If the call of the second tunnel has hung up success, step S412 is performed.Specifically, step S411 embodiment may be referred to previous embodiment, will not be repeated here.
S412:Initiate to recover the request that the first via is conversed.
It should be noted that above-mentioned Fig. 4 acts not only as, in the case where first via call has built up, judging second Road call whether the embodiment that can normally hang up, hanging up for any road call in MPTY is also used as, for example, the That converses all the way hangs up, when performing step S407, and the value for identifying and identifying of reception first via call is not equal to -1, then By first via call hang-ups.
Referring to Fig. 5, the communicator 500 that first embodiment of the invention is provided is shown, applied in MPTY Mobile terminal, the communicator includes:Acquiring unit 501, hang up judging unit 502 and delay recovery unit 503.
Acquiring unit 501 is used to obtain the request that user hangs up the call of the second tunnel.
Judging unit 502 is used to judge whether the second tunnel call has hung up success.
If delay recovery unit 503 is used for second tunnel, success is not yet hung up in call, waits the second tunnel call to hang It is broken into after work(, initiates to recover the request of the first via call.
Referring to Fig. 6, the communicator 600 that second embodiment of the invention is provided is shown, applied in MPTY Mobile terminal, the communicator includes:Acquiring unit 601, connection judgment unit 602, delay hang up unit 603, hang up judgement Unit 604 and delay recovery unit 605.Acquiring unit 601, hang up judging unit 604 and before delay recovery unit 605 refers to Embodiment is stated, be will not be repeated here.
Connection judgment unit 602 is used to judge whether the second tunnel call has set up connection.Specifically, for judging Whether the value for stating the mark of the second tunnel call is equal to preset value, if equal to preset value, judging that the second tunnel call is not yet built Vertical connection, if being not equal to preset value, judges that connection has been set up in the second tunnel call.
If unit 603 is hung up in delay is used for second tunnel call not yet foundation connection, the second tunnel call is waited to build By second road call hang-ups after vertical connection.
Specifically, unit 603 is hung up in delay includes:Delay and hangs up subelement 6032 at subelement 6031.
Delay subelement 6031 is used for the preset time that is delayed, until the connection that second tunnel is conversed is set up and completed.
Hanging up subelement 6032 is used for second road call hang-ups.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Referring to Fig. 7, the communicator that third embodiment of the invention is provided is shown, applied to the movement in MPTY Terminal, the communicator 700 includes:Unit is hung up in acquiring unit 701, Traversal Unit 702, connection judgment unit 703, delay 704th, judging unit 705 and delay recovery unit 706 are hung up.Hang up judging unit 705 and before delay recovery unit 706 refers to Embodiment is stated, be will not be repeated here.
Acquiring unit 701 is used to obtain the request that user hangs up the call of the second tunnel.
Specifically, acquiring unit 701 includes:Hang-up request obtain subelement 7011, connection sum obtain subelement 7012, Mark obtains subelement 7013, first and compares the comparison subelement 7015 of subelement 7014 and second.
Hang-up request obtains subelement 7011, the call hang-ups request for obtaining user's input.
Connection sum obtains subelement 7012, for obtaining calling connection sum count.
Mark obtains subelement 7013, the mark for obtaining the call of the i-th tunnel.
First compares subelement 7014, judges whether i is more than count for mobile terminal.
Second compares subelement 7015, for judging the call for identifying whether to be hung up equal to user that the i-th tunnel is conversed Mark.
Traversal Unit 702, for adding one by i value.
Connection judgment unit 703, for judging whether the value of mark of the i-th tunnel call is equal to -1.
If unit 704 is hung up in delay is used for second tunnel call not yet foundation connection, the second tunnel call is waited to build By second road call hang-ups after vertical connection.
Specifically, unit 704 is hung up in delay includes:Delay and hangs up subelement 7042 at subelement 7041.
Be delayed subelement 7041, for the preset time that is delayed;
Subelement 7042 is hung up, flow is hung up for performing.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, article or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of call control method, it is characterised in that applied to the control of MPTY, the MPTY includes the first via Connection has been set up in call and the call of the second tunnel, the first via call, and methods described includes:
Obtain the request that user hangs up the second tunnel call;
Judge whether the second tunnel call has hung up success;
If success is not yet hung up in second tunnel call, wait after the success of second road call hang-ups, initiate to recover described the The request conversed all the way.
2. according to the method described in claim 1, it is characterised in that obtain user hang up the second tunnel call request it Afterwards, in addition to:
Judge whether the second tunnel call has set up connection;
Connected if the second tunnel call is not yet set up, wait the second tunnel call to set up second tunnel call after connection Hang up.
3. method according to claim 2, it is characterised in that judge whether the second tunnel call has set up the step of connection Suddenly, including:
Judge whether the value of the mark of the second tunnel call is equal to preset value, if equal to preset value, judging second tunnel Connection is not yet set up in call, if being not equal to preset value, judges that connection has been set up in the second tunnel call.
4. method according to claim 2, it is characterised in that wait the second tunnel call to set up described the after connection The step of two road call hang-ups, including:
Be delayed preset time, until the connection that second tunnel is conversed is set up and completed;
By second road call hang-ups.
5. method according to claim 4, it is characterised in that the preset time is 250 to 300 milliseconds.
6. a kind of call control apparatus, it is characterised in that applied to the control of MPTY, the MPTY includes the first via Connection has been set up in call and the call of the second tunnel, the first via call, and described device includes:
Acquiring unit, the request of the second tunnel call is hung up for obtaining user;
Judging unit is hung up, for judging whether the second tunnel call has hung up success;
Delay recovery unit, if not yet hanging up success for second tunnel call, waits the success of second road call hang-ups Afterwards, initiate to recover the request that the first via is conversed.
7. device according to claim 6, it is characterised in that also include:
Connection judgment unit, for judging whether the second tunnel call has set up connection;
Unit is hung up in delay, if not yet setting up connection for second tunnel call, waits the second tunnel call to set up connection Afterwards by second road call hang-ups.
8. device according to claim 7, it is characterised in that the connection judgment unit specifically for:
Judge whether the value of the mark of the second tunnel call is equal to preset value, if equal to preset value, judging second tunnel Connection is not yet set up in call, if being not equal to preset value, judges that connection has been set up in the second tunnel call.
9. device according to claim 7, it is characterised in that unit is hung up in the delay to be included:
Be delayed subelement, for the preset time that is delayed, until the connection that second tunnel is conversed is set up and completed;
Subelement is hung up, for by second road call hang-ups.
10. a kind of mobile terminal, it is characterised in that including:Processor and memory, the processor and the memory coupling Close;
The memory is used for storage program;
The processor is used to call the program being stored in the memory, performs any sides of claim 1-5 Method.
CN201710252190.XA 2017-04-17 2017-04-17 Call control method and device and mobile terminal Active CN107070921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710252190.XA CN107070921B (en) 2017-04-17 2017-04-17 Call control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710252190.XA CN107070921B (en) 2017-04-17 2017-04-17 Call control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107070921A true CN107070921A (en) 2017-08-18
CN107070921B CN107070921B (en) 2020-05-19

Family

ID=59600611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710252190.XA Active CN107070921B (en) 2017-04-17 2017-04-17 Call control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107070921B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291442A (en) * 2020-10-29 2021-01-29 迈普通信技术股份有限公司 Telephone call processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767575A (en) * 2004-10-26 2006-05-03 Lg电子株式会社 Multiparty calling method and corresponding mobile communication terminal
US20060199573A1 (en) * 2004-12-02 2006-09-07 Yu-Sheng Lin Mobile unit and method for efficiently establishing a multi-party call
CN105554259A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Multi-system-based method for preventing telephone conflict and intelligent terminal
CN106231089A (en) * 2016-07-27 2016-12-14 北京小米移动软件有限公司 Call optimization method and device
CN106412212A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Busy mobile phone calling automatic redialing method and device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767575A (en) * 2004-10-26 2006-05-03 Lg电子株式会社 Multiparty calling method and corresponding mobile communication terminal
US20060199573A1 (en) * 2004-12-02 2006-09-07 Yu-Sheng Lin Mobile unit and method for efficiently establishing a multi-party call
CN106412212A (en) * 2015-07-27 2017-02-15 中兴通讯股份有限公司 Busy mobile phone calling automatic redialing method and device and terminal
CN105554259A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Multi-system-based method for preventing telephone conflict and intelligent terminal
CN106231089A (en) * 2016-07-27 2016-12-14 北京小米移动软件有限公司 Call optimization method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291442A (en) * 2020-10-29 2021-01-29 迈普通信技术股份有限公司 Telephone call processing method and device, electronic equipment and storage medium
CN112291442B (en) * 2020-10-29 2021-10-08 迈普通信技术股份有限公司 Telephone call processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107070921B (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN104936304B (en) Smart machine binding method, smart machine and server
CN104967557A (en) Communication message sending method and apparatus
US11321280B2 (en) Multimedia file sharing method and terminal device
CN104539812B (en) Recommendation information acquisition methods, terminal and server
CN104394269B (en) Call control method and mobile terminal
CN104967683A (en) Message pushing method, terminal and server
CN108965111A (en) Quickly establish the method, device and mobile terminal and storage medium of communication group
CN107172067A (en) A kind of call method, device and equipment
CN105915521A (en) Multi-party communication management method, device and terminal
CN104954361A (en) Contact person verification method, device and system
CN103369137B (en) The communication event processing method of a kind of clawback type phone and device
CN105827776A (en) Telephone number dialing method and mobile terminal
CN104780574A (en) Method and device for network switchover
CN113993092A (en) Emergency call method, device, mobile terminal and network side equipment
WO2017012547A1 (en) Method for establishing communication connection and electronic device
CN107070921A (en) Call control method, device and mobile terminal
CN105075189B (en) Receive communication event
CN105554233A (en) Outgoing call prompting method and terminal
CN105721696B (en) Mobile terminal information input method and device and mobile terminal
CN110337079B (en) 5G network communication method, terminal, network equipment and server
CN103916538A (en) Call control method and related device
CN108702688A (en) Method, apparatus, user equipment and base station for sending and receiving system message
CN106357504A (en) User list cleaning method and device thereof
CN104023120B (en) The method and apparatus of call
CN106412481A (en) Prompt method and device, and terminals based on VoLTE video call

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