Summary of the invention
The invention provides a kind of at access failure or do not access, for the state of mobile terminal, caller is carried out to the technical scheme of corresponding prompting.
Particularly, the invention provides a kind of method of automatically replying incoming call, for when mobile terminal access failure or do not access incoming call state under, described incoming call is automatically replied, said method comprising the steps of:
Steps A: set up mobile terminal state and reply instruction mapping table one to one;
Step B: when mobile terminal receives incoming call, detects the current state of described mobile terminal;
Step C: judge whether described current state has corresponding described mobile terminal state in described mapping table;
If have, perform step D: send the reply instruction corresponding to described mobile terminal state corresponding to described current state to described communication terminal server;
Step e: described communication terminal server performs described commands in return;
Step F: by described mobile terminal on-hook.
Further, when the electricity that described mobile terminal state is described mobile terminal is less than a default charge value, corresponding described reply instruction is that electricity is lower, please dials after a while again.
Further, when the signal value that described mobile terminal state is described mobile terminal is less than a preset signals value, corresponding described reply instruction is that signal is more weak, please dials after a while again.
Further, when described mobile terminal state is mute state, corresponding described reply instruction for described in be in mute state, please dial again after a while.
Further, when described mobile terminal state for when described mobile terminal binding one wireless device time and described mobile terminal can't detect described wireless device time, correspondence described reply instruction do not carry for user, please dial again after a while.
Further, the method for described automatically replying incoming call also comprises, and sets up a state-detection table according to all described mobile terminal states; According to described state-detection table, described mobile terminal is detected in described step B.
Further, the described mobile terminal state in described mapping table is a corresponding Preset Time also; Described step D also comprises: when the time that do not connect of sending a telegram here is greater than described Preset Time, send reply instruction corresponding to described mobile terminal state to described communication terminal server.
Further, in described mapping table, priority is set, when a call comes, when detecting described current state correspondence the above mobile terminal state obtained, the all described mobile terminal state of correspondence is arranged according to described priority, only sends the reply instruction that the highest described mobile terminal state of described priority is corresponding.
Further, described step e comprises: step e 1: described communication terminal server, according to described commands in return, generates and replys prompting; Step e 2: described reply prompting is sent to caller terminal by described communication terminal server.
Further, sending described form of replying prompting in described step e 2 is short message prompt form or voice message form.
As mentioned above, the method for a kind of automatically replying incoming call provided by the invention, has following beneficial effect:
(1) when mobile terminal access failure or do not access incoming call state under, by the detection to mobile terminal state, for its state, caller is automatically replied, caller can be made to know the more information of this mobile terminal, reduce the unnecessary misunderstanding produced because of missed call.
(2) by the whether detection of state such as in scope of the wireless device of mobile terminal charge value, signal value, mute state, binding, and give different replies according to above-mentioned state, add the understanding of caller to missed call situation.
(3) set up state-detection table according to the mobile terminal state in mapping table, by this detection table, mobile terminal is detected, reduce the scope of detection, accelerate judgement speed.
(4) Preset Time is increased in the mapping table, different Preset Times is given for different mobile terminal states, when the time that do not connect of sending a telegram here is greater than the Preset Time of mobile terminal state corresponding to current state, send a reply instruction, extend and send a reply the instruction time, reduce unnecessary on-hook operation.
(5) priority is arranged to the mobile terminal state in mapping table, when sending a telegram here, when current state correspondence more than one mobile terminal state of mobile terminal, only sending the reply instruction of the higher correspondence of priority, reducing the quantity sending a reply instruction.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with the accompanying drawing of embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
The invention provides a kind of method of automatically replying incoming call, for when mobile terminal access failure or do not access incoming call state under, automatically reply described incoming call, Fig. 1 is the schematic flow sheet of first embodiment of the invention, as shown in Figure 1, method provided by the invention comprises the steps:
Step S110: set up mobile terminal state and reply instruction mapping table one to one.
In daily life, when there being incoming call, mobile terminal, cannot connect or not have situation about accessing to have a variety of, existing technology be all the state being judged mobile terminal by operator by the state of signal, but only only has off-mode, and just in talking state, lack the concern to itself state of mobile device terminal, such as: mobile device terminal be because electricity lower cause in the process of jingle bell shutdown, or mobile device terminal from user distance comparatively long-range guided missile cause and cannot connect.Because caller can not know more information, cause cannot carrying out connection to this mobile phone users and produce query, cause unnecessary misunderstanding.
It should be noted that mapping table provided by the invention can be arranged mobile terminal state according to user's request, the reply instruction of its correspondence also can be arranged according to the demand of user.
In life, we can have phone to come in often, but due to electricity low, also do not wait until connection, mobile terminal will the state of automatic shutdown; Or because signal is too poor, the state of phone cannot be heard normally; Or due to the situation of mute state; Look for if the other side is in a hurry, or important client, the misunderstanding that may some be caused thus unnecessary.
Further, the electricity that SOT state of termination can be set to described mobile terminal is less than one when presetting charge value, and corresponding described reply instruction is that electricity is lower, please dials after a while again.
Further, when the signal value that mobile terminal state can be set to described mobile terminal is less than a preset signals value, corresponding described reply instruction is that signal is more weak, please dials after a while again.
Further, when mobile terminal state can be set to mute state, corresponding described reply instruction for described in be in mute state, please dial again after a while.
The present invention adds the state of the mobile terminal that the other side can know by above-mentioned mobile terminal state and the setting of replying instruction.
In social user now, more and more bluetooth or other wireless devices of using is connected with mobile terminal, by judging whether mobile terminal is connected with the wireless device bound, and can judge whether user at one's side mobile terminal.
Therefore, the present invention further, provide described mobile terminal state to be set to when described mobile terminal binding one wireless device and described mobile terminal can't detect described wireless device time, corresponding described reply instruction is not carried for user, please dials after a while again.
First embodiment of the invention provides mapping table 1, and as shown in Table 1, mapping table 1 is provided with 4 mobile terminal states, and corresponding 4 reply instructions respectively.
Wherein, when mobile terminal state be electricity be less than 2% time, corresponding reply instruction is that electricity is low, please dials after a while again; When mobile terminal state be signal value be less than 40db time, corresponding reply instruction is that signal is weak, please dials after a while again; When mobile terminal state is mute state, corresponding reply instruction is mute state, please dials after a while again; When mobile terminal state is when binding wireless devices and when this wireless device not detected, corresponding reply instruction, for user is for carrying, is please dialled after a while again.
In other embodiments, the foundation of mapping table is not limited to the mobile terminal state item number that arranges in the first embodiment provided by the invention or replys instruction item number; Also be not limited to the mobile terminal state content that arranges in the first embodiment provided by the invention or reply command content.
Table one
Step S120: when mobile terminal receives incoming call, detects the current state of described mobile terminal.
In order to reduce the project detecting mobile terminal current state, reduce and run the amount of ram that this program accounts for mobile terminal, further, described method also comprises, and sets up a state-detection table according to all described mobile terminal states; According to described state-detection table, described mobile terminal is detected in described step S120.As shown in Table 1, mapping table 1 comprises 4 mobile terminal states, and state-detection table is then to setting up by 4 mobile terminal states.
In first embodiment of the invention, provide state-detection table, its state-detection table is set up for all mobile terminal state items in the mapping table 1 that provides according to the present embodiment, as shown in Table 2, in state-detection table, in its electric power detection item correspondence mappings table 1, mobile terminal state item is the state that electricity is less than 2%; In its signal value detection correspondence mappings table 1, mobile terminal state item is the state that signal value is less than 40db; In its mode state detection correspondence mappings table 1, mobile terminal state item is the state of silent mode; In its wireless device paring detection correspondence mappings table 1, mobile terminal state item is for when binding wireless devices, the state of this wireless device do not detected.
It should be noted that, Section 4 detection: wireless device paring detects.Whether this detection first will detect user the wireless device being set binding, when there being this binding wireless devices, carry out the radio scan to this wireless device, if this wireless device is in preset range, then illustrate that user is near mobile terminal, if this wireless device is not detected, then illustrate that user is not near mobile terminal.
State-detection table |
Electric power detection |
Signal value detects |
Mode state detects |
Wireless device paring detects |
Table two
Step S130: judge whether described current state has corresponding described mobile terminal state in described mapping table.
If have, perform step S140: send the reply instruction corresponding to described mobile terminal state corresponding to described current state to described communication terminal server.
Such as: in the present embodiment, obtaining mobile terminal current state according to state-detection table is: electricity 70%; Signal value 70db; Non-mute pattern; The wireless device bound cannot be found.Known by mapping table 1, " when binding wireless devices; this wireless device do not detected " item in the correspondence mappings table 1 that " cannot find the wireless device bound " in current state, then send corresponding reply instruction for " user does not carry, and please dials after a while again ".
Step S150: described communication terminal server performs described commands in return.
As shown in Figure 2, described step S150 also comprises:
Step S151: described communication terminal server, according to described commands in return, generates and replys prompting;
Step S152: described reply prompting is sent to caller terminal by described communication terminal server.
Sending described form of replying prompting in described step S152 is short message prompt form or voice message form.
Step S160: then by described mobile terminal on-hook.
When carrying out on-hook operation to described mobile terminal after execution step S150, namely hanging up this mobile terminal, reducing the time that incoming call the other side waits for, also reducing the power consumption of mobile terminal.
Present invention also offers one second embodiment, the difference of the second embodiment and the first embodiment is, its mapping table adds the setting of Preset Time in a second embodiment, the corresponding Preset Time of described mobile terminal state.
Present embodiments provide a mapping table 2, as shown in Table 3, the corresponding Preset Time of each mobile terminal state.In other embodiments, also can be all corresponding Preset Times of mobile terminal state.
Table three
When performing step S140, when the time that do not connect of sending a telegram here is greater than described Preset Time, send reply instruction corresponding to described mobile terminal state to described communication terminal server.
Such as, according to mapping table 2, if the current state of mobile terminal is electricity be less than 2%, then when the time of not connecing equals 10s, perform and send reply instruction corresponding to described mobile terminal to described communication terminal server; If mobile terminal current state is signal value when being less than 40db, then when the time of not connecing equals 10s, perform and send reply instruction corresponding to described mobile terminal to described communication terminal server; If when the current state of mobile terminal is mute state, then when the time of not connecing equals 60s, perform and send reply instruction corresponding to described mobile terminal to described communication terminal server; If the current state of mobile terminal is for when binding wireless devices, when this wireless device not detected, then when the time of not connecing equals 60s, perform and send reply instruction corresponding to described mobile terminal to described communication terminal server.
Preset Time is increased in the mapping table by upper, different Preset Times is given for different mobile terminal states, when the time that do not connect of sending a telegram here is greater than the Preset Time of mobile terminal state corresponding to current state, send a reply instruction, extend and send a reply the instruction time, reduce unnecessary on-hook operation.
Present invention also offers one the 3rd embodiment, the difference of the 3rd embodiment and the first embodiment arranges priority in described mapping table.
Present embodiments provide a mapping table 3, as shown in Table 4, the corresponding prioritized item of each mobile terminal state.
Table four
When a call comes, when detecting described current state correspondence the above mobile terminal state obtained, the all described mobile terminal state of correspondence is arranged according to described priority, only sends the reply instruction that the highest described mobile terminal state of described priority is corresponding.
Such as: during incoming call, detection acquisition current state is when binding wireless devices and this wireless device and mute state do not detected, arrange according to priority according to all described mobile terminal state of mapping table 3 by correspondence, only send the reply instruction that the highest mobile terminal state of priority is corresponding, namely when binding wireless devices, do not detect that the reply Dictating user that this wireless device is corresponding does not carry, please dial again after a while.
By arranging priority to the mobile terminal state in mapping table, when sending a telegram here, when current state correspondence more than one mobile terminal state of mobile terminal, only sending the reply instruction of the higher correspondence of priority, reducing the quantity sending a reply instruction.
In sum, the method for a kind of automatically replying incoming call provided by the invention, has following beneficial effect:
(1) when mobile terminal access failure or do not access incoming call state under, by the detection to mobile terminal state, for its state, caller is automatically replied, caller can be made to know the more information of this mobile terminal, reduce because missed call produces.
(2) by the whether detection of state such as in scope of the wireless device of mobile terminal charge value, signal value, mute state, binding, and give different replies according to above-mentioned state, add the understanding of caller to missed call situation.
(3) set up state-detection table according to the mobile terminal state in mapping table, by this detection table, mobile terminal is detected, reduce the scope of detection, accelerate judgement speed.
(4) Preset Time is increased in the mapping table, different Preset Times is given for different mobile terminal states, when the time that do not connect of sending a telegram here is greater than the Preset Time of mobile terminal state corresponding to current state, send a reply instruction, extend and send a reply the instruction time, reduce unnecessary on-hook operation.
(5) priority is arranged to the mobile terminal state in mapping table, when sending a telegram here, when current state correspondence more than one mobile terminal state of mobile terminal, only sending the reply instruction of the higher correspondence of priority, reducing the quantity sending a reply instruction.
Below only have expressed several execution mode of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.