Summary of the invention
Technical problem to be solved by this invention provides the method that a kind of general dual-mode handset is realized calling, because the quality of service that causes of radio frequency interference descends or business can't realize, can avoid the problem of the waits for too long switched between pattern again in the time of can avoiding dual-mode and dual-idle mobile phone to carry out business.
To achieve these goals, realize when the invention provides a kind of dual-mode mobile phone caller at first being provided with the method for calling out one and being used for the bimodulus control module, its calling procedure may further comprise the steps:
(a) under the double-module double-standby state, the user selects certain Mode A to call out;
(b) after described bimodulus control module was received this call request of user, identifying was the call request of Mode A;
(c) described bimodulus control module sends to the Mode B protocol stack and closes the radio frequency request, as receives that radio frequency closes the message of success, call request is sent to the protocol stack of Mode A;
(d) as call setup success, execution in step behind end of conversation (e); As call setup failure, directly execution in step (e);
(e) described bimodulus control module sends to the Mode B protocol stack and opens the radio frequency request, after radio frequency is opened successfully, reenters the double-module double-standby state.
Further, said method can also have following characteristics: described bimodulus control module is arranged between man-machine interface and two the pattern protocol stacks, be independent of outside the man-machine interface, the call request of described step (b) is to send to this bimodulus control module by man-machine interface.
Further, said method can also have following characteristics: after described step (b) bimodulus control module identifies and is the call request of Mode A, judge earlier whether current system mode allows the calling of this pattern to breathe out, if, execution in step (c) again, otherwise return call failure information, finish.
Further, said method can also have following characteristics: in the described step (c), message or overtime the do not receive response message of described bimodulus control module as receiving the radio frequency Fail-closed for urgent call or warning number, always sends to call request the protocol stack of Mode A, for ordinary call, then handle, perhaps call request is sent to the protocol stack of Mode A, continue step (d) according to corresponding configuration, perhaps return call failure message, finish.
Further, said method can also have following characteristics: described step (c) is when the radio frequency of " shut " mode" B, described bimodulus control module is as detecting the incoming call message that Mode A or Mode B protocol stack report, refusal is sent a telegram here and is deposited it in missed call record, before Mode A end of conversation or call setup failure, any incoming call of refusal Mode B, then deposit the missed call record in if any incoming call, after Mode A end of conversation or call setup failure, finish collision detection, then notify the user if any missed call in this process.
The invention provides a kind of dual-mode mobile phone and do to realize when called at first to be provided with the method for calling out one and to be used for the bimodulus control module, its calling procedure may further comprise the steps:
(A) protocol stack of certain Mode A has reported incoming call message to described bimodulus control module, and it is the incoming call of Mode A that described bimodulus control module identifies;
(B) described bimodulus control module sends the radio frequency request of closing to the protocol stack of another Mode B;
(C) after the bimodulus control module received that radio frequency is closed the message of success as described, the message of will sending a telegram here was shown to the user;
(D) select to answer as the user, the call setup success, execution in step behind end of conversation (E) is answered as user's refusal, call setup failure, directly execution in step (E);
(E) described bimodulus control module sends the request of unlatching radio frequency to the protocol stack of Mode B, after radio frequency is opened successfully, reenters the double-module double-standby state.
Further, said method can also have following characteristics: described bimodulus control module is arranged between man-machine interface and two the pattern protocol stacks, be independent of outside the man-machine interface, this bimodulus control module of described step (C) will be sent a telegram here after message sends to man-machine interface, be shown to the user by man-machine interface.
Further, said method can also have following characteristics: after described step (A) bimodulus control module identifies and is the incoming call of Mode A, earlier judge whether this incoming call message supports this calling under current state, if support, execution in step (B), otherwise, bimodulus control module refusal incoming call, this is come electronically written missed call record, notify the user then, finish.
Further, said method can also have following characteristics: in the described step (C), described bimodulus control module is as receiving the message of radio frequency Fail-closed, the perhaps overtime response message of not receiving, then handle according to corresponding configuration, the message of perhaps will sending a telegram here is shown to the user, continues step (D); Perhaps the refusal incoming call comes electronically written missed call record with this, notifies the user then, finishes.
Further, said method can also have following characteristics: described step (B) is when the radio frequency of " shut " mode" B, described bimodulus control module is as detecting Mode A or the Mode B agreement reports incoming call message, refusal is sent a telegram here and is deposited it in missed call record, before Mode A end of conversation or call setup failure, and any incoming call of refusal Mode B, there is incoming call then to deposit the missed call record in, after Mode A end of conversation or call setup failure, finish collision detection, reinform the user if any missed call.
As can be seen, realize the method for calling in the dual-mode handset of the present invention, by closing the wherein method of certain pattern radio frequency, the quality of service that has caused owing to radio frequency interference when having avoided dual-mode and dual-idle mobile phone to carry out business descends or business can't realize; Avoided the problem of the waits for too long switched between pattern simultaneously by the method for closing radio frequency; In addition, this method can further be introduced the bimodulus control module, and bimodule service is carried out collision detection, has avoided the service conflict that two standby brought effectively.The proposition of this method provides a more satisfactory solution for frequency at a distance of the realization of nearer double-module double-standby, allow the user can have the dual mode capability of dual-mode handset, simultaneously also can experience the convenient of dual-mode handset, improve the functional and workability of dual-mode handset.
Embodiment
Further describe concrete exemplifying embodiment of the present invention below in conjunction with accompanying drawing.
Figure 1 shows that software system architecture figure of the present invention, introduced bimodulus control module (DMC) between two protocol stacks (PS) of man-machine interface (MMI) and bimodulus, the service logic control of bimodulus is peeled off out from MMI, undertaken alternately by bimodulus control module and two protocol stacks, MMI only is responsible for the task of user logic and handles.The bimodulus control module is absorbed in the service logic of handling bimodulus, comprises mode switch, and the service conflict of bimodulus is handled, and the radio frequency interference when avoiding calling out etc. help realizing the hardware and software platform of dual-mode handset like this.
Figure 2 shows that the calling procedure figure under the present embodiment double-module double-standby, may further comprise the steps:
Step 101, under double-module double-standby, the user selects called number and call model, is assumed to Mode A, by the MMI business that makes a call;
Step 102, bimodulus control module are discerned this calling and are initiated from Mode A after receiving the call request that MMI transmits, judge then whether current system mode allows the calling of Mode A to breathe out, if do not allow, execution in step 103, otherwise, if allow execution in step 104;
Step 103, the bimodulus control module is returned the message of call failure to MMI, and MMI points out the user after receiving this message, returns to the double-module double-standby state then, finishes;
Step 104, bimodulus control module send the request of closing radio frequency to the Mode B protocol stack; Otherwise, execution in step 105;
Simultaneously, the bimodulus control module starts a collision detection process (step 104 '), when " shut " mode" B radio frequency, as receive the incoming call message that Mode A or Mode B protocol stack report, then refuse this incoming call, deposit it in missed call record, the missed call record is all refused and deposited in to any incoming call message subsequently, return end of conversation or call setup failed message up to the Mode A protocol stack, finish the collision detection process.
Step 105, the message of returning according to the Mode B protocol stack or wait for that whether overtime judgement closes whether success of radio frequency, if, execution in step 107, if Fail-closed, execution in step 106;
Step 106, bimodulus control module judge whether the number into the configuration file permission, if not, then returning call failure, MMI reenters the double-module double-standby state, finishes; Otherwise, execution in step 107;
The number that the number that configuration file allows generally should specially be provided with for urgent call, warning number or user.For common number, can refuse to call out.
Step 107, successfully close radio frequency after, corresponding Mode A protocol stack is sent in the request of will making a call;
Step 108, if called answering successfully, then caller conversation is set up, after conversation was finished, caller was hung up or called hang up or network is hung up, execution in step 109; If the call setup failure, then direct execution in step 109;
Step 109, bimodulus control module need to judge whether open mode B radio frequency, if do not need, then direct execution in step 111 is opened if desired, and then execution in step 110;
Step 110, the radio frequency of open mode B, and judge whether unlatching is successful, if unsuccessful, enters single mode list standby mode, finishes, otherwise, execution in step 111;
Step 111 has judged whether missed call, if having, execution in step 112, finishes (this moment, mobile phone was in the double-module double-standby state) if do not have;
Step 112 notifies that the user is current a missed call, finishes (this moment, mobile phone was in the double-module double-standby state).
Figure 3 shows that the called flow figure under the present embodiment double-module double-standby, may further comprise the steps:
Step 201, under double-module double-standby, the bimodulus control module receives that protocol stack reports incoming call message, beginning called service;
Step 202, bimodulus control module judge whether present mode allows incoming call, if do not allow, and execution in step 203, otherwise, execution in step 204;
Step 203 is refused this incoming call, writes down this incoming call for missed call, and deposits the missed call record in, and notice MMI is current a missed call, and system restoration is to the double-module double-standby state, end;
Step 204 is judged the Mode A of incoming call, and initiates the request of the radio frequency of " shut " mode" B, otherwise, execution in step 205;
Simultaneously, the bimodulus control module starts a collision detection process (step 204 '), when " shut " mode" B radio frequency, as receive the incoming call message that Mode A or Mode B protocol stack report, then refuse this incoming call, deposit it in missed call record, the missed call record is all refused and deposited in to any incoming call message subsequently, return end of conversation or call setup failed message up to the Mode A protocol stack, finish the collision detection process.
Step 205, the message of returning according to the Mode B protocol stack or wait for that whether overtime judgement closes whether success of radio frequency, if, execution in step 207, if Fail-closed, execution in step 206;
Step 206, bimodulus control module judge whether the number into the configuration file permission, if not, then returning call failure, MMI reenters the double-module double-standby state, finishes; Otherwise, execution in step 207;
The number that the number that configuration file allows generally should specially be provided with for urgent call, warning number or user.For common number, can refuse to call out.
Step 207, successfully close radio frequency after, the incoming call message be sent to MMI;
Step 208, if answer successfully this locality, then incoming call is set up, after conversation was finished, caller was hung up or called hang up or network is hung up, execution in step 209; If the call setup failure, then direct execution in step 209;
Step 209, bimodulus control module need to judge whether open mode B radio frequency, if do not need, then direct execution in step 211 is opened if desired, and then execution in step 210;
Step 210, the radio frequency of open mode B, and judge whether unlatching is successful, if unsuccessful, enters single mode list standby mode, finishes, otherwise, execution in step 211;
Step 211 has judged whether missed call, if having, execution in step 212, finishes (this moment, mobile phone was in the double-module double-standby state) if do not have;
Step 212 notifies that the user is current a missed call, finishes (this moment, mobile phone was in the double-module double-standby state).
Under double-module double-standby, consider and need wait for when closing radio frequency that radio frequency closes the message of success or not, when might cause certain pattern to make a call, but receive the incoming call message that this mode protocol stack reports; In the time of might causing certain pattern that incoming call is arranged equally, that receives again that another mode protocol stack reports has incoming call message; More complicated is, a certain pattern makes a call, before radio frequency is closed success, that receives in succession that two protocol stacks report has incoming call message, will on dual-mode handset, produce service conflict like this, therefore in order in dual-mode handset, to realize the calling of two standbies, need in the bimodulus control module, introduce collision detection mechanism by closing radio frequency.
Individual calling goes out and the conflict of two incoming calls can be reduced to incoming call exhalation conflict or two incoming call conflict on time sequencing, so collision detection mechanism is only handled these two kinds of conflicts.When detecting incoming call exhalation conflict, the conflict processing procedure is according to incoming call exhalation conflict Policy Table, and decision is the inhibition incoming call or suppresses to breathe out that this table is editable for the user, and the strategy of acquiescence is the inhibition incoming call.Fig. 2 is exactly the flow process behind this strategy of employing.For two incoming call conflicts a conflict Policy Table is arranged also, this table also is editable for the user, and two incoming call conflict strategies of acquiescence are the incoming calls of arriving after suppressing.Fig. 3 is exactly the flow process behind this strategy of employing.
But in other embodiments, also can adopt other strategy, for collision detection of the present invention and processing procedure are had a complete understanding, please refer to the flow process of the collision detection shown in Fig. 4, the collision detection process just begins to start after call business (caller or called) enters the bimodulus control module, up to service ending, the collision detection process finishes.This process may further comprise the steps:
Step 301, the bimodulus control module is in the incoming call message of receiving that call request or certain pattern (hereinafter referred to as earlier the go into pattern) protocol stack of MMI to certain pattern (hereinafter referred to as the exhalation pattern) reports, when closing the radio frequency of another pattern, receive that again a certain pattern is (when conflict is breathed out in incoming call, be called the incoming call pattern, when two incoming calls conflict, go into pattern after being called) the incoming call message that reports of protocol stack;
Step 302, bimodulus control module judge whether incoming call exhalation conflict, if, execution in step 303, otherwise, be two incoming call conflicts, execution in step 306;
Step 303, the bimodulus control module is judged the current inhibition incoming call strategy that whether adopts according to incoming call exhalation conflict Policy Table, if, execution in step 304, otherwise, be to adopt to suppress exhalation strategy, execution in step 305;
Step 304, the bimodulus control module is refused this incoming call, deposit it in missed call record, close the radio frequency of non-exhalation pattern simultaneously, exhalation pattern protocol stack is sent in call request, afterwards, the missed call record is all refused and deposited in to the incoming call message of non-exhalation pattern, up to exhalation pattern end of conversation or call setup failure, collision detection finishes;
Step 305, the cancellation of bimodulus control module is breathed out, and closes the radio frequency of non-incoming call pattern, the incoming call message of incoming call pattern is delivered to MMI, afterwards, the missed call record is all refused and deposited in to the incoming call message of non-incoming call pattern, up to incoming call pattern end of conversation or call setup failure, collision detection finishes;
Step 306, bimodulus control module go into to suppress strategy after judging current whether the employing according to two incoming call conflict Policy Tables, if, execution in step 307, otherwise, be to adopt to go into to suppress earlier strategy, execution in step 308;
Step 307, the incoming call of going into behind the bimodulus control module refusal, deposit it in missed call record, close non-radio frequency of going into pattern earlier simultaneously, the incoming call message of going into pattern is earlier delivered to MMI, afterwards, the missed call record is all refused and deposited in to non-incoming call message of going into pattern earlier, go into the failure of pattern end of conversation or call setup up to earlier, collision detection finishes;
Step 308, the incoming call that bimodulus control module refusal is gone into earlier, deposit it in missed call record, close the radio frequency of going into pattern after non-simultaneously, with after go into pattern incoming call message deliver to MMI, afterwards, the missed call record is all refused and deposited in to the incoming call message of going into pattern after non-, up to after go into the failure of pattern end of conversation or call setup, collision detection finishes;
In sum, the present invention has realized the call business of the dual-mode and dual-idle mobile phone that frequency is close by closing radio frequency, the realization of calling out for dual-mode and dual-idle mobile phone provides a kind of desirable solution, it has overcome in the past dual-mode handset can't realize under two standbies calling out or can't avoid radio frequency interference and cause business to carry out or quality of service descends under two standbies, thereby causes user's the lower problem of degree of recognition.The bimodulus control module and the collision detection mechanism of Yin Ruing simultaneously, effectively suppressed the conflict during bimodule service is realized, simplified the work of MMI, improved the hardware and software platform level of dual-mode handset, develop fast for dual-mode handset and to have improved efficient, shorten the cycle of dual-mode handset research and development, reduced R﹠D costs.
Foregoing only is an optimum implementation of the present invention, and it is not to be used for limiting the specific embodiment of the present invention, and all modification and changes of carrying out according to the main inventive concept of this method all should belong to the desired protection range of claims of the present invention.