Summary of the invention
The object of the present invention is to provide a kind of method of management wireless connections in mobile communication, the user who is intended to solve the portable terminal that does not cut off the power supply in the prior art may not know that the portable terminal that cuts off the power supply is to disconnect conversation because electric weight is not enough, can worry that for this reason the other user meets accident, if the portable terminal of outage does not have reserve battery or quick charge setting simultaneously, also can't inform the other user, all cause the problem of unnecessary trouble therefore so just may for both sides.
In order to realize goal of the invention, the method for management wireless connections comprises in mobile communication:
When server receives the low electric weight warning of portable terminal transmission, hang down accordingly the storage of electric weight caution sign;
When satisfying when imposing a condition, server sends informations to other portable terminals of conversing with the portable terminal that sends low electric weight warning, disconnects conversation with the prompting partner because low electric weight causes shutting down.
Preferably, described imposing a condition is that the portable terminal that sends low electric weight warning is connected with the improper disconnection of wireless of other portable terminals of conversing, and do not cancel to server transmission wireless connections request and corresponding low electric weight caution sign in Preset Time.
Preferably, also comprise: after server sends information to other portable terminals, the corresponding low electric weight caution sign of cancellation.
Preferably, also comprise: after server hanged down the storage of electric weight caution sign accordingly, when server received the information of the low electric weight warning of the further elimination that sends of the portable terminal that sends low electric weight warning, the electric weight caution sign was hanged down in cancellation.
Preferably, the portable terminal that sends low electric weight warning further sends the information of eliminating low electric weight warning and is specially:
Mobile terminal period ground detects the dump energy of its battery;
When dump energy during more than or equal to default threshold value, portable terminal further sends the information of eliminating low electric weight warning to server.
Preferably, the low electric weight warning of portable terminal transmission is specially:
Mobile terminal period ground detects the dump energy of its battery;
When dump energy was lower than default threshold value, portable terminal sent low electric weight warning to server.
In order to realize better goal of the invention, a kind of mobile communication system also is provided, it comprises server and at least two portable terminals conversing by described server, described server is used for when receiving the low electric weight warning of portable terminal transmission, hang down accordingly the storage of electric weight caution sign, when satisfied imposing a condition, send informations to other portable terminals of conversing with the portable terminal that sends low electric weight warning, disconnect conversation with the prompting partner because low electric weight causes shutting down.
Preferably, described imposing a condition is that the portable terminal that sends low electric weight warning is connected with the improper disconnection of wireless of other portable terminals of conversing and sends the wireless connections request and hang down accordingly the electric weight caution sign and do not cancel to server in Preset Time.
Preferably, server also is used for after other portable terminals transmission informations, the corresponding low electric weight caution sign of cancellation; Perhaps, when receiving the information of the low electric weight warning of the further elimination that sends of the portable terminal that sends low electric weight warning, the electric weight caution sign is hanged down in cancellation.
Preferably, described portable terminal comprises: detection module, for the dump energy that periodically detects the battery of portable terminal; Sending module is used for when dump energy is lower than default threshold value, sends low electric weight warning to server, when dump energy during more than or equal to default threshold value, further sends the information that low electric weight is warned of eliminating to server.
Implement method and the mobile communication system of management wireless connections in mobile communication of the present invention, have following beneficial effect: the inventive method relates to each side's portable terminal and the server of conversing, portable terminal periodically detects the dump energy of its battery in communication process, when low electric weight, warn to the low electric weight of server, and server hangs down the storage of electric weight caution sign, and detect portable terminal because electric weight exhausts during unexpected the disconnection, the other side's portable terminal that initiatively feeds the words that work sends prompting, disconnect conversation so that the other side is known owing to low electric weight causes shutdown, reduce unnecessary worry.In addition, although stored low electric weight caution sign, when unexpected disconnection not occurring, do not send prompting to the other side's portable terminal, so reduced the unnecessary of other portable terminal bothered, reduced the number of times that sends prompting, saving resource yet.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the structured flowchart of mobile communication system of the present invention.This mobile communication system comprises server 1 and at least two portable terminals 2 of conversing by server 1, for call type, can be the various types of conversations such as immediate communication, voice-frequency telephony, video calling between the portable terminal 2, not limit at this thus.Have as shown in Figure 1 n portable terminal 2, this n portable terminal 2 and server 1 carry out wireless connections by mobile communications network 3.Should be noted that the annexation between the present invention's each equipment shown in Figure 1 is the needs of explaining its information interaction and control procedure for clear, therefore should be considered as annexation in logic, and should not only limit to physical connection.Understandable; portable terminal 3 can be the various terminal equipments that can carry out mobile communication; typically can be personal digital assistant (Personal Digital Assistant; PDA), mobile phone (Mobile Phone; MP), Intelligent flat etc., so protection scope of the present invention should not be defined as the portable terminal of certain particular type.In addition, this mobile communications network 3 can be 2G or 3G mobile communications network, for example GSM, CDMA2000, CDMA-EVDO, CDMA2000-1X, WCDMA, TD-SCDMA or WIMAX.
In actual use, server 1 can be two portable terminals 2 provides both sides to converse or provides MPTY for plural portable terminal 2.As shown in Figure 1, in communication process, when server 1 receives the low electric weight warning of portable terminal 2 transmissions, hang down accordingly the storage of electric weight caution sign, not enough to indicate this portable terminal 2 dump energies.Then in follow-up communication process, when the portable terminal 2 improper disconnection of wireless that send low electric weight warning connect and Preset Time (for example 60 seconds, understandable, this Preset Time can arrange as required flexibly) in send the wireless connections request and corresponding low electric weight caution sign is not cancelled (namely to server 1, server 1 indicates all the time this portable terminal 2 and is in low state of charge, and portable terminal 2 does not charge to replenish electric weight yet) time, server 1 to other portable terminals of conversing with the portable terminal 2 that sends low electric weight warning (for example, can be the opposing party of conversing of both sides or other each side of MPTY) (for example send information, " your good friend has disconnected conversation owing to the portable terminal electric weight is not enough; please not worry "), owing to causing shutdown, low electric weight disconnects conversation with prompting the other side.In addition, server 1 carries out data and refreshes after finishing this conversation, and server 1 is after sending informations to other portable terminals 2, and the corresponding low electric weight caution sign of cancellation is namely carried out the elimination of data.
Further, after corresponding portable terminal 2 charges to its battery by charger again after server 1 hangs down the storage of electric weight caution sign accordingly, when server 1 receives the information of the low electric weight warning of the portable terminal 2 further eliminations that send that sends low electric weight warning, the low electric weight caution sign of cancellation represents that namely this portable terminal no longer is in low state of charge.
In a preferred embodiment, portable terminal 2 to the concrete operations that server 1 sends low electric weight warning is: portable terminal 2 periodically detects the dump energy of its battery, be portable terminal 2 by the electricity quantity inquiring interface that system provides, inquire about the dump energy of its battery; When dump energy was lower than default threshold value (for example 10% of battery capacity, understandable, this predetermined threshold value can arrange as required flexibly), portable terminal 2 sent low electric weight warning to server 1.In addition, the portable terminal 2 further concrete operations that send the information of the low electric weight warning of elimination of the low electric weight warning of transmission are: portable terminal 2 periodically detects the dump energy of its battery; When dump energy during more than or equal to default threshold value, portable terminal 2 further sends the information of eliminating low electric weight warning to server 1.
Carry out both sides when conversing at two portable terminals, after portable terminal A and portable terminal B connected by server 1, this portable terminal A and portable terminal B be the residual capacity measurement mechanism of start-up period respectively; The dump energy that detects its battery when the detection module of portable terminal A is lower than threshold value, and for example 10% of battery capacity, the system that portable terminal A moves will send low electric weight by the backstage sending module and warn to server 1; Server 1 will be after receiving low electric weight warning, to hang down setting and the storage of electric weight caution sign, this low electric weight caution sign will be expressed specifically, and which portable terminal is in low electric weight alarm condition, for which portable terminal specifically converse, can indicate by other Data Labelses.If in communication process subsequently, portable terminal A is owing to battery electric quantity deficiency, automatic shutdown, the abnormal ending of namely conversing on one's own initiative; Server 1 will start timer when conversation disconnects, if for example do not receive the wireless connections request that portable terminal A sends in 60 seconds at Preset Time, server 1 can be automatically sends information to the portable terminal B that converses with portable terminal A, with prompting mobile terminal B: your good friend A has disconnected conversation because the dump energy of battery is not enough.
Fig. 2 shows the flow process of the method for wireless connections of managing of first embodiment of the invention in mobile communication, the method flow process is based on system configuration shown in Figure 1, and detailed process is as follows:
S210: two portable terminals 2 carry out both sides' conversation by server 1 or plural portable terminal 2 carries out MPTY by server 1, in the process of conversing, when server 1 receives the low electric weight warning of one of them portable terminal 2 transmission, server 1 will hang down the storage of electric weight caution sign accordingly; Wherein, portable terminal will periodically detect the dump energy of its battery; When dump energy was lower than default threshold value, portable terminal sent low electric weight warning to server.
S211: then in communication process subsequently, when satisfied imposing a condition, server 1 to other portable terminals of conversing with the portable terminal that sends low electric weight warning (for example, one or more portable terminals, quantity at the portable terminal of this required notice is to determine according to both sides or MPTY) send information, because causing shutting down, low electric weight disconnects conversation with prompting the other side.
In one embodiment, this to impose a condition can be that the portable terminal 2 improper disconnection of wireless that send low electric weight warning connect (i.e. on one's own initiative abnormal ending conversation) and send the wireless connections request and corresponding low electric weight caution sign is not cancelled (namely the low electric weight warning for this portable terminal 2 is eliminated in server 1) to server in Preset Time (for example 60 seconds in).In addition, understandable, this imposes a condition also can be when being lower than set point or when cutting off the power supply soon, has informed that in advance distant terminal partner electric weight is fast not enough.
Fig. 3 shows the flow process of the method for wireless connections of managing of second embodiment of the invention in mobile communication, the method flow process is based on system configuration shown in Figure 1, and detailed process is as follows:
S310: two portable terminals 2 carry out both sides' conversation by server 1 or plural portable terminal 2 carries out MPTY by server 1, in the process of conversing, when server 1 receives the low electric weight warning of one of them portable terminal 2 transmission, server 1 will hang down the storage of electric weight caution sign accordingly; Wherein, portable terminal will periodically detect the dump energy of its battery; When dump energy was lower than default threshold value, portable terminal sent low electric weight warning to server.
S311: then in communication process subsequently, when the portable terminal 2 improper disconnection of wireless that send low electric weight warning connect (i.e. on one's own initiative abnormal ending conversation) and send the wireless connections request and corresponding low electric weight caution sign when not cancelling (namely the low electric weight warning for this portable terminal 2 is eliminated in server 1) to server in Preset Time (for example 60 seconds in), server 1 to other portable terminals of conversing with the portable terminal that sends low electric weight warning (for example, one or more portable terminals, quantity at the portable terminal of this required notice is to determine according to both sides or MPTY) send information, because causing shutting down, low electric weight disconnects conversation with prompting the other side.
S312: after the portable terminal that server 1 connects to disconnection of wireless not sends information, because the disconnection of side's portable terminal 2, conversation will finish this moment, server 1 carries out data and refreshes after finishing this conversation, server 1 will be cancelled corresponding low electric weight caution sign, namely carry out the elimination of data.
Fig. 4 shows the flow process of the method for wireless connections of managing of third embodiment of the invention in mobile communication, the method flow process is based on system configuration shown in Figure 1, and detailed process is as follows:
S410: two portable terminals 2 carry out both sides' conversation by server 1 or plural portable terminal 2 carries out MPTY by server 1, in the process of conversing, when server 1 receives the low electric weight warning of one of them portable terminal 2 transmission, server 1 will hang down the storage of electric weight caution sign accordingly; Wherein, portable terminal will periodically detect the dump energy of its battery; When dump energy was lower than default threshold value, portable terminal sent low electric weight warning to server.
S411: then in communication process subsequently, when the portable terminal 2 improper disconnection of wireless that send low electric weight warning connect (i.e. on one's own initiative abnormal ending conversation) and send the wireless connections request and corresponding low electric weight caution sign when not cancelling (namely the low electric weight warning for this portable terminal 2 is eliminated in server 1) to server in Preset Time (for example 60 seconds in), server 1 to other portable terminals of conversing with the portable terminal that sends low electric weight warning (for example, one or more portable terminals, quantity at the portable terminal of this required notice is to determine according to both sides or MPTY) send information, because causing shutting down, low electric weight disconnects conversation with prompting the other side.
S412: in addition, if send the portable terminal 2 of low electric weight warning after the corresponding low electric weight caution sign of server 1 storage, by charger its battery is charged online, namely charge while conversing, if after after a while charging, this mobile terminal period ground detects the dump energy of its battery, finds the electric weight of its battery above after the threshold value, and the system that portable terminal moves will send the information of the low electric weight warning of elimination to server 1 by the backstage; Server 1 will be after receiving the information of eliminating low electric weight warning, and the low electric weight caution sign that cancellation is stored represents that this portable terminal no longer is in low state of charge.
This shows, owing to eliminate low electric weight caution sign to sending after the portable terminal 2 that hangs down the electric weight warning recharges in step S412, and when execution in step S411, to need low electric weight caution sign not cancel as prerequisite, therefore step S411 and step S412 are mutual exclusions, and that is to say can only execution in step S411 and one of them of step S412.
Fig. 5 shows the flow process of the method for wireless connections of managing of fourth embodiment of the invention in mobile communication, the method flow process is based on system configuration shown in Figure 1, and detailed process is as follows:
S510: two or more portable terminals 2 are set up conversation by server 1, and namely portable terminal 2 is put through phone each other;
S511: all portable terminals that participate in conversation all periodically detect the dump energy of himself battery;
Does S512: portable terminal judge that the dump energy of its battery is lower than the threshold value of setting? if so, enter step S515, otherwise, step S513 entered;
S513: after judging, the dump energy that portable terminal detects its battery is greater than the threshold value of setting, need further judge in the server 1 whether for this mobile terminal stores low electric weight caution sign is arranged this moment again, whether that is to say this portable terminal owing to electric weight cross low after again after the charging so that its electric weight more than or equal to threshold value, is not or its electric weight lower than threshold value? if so, enter step S514; Otherwise enter step S511;
S514: carry out this step and show that the battery electric quantity of portable terminal is rear just again more than or equal to threshold value owing to recharging, need in the cancellation server 1 the low electric weight caution sign for this portable terminal this moment;
S515: show that the dump energy of battery of mobile terminal is lower than the threshold value of setting this moment, and portable terminal sends low electric weight warning to server 1 for this reason, and then server 1 arranges low electric weight caution sign for this portable terminal;
Will S516: in the follow-up conversation of portable terminal, server 1 judge that the conversation of the portable terminal that sends low electric weight warning disconnects? if so, enter step S517; Otherwise enter step S511, showing that conversation proceeds, portable terminal will continue the dump energy that periodicity detects its battery;
S517: server 1 judges whether further that again this portable terminal initiatively disconnects conversation, if so, enters step S519, shows that conversation is because the reason of this portable terminal disconnects; Otherwise enter step S518, show that conversation is not because the reason of this portable terminal disconnects;
S518: in this step, because conversation disconnects, server 1 is in order to finish to store refreshing of data after the conversation, need to judge whether the low electric weight caution sign for this portable terminal? if, enter step S524, to cancel for finishing again after the low electric weight caution sign of this portable terminal; Otherwise directly finish;
S519: in this step since before judge to be because therefore this portable terminal former thereby disconnect conversation need to further judge whether unusual disconnection, namely whether owing to exhausting, electric weight shuts down? if enter step S521; Otherwise enter step S520;
S520: enter before this step because to judge conversation be not because the portable terminal electric weight exhausts and shuts down, but because normal shutdown, for example behind the end of conversation, this portable terminal active on-hook; At this moment, in this step, need to judge whether the low electric weight caution sign for this portable terminal, in order to determine that server 1 carries out the cancellation operation? if so, enter step S524, to cancel for finishing again after the low electric weight caution sign of this portable terminal; Otherwise directly finish;
S521: entering this step is because the portable terminal electric weight exhausts and shuts down owing to judging conversation before, namely unusually disconnects; At this moment, in this step, need to judge that this portable terminal sets up wireless connections to server request again in Preset Time? if so, enter step S511, show that conversation continues again again, portable terminal carries out again the periodicity electric weight and detects; Otherwise enter step S522;
S522: in this step, can judge the low electric weight caution sign that has in the server for this mobile terminal stores by further? if so, enter step S523; Otherwise directly finish;
S523: at this moment, server 1 to other portable terminals of conversing with the portable terminal that sends low electric weight warning (for example in this step, one or more portable terminals, quantity at the portable terminal of this required notice is to determine according to both sides or MPTY) send information, because causing shutting down, low electric weight disconnects conversation with prompting the other side;
S524: server 1 carries out data and refreshes after finishing this conversation, and server 1 will cancel corresponding low electric weight caution sign, namely carry out the elimination of data, then end.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
?